/* Aurion — concept AI startup. Near-black, aurora gradients, thin type, glassy cards, everything moves. */
:root {
  --bg: #07070C;
  --bg-2: #0E0E17;
  --card: rgba(255, 255, 255, .035);
  --line: rgba(255, 255, 255, .09);
  --text: #F2F1FA;
  --muted: #9A98B3;
  --violet: #7C5CFF;
  --teal: #33E1C5;
  --pink: #FF5CA8;
  --grad: linear-gradient(100deg, #7C5CFF, #33E1C5 55%, #FF5CA8);
  --sans: 'Inter Tight', system-ui, sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-io: cubic-bezier(.76, 0, .24, 1);
  --pad: clamp(16px, 4vw, 56px);
}
*, *::before, *::after { box-sizing: border-box; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: var(--sans); font-weight: 300; font-size: 16px; line-height: 1.6; overflow-x: clip; -webkit-font-smoothing: antialiased; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, p, ul { margin: 0; }
ul { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 1px solid var(--teal); outline-offset: 4px; border-radius: 6px; }
.mono { font-family: var(--mono); font-size: 12px; letter-spacing: .02em; }
.kicker { color: var(--muted); }
em { font-style: normal; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.h2 { font-weight: 200; font-size: clamp(40px, 6vw, 88px); line-height: 1; letter-spacing: -0.045em; }
.sec { position: relative; padding: clamp(96px, 13vw, 180px) var(--pad); }
.sec__head { display: grid; gap: 18px; max-width: 1200px; margin: 0 auto clamp(48px, 7vw, 96px); }
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 26px; border-radius: 999px; background: var(--text); color: var(--bg); font-weight: 500; font-size: 15px; overflow: hidden; isolation: isolate; transition: color .3s; }
.btn::before { content: ''; position: absolute; inset: 0; z-index: -1; background: var(--grad); opacity: 0; transition: opacity .4s; }
.btn:hover { color: #fff; }
.btn:hover::before { opacity: 1; }
.btn--ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1px var(--line); }
.btn--sm { min-height: 40px; padding: 0 18px; font-size: 14px; }
.btn--xl { min-height: 72px; padding: 0 44px; font-size: 19px; }
.btn--block { width: 100%; }

/* Grain */
.noise { position: fixed; inset: -50%; z-index: 90; pointer-events: none; opacity: .05; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain .9s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-3%, 2%); } 50% { transform: translate(2%, -3%); } 75% { transform: translate(-2%, -1%); } }

/* Cursor */
html.has-cursor, html.has-cursor * { cursor: none !important; }
.cursor { position: fixed; top: 0; left: 0; z-index: 200; pointer-events: none; opacity: 0; transition: opacity .3s; }
.cursor.is-on { opacity: 1; }
.cursor__ring { position: absolute; left: -16px; top: -16px; width: 32px; height: 32px; border-radius: 50%; border: 1px solid rgba(255,255,255,.8); backdrop-filter: invert(1) grayscale(1); transition: transform .45s var(--ease), background-color .3s; }
.cursor.has-label .cursor__ring { transform: scale(2.4); background: rgba(255,255,255,.95); backdrop-filter: none; }
.cursor__label { position: absolute; left: 0; top: 0; transform: translate(-50%, -50%) scale(.6); color: var(--bg); white-space: nowrap; opacity: 0; transition: opacity .25s, transform .4s var(--ease); }
.cursor.has-label .cursor__label { opacity: 1; transform: translate(-50%, -50%) scale(1); }

/* Loader */
.loader { position: fixed; inset: 0; z-index: 150; display: grid; place-content: center; justify-items: center; gap: 16px; background: var(--bg); transition: opacity .8s .2s, visibility .8s .2s; animation: safe 0s 6s forwards; }
@keyframes safe { to { visibility: hidden; } }
.loader.is-done { opacity: 0; visibility: hidden; }
.loader__orb { width: 64px; height: 64px; border-radius: 50%; background: var(--grad); filter: blur(2px); animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.15); filter: blur(6px); } }
.loader__word { overflow: hidden; }
.loader__word span { display: block; font-weight: 200; font-size: clamp(48px, 10vw, 140px); letter-spacing: -0.05em; line-height: 1; transform: translateY(105%); transition: transform 1.1s var(--ease); }
.loader.is-on .loader__word span { transform: none; }
.loader__n { color: var(--muted); }

