/* =========================================================
   SECTIONS
   ========================================================= */

/* ---------- HERO ---------- */
.hero {
  min-height: 100vh;
  position: relative;
  padding: 140px 40px 80px;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

@media (min-width: 960px) {
  .hero {
    grid-template-columns: 1.1fr 1fr;
    padding: 140px 80px 80px;
  }
}

.hero-bg-circle {
  position: absolute;
  width: min(85vw, 800px);
  height: min(85vw, 800px);
  background: var(--yellow);
  border-radius: 50%;
  right: -15%;
  top: 50%;
  transform: translateY(-50%);
  z-index: 0;
  animation: floatY 8s ease-in-out infinite;
}

.hero-content {
  position: relative;
  z-index: 2;
}

h1.hero-title {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 128px);
  line-height: 0.92;
  letter-spacing: -0.03em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

h1.hero-title .script {
  font-family: var(--font-script);
  font-weight: 700;
  text-transform: none;
  font-size: 0.85em;
  display: inline-block;
  transform: rotate(-3deg);
  color: var(--ink);
  background: var(--yellow);
  padding: 0 0.2em;
  line-height: 1;
}

h1.hero-title span.line {
  display: block;
  animation: fadeUp 0.9s var(--ease) both;
}

h1.hero-title span.line:nth-child(1) { animation-delay: 0.1s; }
h1.hero-title span.line:nth-child(2) { animation-delay: 0.25s; }
h1.hero-title span.line:nth-child(3) { animation-delay: 0.4s; }

.hero-sub {
  font-size: clamp(16px, 1.6vw, 19px);
  max-width: 480px;
  color: #333;
  margin-bottom: 40px;
  animation: fadeUp 0.9s var(--ease) 0.55s both;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.9s var(--ease) 0.7s both;
}

.hero-product {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: floatProduct 6s ease-in-out infinite;
}

.hero-product img {
  width: 100%;
  max-width: 520px;
  height: auto;
  filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.18));
}

/* Rotating badge over hero */
.hero-badge {
  top: 16%;
  left: -30px;
}

@media (min-width: 960px) {
  .hero-badge {
    left: 40%;
    top: 8%;
  }
}

/* ---------- PROBLEM ---------- */
.problem {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.problem .eyebrow {
  color: var(--yellow);
}

.problem .eyebrow::before {
  background: var(--yellow);
}

.problem-intro {
  max-width: 560px;
  font-size: 17px;
  color: rgba(255, 255, 255, 0.75);
}

.problem-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  margin-top: 80px;
}

@media (min-width: 768px) {
  .problem-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.stat {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 28px;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(56px, 7vw, 96px);
  line-height: 1;
  letter-spacing: -0.03em;
  color: var(--yellow);
  margin-bottom: 16px;
}

.stat-label {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.75);
  max-width: 240px;
}

/* ---------- SOLUTION ---------- */
.solution {
  position: relative;
}

.solution-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 960px) {
  .solution-grid {
    grid-template-columns: 1fr 1fr;
    gap: 80px;
  }
}

.solution-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.solution-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.solution-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.15) 0%, transparent 50%);
  pointer-events: none;
}

.solution-text p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  max-width: 520px;
}

.solution-text strong {
  background: var(--yellow);
  padding: 0 4px;
  font-weight: 700;
}

/* ---------- BENEFITS ---------- */
.benefits {
  background: var(--yellow);
  position: relative;
  overflow: hidden;
}

.benefits::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 0, 0, 0.04) 0%, transparent 30%),
    radial-gradient(circle at 90% 80%, rgba(0, 0, 0, 0.04) 0%, transparent 30%);
  pointer-events: none;
}

.benefits-header {
  display: flex;
  justify-content: space-between;
  align-items: end;
  flex-wrap: wrap;
  gap: 30px;
  margin-bottom: 60px;
}

