/* ==========================================================================
   AIQ.studio — Food Business Blueprint landing page
   Design tokens
   ========================================================================== */

:root {
  /* Color */
  --bg: #0A0A0B;
  --bg-raised: #121214;
  --bg-panel: #17181B;
  --hairline: rgba(255, 255, 255, 0.09);
  --hairline-strong: rgba(255, 255, 255, 0.16);

  --green-1: #5DDF00;
  --green-2: #8BFE0C;
  --yellow: #FFD524;

  --ink: #F4F4F1;
  --ink-muted: #9C9C96;
  --ink-faint: #6C6C67;
  --ink-on-green: #0B1D02;

  --glass-fill: linear-gradient(165deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.015));
  --glass-border: rgba(255, 255, 255, 0.14);

  /* Type */
  --font-bn: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
  --font-en: "Space Grotesk", sans-serif;

  /* Layout */
  --content-max: 640px;
  --wide-max: 1040px;
  --edge: 1.25rem;

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

@media (min-width: 720px) {
  :root { --edge: 2.5rem; }
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  color-scheme: dark;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-bn);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

a { color: inherit; text-decoration: none; }

button {
  font-family: inherit;
  color: inherit;
  background: none;
  border: none;
  cursor: pointer;
}

:focus-visible {
  outline: 2px solid var(--green-2);
  outline-offset: 3px;
  border-radius: 4px;
}

ul { margin: 0; padding: 0; list-style: none; }

.section__inner,
.hero__inner,
.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--edge);
}

/* ==========================================================================
   Background texture — a single quiet radial wash, not scattered blobs
   ========================================================================== */

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(60% 40% at 50% 0%, rgba(93, 223, 0, 0.10), transparent 60%),
    var(--bg);
  pointer-events: none;
}

/* ==========================================================================
   Top bar
   ========================================================================== */

.topbar {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(10, 10, 11, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--hairline);
}

.topbar__inner {
  max-width: var(--wide-max);
  margin: 0 auto;
  padding: 0.9rem var(--edge);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: -0.01em;
}

.logo--small { font-size: 0.95rem; }

.logo__dot { color: var(--green-2); }

.topbar__cta {
  font-family: var(--font-en);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: var(--green-2);
  color: var(--ink-on-green);
  white-space: nowrap;
}

/* ==========================================================================
   CTA button
   ========================================================================== */

.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-bn);
  font-weight: 600;
  font-size: 1.05rem;
  line-height: 1.3;
  text-align: center;
  border-radius: 999px;
  padding: 1.05rem 1.9rem;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.cta--primary {
  background: linear-gradient(135deg, var(--green-2), var(--green-1));
  color: var(--ink-on-green);
}

.cta--glow {
  box-shadow:
    0 0 0 1px rgba(93, 223, 0, 0.35),
    0 14px 34px -12px rgba(93, 223, 0, 0.65);
}

.cta--glow:hover {
  transform: translateY(-2px);
  box-shadow:
    0 0 0 1px rgba(139, 254, 12, 0.5),
    0 18px 40px -10px rgba(139, 254, 12, 0.75);
}

.cta--large {
  width: 100%;
  max-width: 420px;
  font-size: 1.15rem;
  padding: 1.2rem 2rem;
}

.microcopy {
  margin: 0.85rem 0 0;
  font-size: 0.85rem;
  color: var(--ink-muted);
  text-align: center;
}

/* ==========================================================================
   Hand-drawn attention marks (highlighter / circle / underline)
   Used sparingly — only at the moments that most affect the buying
   decision, never decoratively on every heading.
   ========================================================================== */

.mark-highlight {
  position: relative;
  display: inline;
  padding: 0.02em 0.2em;
  background-image: linear-gradient(
    104deg,
    rgba(139, 254, 12, 0) 0.5%,
    rgba(139, 254, 12, 0.5) 3%,
    rgba(139, 254, 12, 0.5) 95%,
    rgba(139, 254, 12, 0) 99%
  );
  background-repeat: no-repeat;
  background-size: 100% 0.62em;
  background-position: 0 88%;
  border-radius: 0.15em;
}

.mark-circle {
  position: relative;
  display: inline-block;
  margin: 0.05em 0.15em 0.55em;
}

