/* ============================================================
   KOTIUM AI — Tanıtım Sitesi
   Premium dark, fashion-tech estetiği
   ============================================================ */

:root {
  --bg:        #08080a;
  --bg-2:      #0d0e12;
  --bg-soft:   #121319;
  --card:      #14151c;
  --line:      rgba(255,255,255,.08);
  --line-2:    rgba(255,255,255,.14);
  --text:      #f4f2ee;
  --muted:     #a7a6ad;
  --muted-2:   #6f6e77;

  --accent:    #c9a24b;      /* şampanya altını */
  --accent-2:  #e6c877;
  --violet:    #7c6cff;
  --cyan:      #4fd1e6;

  --grad: linear-gradient(120deg, var(--violet), var(--cyan));
  --grad-gold: linear-gradient(120deg, #e6c877, #c9a24b);

  --serif: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --sans:  "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;

  --wrap: 1180px;
  --ease: cubic-bezier(.22,.61,.36,1);
}

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

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

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

body.intro-locked { overflow: hidden; height: 100vh; }

a { color: inherit; text-decoration: none; }
em { font-style: italic; }
::selection { background: var(--accent); color: #14100a; }

/* ---------- Utilities ---------- */
.section__head { max-width: 760px; margin: 0 auto 64px; text-align: center; }
.section__tag {
  display: inline-block;
  font-size: 12px; letter-spacing: .28em; text-transform: uppercase;
  color: var(--accent-2); font-weight: 600; margin-bottom: 20px;
}
.section__head h2 {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(32px, 5.2vw, 56px); line-height: 1.08; letter-spacing: -.005em;
}
.section__head h2 em { color: var(--accent-2); }
.section__lede { margin-top: 20px; color: var(--muted); font-size: 17px; }

section { padding: clamp(80px, 12vw, 150px) 24px; position: relative; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 100px; font-size: 15px; font-weight: 500;
  cursor: pointer; border: 1px solid transparent; transition: all .3s var(--ease);
  white-space: nowrap;
}
.btn--primary { background: var(--text); color: #0a0a0a; }
.btn--primary:hover { background: var(--accent-2); transform: translateY(-2px); box-shadow: 0 12px 40px rgba(230,200,119,.25); }
.btn--ghost { border-color: var(--line-2); color: var(--text); }
.btn--ghost:hover { border-color: var(--text); background: rgba(255,255,255,.04); }
.btn--full { width: 100%; }

/* ============================================================
   CINEMATIC INTRO
   ============================================================ */
.intro {
  position: fixed; inset: 0; z-index: 1000;
  background: radial-gradient(120% 120% at 50% 40%, #14131b 0%, #08080a 60%);
  display: grid; place-items: center;
  transition: opacity 1s var(--ease), visibility 1s;
}
.intro.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.intro.is-done .intro__content { transform: scale(1.09); filter: blur(7px); transition: transform 1s var(--ease), filter 1s var(--ease); }
.intro__canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

.intro__content { position: relative; text-align: center; z-index: 2; padding: 24px; }
.intro__kicker {
  font-size: 12px; letter-spacing: .5em; color: var(--muted-2); text-transform: uppercase;
  margin-bottom: 22px;
}
.intro__logo {
  font-family: var(--serif); font-weight: 500;
  font-size: clamp(52px, 12.5vw, 140px); line-height: .95; letter-spacing: .01em;
  display: flex; align-items: flex-start; justify-content: center; gap: .12em;
}
.intro__word { color: var(--text); position: relative; display: inline-flex; overflow: hidden; }
.intro__ch { display: inline-block; opacity: 0; transform: translateY(34px); filter: blur(10px); }
.intro__shimmer { position: absolute; top: 0; left: 0; height: 100%; width: 45%; pointer-events: none;
  background: linear-gradient(100deg, transparent, rgba(255,255,255,.7), transparent);
  transform: translateX(-160%); mix-blend-mode: overlay; opacity: 0; }
.intro__ai {
  font-size: .34em; letter-spacing: .1em; font-weight: 500;
  background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent;
  margin-top: .5em; opacity: 0;
}
.intro__mark { width: 66px; height: 66px; margin: 0 auto 26px; opacity: 0;
  filter: drop-shadow(0 8px 28px rgba(201,162,75,.45)); }
.intro__mark svg { width: 100%; height: 100%; display: block; }
.intro__glow { position: absolute; inset: 0; z-index: 1; opacity: 0;
  background: radial-gradient(42% 42% at 50% 46%, rgba(201,162,75,.20), transparent 70%),
              radial-gradient(38% 38% at 50% 46%, rgba(124,108,255,.14), transparent 72%); }
.intro__line { height: 1px; width: 0; margin: 28px auto 0; background: linear-gradient(90deg, transparent, var(--accent), transparent); }
.intro__tag { margin-top: 22px; color: var(--muted); letter-spacing: .18em; font-size: 14px; text-transform: uppercase; }
.intro__stats { margin-top: 30px; display: flex; gap: 16px; justify-content: center; align-items: center; flex-wrap: wrap; }
.intro__stats span:not(.intro__sep) { font-size: 13px; letter-spacing: .04em; color: var(--muted); }
.intro__stats b { font-family: var(--serif); font-weight: 600; font-size: 19px; color: var(--accent-2); margin-right: 6px; }
.intro__sep { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); opacity: .55; }
.intro__apps { margin: 30px auto 0; max-width: 640px; display: flex; flex-wrap: wrap; gap: 9px 10px; justify-content: center; }
.intro__app { font-size: 12.5px; letter-spacing: .02em; color: var(--muted); padding: 6px 14px; border: 1px solid var(--line-2); border-radius: 100px; background: rgba(255,255,255,.02); opacity: 0; white-space: nowrap; }
.intro__app.fly-t { transform: translateY(-46px) scale(.8); filter: blur(6px); }
.intro__app.fly-b { transform: translateY(46px) scale(.8); filter: blur(6px); }
.intro__app.fly-l { transform: translateX(-56px) scale(.8); filter: blur(6px); }
.intro__app.fly-r { transform: translateX(56px) scale(.8); filter: blur(6px); }
.intro.play .intro__app { animation: flyIn .85s var(--ease) forwards; }
@keyframes flyIn { to { opacity: 1; transform: none; filter: blur(0); } }

/* staged reveal */
.intro [data-seq] { opacity: 0; transform: translateY(18px); }
.intro.play [data-seq] { animation: introIn 1s var(--ease) forwards; }
.intro.play [data-seq="1"] { animation-delay: .4s; }
.intro.play [data-seq="2"] { animation-delay: 3s; }               /* tagline */
.intro.play [data-seq="3"] { animation-delay: 3.6s; }             /* stats satırı */
.intro.play .intro__glow { animation: introFade 1.2s ease .2s forwards, glowPulse 4s ease-in-out 1s infinite alternate; }
.intro.play .intro__mark { animation: markIn 1.1s var(--ease) .85s forwards; }
.intro.play .intro__ch { animation: chIn .9s var(--ease) forwards; }
.intro.play .intro__ch:nth-child(1) { animation-delay: 1.45s; }
.intro.play .intro__ch:nth-child(2) { animation-delay: 1.55s; }
.intro.play .intro__ch:nth-child(3) { animation-delay: 1.65s; }
.intro.play .intro__ch:nth-child(4) { animation-delay: 1.75s; }
.intro.play .intro__ch:nth-child(5) { animation-delay: 1.85s; }
.intro.play .intro__ch:nth-child(6) { animation-delay: 1.95s; }
.intro.play .intro__ai { animation: introIn 1s var(--ease) 2.3s forwards; }
.intro.play .intro__shimmer { animation: sweep 1.5s ease 2.5s forwards; }
.intro.play .intro__line { animation: introLine 1.2s var(--ease) 2.6s forwards; }
@keyframes introIn { to { opacity: 1; transform: none; } }
@keyframes introFade { to { opacity: 1; } }
@keyframes glowPulse { to { transform: scale(1.16); } }
@keyframes markIn { from { opacity: 0; transform: scale(.5) rotate(-30deg); } to { opacity: 1; transform: none; } }
@keyframes chIn { to { opacity: 1; transform: none; filter: blur(0); } }
@keyframes sweep { 0% { opacity: 0; transform: translateX(-160%); } 15% { opacity: 1; } 100% { opacity: 0; transform: translateX(320%); } }
@keyframes introLine { to { width: 260px; opacity: 1; } }

.intro__skip {
  position: absolute; bottom: 40px; right: 40px; z-index: 3;
  background: none; border: 1px solid var(--line-2); color: var(--muted);
  padding: 10px 20px; border-radius: 100px; font: inherit; font-size: 13px;
  cursor: pointer; transition: all .3s; display: flex; gap: 6px; align-items: center;
}
.intro__skip:hover { color: var(--text); border-color: var(--text); }
.intro__progress { position: absolute; bottom: 0; left: 0; width: 100%; height: 2px; background: rgba(255,255,255,.06); z-index: 3; }
.intro__progress span { display: block; height: 100%; width: 0; background: var(--grad-gold); }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 500;
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px clamp(24px, 5vw, 56px);
  transition: all .4s var(--ease);
}
.nav.is-solid {
  background: rgba(8,8,10,.72); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line); padding-top: 14px; padding-bottom: 14px;
}
.nav__brand { display: flex; align-items: center; gap: 11px; font-family: var(--serif); font-size: 25px; font-weight: 600; letter-spacing: .01em; }
.nav__ai { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.nav__mark { width: 27px; height: 27px; flex: none; filter: drop-shadow(0 3px 10px rgba(201,162,75,.35)); transition: transform .5s var(--ease); }
.nav__brand:hover .nav__mark { transform: rotate(120deg); }
.nav__links { display: flex; align-items: center; gap: 8px; }
.nav__links a { padding: 8px 16px; font-size: 14.5px; color: var(--muted); border-radius: 100px; transition: color .25s; }
.nav__links a:hover { color: var(--text); }
.nav__cta { border: 1px solid var(--line-2); color: var(--text) !important; }
.nav__cta:hover { background: var(--text); color: #0a0a0a !important; }
.nav__burger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__burger span { width: 24px; height: 2px; background: var(--text); transition: .3s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { min-height: 100vh; display: grid; place-items: center; text-align: center; padding-top: 120px; overflow: hidden; }
.hero__aurora {
  position: absolute; inset: -20% -10% auto -10%; height: 120%;
  background:
    radial-gradient(50% 45% at 30% 20%, rgba(124,108,255,.25), transparent 70%),
    radial-gradient(45% 40% at 75% 30%, rgba(79,209,230,.18), transparent 70%),
    radial-gradient(40% 40% at 55% 70%, rgba(201,162,75,.16), transparent 70%);
  filter: blur(20px); animation: drift 18s ease-in-out infinite alternate; z-index: 0;
}
@keyframes drift { to { transform: translate3d(4%, 3%, 0) scale(1.08); } }
.hero__grid {
  position: absolute; inset: 0; z-index: 0; opacity: .5;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(70% 60% at 50% 40%, #000 0%, transparent 75%);
}
.hero__inner { position: relative; z-index: 2; max-width: 900px; padding: 0 8px; }
.hero__badge {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 8px 18px; border: 1px solid var(--line-2); border-radius: 100px;
  font-size: 13.5px; color: var(--muted); margin-bottom: 34px; background: rgba(255,255,255,.02);
}
.hero__dot { width: 7px; height: 7px; border-radius: 50%; background: #6ee7a8; box-shadow: 0 0 12px #6ee7a8; }
.hero__title {
  font-family: var(--serif); font-weight: 500; letter-spacing: -.01em;
  font-size: clamp(46px, 8.8vw, 116px); line-height: 1.0;
}
.hero__title em { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; font-weight: 400; }
.hero__sub { max-width: 620px; margin: 28px auto 0; color: var(--muted); font-size: clamp(16px, 2vw, 19px); }
.hero__actions { display: flex; gap: 14px; justify-content: center; margin-top: 40px; flex-wrap: wrap; }
.hero__stats { display: flex; gap: clamp(28px,6vw,72px); justify-content: center; margin-top: 72px; }
.hero__stats strong { font-family: var(--serif); font-size: 34px; font-weight: 400; display: block; }
.hero__stats span { font-size: 13px; color: var(--muted-2); letter-spacing: .05em; }
.hero__scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 2; width: 26px; height: 42px; border: 1px solid var(--line-2); border-radius: 100px; display: grid; place-items: start center; padding-top: 8px; }
.hero__scroll span { width: 4px; height: 8px; border-radius: 4px; background: var(--accent-2); animation: scrolldot 1.6s infinite; }
@keyframes scrolldot { 0%{opacity:0;transform:translateY(0)} 40%{opacity:1} 100%{opacity:0;transform:translateY(14px)} }

/* ============================================================
   MANIFESTO
   ============================================================ */
.manifesto { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.pillars { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.pillar { border: 1px solid var(--line); border-radius: 20px; padding: 40px 32px; background: var(--card); transition: .4s var(--ease); }
.pillar:hover { transform: translateY(-6px); border-color: var(--line-2); background: var(--bg-soft); }
.pillar__no { font-family: var(--serif); font-size: 15px; color: var(--accent-2); margin-bottom: 22px; letter-spacing: .1em; }
.pillar h3 { font-size: 21px; font-weight: 600; margin-bottom: 12px; }
.pillar p { color: var(--muted); font-size: 15.5px; }

/* ============================================================
   MİMARİ
   ============================================================ */
.mimari { background: var(--bg-2); }
.arch { max-width: 960px; margin: 0 auto; }
.arch__layer {
  border: 1px solid var(--line); border-radius: 20px; padding: 28px 30px;
  background: linear-gradient(180deg, var(--card), var(--bg-soft));
  display: grid; grid-template-columns: 240px 1fr; gap: 30px; align-items: center;
}
.arch__label span { display: block; font-family: var(--serif); font-size: 22px; margin-bottom: 6px; }
.arch__label small { color: var(--muted-2); font-size: 13px; }
.arch__nodes { display: flex; flex-wrap: wrap; gap: 10px; }
.arch__pill {
  padding: 9px 16px; border-radius: 100px; font-size: 13.5px; color: var(--muted);
  border: 1px solid var(--line-2); background: rgba(255,255,255,.02); transition: .3s;
}
.arch__pill:hover { color: var(--text); border-color: var(--accent); }
.arch__pill--mini { font-size: 12.5px; color: var(--text); border-color: var(--line); background: var(--bg); }
.arch__pill--base { border-color: rgba(201,162,75,.28); color: var(--accent-2); }
.arch__flow { display: flex; justify-content: center; gap: 8px; padding: 14px 0; }
.arch__flow span { width: 5px; height: 5px; border-radius: 50%; background: var(--accent); opacity: .5; animation: pulseDown 1.6s infinite; }
.arch__flow span:nth-child(2){ animation-delay:.2s } .arch__flow span:nth-child(3){ animation-delay:.4s }
@keyframes pulseDown { 0%,100%{opacity:.2;transform:translateY(-2px)} 50%{opacity:1;transform:translateY(2px)} }

/* Teknoloji yığını */
.stack { max-width: 960px; margin: 72px auto 0; }
.stack__head { text-align: center; margin-bottom: 40px; }
.stack__head h3 { font-family: var(--serif); font-weight: 400; font-size: clamp(24px,3.5vw,34px); }
.stack__head p { color: var(--muted); margin-top: 8px; font-size: 15.5px; }
.stack__grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.stack__group { border: 1px solid var(--line); border-radius: 18px; padding: 26px 28px; background: var(--card); transition: .4s var(--ease); }
.stack__group:hover { border-color: var(--line-2); background: var(--bg-soft); }
.stack__group h4 { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-2); margin-bottom: 16px; font-weight: 600; }
.stack__pills { display: flex; flex-wrap: wrap; gap: 9px; }
.stack__pills span { padding: 8px 15px; border-radius: 100px; font-size: 13.5px; color: var(--text); border: 1px solid var(--line-2); background: rgba(255,255,255,.02); transition: .3s; }
.stack__pills span:hover { border-color: var(--accent); color: var(--accent-2); }

/* ============================================================
   EKOSİSTEM
   ============================================================ */
.eco { background: linear-gradient(180deg, var(--bg-2), var(--bg)); }
.eco__filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.chip {
  padding: 10px 20px; border-radius: 100px; border: 1px solid var(--line-2);
  background: none; color: var(--muted); font: inherit; font-size: 14px; cursor: pointer; transition: .3s;
}
.chip:hover { color: var(--text); border-color: var(--text); }
.chip.is-active { background: var(--text); color: #0a0a0a; border-color: var(--text); }

.eco__grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.appcard {
  position: relative; border: 1px solid var(--line); border-radius: 22px; padding: 30px;
  background: var(--card); overflow: hidden; transition: .45s var(--ease);
  display: flex; flex-direction: column; min-height: 240px;
}
.appcard::before {
  content:""; position:absolute; inset:0; opacity:0; transition:.45s;
  background: radial-gradient(120% 100% at 0% 0%, rgba(201,162,75,.10), transparent 55%);
}
.appcard:hover { transform: translateY(-6px); border-color: var(--line-2); }
.appcard:hover::before { opacity: 1; }
.appcard.is-hidden { display: none; }
.appcard__top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; }
.appcard__icon {
  width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center;
  background: rgba(255,255,255,.04); border: 1px solid var(--line-2); color: var(--accent-2);
}
.appcard__icon svg { width: 26px; height: 26px; }
.appcard__status { font-size: 11.5px; letter-spacing: .05em; padding: 5px 11px; border-radius: 100px; border: 1px solid var(--line-2); color: var(--muted); }
.appcard__status.s-live { color: #6ee7a8; border-color: rgba(110,231,168,.4); }
.appcard__status.s-prod { color: var(--cyan); border-color: rgba(79,209,230,.4); }
.appcard__status.s-dev { color: var(--accent-2); border-color: rgba(230,200,119,.4); }
.appcard h3 { font-family: var(--serif); font-size: 25px; font-weight: 500; margin-bottom: 8px; }
.appcard__tagline { display: inline-block; font-family: var(--sans); font-size: 11px; font-weight: 500; letter-spacing: .06em; text-transform: uppercase; color: var(--accent-2); border: 1px solid rgba(230,200,119,.35); border-radius: 100px; padding: 2px 9px; vertical-align: middle; margin-left: 4px; }
.appcard__desc { color: var(--muted); font-size: 15px; flex: 1; }
.appcard__cat { margin-top: 20px; font-size: 12px; letter-spacing: .08em; text-transform: uppercase; color: var(--muted-2); }

/* ============================================================
   RAKAMLAR
   ============================================================ */
.stats { background: var(--bg); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: clamp(60px,9vw,110px) 24px; }
.stats__inner { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: repeat(4,1fr); gap: 30px; text-align: center; }
.stat__num { font-family: var(--serif); font-size: clamp(46px,6.2vw,76px); font-weight: 500; line-height: 1; background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat__label { margin-top: 14px; color: var(--muted); font-size: 14.5px; }

/* ============================================================
   İLETİŞİM
   ============================================================ */
.contact { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.contact__grid { max-width: var(--wrap); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.contact__intro h2 { font-family: var(--serif); font-weight: 500; font-size: clamp(32px,4.8vw,52px); line-height: 1.08; margin: 18px 0 20px; }
.contact__intro h2 em { color: var(--accent-2); }
.contact__intro > p { color: var(--muted); max-width: 420px; }
.contact__meta { list-style: none; margin-top: 40px; display: grid; gap: 20px; }
.contact__meta li { display: flex; flex-direction: column; gap: 3px; border-top: 1px solid var(--line); padding-top: 16px; }
.contact__meta span { font-size: 12px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted-2); }
.contact__meta a { color: var(--accent-2); }

.contact__form { background: var(--card); border: 1px solid var(--line); border-radius: 24px; padding: 36px; display: grid; gap: 18px; }
.field { display: grid; gap: 8px; }
.field label { font-size: 13px; color: var(--muted); letter-spacing: .02em; }
.field input, .field select, .field textarea {
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 13px 16px; color: var(--text); font: inherit; font-size: 15px; transition: border-color .25s; resize: vertical;
}
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); }
.field select { appearance: none; cursor: pointer; }
.contact__note { font-size: 13.5px; color: var(--muted); text-align: center; min-height: 18px; }
.contact__note.ok { color: #6ee7a8; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: 1px solid var(--line); padding: 50px 24px 34px; background: var(--bg); }
.footer__inner { max-width: var(--wrap); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer__brand { font-family: var(--serif); font-size: 26px; font-weight: 600; letter-spacing: .01em; }
.footer__brand span { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; color: transparent; }
.footer__nav { display: flex; gap: 26px; }
.footer__nav a { color: var(--muted); font-size: 14.5px; transition: color .25s; }
.footer__nav a:hover { color: var(--text); }
.footer__legal { max-width: var(--wrap); margin: 34px auto 0; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted-2); font-size: 13px; text-align: center; }

/* ============================================================
   REVEAL ANIMATION
   ============================================================ */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* Uygulama kartları: sağdan/soldan dağınık, kademeli dolma */
.appcard.reveal { transition: opacity .9s var(--ease), transform .9s var(--ease); }
.appcard.reveal.from-left  { transform: translateX(-70px) translateY(26px) rotate(-2.5deg); }
.appcard.reveal.from-right { transform: translateX(70px)  translateY(26px) rotate(2.5deg); }
.appcard.reveal.in { transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .pillars, .eco__grid { grid-template-columns: repeat(2,1fr); }
  .stats__inner { grid-template-columns: repeat(2,1fr); gap: 40px 20px; }
  .contact__grid { grid-template-columns: 1fr; gap: 40px; }
  .arch__layer { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 720px) {
  .nav__links { position: fixed; inset: 0 0 0 auto; width: min(78vw,320px); flex-direction: column; align-items: flex-start; justify-content: center; gap: 6px; padding: 40px; background: rgba(10,10,12,.96); backdrop-filter: blur(20px); transform: translateX(100%); transition: transform .4s var(--ease); border-left: 1px solid var(--line); }
  .nav__links.open { transform: none; }
  .nav__links a { font-size: 18px; padding: 12px 4px; }
  .nav__burger { display: flex; z-index: 501; }
  .nav.menu-open .nav__burger span:nth-child(1){ transform: translateY(7px) rotate(45deg); }
  .nav.menu-open .nav__burger span:nth-child(2){ opacity: 0; }
  .nav.menu-open .nav__burger span:nth-child(3){ transform: translateY(-7px) rotate(-45deg); }
  .pillars, .eco__grid, .stack__grid { grid-template-columns: 1fr; }
  .hero__stats { gap: 28px; }
  .intro__skip { bottom: 24px; right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
