/* Acyuta Labs — rich dark theme */
:root {
  --bg: #07070c;
  --bg-2: #0b0b14;
  --card: rgba(255,255,255,0.035);
  --card-hover: rgba(255,255,255,0.06);
  --border: rgba(255,255,255,0.09);
  --text: #ececf2;
  --muted: #9394ab;
  --accent: #f97316;
  --accent-2: #fbbf24;
  --accent-3: #dc2626;
  --grad: linear-gradient(120deg, #fb923c 0%, #fbbf24 100%);
  --grad-btn: linear-gradient(120deg, #f97316 0%, #fb923c 55%, #fbbf24 120%);
  --glow: 0 0 60px -12px rgba(249,115,22,0.55);
  --maxw: 1160px;
  --display: "Space Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  overflow-x: hidden;
  font-family: var(--sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* layered ambient glows fixed behind everything */
  background-image:
    radial-gradient(50% 40% at 12% 0%, rgba(249,115,22,0.18) 0%, transparent 60%),
    radial-gradient(45% 45% at 100% 8%, rgba(251,191,36,0.12) 0%, transparent 55%),
    radial-gradient(60% 50% at 50% 120%, rgba(220,38,38,0.10) 0%, transparent 60%);
  background-attachment: fixed;
}
a { color: var(--text); text-decoration: none; }
img { max-width: 100%; }

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

/* Typography */
h1, h2, h3 { font-family: var(--display); font-weight: 600; letter-spacing: -0.02em; color: #fff; }
h1 { font-size: clamp(46px, 7.5vw, 88px); line-height: 1.02; margin: 0 0 24px; }
h2 { font-size: clamp(30px, 4.5vw, 48px); line-height: 1.08; margin: 0 0 20px; }
h3 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; font-weight: 600; }

/* gradient accent word (reuses .italic class from markup, rendered upright) */
.italic {
  font-style: normal;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.serif { font-family: var(--display); }

.eyebrow {
  font-family: var(--sans);
  font-size: 12px; font-weight: 600;
  letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--accent-2); margin: 0 0 22px;
  display: flex; align-items: center; gap: 12px;
}
.eyebrow::before { content: ""; width: 28px; height: 1px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); display: inline-block; }

p.lead { font-size: clamp(18px, 2.2vw, 22px); line-height: 1.55; color: var(--muted); max-width: 620px; }
.muted { color: var(--muted); }

/* Header / nav */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,7,12,0.6);
  backdrop-filter: saturate(180%) blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { position: relative; display: flex; align-items: center; gap: 12px; font-family: var(--display); font-weight: 600; font-size: 20px; letter-spacing: -0.01em; color: #fff; }

/* Mor pankh — floats down and rests crowning the logo (sized to fit inside the header) */
.mor-pankh {
  position: absolute; left: 0; bottom: -16px; width: 25px; height: auto;
  z-index: 3; pointer-events: none; transform-origin: 50% 100%;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.4));
  animation: featherFall 3.2s cubic-bezier(.33,.08,.24,1) forwards,
             featherIdle 5s ease-in-out 3.2s infinite;
  will-change: transform;
}
@keyframes featherFall {
  0%   { opacity: 0; transform: translate(40px, -150px) rotate(42deg); }
  14%  { opacity: 1; }
  38%  { transform: translate(-14px, -84px) rotate(-24deg); }
  60%  { transform: translate(11px, -40px) rotate(16deg); }
  80%  { transform: translate(-5px, -12px) rotate(-20deg); }
  100% { opacity: 1; transform: translate(0, 0) rotate(-14deg); }
}
@keyframes featherIdle {
  0%, 100% { transform: translate(0, 0) rotate(-14deg); }
  50%      { transform: translate(0, -2px) rotate(-8deg); }
}
@media (prefers-reduced-motion: reduce) {
  .mor-pankh { animation: none; transform: rotate(-14deg); opacity: 1; }
}
.brand .logo {
  width: 36px; height: 36px; border-radius: 10px;
  background: var(--grad-btn);
  display: grid; place-items: center;
  font-family: var(--display); font-weight: 700; font-size: 18px; color: #fff;
  box-shadow: var(--glow);
}
.nav-links { display: flex; gap: 34px; align-items: center; }
.nav-links a {
  color: var(--muted); font-size: 15px; font-weight: 500;
  position: relative; padding: 4px 0; transition: color .2s ease;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 0; height: 2px;
  background: var(--grad); border-radius: 2px; transition: width .28s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-links a.active { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 26px; cursor: pointer; }

/* Buttons */
.btn {
  display: inline-block; padding: 14px 30px; border-radius: 12px;
  font-family: var(--sans); font-weight: 600; font-size: 15px;
  cursor: pointer; border: 1px solid transparent;
  transition: transform .18s ease, box-shadow .25s ease, background .2s ease, border-color .2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad-btn); color: #fff; box-shadow: 0 10px 30px -10px rgba(249,115,22,0.7); }
.btn-primary:hover { box-shadow: 0 16px 40px -10px rgba(249,115,22,0.85); }
.btn-ghost { border-color: var(--border); color: #fff; background: rgba(255,255,255,0.02); }
.btn-ghost:hover { border-color: var(--accent); background: rgba(249,115,22,0.08); }
.link-arrow { font-weight: 600; color: #fff; padding-bottom: 2px; border-bottom: 1px solid transparent; transition: border-color .2s ease, gap .2s ease; }
.link-arrow:hover { border-color: var(--accent-2); }

/* Sections */
section { padding: 108px 0; position: relative; }
.divider { border: 0; border-top: 1px solid var(--border); margin: 0; }

/* Hero */
.hero { padding: 128px 0 108px; position: relative; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; width: 620px; height: 620px; top: -220px; right: -120px;
  background: radial-gradient(circle, rgba(249,115,22,0.35) 0%, transparent 65%);
  filter: blur(30px); pointer-events: none; animation: float 14s ease-in-out infinite;
}
.hero::after {
  content: ""; position: absolute; width: 480px; height: 480px; bottom: -200px; left: -100px;
  background: radial-gradient(circle, rgba(251,191,36,0.22) 0%, transparent 65%);
  filter: blur(30px); pointer-events: none; animation: float 18s ease-in-out infinite reverse;
}
.hero > .container { position: relative; z-index: 1; }
.hero h1 { max-width: 15ch; }
.hero .actions { display: flex; gap: 18px; margin-top: 40px; flex-wrap: wrap; align-items: center; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(-24px, 30px); } }

/* Grid cards */
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 56px; }
.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 34px 32px;
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: 18px; padding: 1px;
  background: linear-gradient(130deg, rgba(249,115,22,0.6), transparent 40%);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .3s ease;
}
.card:hover { transform: translateY(-4px); background: var(--card-hover); border-color: rgba(249,115,22,0.35); box-shadow: 0 24px 50px -24px rgba(249,115,22,0.5); }
.card:hover::before { opacity: 1; }
.card .num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 12px;
  background: linear-gradient(135deg, rgba(249,115,22,0.22), rgba(251,191,36,0.18));
  border: 1px solid rgba(249,115,22,0.35);
  font-family: var(--display); font-weight: 600; font-size: 16px;
  color: #fcd34d; margin-bottom: 22px;
}
.card p { color: var(--muted); margin: 0; }
.card .card-link { display: inline-block; margin-top: 16px; font-size: 15px; }