.mark-circle__svg {
  position: absolute;
  inset: -16% -12% -18%;
  width: calc(100% + 24%);
  height: calc(100% + 34%);
  overflow: visible;
  pointer-events: none;
}

.mark-underline {
  position: relative;
  display: inline-block;
  padding-bottom: 0.2em;
}

.mark-underline__svg {
  position: absolute;
  left: -3%;
  right: -3%;
  bottom: -0.35em;
  width: 106%;
  height: 0.6em;
  overflow: visible;
  pointer-events: none;
}

/* ==========================================================================
   Hero
   ========================================================================== */

.hero {
  padding: 3rem 0 3.5rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4em;
  margin: 0 0 1.5rem;
  padding: 0.4rem 0.9rem;
  border: 1px solid var(--hairline-strong);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--ink-muted);
}

.eyebrow__accent { color: var(--green-2); }

.hero__headline {
  margin: 0 0 1.25rem;
  font-size: 2rem;
  line-height: 1.32;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.hero__sub {
  margin: 0 auto 1.75rem;
  max-width: 30em;
  font-size: 1.02rem;
  color: var(--ink-muted);
  line-height: 1.75;
}

.hero__bundle-label {
  display: inline-flex;
  align-items: center;
  margin: 0 0 1.75rem;
  padding: 0.55rem 1.15rem;
  border-radius: 999px;
  background: rgba(139, 254, 12, 0.14);
  border: 1px solid rgba(139, 254, 12, 0.5);
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--green-2);
}

/* Cover presentation — book mockup */

.cover-stage {
  position: relative;
  margin: 0 auto 2.25rem;
  max-width: 480px;
}

.cover-stage__glow {
  position: absolute;
  inset: -10% -5% -20%;
  background: radial-gradient(closest-side, rgba(93, 223, 0, 0.28), transparent 72%);
  filter: blur(30px);
  z-index: 0;
}

.cover-stage__glass {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  padding: 2.25rem 1.1rem 2rem;
  border-radius: 32px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.07);
  perspective: 1400px;
  overflow: hidden;
}

/* A soft grounded shadow the two books "sit" on, for a dimensional
   mockup feel rather than flat cut-out images. */
.cover-stage__floor {
  position: absolute;
  left: 50%;
  bottom: 14%;
  width: 78%;
  height: 22px;
  background: radial-gradient(closest-side, rgba(0, 0, 0, 0.55), transparent 75%);
  transform: translateX(-50%);
  z-index: 0;
}

.book {
  position: relative;
  flex: none;
  width: 108px;
  aspect-ratio: 480 / 750;
  transition: transform 0.4s var(--ease);
}

.book--left { transform: rotate3d(0, 1, 0, 14deg) rotate(-4deg); z-index: 1; }
.book--right { transform: rotate3d(0, 1, 0, -14deg) rotate(4deg); z-index: 2; }

.cover-stage:hover .book--left { transform: rotate3d(0, 1, 0, 7deg) rotate(-2deg) translateY(-4px); }
.cover-stage:hover .book--right { transform: rotate3d(0, 1, 0, -7deg) rotate(2deg) translateY(-4px); }

.book__cover {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 480 / 750;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 22px 44px -16px rgba(0, 0, 0, 0.75);
  position: relative;
  z-index: 1;
}

/* A thin stack-of-pages strip peeking from the spine side of each book —
   the detail that reads as "physical book", not just a flat cut-out. */
.book__pages {
  position: absolute;
  top: 3%;
  bottom: 3%;
  width: 7px;
  border-radius: 2px;
  background: repeating-linear-gradient(
    to bottom,
    #eeece4 0,
    #eeece4 2px,
    #d8d5c9 2px,
    #d8d5c9 3px
  );
  box-shadow: inset -1px 0 2px rgba(0, 0, 0, 0.25);
  z-index: 0;
}

.book--left .book__pages { right: -4px; }
.book--right .book__pages { left: -4px; }

@media (min-width: 420px) {
  .book { width: 122px; }
  .cover-stage__glass { gap: 1.1rem; padding: 2.5rem 1.5rem 2.25rem; }
}

/* Price */

