/* ============================================================
   Biswajit Pradhan — AI Automation Specialist
   Amber on black. Space Grotesk / Inter / JetBrains Mono.
   ============================================================ */

:root {
  --bg: #0a0a0a;
  --bg-soft: #111111;
  --accent: #f59e0b;
  --accent-hi: #fbbf24;
  --accent-soft: rgba(245, 158, 11, 0.14);
  --text: #ededed;
  --muted: #9ca3af;
  --line: rgba(255, 255, 255, 0.08);
  --card: rgba(255, 255, 255, 0.03);
  --card-line: rgba(245, 158, 11, 0.16);
  --radius: 18px;
  --radius-sm: 999px;
  --maxw: 1120px;
  --font-display: "Space Grotesk", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  position: relative;
}

/* ---------- Background texture ---------- */
.bg-grid {
  position: fixed;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 70% at 50% 0%, #000 35%, transparent 80%);
}
.bg-glow {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(55% 40% at 50% -8%, rgba(245, 158, 11, 0.20), transparent 70%),
    radial-gradient(40% 30% at 50% 108%, rgba(245, 158, 11, 0.10), transparent 70%);
}

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

.section { padding: 96px 0; }
.section--tight { padding: 64px 0; }

.section__eyebrow {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: var(--accent);
  text-align: center;
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  text-align: center;
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.section__lead {
  text-align: center;
  color: var(--muted);
  max-width: 620px;
  margin: 16px auto 0;
}
.section__cta { text-align: center; margin-top: 48px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  padding: 15px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  will-change: transform;
}
.btn--primary {
  background: var(--accent);
  color: #1a1206;
  box-shadow: 0 8px 28px -8px rgba(245, 158, 11, 0.55);
}
.btn--primary:hover {
  background: var(--accent-hi);
  transform: translateY(-2px);
  box-shadow: 0 12px 34px -8px rgba(245, 158, 11, 0.7);
}
.btn--ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--card-line);
}
.btn--ghost:hover { border-color: var(--accent); color: var(--accent-hi); transform: translateY(-2px); }
.btn--lg { padding: 17px 34px; font-size: 1.05rem; }
.btn .arrow { transition: transform 0.2s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero { padding: 150px 0 110px; text-align: center; }
.hero__inner { max-width: 880px; margin: 0 auto; }
.pill {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--accent-hi);
  background: var(--accent-soft);
  border: 1px solid var(--card-line);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
}
.hero__eyebrow {
  font-family: var(--font-mono);
  color: var(--accent);
  font-size: 1.05rem;
  margin-bottom: 18px;
}
.wave { display: inline-block; animation: wave 2.4s ease-in-out infinite; transform-origin: 70% 70%; }
@keyframes wave { 0%,60%,100% { transform: rotate(0); } 10% { transform: rotate(14deg); } 20% { transform: rotate(-8deg); } 30% { transform: rotate(14deg); } }

.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 6.5vw, 4.6rem);
  line-height: 1.04;
  letter-spacing: -0.03em;
}
.accent {
  color: var(--accent);
  text-shadow: 0 0 40px rgba(245, 158, 11, 0.35);
}
.hero__sub {
  color: var(--muted);
  font-size: 1.18rem;
  max-width: 640px;
  margin: 26px auto 0;
}
.hero__cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-top: 36px; }
.hero__note { color: var(--muted); font-size: 0.92rem; margin-top: 20px; }

/* ---------- Cards ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--card-line);
  box-shadow: 0 18px 40px -20px rgba(245, 158, 11, 0.5);
}
.tag {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  background: var(--accent-soft);
  padding: 5px 11px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
}
.card h3 { font-family: var(--font-display); font-size: 1.32rem; margin-bottom: 10px; letter-spacing: -0.01em; }
.card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Chips (industries) ---------- */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 36px;
}
.chips li {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.98rem;
  padding: 11px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--card);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.chips li:hover { border-color: var(--accent); color: var(--accent-hi); }

