/* ================= RESET ================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ================= VARIABLES ================= */
:root {
  --bg: #000;
  --card: #0f0f0f;
  --muted: #9a9a9a;

  --green: #9BF019;
  --red: #AD1212;

  --radius: 18px;
}

/* ================= TITLE FONT ================= */
.title-font {
  font-family: 'Bebas Neue', Helvetica, Arial, sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* ================= BASE ================= */
body {
  background: var(--bg);
  color: #fff;
  font-family: Helvetica, Arial, sans-serif;
  overflow-x: hidden;
}

/* ================= SCROLL REVEAL ================= */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: reveal 0.9s ease forwards;
}

@keyframes reveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ================= HERO ================= */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    #222 40px,
    #222 80px
  );
  opacity: 0.2;
}

.hero::after {
  content: "";
  position: absolute;
  width: 520px;
  height: 520px;
  background: var(--green);
  opacity: 0.12;
  filter: blur(140px);
  border-radius: 50%;
}

.hero-inner {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero-logo {
  max-width: 420px;
  width: 80%;
}

.hero-tagline-img {
  max-width: 520px;
  width: 90%;
}

/* ================= INTRO ================= */
.intro {
  padding: 120px 20px 100px;
  text-align: center;
}

.intro h2 {
  font-size: 2.6rem;
}

.inline-logo {
  height: 42px;
  vertical-align: middle;
}

.intro p {
  max-width: 680px;
  margin: 32px auto 0;
  color: var(--muted);
  line-height: 1.7;
}

/* ================= PRODUCTS ================= */
.products {
  padding: 120px 20px 160px;
}

.product-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px;
}

/* ================= PRODUCT CARD ================= */
.product-card {
  background: var(--card);
  border-radius: var(--radius);
  padding: 40px 44px;
  text-align: center;
  transition: box-shadow 0.35s ease;
}

/* ================= IMAGE ================= */
.product-image-wrap {
  position: relative;
  margin-bottom: 10px;
  perspective: 800px; /* for tilt illusion */
}

.product-img {
  max-width: 330px;
  width: 100%;
  margin: -140px auto 16px;
  display: block;
  filter: drop-shadow(0 30px 50px rgba(0,0,0,0.55));
  animation: float 6s ease-in-out infinite;
  transition: transform 0.35s ease;
  transform-style: preserve-3d;
}

/* Float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* Hover scale */
.product-card:hover .product-img {
  transform: translateY(-6px) scale(1.04);
}

/* ================= MOUSE PARALLAX TILT ================= */
/* CSS-only illusion using hover zones */
.product-image-wrap:hover .product-img {
  transform: translateY(-6px) scale(1.04) rotateX(4deg) rotateY(-4deg);
}

/* ================= FLOOR GLOW ================= */
.floor-glow {
  position: absolute;
  bottom: 45px;
  left: 50%;
  transform: translateX(-50%);
  width: 220px;
  height: 40px;
  filter: blur(30px);
  opacity: 0.5;
}

.floor-glow.green { background: var(--green); }
.floor-glow.red   { background: var(--red); }

/* ================= TEXT ================= */
.product-card h3 {
  font-size: 1.6rem;
  margin-bottom: 4px;
}

.variant {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 2px;
  color: var(--muted);
  margin-bottom: 14px;
}

.product-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin-bottom: 22px;
}

/* ================= FEATURE PILLS ================= */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.feature-grid span {
  padding: 10px 12px;
  background: #151515;
  border-radius: 999px;
  font-size: 0.8rem;
  border: 1px solid rgba(255,255,255,0.06);
  opacity: 0;
  animation: pillReveal 0.6s ease forwards;
}

/* Per-pill stagger */
.feature-grid span:nth-child(1) { animation-delay: 0.2s; }
.feature-grid span:nth-child(2) { animation-delay: 0.35s; }
.feature-grid span:nth-child(3) { animation-delay: 0.5s; }
.feature-grid span:nth-child(4) { animation-delay: 0.65s; }

@keyframes pillReveal {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

.original .feature-grid span::before {
  content: "+ ";
  color: var(--green);
}

.smoky .feature-grid span::before {
  content: "+ ";
  color: var(--red);
}

/* ================= HOVER GLOWS ================= */
.product-card.original:hover {
  box-shadow: 0 0 45px rgba(155,240,25,0.35);
}

.product-card.smoky:hover {
  box-shadow: 0 0 45px rgba(173,18,18,0.35);
}

/* ================= FOOTER ================= */
.footer {
  position: relative;
  margin-top: 160px;
  background: #0b0b0b;
  box-shadow:
    0 -12px 30px rgba(0,0,0,0.65),
    0 -2px 0 rgba(255,255,255,0.04);
}

/* Accent divider */
.footer-accent-line {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent,
    var(--green),
    transparent
  );
}

/* Layout */
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 40px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

/* LEFT */
.footer-left {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer-logo {
  max-width: 90px;
  opacity: 0.9;
}

.footer-company strong {
  display: block;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
}

.footer-company span {
  font-size: 0.85rem;
  color: var(--muted);
}

/* RIGHT */
.footer-right {
  display: flex;
  gap: 20px;
}

/* Social icon button */
.social {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #151515;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,0.06),
    0 8px 18px rgba(0,0,0,0.6);
}

.social img {
  width: 20px;
  height: 20px;
  object-fit: contain;
  opacity: 0.85;
}

/* Hover */
.social:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 18px rgba(155,240,25,0.45),
    0 12px 24px rgba(0,0,0,0.7);
}

.social:hover img {
  opacity: 1;
}

/* ================= FOOTER REVEAL ================= */
.reveal-footer {
  opacity: 0;
  transform: translateY(40px);
  animation: footerReveal 0.9s ease forwards;
  animation-delay: 0.2s;
}

@keyframes footerReveal {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .reveal-footer {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* ================= FOOTER BOTTOM ================= */
.footer-bottom {
  text-align: center;
  padding: 0px 20px 28px;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  background: linear-gradient(
    to top,
    rgba(0,0,0,0.6),
    transparent
  );
}

/* ================= MOBILE ================= */
@media (max-width: 900px) {
  .product-grid {
    grid-template-columns: 1fr;
  }

  .product-img {
    max-width: 260px;
    margin: -120px auto 14px;
  }

  .intro h2 {
    font-size: 2.1rem;
  }
  
  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-left {
    flex-direction: column;
  }
}