.benefits-grid {
  display: grid;
  gap: 2px;
  grid-template-columns: 1fr;
  background: var(--ink);
  border: 2px solid var(--ink);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

@media (min-width: 640px) {
  .benefits-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

/* ---------- MATERIALS ---------- */
.materials-intro {
  max-width: 720px;
}

.materials-intro p {
  font-size: 17px;
  color: #444;
  max-width: 560px;
}

.materials-grid {
  display: grid;
  gap: 30px;
  grid-template-columns: 1fr;
  margin-top: 60px;
}

@media (min-width: 768px) {
  .materials-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ---------- PAIRINGS ---------- */
.pairings {
  background: var(--paper);
  position: relative;
  overflow: hidden;
}

.pairings-intro {
  max-width: 720px;
}

.pairings-intro p {
  font-size: 17px;
  color: #444;
  max-width: 560px;
}

.pairing-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 40px 0 50px;
}

.pairing-display {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr;
  align-items: center;
  background: var(--gray-soft);
  border-radius: var(--radius-xl);
  padding: 60px 40px;
  min-height: 480px;
  overflow: hidden;
}

@media (min-width: 768px) {
  .pairing-display {
    grid-template-columns: 1fr 1.2fr;
    padding: 60px;
  }
}

.pairing-info h3 {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 68px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.pairing-info .snack {
  font-family: var(--font-script);
  font-size: 32px;
  color: var(--yellow-deep);
  display: inline-block;
  transform: rotate(-3deg);
  margin-top: 8px;
}

.pairing-info p {
  font-size: 16px;
  color: #333;
  max-width: 440px;
  margin-top: 20px;
}

.pairing-visual {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/10;
}

.pairing-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity .4s var(--ease), transform .5s var(--ease);
}

.pairing-visual.swap img {
  opacity: 0;
  transform: scale(0.96);
}

/* ---------- CUSTOM ---------- */
.custom {
  background: var(--ink);
  color: var(--paper);
  position: relative;
  overflow: hidden;
}

.custom .eyebrow {
  color: var(--yellow);
}

.custom .eyebrow::before {
  background: var(--yellow);
}

.custom h2 .script {
  color: var(--yellow);
}

.custom-grid {
  display: grid;
  gap: 60px;
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 960px) {
  .custom-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.custom p {
  font-size: 17px;
  color: rgba(255, 255, 255, 0.8);
  max-width: 480px;
  margin-bottom: 20px;
}

.custom-quote {
  font-style: italic;
  color: rgba(255, 255, 255, 0.6);
  font-size: 15px;
}

.custom-visual {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.custom-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.custom-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 214, 10, 0.2) 0%, transparent 60%);
  pointer-events: none;
}

.custom-bullets {
  margin-top: 32px;
}

.custom-bullets li {
  padding: 14px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
}

.custom-bullets li::before {
  content: "→";
  color: var(--yellow);
  font-weight: 700;
  font-size: 20px;
}

/* ---------- VISION ---------- */
.vision {
  background: var(--yellow);
  text-align: center;
  padding: 140px 40px;
  position: relative;
  overflow: hidden;
}

.vision::before,
.vision::after {
  content: "";
  position: absolute;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: var(--ink);
  opacity: 0.04;
}

.vision::before { top: 10%; left: 5%; }
.vision::after  { bottom: 10%; right: 5%; }

.vision .container {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.vision-quote {
  font-family: var(--font-display);
  font-size: clamp(36px, 5.5vw, 72px);
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  margin-bottom: 40px;
}

.vision-quote .script {
  font-family: var(--font-script);
  text-transform: none;
  font-weight: 700;
  display: inline-block;
  transform: rotate(-2deg);
  font-size: 1.05em;
}

.vision p {
  font-size: 18px;
  max-width: 560px;
  margin: 0 auto;
  font-weight: 500;
}

/* ---------- CTA ---------- */
.cta {
  background: var(--paper);
  padding: 140px 40px;
  text-align: center;
}

.cta h2 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 108px);
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  margin-bottom: 32px;
}

.cta h2 .script {
  font-family: var(--font-script);
  text-transform: none;
  font-weight: 700;
  color: var(--yellow-deep);
  display: inline-block;
  transform: rotate(-3deg);
}

.cta p {
  max-width: 560px;
  margin: 0 auto 20px;
  font-size: 17px;
  color: #444;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 60px 40px 30px;
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: start;
  flex-wrap: wrap;
  gap: 30px;
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo img {
  height: 48px;
  width: auto;
  filter: invert(1);
}

.footer-tagline {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}

.footer-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.footer-meta div {
  margin-bottom: 4px;
}

.footer-bottom {
  max-width: var(--container-max);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.4);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