/* ---------- Stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.stat {
  text-align: center;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 34px 20px;
}
.stat__num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  color: var(--accent);
  line-height: 1;
}
.stat__label { display: block; font-family: var(--font-display); font-weight: 600; margin-top: 12px; }
.stat__desc { display: block; color: var(--muted); font-size: 0.88rem; margin-top: 6px; }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
}
.step__num {
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--accent);
}
.step h3 { font-family: var(--font-display); font-size: 1.15rem; margin: 14px 0 8px; }
.step p { color: var(--muted); font-size: 0.95rem; }

/* ---------- About ---------- */
.section--about { background: linear-gradient(180deg, transparent, rgba(245, 158, 11, 0.03), transparent); }
.about {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 56px;
  align-items: center;
}
.about__media { display: flex; justify-content: center; }
.about__avatar {
  position: relative;
  width: 100%;
  max-width: 320px;
  aspect-ratio: 1;
  border-radius: 24px;
  border: 1px solid var(--card-line);
  background: radial-gradient(circle at 50% 30%, rgba(245, 158, 11, 0.18), var(--bg-soft));
  display: grid;
  place-items: center;
  overflow: hidden;
  box-shadow: 0 30px 60px -30px rgba(245, 158, 11, 0.5);
}
.about__mono { font-family: var(--font-display); font-weight: 700; font-size: 5rem; color: var(--accent); }
.about__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about__body .section__eyebrow,
.about__body .section__title { text-align: left; }
.about__role { font-family: var(--font-mono); color: var(--accent); margin: 8px 0 18px; }
.about__body p { color: var(--muted); margin-bottom: 14px; }
.checklist { list-style: none; margin: 6px 0 28px; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 12px; color: var(--text); }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--accent);
  font-weight: 700;
  background: var(--accent-soft);
  width: 22px; height: 22px;
  display: grid; place-items: center;
  border-radius: 50%;
  font-size: 0.8rem;
}