/* Contact loose grid (same look) */
.grid.loose { gap: 20px; }

/* Section header helper */
.section-head { max-width: 640px; margin-bottom: 8px; }

/* Prose (legal pages) */
.prose { max-width: 720px; }
.prose h1 { font-size: clamp(38px, 6vw, 60px); }
.prose h2 { margin-top: 48px; font-size: 26px; }
.prose h3 { margin-top: 30px; }
.prose p, .prose li { color: var(--muted); }
.prose ul { padding-left: 22px; }
.prose li { margin: 8px 0; }
.prose a { color: var(--accent-2); }

/* Glowing CTA band */
.cta { text-align: center; padding: 118px 0; position: relative; overflow: hidden; }
.cta::before {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(60% 120% at 50% 100%, rgba(249,115,22,0.28) 0%, transparent 60%);
  pointer-events: none;
}
.cta > .container { position: relative; z-index: 1; }
.cta .eyebrow { justify-content: center; }
.cta .lead { margin-left: auto; margin-right: auto; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); padding: 72px 0 44px; color: var(--muted); background: var(--bg-2); }
.footer-grid { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer-grid a { color: var(--muted); display: block; margin: 9px 0; font-size: 15px; transition: color .2s ease; }
.footer-grid a:hover { color: #fff; }
.footer-col h4 { font-family: var(--sans); color: #fff; font-size: 12px; text-transform: uppercase; letter-spacing: 0.16em; margin: 0 0 14px; font-weight: 600; }
.footer-bottom { margin-top: 48px; padding-top: 26px; border-top: 1px solid var(--border); font-size: 14px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; color: var(--muted); }

/* Contact */
.contact-card { display: flex; align-items: center; gap: 18px; }
.contact-card .big { font-family: var(--display); font-weight: 600; font-size: 22px; color: #fff; }
.field { padding: 15px 16px; border: 1px solid var(--border); background: rgba(255,255,255,0.03); color: var(--text); font-family: var(--sans); font-size: 15px; width: 100%; border-radius: 12px; transition: border-color .2s ease; }
.field::placeholder { color: #6b6c82; }
.field:focus { outline: none; border-color: var(--accent); }

@media (max-width: 760px) {
  section { padding: 72px 0; }
  .container { padding: 0 22px; }
  .hero { padding: 40px 0 64px; }
  h1 { font-size: clamp(40px, 12vw, 60px); }
  h2 { font-size: clamp(28px, 7vw, 40px); }
  .nav-links {
    display: none; position: absolute; top: 74px; left: 0; right: 0;
    flex-direction: column; gap: 0; background: var(--bg-2);
    border-bottom: 1px solid var(--border); padding: 4px 0;
    box-shadow: 0 24px 44px -22px rgba(0,0,0,0.9);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 15px 24px; width: 100%; border-bottom: 1px solid rgba(255,255,255,0.055); }
  .nav-links a:last-child { border-bottom: 0; }
  .nav-links a::after { display: none; }              /* no full-width underline bar in the mobile list */
  .nav-links a.active { color: var(--accent-2); box-shadow: inset 3px 0 0 var(--accent); }
  .nav-toggle { display: block; }
}

/* ---------- Enhancements ---------- */

/* Film-grain / noise overlay */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 1; pointer-events: none;
  opacity: 0.04; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
main, .site-footer { position: relative; z-index: 2; }
.site-header { z-index: 60; }

/* Header darkens on scroll */
.site-header.scrolled { background: rgba(7,7,12,0.82); box-shadow: 0 8px 30px -20px rgba(0,0,0,0.9); }

/* Scroll reveal */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero::before, .hero::after { animation: none; }
}

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 20px; overflow: hidden; }
.stat { background: rgba(255,255,255,0.02); padding: 40px 32px; text-align: center; }
.stat .figure { font-family: var(--display); font-weight: 600; font-size: clamp(38px, 5vw, 56px); line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent; }
.stat .label { margin-top: 12px; color: var(--muted); font-size: 15px; }

/* Marquee of capabilities — glowing pill chips */
.marquee { overflow: hidden; padding: 30px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 16px; width: max-content; animation: scrollx 36s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 11px; white-space: nowrap;
  padding: 13px 24px; border-radius: 999px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  font-family: var(--display); font-weight: 500; font-size: clamp(15px, 1.6vw, 19px);
  color: #dcdcec; letter-spacing: -0.01em;
}
.marquee-track span::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%;
  background: var(--grad-btn); box-shadow: 0 0 12px rgba(249,115,22,0.85);
  flex: none;
}
@keyframes scrollx { to { transform: translateX(-50%); } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 56px; counter-reset: step; }
.step { position: relative; padding-top: 28px; border-top: 1px solid var(--border); }
.step .step-n { font-family: var(--display); font-size: 14px; font-weight: 600; letter-spacing: 0.12em; color: var(--accent-2); text-transform: uppercase; }
.step h3 { margin-top: 10px; }
.step p { color: var(--muted); margin: 8px 0 0; }
.step::before { content: ""; position: absolute; top: -1px; left: 0; width: 46px; height: 3px; border-radius: 3px; background: var(--grad); }

/* Animated gradient-border feature panel */
.panel { position: relative; border-radius: 24px; padding: 56px 48px; background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.015)); overflow: hidden; }
.panel::before {
  content: ""; position: absolute; inset: -1px; border-radius: 24px; padding: 1.5px;
  background: conic-gradient(from 0deg, #f97316, #fbbf24, #dc2626, #f97316);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  animation: spin 8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.panel > * { position: relative; z-index: 1; }

/* Krishna's flute motif */
.flute-scene { position: absolute; top: 84px; right: 40px; width: 340px; height: 200px; z-index: 0; pointer-events: none; }
.flute { width: 340px; height: auto; filter: drop-shadow(0 0 24px rgba(249,115,22,0.5)); transform-origin: 70% 70%; animation: sway 7s ease-in-out infinite; }
@keyframes sway { 0%,100% { transform: rotate(-1.5deg) translateY(0); } 50% { transform: rotate(1.5deg) translateY(-6px); } }
.note {
  position: absolute; top: 30px; right: 44px; font-size: 20px; opacity: 0;
  font-family: ui-monospace, "SF Mono", "JetBrains Mono", Menlo, Consolas, monospace;
  font-weight: 600; letter-spacing: 0.02em;
  background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: transparent;
  animation: rise 5.5s ease-in-out infinite;
}
.note.n1 { animation-delay: 0s;   font-size: 22px; }
.note.n2 { animation-delay: 0.9s; right: 74px; font-size: 18px; }
.note.n3 { animation-delay: 1.8s; right: 28px; font-size: 24px; }
.note.n4 { animation-delay: 2.7s; right: 90px; font-size: 20px; }
.note.n5 { animation-delay: 3.6s; right: 58px; font-size: 26px; }
.note.n6 { animation-delay: 4.5s; right: 38px; font-size: 16px; opacity: 0; }
@keyframes rise {
  0%   { opacity: 0; transform: translate(0, 0) rotate(0deg) scale(0.7); }
  15%  { opacity: 0.9; }
  70%  { opacity: 0.7; }
  100% { opacity: 0; transform: translate(-34px, -120px) rotate(-18deg) scale(1.1); }
}
@media (prefers-reduced-motion: reduce) {
  .flute { animation: none; }
  .note { animation: none; opacity: 0.55; }
}
@media (max-width: 1040px) { .flute-scene { right: 0; opacity: 0.7; } }
@media (max-width: 760px) {
  /* Flute becomes a centered header motif, in normal flow above the text */
  .flute-scene {
    position: relative; top: 0; right: 0; left: 0;
    width: 260px; height: 150px; margin: 4px auto 10px; opacity: 1;
  }
  .flute { width: 260px; }
  .note { top: 22px; }
  .note.n1 { right: 40px; } .note.n2 { right: 66px; } .note.n3 { right: 26px; }
  .note.n4 { right: 78px; } .note.n5 { right: 52px; } .note.n6 { right: 34px; }
}

@media (max-width: 760px) {
  .stats { grid-template-columns: 1fr 1fr; }
  .stat { padding: 30px 18px; }
  .stat .figure { font-size: clamp(30px, 9vw, 44px); }
  .card { padding: 28px 24px; }
  .panel { padding: 40px 26px; }
  .hero .actions { gap: 14px; }
  .hero .actions .btn { width: 100%; text-align: center; }
  .footer-grid { gap: 28px; }
  .footer-bottom { flex-direction: column; gap: 6px; }
}
@media (max-width: 400px) {
  .stats { grid-template-columns: 1fr; }
}