/* Header */
.top { position: fixed; inset: 16px var(--pad) auto; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 56px; padding: 0 8px 0 18px; border-radius: 999px; background: rgba(14,14,23,.55); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(14px) saturate(140%); transition: transform .5s var(--ease); }
.top.is-hidden { transform: translateY(-140%); }
.logo { display: inline-flex; align-items: center; gap: 10px; font-weight: 500; font-size: 18px; letter-spacing: -0.02em; }
.logo__dot { width: 16px; height: 16px; border-radius: 50%; background: var(--grad); box-shadow: 0 0 18px rgba(124,92,255,.7); }
.top__nav { display: none; gap: 28px; font-size: 14px; color: var(--muted); }
.top__nav a:hover { color: var(--text); }
@media (min-width: 900px) { .top__nav { display: flex; } }

/* Aurora gradients */
.aurora { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.aurora i { position: absolute; width: 60vmax; height: 60vmax; border-radius: 50%; filter: blur(90px); opacity: .35; mix-blend-mode: screen; animation: drift 18s ease-in-out infinite alternate; }
.aurora i:nth-child(1) { left: -15vmax; top: -10vmax; background: var(--violet); }
.aurora i:nth-child(2) { right: -20vmax; top: 10vmax; background: var(--teal); opacity: .22; animation-duration: 22s; }
.aurora i:nth-child(3) { left: 20vmax; bottom: -30vmax; background: var(--pink); opacity: .18; animation-duration: 26s; }
@keyframes drift { to { transform: translate(8vmax, 6vmax) scale(1.15); } }

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; place-items: center; overflow: hidden; padding: 120px var(--pad) 80px; }
.hero__canvas { position: absolute; inset: 0; }
.hero__canvas canvas { width: 100%; height: 100%; opacity: 0; transition: opacity 1.4s; }
.hero.is-3d .hero__canvas canvas { opacity: 1; }
.hero.no-3d .hero__canvas { background: radial-gradient(circle at 50% 45%, rgba(124,92,255,.6), transparent 35%); }
.hero__ui { position: relative; z-index: 2; display: grid; justify-items: center; gap: 26px; max-width: 1000px; text-align: center; transform: translateY(var(--hy, 0px)); opacity: var(--ho, 1); }
.pill { display: inline-flex; align-items: center; gap: 10px; padding: 8px 14px; border-radius: 999px; background: rgba(255,255,255,.05); box-shadow: inset 0 0 0 1px var(--line); backdrop-filter: blur(8px); color: var(--muted); white-space: nowrap; }
.pill__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(51,225,197,.18); animation: blink 2s infinite; }
@keyframes blink { 50% { box-shadow: 0 0 0 8px rgba(51,225,197,0); } }
.hero__title { text-shadow: 0 4px 40px rgba(7,7,12,.55); font-weight: 200; font-size: clamp(48px, 9vw, 148px); line-height: .92; letter-spacing: -0.06em; }
.hero__lead { max-width: 52ch; color: #C9C7DC; font-size: clamp(16px, 1.4vw, 19px); text-shadow: 0 2px 24px rgba(7,7,12,.9), 0 0 2px rgba(7,7,12,.6); }
.hero__ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero__meta { position: absolute; z-index: 2; left: var(--pad); right: var(--pad); bottom: 24px; display: flex; justify-content: space-between; color: var(--muted); }
@media (max-width: 767px) { .hero { place-items: end center; } .hero__meta { display: none; } }
[data-in] { opacity: 0; transform: translateY(14px); transition: opacity .8s var(--ease), transform .9s var(--ease); }
.is-ready [data-in] { opacity: 1; transform: none; }
.is-ready [data-in="2"] { transition-delay: .5s; }
.is-ready [data-in="3"] { transition-delay: .7s; }
.is-ready [data-in="1"] { transition-delay: .2s; }

/* Word reveals */
.sw { display: inline-block; overflow: hidden; vertical-align: top; padding: 0 .04em .12em 0; margin-bottom: -.12em; }
.sw > span { display: inline-block; transform: translateY(110%) rotate(4deg); transform-origin: left bottom; transition: transform 1.1s var(--ease); transition-delay: calc(var(--i) * 55ms + var(--d, 0ms)); }
.is-in .sw > span, .is-ready [data-split-in] .sw > span { transform: none; }
[data-split-in] { --d: 250ms; }

/* Logos */
.logos { padding: 40px 0; border-block: 1px solid var(--line); }
.logos__t { text-align: center; color: var(--muted); margin-bottom: 18px; }
.marquee { overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent); }
.marquee div { display: inline-flex; gap: 72px; white-space: nowrap; animation: run 32s linear infinite; }
.marquee b { font-weight: 500; font-size: 24px; letter-spacing: -0.03em; color: #5F5D78; }
@keyframes run { to { transform: translateX(-50%); } }

/* Statement */
.statement__text { max-width: 22ch; margin: 0 auto; font-weight: 200; font-size: clamp(34px, 5vw, 76px); line-height: 1.08; letter-spacing: -0.04em; text-align: center; }
.mw { color: rgba(242,241,250, calc(.12 + .88 * var(--on, 0))); }

/* Features */
.feat { display: grid; gap: 32px; align-items: center; max-width: 1200px; margin: 0 auto clamp(80px, 10vw, 140px); }
.feat__copy { display: grid; gap: 14px; max-width: 440px; }
.feat__copy h3 { font-weight: 300; font-size: clamp(28px, 3.2vw, 44px); line-height: 1.05; letter-spacing: -0.035em; }
.feat__copy p:last-child { color: var(--muted); }
@media (min-width: 900px) { .feat { grid-template-columns: 1fr 1.2fr; gap: 80px; } .feat--rev .feat__copy { order: 2; } }
.card3d { position: relative; padding: 28px; border-radius: 28px; background: linear-gradient(160deg, rgba(255,255,255,.06), rgba(255,255,255,.015)); box-shadow: inset 0 0 0 1px var(--line), 0 60px 120px -60px rgba(124,92,255,.45); transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease); min-height: 300px; overflow: hidden; }
.card3d.is-tilting, .tile.is-tilting, .plan.is-tilting { transition: transform .12s linear; }
.card3d::after, .tile::after, .plan::after { content: ''; position: absolute; inset: 0; border-radius: inherit; background: radial-gradient(360px circle at var(--mx, 50%) var(--my, 0%), rgba(124,92,255,.22), transparent 60%); opacity: 0; transition: opacity .4s; pointer-events: none; }
.is-tilting::after { opacity: 1; }
.feat[data-feat] { opacity: 0; transform: translateY(60px); transition: opacity 1s var(--ease), transform 1.2s var(--ease); }
.feat.is-in { opacity: 1; transform: none; }