/* ---------- Final CTA ---------- */
.section--final { padding-bottom: 130px; }
.final { text-align: center; max-width: 760px; margin: 0 auto; }
.final__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  letter-spacing: -0.02em;
  margin: 8px 0 18px;
}
.final__sub { color: var(--muted); font-size: 1.1rem; margin-bottom: 36px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 48px 0 32px; }
.footer__inner { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.footer__name { font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.footer__tag { color: var(--muted); font-size: 0.92rem; }
.footer__socials { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__socials a { color: var(--muted); text-decoration: none; font-size: 0.95rem; transition: color 0.2s ease; }
.footer__socials a:hover { color: var(--accent-hi); }
.footer__bottom {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  margin-top: 28px; padding-top: 22px; border-top: 1px solid var(--line);
  color: var(--muted); font-size: 0.86rem;
}
.footer__bottom a { color: var(--muted); text-decoration: none; }
.footer__bottom a:hover { color: var(--accent-hi); }

/* ---------- Sticky bar ---------- */
.sticky-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  transform: translate(-50%, 140%);
  width: min(720px, calc(100% - 32px));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 24px;
  background: rgba(17, 17, 17, 0.82);
  backdrop-filter: blur(14px);
  border: 1px solid var(--card-line);
  border-radius: var(--radius-sm);
  box-shadow: 0 18px 50px -20px rgba(0, 0, 0, 0.8);
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 50;
}
.sticky-bar.is-visible { transform: translate(-50%, 0); }
.sticky-bar__label { font-family: var(--font-display); font-weight: 500; font-size: 0.98rem; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

/* ============================================================
   CRO components
   ============================================================ */

/* Pulse dot for risk-reversal / urgency microcopy */
.pulse-dot {
  display: inline-block;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #22c55e;
  margin-right: 7px;
  vertical-align: middle;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.5); }
  70% { box-shadow: 0 0 0 9px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* Hero trust bar */
.trustbar {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 28px;
  max-width: 540px;
  margin: 32px auto 0;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}
.trustbar li { color: var(--muted); font-size: 0.92rem; }
.trustbar strong { color: var(--text); font-family: var(--font-display); font-weight: 700; }

/* Problem / pain section */
.section--problem { padding: 80px 0; }
.pains {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-top: 48px;
}
.pain {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.pain__icon { font-size: 1.7rem; display: block; margin-bottom: 12px; }
.pain h3 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 8px; }
.pain p { color: var(--muted); font-size: 0.93rem; }
.problem__bridge {
  text-align: center;
  max-width: 660px;
  margin: 42px auto 0;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--text);
}
.problem__bridge::before { content: "→ "; color: var(--accent); }

/* Testimonials */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 52px;
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.stars { color: var(--accent); letter-spacing: 2px; }
.testimonial blockquote { color: var(--text); font-size: 1rem; line-height: 1.6; flex: 1; }
.testimonial figcaption { display: flex; flex-direction: column; gap: 2px; }
.t-name { font-family: var(--font-display); font-weight: 600; }
.t-role { color: var(--muted); font-size: 0.85rem; }

/* FAQ */
.container--narrow { max-width: 800px; }
.faq { margin-top: 44px; display: flex; flex-direction: column; gap: 12px; }
.faq__item {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 22px;
  transition: border-color 0.2s ease;
}
.faq__item[open] { border-color: var(--card-line); }
.faq__item summary {
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "+";
  color: var(--accent);
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item > p { color: var(--muted); margin: 0; padding: 0 0 20px; }

/* Final urgency line */
.final__urgency { color: var(--muted); font-size: 0.95rem; margin-top: 22px; }

/* WhatsApp FAB (persistent CTA on mobile) */
.wa-fab {
  display: none;
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 60;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  place-items: center;
  box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.6);
  animation: fab-pulse 2.6s infinite;
}
.wa-fab:hover { transform: scale(1.06); }
@keyframes fab-pulse {
  0% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0.5); }
  70% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 30px -8px rgba(37, 211, 102, 0.55), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* CRO responsive */
@media (max-width: 900px) {
  .pains { grid-template-columns: repeat(2, 1fr); }
  .testimonials { grid-template-columns: 1fr; }
  .sticky-bar { display: none !important; }
  .wa-fab { display: grid; }
}
@media (max-width: 560px) {
  .pains { grid-template-columns: 1fr; }
  .trustbar { gap: 10px 18px; }
  .problem__bridge { font-size: 1.08rem; }
}

/* Landing-page minimal nav (ad pages) */
.lp-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px max(24px, calc((100% - 1120px) / 2));
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.lp-nav__brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.01em;
}
.lp-nav__brand span { color: var(--accent); }
.lp-nav__cta { padding: 10px 20px; font-size: 0.92rem; }
.hero--lp { padding-top: 92px; }
@media (max-width: 560px) {
  .lp-nav__cta { padding: 9px 15px; font-size: 0.84rem; }
  .hero--lp { padding-top: 76px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .about { grid-template-columns: 1fr; gap: 36px; }
  .about__media { order: -1; }
  .about__avatar { max-width: 260px; margin: 0 auto; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .container { padding: 0 22px; }
  .section { padding: 68px 0; }
  .hero { padding: 116px 0 76px; }
  .cards { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: 1fr; }
  .sticky-bar__label { display: none; }
  .sticky-bar { justify-content: center; }

  /* CRO: full-width, thumb-friendly primary CTAs that stack on small screens */
  .hero__cta { flex-direction: column; gap: 12px; width: 100%; margin-top: 30px; }
  .hero__cta .btn,
  .section__cta .btn { width: 100%; justify-content: center; padding: 17px 22px; }
  .btn--lg { padding: 18px 24px; font-size: 1rem; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