.price-block {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.price-block__old {
  font-family: var(--font-en);
  font-size: 1.15rem;
  color: var(--ink-faint);
  text-decoration: line-through;
  text-decoration-color: rgba(255, 255, 255, 0.35);
}

.price-block__new {
  font-family: var(--font-en);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--green-2);
  letter-spacing: -0.02em;
}

.price-block__save {
  margin: 0.3rem 0 1.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--yellow);
}

/* ==========================================================================
   Generic section rhythm
   ========================================================================== */

.section {
  padding: 3.25rem 0;
  border-top: 1px solid var(--hairline);
}

.section__headline {
  margin: 0 0 1.75rem;
  font-size: 1.55rem;
  line-height: 1.4;
  font-weight: 700;
  letter-spacing: -0.01em;
}

/* ==========================================================================
   02 Problem
   ========================================================================== */

.problem-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.problem-list__item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  padding: 1.1rem 0;
  border-top: 1px solid var(--hairline);
  font-size: 1rem;
  color: var(--ink);
}

.problem-list__item:last-child { border-bottom: 1px solid var(--hairline); }

.problem-list__mark {
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0.2rem;
  color: var(--green-2);
}

/* ==========================================================================
   03 Insight
   ========================================================================== */

.insight__body {
  margin: 0 0 1.75rem;
  color: var(--ink-muted);
  font-size: 1rem;
}

.insight__close {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1.5;
}

.insight__close-accent {
  font-family: var(--font-en);
  color: var(--green-2);
}

/* ==========================================================================
   04 Bundle intro
   ========================================================================== */

.bundle-grid {
  display: grid;
  gap: 1.5rem;
}

.product-card {
  padding: 1.75rem 1.5rem 2rem;
  border-radius: 20px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  text-align: center;
}

.product-card__cover {
  margin: 0 auto 1.25rem;
  width: 128px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 20px 40px -16px rgba(0, 0, 0, 0.7);
}

.product-card__title {
  margin: 0 0 0.6rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.product-card__desc {
  margin: 0;
  font-size: 0.92rem;
  color: var(--ink-muted);
}

/* ==========================================================================
   05 What you'll learn
   ========================================================================== */

.learn-grid {
  display: grid;
  gap: 2rem;
}

.learn-col__label {
  margin: 0 0 0.9rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--green-2);
}

.learn-col__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.learn-col__list li {
  position: relative;
  padding-left: 1.1rem;
  font-size: 0.96rem;
  color: var(--ink);
}

.learn-col__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--green-2);
}

/* ==========================================================================
   06 Who is this for
   ========================================================================== */

.who-grid {
  display: grid;
  gap: 1rem;
}

.who-card {
  padding: 1.35rem 1.4rem;
  border-radius: 16px;
  border: 1px solid var(--hairline);
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.who-card__num {
  font-family: var(--font-en);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--ink-faint);
  padding-top: 0.15rem;
}

.who-card p {
  margin: 0;
  font-size: 0.98rem;
}

/* ==========================================================================
   07 Value stack
   ========================================================================== */

.value-card {
  border-radius: 24px;
  background: var(--glass-fill);
  border: 1px solid var(--glass-border);
  padding: 1.75rem;
  box-shadow: 0 30px 60px -34px rgba(0, 0, 0, 0.8);
}

.value-card__items {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--hairline);
}

.value-card__items li {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  font-size: 0.98rem;
  font-weight: 600;
}

.value-card__thumb {
  flex: none;
  width: 40px;
  height: 40px;
  border-radius: 6px;
  overflow: hidden;
}

.value-card__thumb img { width: 100%; height: 100%; object-fit: cover; }

.value-card__pricing { display: flex; flex-direction: column; gap: 0.65rem; }

.value-card__row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
  color: var(--ink-muted);
}

.value-card__old { text-decoration: line-through; color: var(--ink-faint); }

.value-card__row--offer {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
}

.value-card__new {
  font-family: var(--font-en);
  font-size: 1.5rem;
  color: var(--green-2);
}

.value-card__row--save span:last-child { color: var(--yellow); font-weight: 600; }

/* ==========================================================================
   08 / 11 Price + final CTA
   ========================================================================== */

.price-cta,
.final-cta {
  text-align: center;
}