/* Chat mock */
.chat { display: grid; gap: 12px; }
.msg { max-width: 82%; padding: 12px 16px; border-radius: 18px; font-size: 15px; opacity: 0; transform: translateY(14px) scale(.98); transition: opacity .6s var(--ease), transform .7s var(--ease); }
.msg--in { background: rgba(255,255,255,.07); border-bottom-left-radius: 6px; }
.msg--bot { justify-self: end; background: linear-gradient(120deg, rgba(124,92,255,.85), rgba(51,225,197,.75)); color: #fff; border-bottom-right-radius: 6px; min-width: 76px; }
.msg--meta { justify-self: end; padding: 0; color: var(--teal); }
.is-in .msg { opacity: 1; transform: none; }
.is-in .msg--bot { transition-delay: .7s; }
.is-in .msg--meta { transition-delay: 3s; }
.typing { display: inline-flex; gap: 4px; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: dot 1s infinite; }
.typing i:nth-child(2) { animation-delay: .15s; } .typing i:nth-child(3) { animation-delay: .3s; }
@keyframes dot { 50% { transform: translateY(-4px); opacity: .5; } }
.msg__txt { display: none; }
.msg--bot.is-typed .typing { display: none; }
.msg--bot.is-typed .msg__txt { display: inline; }

/* Flow mock */
.flow { width: 100%; height: auto; }
.flow path { fill: none; stroke: url(#none); stroke: var(--teal); stroke-width: 2; stroke-dasharray: 1; stroke-dashoffset: 1; opacity: .9; }
.is-in .flow path { stroke-dashoffset: 0; transition: stroke-dashoffset 1.6s var(--ease); }
.is-in .flow path:nth-of-type(2) { transition-delay: .2s; } .is-in .flow path:nth-of-type(3) { transition-delay: .8s; } .is-in .flow path:nth-of-type(4) { transition-delay: 1s; }
.node rect { fill: rgba(255,255,255,.06); stroke: rgba(255,255,255,.18); }
.node text { fill: var(--text); font-family: var(--mono); font-size: 12px; text-anchor: middle; }
.node--core rect { fill: url(#none); fill: #7C5CFF; stroke: none; filter: drop-shadow(0 0 14px rgba(124,92,255,.8)); }
.node { opacity: 0; transition: opacity .6s; }
.is-in .node { opacity: 1; }
.is-in .node--core { animation: core 2.4s ease-in-out infinite 1.4s; }
@keyframes core { 50% { opacity: .75; } }

/* Report mock */
.report { display: grid; gap: 16px; }
.report__big { font-weight: 200; font-size: 64px; line-height: 1; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.report__big small { font-size: 16px; color: var(--muted); letter-spacing: 0; }
.chart { width: 100%; height: 120px; }
.chart__line { fill: none; stroke: var(--violet); stroke-width: 2.5; vector-effect: non-scaling-stroke; stroke-dasharray: 1; stroke-dashoffset: 1; }
.chart__fill { fill: url(#cg); opacity: 0; transition: opacity 1s .9s; }
.is-in .chart__line { stroke-dashoffset: 0; transition: stroke-dashoffset 1.8s var(--ease); }
.is-in .chart__fill { opacity: 1; }
.report__row { display: flex; justify-content: space-between; padding-top: 14px; border-top: 1px solid var(--line); color: var(--muted); }
.report__row b { color: var(--teal); font-weight: 400; }

/* Bento */
.bento { display: grid; gap: 14px; max-width: 1200px; margin: 0 auto; }
@media (min-width: 900px) { .bento { grid-template-columns: repeat(3, 1fr); } .tile--wide { grid-column: span 2; } }
.tile { position: relative; display: grid; align-content: space-between; gap: 30px; min-height: 260px; padding: 28px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease); }
.tile h3 { max-width: 16ch; font-weight: 300; font-size: clamp(24px, 2.4vw, 34px); line-height: 1.05; letter-spacing: -0.03em; }
.tile__num { font-weight: 200; font-size: 56px; letter-spacing: -0.04em; font-variant-numeric: tabular-nums; }
.tile__num small { font-size: 15px; color: var(--muted); letter-spacing: 0; }
.wave { display: flex; align-items: center; gap: 6px; height: 60px; }
.wave i { flex: 1; height: 30%; border-radius: 4px; background: var(--grad); animation: wave 1.2s ease-in-out infinite; animation-delay: calc(var(--k, 0) * -.1s); }
.wave i:nth-child(odd) { --k: 3; } .wave i:nth-child(3n) { --k: 6; } .wave i:nth-child(4n) { --k: 9; }
@keyframes wave { 50% { height: 100%; } }
.orbit { position: relative; width: 120px; height: 120px; justify-self: center; }
.orbit span { position: absolute; inset: 40%; border-radius: 50%; background: var(--grad); box-shadow: 0 0 24px rgba(124,92,255,.8); }
.orbit i { position: absolute; inset: 0; border: 1px dashed rgba(255,255,255,.18); border-radius: 50%; animation: spin 8s linear infinite; }
.orbit i::before { content: ''; position: absolute; top: -5px; left: 50%; width: 10px; height: 10px; margin-left: -5px; border-radius: 3px; background: var(--teal); }
.orbit i:nth-child(3) { inset: 14%; animation-duration: 5s; animation-direction: reverse; }
.orbit i:nth-child(3)::before { background: var(--pink); }
.orbit i:nth-child(4) { inset: -12%; animation-duration: 12s; }
.orbit i:nth-child(5) { inset: 26%; animation-duration: 3.5s; }
@keyframes spin { to { transform: rotate(360deg); } }
.toggles { display: flex; gap: 12px; }
.tg { position: relative; width: 56px; height: 30px; border-radius: 999px; background: rgba(255,255,255,.1); transition: background-color .4s; animation: tg 4s infinite; }
.tg::after { content: ''; position: absolute; top: 4px; left: 4px; width: 22px; height: 22px; border-radius: 50%; background: #fff; transition: transform .4s var(--ease); }
.tg.is-on { background: var(--teal); }
.tg.is-on::after { transform: translateX(26px); }

/* Pricing */
.switch { position: relative; display: inline-flex; justify-self: start; padding: 4px; border-radius: 999px; box-shadow: inset 0 0 0 1px var(--line); }
.switch button { position: relative; z-index: 1; padding: 8px 16px; border-radius: 999px; color: var(--muted); transition: color .3s; }
.switch button[aria-pressed="true"] { color: var(--bg); }
.switch i { position: absolute; top: 4px; bottom: 4px; left: 4px; width: var(--w, 90px); border-radius: 999px; background: var(--text); transform: translateX(var(--x, 0px)); transition: transform .5s var(--ease), width .5s var(--ease); }
.plans { display: grid; gap: 14px; max-width: 1200px; margin: 0 auto; }
@media (min-width: 900px) { .plans { grid-template-columns: repeat(3, 1fr); } }
.plan { position: relative; display: grid; gap: 22px; align-content: start; padding: 32px; border-radius: 26px; background: var(--card); box-shadow: inset 0 0 0 1px var(--line); overflow: hidden; transform: perspective(1200px) rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform .7s var(--ease); }
.plan--hot { background: linear-gradient(160deg, rgba(124,92,255,.22), rgba(51,225,197,.06)); box-shadow: inset 0 0 0 1px rgba(124,92,255,.5), 0 50px 100px -50px rgba(124,92,255,.7); }
.plan__price { font-weight: 200; font-size: 64px; line-height: 1; letter-spacing: -0.05em; font-variant-numeric: tabular-nums; }
.plan__price small { font-size: 16px; color: var(--muted); letter-spacing: 0; }
.plan ul { display: grid; gap: 10px; color: var(--muted); }
.plan li::before { content: '✓  '; color: var(--teal); }
.badge { margin-left: 8px; padding: 3px 8px; border-radius: 999px; background: var(--grad); color: #fff; font-size: 10px; }

/* FAQ */
.acc { max-width: 900px; margin: 0 auto; }
.acc__i { border-top: 1px solid var(--line); }
.acc__i:last-child { border-bottom: 1px solid var(--line); }
.acc__i button { display: flex; justify-content: space-between; gap: 20px; width: 100%; padding: 26px 0; font-size: clamp(18px, 2vw, 24px); text-align: left; letter-spacing: -0.02em; }
.acc__i button span { font-size: 26px; font-weight: 200; transition: transform .5s var(--ease); }
.acc__i button[aria-expanded="true"] span { transform: rotate(45deg); }
.acc__p { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .6s var(--ease); }
.acc__p > p { overflow: hidden; color: var(--muted); max-width: 60ch; }
.acc__i.is-open .acc__p { grid-template-rows: 1fr; }
.acc__i.is-open .acc__p > p { padding-bottom: 26px; }

/* CTA */
.cta { position: relative; display: grid; justify-items: center; gap: 34px; padding: clamp(120px, 16vw, 220px) var(--pad); text-align: center; overflow: hidden; }
.cta__title { position: relative; max-width: 12ch; font-weight: 200; font-size: clamp(48px, 8vw, 130px); line-height: .95; letter-spacing: -0.055em; }
.cta__note { position: relative; color: var(--muted); }
.cta .btn { position: relative; }

/* Footer */
.foot { padding: 60px var(--pad) 0; border-top: 1px solid var(--line); overflow: hidden; }
.foot__cols { display: grid; gap: 20px; color: var(--muted); font-size: 14px; }
.foot__cols b { color: var(--text); font-weight: 500; }
@media (min-width: 900px) { .foot__cols { grid-template-columns: repeat(3, 1fr); } }
.foot__word { overflow: hidden; margin-top: 40px; }
.foot__word span { display: block; font-weight: 200; font-size: 27vw; line-height: .78; letter-spacing: -0.07em; text-align: center; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; transform: translateY(calc((1 - var(--m, 0)) * 60%)); }