.price-cta__price,
.final-cta .price-cta__price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.85rem;
  margin: 1.5rem 0 0.5rem;
}

.price-cta__old {
  font-family: var(--font-en);
  font-size: 1.3rem;
  color: var(--ink-faint);
  text-decoration: line-through;
}

.price-cta__new {
  font-family: var(--font-en);
  font-size: 3rem;
  font-weight: 700;
  color: var(--green-2);
  letter-spacing: -0.02em;
}

.price-cta__tag {
  margin: 0.35rem 0 2rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--yellow);
}

.final-cta__sub {
  margin: -0.75rem 0 0;
  color: var(--ink-muted);
  font-size: 1rem;
}

.final-cta .cta { margin-top: 2rem; }

/* ==========================================================================
   09 FAQ
   ========================================================================== */

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-top: 1px solid var(--hairline);
}

.faq-item:last-child { border-bottom: 1px solid var(--hairline); }

.faq-item__q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.2rem 0;
  text-align: right;
  font-size: 1rem;
  font-weight: 600;
}

.faq-item__q span { text-align: right; }

.faq-item__icon {
  flex: none;
  width: 18px;
  height: 18px;
  color: var(--green-2);
  transition: transform 0.3s var(--ease);
}

.faq-item__q[aria-expanded="true"] .faq-item__icon { transform: rotate(180deg); }

.faq-item__a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s var(--ease);
}

.faq-item__a > p {
  overflow: hidden;
  min-height: 0;
  margin: 0 0 1.2rem;
  color: var(--ink-muted);
  font-size: 0.95rem;
}

.faq-item__a { overflow: hidden; }

.faq-item__q[aria-expanded="true"] + .faq-item__a { grid-template-rows: 1fr; }

.faq-item__a > p { grid-row: 1 / 2; }

/* ==========================================================================
   10 Trust
   ========================================================================== */

.trust { text-align: center; }

.trust__text {
  margin: 0 auto 1.5rem;
  max-width: 32em;
  font-size: 1.02rem;
  color: var(--ink-muted);
}

.trust__mark {
  font-family: var(--font-en);
  font-weight: 600;
  color: var(--ink-faint);
  font-size: 0.95rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
  border-top: 1px solid var(--hairline);
  padding: 2rem 0 6.5rem;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  align-items: center;
  text-align: center;
}

.footer__note {
  margin: 0;
  font-size: 0.8rem;
  color: var(--ink-faint);
}

/* ==========================================================================
   Mobile sticky CTA
   ========================================================================== */

.sticky-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem var(--edge);
  padding-bottom: max(0.75rem, env(safe-area-inset-bottom));
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--hairline-strong);
  transform: translateY(100%);
  transition: transform 0.35s var(--ease);
}

.sticky-cta.is-visible { transform: translateY(0); }

.sticky-cta__price { display: flex; align-items: baseline; gap: 0.5rem; font-family: var(--font-en); }

.sticky-cta__old { font-size: 0.85rem; color: var(--ink-faint); text-decoration: line-through; }

.sticky-cta__new { font-size: 1.3rem; font-weight: 700; color: var(--green-2); }

.cta--sticky {
  flex: none;
  padding: 0.75rem 1.4rem;
  font-size: 0.95rem;
}

/* ==========================================================================
   Tablet / desktop
   ========================================================================== */

@media (min-width: 720px) {
  body { font-size: 17px; }

  .hero { padding: 4.5rem 0 5rem; }

  .hero__headline { font-size: 2.9rem; }

  .hero__sub { font-size: 1.12rem; }

  .cover-stage { max-width: 560px; }

  .book { width: 172px; }

  .price-block__new { font-size: 3rem; }

  .section { padding: 5rem 0; }

  .section__headline { font-size: 2.1rem; }

  .bundle-grid,
  .learn-grid {
    grid-template-columns: 1fr 1fr;
  }

  .who-grid { grid-template-columns: 1fr 1fr; }

  .price-cta__new,
  .final-cta .price-cta__new { font-size: 3.75rem; }

  .cta--large { font-size: 1.25rem; }

  .sticky-cta { display: none; }
}

@media (min-width: 1000px) {
  .hero__headline { font-size: 3.4rem; }
}
