/* ============================================================
   Gonsoft Labs – „Deep-Tech Studio"
   Premium, animiert, atmosphärisch – Marken-Navy #14294B + leuchtender Akzent.
   Selbst gehostete Schrift (Sora), keine externen Requests. Light & Dark.
   Alle Bewegungen GPU-freundlich (transform/opacity) + prefers-reduced-motion.
   ============================================================ */
@font-face { font-family: "Sora"; font-weight: 400; font-display: swap; src: url("fonts/sora-400.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 500; font-display: swap; src: url("fonts/sora-500.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 600; font-display: swap; src: url("fonts/sora-600.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 700; font-display: swap; src: url("fonts/sora-700.woff2") format("woff2"); }
@font-face { font-family: "Sora"; font-weight: 800; font-display: swap; src: url("fonts/sora-800.woff2") format("woff2"); }

:root {
  --sp-1: 4px; --sp-2: 8px; --sp-3: 12px; --sp-4: 16px; --sp-5: 24px; --sp-6: 32px; --sp-7: 48px; --sp-8: 64px; --sp-9: 96px; --sp-10: 132px;
  --r-sm: 12px; --r-md: 16px; --r-lg: 22px; --r-card: 26px; --r-pill: 999px;
  --font-display: "Sora", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --fs-hero: clamp(2.7rem, 8.5vw, 6.2rem);
  --fs-h2: clamp(2rem, 4.4vw, 3.4rem);
  --fs-h3: 1.3rem;
  --fs-lead: clamp(1.08rem, 2vw, 1.4rem);
  --fs-body: 1.0625rem;
  --ease-spring: cubic-bezier(.22, .61, .17, 1);
  --ease-out: cubic-bezier(.2, .7, .2, 1);
  --dur-1: 240ms; --dur-2: 460ms; --dur-3: 800ms; --dur-4: 1200ms;
  --navy: #14294B; --navy-600: #1d3a66;

  /* Light – raffiniert, nicht flach */
  --bg: #eef2f9;
  --bg-2: #e5eaf4;
  --ink: #0c1526;
  --text: #17233b;
  --text-2: #4c5a72;
  --text-3: #6f7c93;
  --surface: rgba(255, 255, 255, .72);
  --surface-solid: #ffffff;
  --border: rgba(20, 41, 75, .12);
  --border-2: rgba(20, 41, 75, .2);
  --glass-border: rgba(20, 41, 75, .1);
  --accent-ink: #16376f;         /* Links/Akzent-Text auf Hell */
  --glow: #2f6bff;               /* elektrischer Akzent */
  --glow-2: #21b6ff;
  --grad-brand: linear-gradient(120deg, #2f6bff, #14294B 60%);
  --grad-text: linear-gradient(100deg, #2f6bff, #21b6ff 55%, #1d3a66);
  --shadow-1: 0 1px 2px rgba(16, 24, 40, .06);
  --shadow-2: 0 14px 40px rgba(20, 41, 75, .14);
  --shadow-3: 0 30px 70px rgba(20, 41, 75, .2);
  --glow-shadow: 0 14px 46px rgba(47, 107, 255, .28);
  --header-bg: rgba(238, 242, 249, .7);
  --aurora-1: rgba(47, 107, 255, .28);
  --aurora-2: rgba(33, 182, 255, .2);
  --aurora-3: rgba(20, 41, 75, .16);
  --particle: 20, 41, 75;
  --grain-op: .04;
}
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) { color-scheme: dark;
  --bg: #05070f; --bg-2: #080c18; --ink: #eaf0fb;
  --text: #e9eefb; --text-2: #a3b3d0; --text-3: #7e8eab;
  --surface: rgba(255, 255, 255, .045); --surface-solid: #0d1424;
  --border: rgba(255, 255, 255, .09); --border-2: rgba(255, 255, 255, .16); --glass-border: rgba(255, 255, 255, .1);
  --accent-ink: #7fa9ff; --glow: #4d8bff; --glow-2: #38c6ff;
  --grad-brand: linear-gradient(120deg, #4d8bff, #1d3a66 70%);
  --grad-text: linear-gradient(100deg, #6fa0ff, #4fd3ff 55%, #a9c4ff);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4); --shadow-2: 0 18px 44px rgba(0, 0, 0, .55); --shadow-3: 0 32px 76px rgba(0, 0, 0, .62);
  --glow-shadow: 0 18px 60px rgba(77, 139, 255, .38);
  --header-bg: rgba(6, 9, 18, .62);
  --aurora-1: rgba(77, 139, 255, .3); --aurora-2: rgba(56, 198, 255, .22); --aurora-3: rgba(29, 58, 102, .5);
  --particle: 150, 185, 255; --grain-op: .06;
} }
:root[data-theme="dark"] { color-scheme: dark;
  --bg: #05070f; --bg-2: #080c18; --ink: #eaf0fb;
  --text: #e9eefb; --text-2: #a3b3d0; --text-3: #7e8eab;
  --surface: rgba(255, 255, 255, .045); --surface-solid: #0d1424;
  --border: rgba(255, 255, 255, .09); --border-2: rgba(255, 255, 255, .16); --glass-border: rgba(255, 255, 255, .1);
  --accent-ink: #7fa9ff; --glow: #4d8bff; --glow-2: #38c6ff;
  --grad-brand: linear-gradient(120deg, #4d8bff, #1d3a66 70%);
  --grad-text: linear-gradient(100deg, #6fa0ff, #4fd3ff 55%, #a9c4ff);
  --shadow-1: 0 1px 2px rgba(0, 0, 0, .4); --shadow-2: 0 18px 44px rgba(0, 0, 0, .55); --shadow-3: 0 32px 76px rgba(0, 0, 0, .62);
  --glow-shadow: 0 18px 60px rgba(77, 139, 255, .38);
  --header-bg: rgba(6, 9, 18, .62);
  --aurora-1: rgba(77, 139, 255, .3); --aurora-2: rgba(56, 198, 255, .22); --aurora-3: rgba(29, 58, 102, .5);
  --particle: 150, 185, 255; --grain-op: .06;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body); font-size: var(--fs-body); line-height: 1.66;
  color: var(--text); background: var(--bg); overflow-x: hidden; position: relative;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale;
}
/* Filmkorn-Overlay für Tiefe/Textur */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9999; pointer-events: none; opacity: var(--grain-op); 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='.85' numOctaves='2'/%3E%3C/filter%3E%3Crect width='140' height='140' filter='url(%23n)'/%3E%3C/svg%3E");
}
img { max-width: 100%; display: block; }
a { color: var(--accent-ink); text-decoration: none; }
a:hover { text-decoration: underline; }
::selection { background: color-mix(in srgb, var(--glow) 40%, transparent); color: #fff; }
:focus-visible { outline: 2px solid var(--glow); outline-offset: 3px; border-radius: 8px; }
h1, h2, h3, .eyebrow, .brand-name { font-family: var(--font-display); }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.025em; color: var(--text); }
::-webkit-scrollbar { width: 11px; } ::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: color-mix(in srgb, var(--glow) 45%, transparent); border-radius: 999px; border: 3px solid var(--bg); }

.wrap { width: min(1160px, 90%); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--surface-solid); color: var(--text); padding: 10px 14px; border-radius: var(--r-sm); z-index: 300; box-shadow: var(--shadow-2); }
.skip-link:focus { left: 12px; }

/* Scroll-Fortschritt (dünne Leuchtlinie) */
.scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 0; z-index: 200; background: linear-gradient(90deg, var(--glow), var(--glow-2)); box-shadow: 0 0 14px var(--glow); transition: width .08s linear; }

/* -------- Buttons -------- */
.btn { position: relative; display: inline-flex; align-items: center; gap: 9px; padding: 14px 26px; border-radius: var(--r-pill); font-weight: 600; font-size: var(--fs-body); border: 1px solid transparent; cursor: pointer; min-height: 52px; overflow: hidden; isolation: isolate;
  transition: transform var(--dur-1) var(--ease-spring), box-shadow var(--dur-2) var(--ease-spring), border-color var(--dur-1), color var(--dur-1); }
.btn svg { width: 19px; height: 19px; }
.btn-primary { background: var(--grad-brand); color: #fff; box-shadow: var(--glow-shadow); }
.btn-primary::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(110deg, transparent 20%, rgba(255, 255, 255, .35) 50%, transparent 80%); transform: translateX(-120%); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 22px 60px color-mix(in srgb, var(--glow) 46%, transparent); text-decoration: none; }
.btn-primary:hover::before { transform: translateX(120%); transition: transform .8s var(--ease-out); }
.btn-primary:active { transform: translateY(-1px) scale(.98); }
.btn-ghost { background: var(--surface); color: var(--text); border-color: var(--border-2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.btn-ghost:hover { border-color: var(--glow); color: var(--accent-ink); transform: translateY(-3px); text-decoration: none; box-shadow: var(--shadow-2); }

/* -------- Header -------- */
.site-header { position: sticky; top: 0; z-index: 120; background: var(--header-bg); border-bottom: 1px solid transparent; transition: border-color var(--dur-2), box-shadow var(--dur-2), background var(--dur-2); }
@supports ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { backdrop-filter: saturate(180%) blur(20px); -webkit-backdrop-filter: saturate(180%) blur(20px); } }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) { .site-header { background: var(--bg); } }
.site-header.scrolled { border-color: var(--border); box-shadow: var(--shadow-1); }
.nav { display: flex; align-items: center; justify-content: space-between; gap: var(--sp-4); height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; }
.brand:hover { text-decoration: none; }
.brand .logo-mark { width: 40px; height: 40px; flex: none; filter: drop-shadow(0 4px 14px rgba(47, 107, 255, .35)); transition: transform var(--dur-2) var(--ease-spring); }
.brand:hover .logo-mark { transform: rotate(-6deg) scale(1.06); }
.brand-name { font-weight: 800; letter-spacing: .01em; font-size: 1.14rem; color: var(--text); }
.brand-name b { color: var(--accent-ink); }
.brand-logo { display: none; height: 42px; width: auto; flex: none; border-radius: 10px; box-shadow: 0 3px 12px rgba(0, 0, 0, .38), inset 0 0 0 1px rgba(255, 255, 255, .14); transition: transform var(--dur-2) var(--ease-spring); }
.brand.has-logo .brand-logo { display: block; }
.brand:hover.has-logo .brand-logo { transform: scale(1.05); }
.brand.has-logo .logo-mark { display: none; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a { color: var(--text-2); font-weight: 500; padding: 9px 14px; border-radius: var(--r-sm); font-size: .92rem; position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 14px; right: 14px; bottom: 5px; height: 2px; background: var(--glow); border-radius: 2px; transform: scaleX(0); transform-origin: left; transition: transform var(--dur-1) var(--ease-out); }
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-actions { display: flex; align-items: center; gap: var(--sp-2); }
.theme-toggle { width: 42px; height: 42px; border-radius: var(--r-pill); border: 1px solid var(--border-2); background: var(--surface); color: var(--text-2); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: color .2s, border-color .2s, transform var(--dur-1) var(--ease-spring); }
.theme-toggle:hover { color: var(--glow); border-color: var(--glow); transform: rotate(18deg); }
.theme-toggle svg { width: 20px; height: 20px; }
.theme-toggle .i-sun { display: none; }
:root[data-theme="dark"] .theme-toggle .i-sun, .theme-toggle.is-dark .i-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .i-moon, .theme-toggle.is-dark .i-moon { display: none; }
.burger { display: none; width: 44px; height: 44px; border-radius: var(--r-sm); border: 1px solid var(--border-2); background: var(--surface); color: var(--text); cursor: pointer; align-items: center; justify-content: center; }
.burger svg { width: 22px; height: 22px; }
@media (max-width: 860px) {
  .nav-links { position: fixed; inset: 74px 0 auto 0; flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface-solid); border-bottom: 1px solid var(--border); padding: var(--sp-3); box-shadow: var(--shadow-2); transform: translateY(-140%); transition: transform var(--dur-2) var(--ease-spring); }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 13px 14px; font-size: var(--fs-body); }
  .nav-cta { display: none; }
  .burger { display: inline-flex; }
}

/* -------- Sections -------- */
section { padding: var(--sp-10) 0; position: relative; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: .74rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--accent-ink); background: color-mix(in srgb, var(--glow) 12%, transparent); padding: 7px 14px; border-radius: var(--r-pill); margin-bottom: var(--sp-5); border: 1px solid color-mix(in srgb, var(--glow) 22%, transparent); }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--glow); box-shadow: 0 0 10px var(--glow); }
.section-head { max-width: 760px; margin-bottom: var(--sp-8); }
.section-head h2 { font-size: var(--fs-h2); font-weight: 800; }
.section-head p { color: var(--text-2); font-size: var(--fs-lead); margin-top: var(--sp-4); }
.bg-alt { background: linear-gradient(180deg, var(--bg), var(--bg-2)); }
.bg-alt::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 85% 0%, color-mix(in srgb, var(--glow) 9%, transparent), transparent 70%); }

/* -------- Hero -------- */
.hero { min-height: 94vh; display: flex; align-items: center; padding: var(--sp-10) 0 var(--sp-9); position: relative; overflow: hidden; }
.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; }
.hero-aurora { position: absolute; inset: -10%; z-index: 0; pointer-events: none; filter: blur(30px); opacity: .9;
  background:
    radial-gradient(38% 40% at 20% 25%, var(--aurora-1), transparent 60%),
    radial-gradient(34% 38% at 82% 30%, var(--aurora-2), transparent 60%),
    radial-gradient(46% 50% at 60% 90%, var(--aurora-3), transparent 62%);
  animation: aurora 18s ease-in-out infinite alternate; }
@keyframes aurora { 0% { transform: translate3d(0, 0, 0) scale(1); } 50% { transform: translate3d(-3%, 2%, 0) scale(1.08); } 100% { transform: translate3d(3%, -2%, 0) scale(1.04); } }
.hero-inner { position: relative; z-index: 2; max-width: 960px; }
.hero h1 { font-size: var(--fs-hero); font-weight: 800; letter-spacing: -.04em; line-height: .98; }
.hero h1 .grad { background: var(--grad-text); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 220% center; } }
.hero p { font-size: var(--fs-lead); color: var(--text-2); margin: var(--sp-6) 0 var(--sp-7); max-width: 58ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: var(--sp-3); }
.hero-badges { display: flex; flex-wrap: wrap; gap: var(--sp-2) var(--sp-5); margin-top: var(--sp-8); color: var(--text-3); font-size: .92rem; }
.hero-badges span { display: inline-flex; align-items: center; gap: 8px; }
.hero-badges svg { width: 18px; height: 18px; color: var(--glow); }
.scroll-cue { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); z-index: 2; color: var(--text-3); display: flex; flex-direction: column; align-items: center; gap: 6px; font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; }
.scroll-cue .mouse { width: 22px; height: 34px; border: 2px solid currentColor; border-radius: 12px; position: relative; opacity: .6; }
.scroll-cue .mouse::after { content: ""; position: absolute; top: 5px; left: 50%; width: 3px; height: 6px; background: currentColor; border-radius: 2px; transform: translateX(-50%); animation: wheel 1.6s ease-in-out infinite; }
@keyframes wheel { 0% { opacity: 0; transform: translate(-50%, 0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translate(-50%, 10px); } }

/* Word-Reveal (Hero) – reine CSS-Ladeanimation (kein JS-Timing-Risiko) */
.word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .06em; }
.word > span { display: inline-block; animation: wordUp .85s var(--ease-spring) both; }
.word:nth-child(1) > span { animation-delay: .05s; }
.word:nth-child(2) > span { animation-delay: .12s; }
.word:nth-child(3) > span { animation-delay: .19s; }
.word:nth-child(4) > span { animation-delay: .26s; }
.word:nth-child(5) > span { animation-delay: .33s; }
.word:nth-child(6) > span { animation-delay: .40s; }
@keyframes wordUp { from { transform: translateY(115%); } to { transform: translateY(0); } }
.fade-up { opacity: 0; animation: fadeUp .85s var(--ease-out) both; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: none; } }
.d1 { animation-delay: .5s; } .d2 { animation-delay: .62s; } .d3 { animation-delay: .74s; } .d4 { animation-delay: .86s; }

/* -------- Marquee -------- */
.marquee { border-block: 1px solid var(--border); padding: var(--sp-5) 0; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent); }
.marquee-track { display: flex; gap: var(--sp-7); width: max-content; animation: marquee 26s linear infinite; }
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee span { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.1rem, 2.4vw, 1.7rem); color: var(--text-3); display: inline-flex; align-items: center; gap: var(--sp-7); white-space: nowrap; }
.marquee span::after { content: "✦"; color: var(--glow); font-size: .7em; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* -------- Cards / Services -------- */
.grid { display: grid; gap: var(--sp-5); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 940px) { .grid-3 { grid-template-columns: 1fr; } }
.card { position: relative; background: var(--surface); border: 1px solid var(--glass-border); border-radius: var(--r-card); padding: var(--sp-7) var(--sp-6); box-shadow: var(--shadow-1); overflow: hidden; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2) var(--ease-spring), border-color var(--dur-2); }
.card::before { content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px; background: radial-gradient(140px 140px at var(--mx, 50%) var(--my, 0%), color-mix(in srgb, var(--glow) 55%, transparent), transparent 70%); -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 var(--dur-2); pointer-events: none; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-3); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card .c-num { position: absolute; top: var(--sp-5); right: var(--sp-6); font-family: var(--font-display); font-weight: 800; font-size: 1rem; color: color-mix(in srgb, var(--glow) 60%, transparent); }
.card .c-ic { width: 58px; height: 58px; border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; background: var(--grad-brand); color: #fff; margin-bottom: var(--sp-5); box-shadow: var(--glow-shadow); transition: transform var(--dur-2) var(--ease-spring); }
.card:hover .c-ic { transform: translateY(-3px) rotate(-5deg); }
.card .c-ic svg { width: 28px; height: 28px; }
.card h3 { font-size: var(--fs-h3); font-weight: 700; margin-bottom: var(--sp-3); }
.card p { color: var(--text-2); }

/* -------- Effyra -------- */
.product { display: grid; grid-template-columns: 1.02fr 1fr; gap: var(--sp-8); align-items: center; }
@media (max-width: 940px) { .product { grid-template-columns: 1fr; gap: var(--sp-7); } }
.product h2 { font-size: var(--fs-h2); font-weight: 800; }
.product p { color: var(--text-2); font-size: var(--fs-lead); margin: var(--sp-4) 0; }
.product ul { list-style: none; display: flex; flex-direction: column; gap: var(--sp-3); margin: var(--sp-5) 0 var(--sp-7); }
.product li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.product li svg { width: 22px; height: 22px; color: var(--glow); flex: none; margin-top: 2px; }
.product-visual { position: relative; border-radius: var(--r-card); padding: var(--sp-8) var(--sp-6); background: linear-gradient(150deg, #1d3a66, #0b1830); box-shadow: var(--shadow-3); min-height: 380px; display: flex; align-items: center; justify-content: center; overflow: hidden; border: 1px solid rgba(255, 255, 255, .1); }
.product-visual::before { content: ""; position: absolute; inset: 0; background: radial-gradient(50% 45% at 50% 0%, rgba(79, 211, 255, .35), transparent 65%); }
.showcase { position: relative; z-index: 1; width: 100%; max-width: 480px; }
@keyframes float { 0%, 100% { transform: translateY(0) rotate(-1deg); } 50% { transform: translateY(-14px) rotate(1deg); } }
@keyframes floatPhone { 0%, 100% { transform: translateY(0) rotate(2.5deg); } 50% { transform: translateY(-12px) rotate(2.5deg); } }
.sc-browser { border-radius: 14px; overflow: hidden; background: #0b1830; border: 1px solid rgba(255, 255, 255, .14); box-shadow: 0 40px 90px rgba(0, 0, 0, .5), inset 0 1px 0 rgba(255, 255, 255, .14); animation: float 7s ease-in-out infinite; }
.app-bar { display: flex; align-items: center; gap: 7px; padding: 11px 14px; background: rgba(255, 255, 255, .06); border-bottom: 1px solid rgba(255, 255, 255, .08); }
.app-dot { width: 11px; height: 11px; border-radius: 50%; background: rgba(255, 255, 255, .28); flex: none; }
.app-dot:nth-child(1) { background: #ff5f57; }
.app-dot:nth-child(2) { background: #febc2e; }
.app-dot:nth-child(3) { background: #28c840; }
.app-url { margin-left: 10px; font-size: .74rem; color: rgba(255, 255, 255, .6); background: rgba(255, 255, 255, .07); padding: 3px 14px; border-radius: 20px; letter-spacing: .02em; }
.sc-screen { position: relative; aspect-ratio: 662 / 545; overflow: hidden; background: #eef2f9; }
.sc-screen img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; }
.sc-phone { position: absolute; right: 2px; bottom: -20px; width: 27%; max-width: 128px; border-radius: 22px; overflow: hidden; border: 3px solid rgba(10, 18, 34, .92); box-shadow: 0 26px 52px rgba(0, 0, 0, .55); background: #000; animation: floatPhone 6s ease-in-out infinite .5s; }
.sc-phone img { display: block; width: 100%; height: auto; }
.sc-fallback { display: none; }
.showcase.no-shot .sc-browser, .showcase.no-shot .sc-phone { display: none; }
.showcase.no-shot .sc-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; color: #fff; text-align: center; min-height: 300px; }
.sc-fallback .p-logo { font-family: var(--font-display); font-size: 2.7rem; font-weight: 800; letter-spacing: -.02em; }
.sc-fallback small { opacity: .85; margin-top: 6px; }

/* -------- About / Values -------- */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--sp-5); margin-top: var(--sp-8); }
@media (max-width: 860px) { .values { grid-template-columns: 1fr; } }
.value { position: relative; padding: var(--sp-6); border-radius: var(--r-lg); border: 1px solid var(--glass-border); background: var(--surface); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); overflow: hidden; transition: transform var(--dur-2) var(--ease-spring); }
.value:hover { transform: translateY(-4px); }
.value .v-num { font-family: var(--font-display); font-weight: 800; font-size: 1.5rem; background: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.value b { font-family: var(--font-display); display: block; font-size: 1.2rem; color: var(--text); margin: var(--sp-2) 0 6px; }
.value span { color: var(--text-2); font-size: .95rem; }

/* -------- Contact -------- */
.contact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); margin-top: var(--sp-7); }
@media (max-width: 720px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-card { display: flex; align-items: center; gap: var(--sp-4); padding: var(--sp-6); border-radius: var(--r-card); border: 1px solid var(--glass-border); background: var(--surface); box-shadow: var(--shadow-1); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); transition: transform var(--dur-2) var(--ease-spring), box-shadow var(--dur-2), border-color var(--dur-2); }
.contact-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-2); border-color: var(--glow); text-decoration: none; }
.contact-card .cc-ic { width: 54px; height: 54px; border-radius: var(--r-md); background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center; flex: none; box-shadow: var(--glow-shadow); }
.contact-card .cc-ic svg { width: 25px; height: 25px; }
.contact-card b { font-family: var(--font-display); display: block; color: var(--text); font-size: 1.1rem; }
.contact-card span { color: var(--text-2); font-size: .92rem; }
.contact-note { margin-top: var(--sp-6); font-size: .9rem; color: var(--text-3); max-width: 70ch; }

/* -------- Footer -------- */
.site-footer { border-top: 1px solid var(--border); padding: var(--sp-9) 0 var(--sp-6); background: var(--bg-2); position: relative; }
.footer-top { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-7); }
.footer-brand { max-width: 340px; }
.footer-brand .brand { margin-bottom: var(--sp-3); }
.footer-brand p { color: var(--text-2); font-size: .92rem; }
.footer-cols { display: flex; gap: var(--sp-8); flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font-display); font-size: .74rem; text-transform: uppercase; letter-spacing: .12em; color: var(--text-3); margin-bottom: var(--sp-3); }
.footer-col a { display: block; color: var(--text-2); padding: 5px 0; font-size: .92rem; }
.footer-col a:hover { color: var(--accent-ink); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--sp-3); margin-top: var(--sp-8); padding-top: var(--sp-5); border-top: 1px solid var(--border); color: var(--text-3); font-size: .9rem; }
.footer-bottom nav { display: flex; gap: var(--sp-4); flex-wrap: wrap; }
.footer-bottom nav a { color: var(--text-2); font-weight: 600; }

/* -------- Legal pages -------- */
.legal { padding: var(--sp-9) 0; }
.legal .wrap { max-width: 820px; }
.legal h1 { font-size: var(--fs-h2); font-weight: 800; margin-bottom: var(--sp-3); }
.legal .updated { color: var(--text-3); font-size: .92rem; margin-bottom: var(--sp-6); }
.legal h2 { font-family: var(--font-display); font-size: 1.45rem; font-weight: 700; margin: var(--sp-7) 0 var(--sp-3); }
.legal h3 { font-size: 1.1rem; font-weight: 700; margin: var(--sp-5) 0 var(--sp-2); }
.legal p, .legal li { color: var(--text-2); margin-bottom: var(--sp-3); }
.legal ul { padding-left: var(--sp-5); }
.legal a { font-weight: 600; }
.placeholder { display: inline-block; background: color-mix(in srgb, #f5b301 24%, transparent); border: 1px dashed #d99a00; color: var(--text); padding: 2px 8px; border-radius: 8px; font-weight: 700; }
.callout { border: 1px solid var(--border-2); background: var(--surface); border-radius: var(--r-md); padding: var(--sp-4) var(--sp-5); margin: var(--sp-5) 0; color: var(--text-2); font-size: .92rem; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.callout b { color: var(--text); }
.back-home { display: inline-flex; align-items: center; gap: 6px; margin-bottom: var(--sp-5); color: var(--text-2); font-weight: 600; font-size: .92rem; }

/* -------- Scroll-Reveal -------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity var(--dur-3) var(--ease-out), transform var(--dur-3) var(--ease-spring); }
.reveal.in { opacity: 1; transform: none; }
.reveal.s1 { transition-delay: .08s; } .reveal.s2 { transition-delay: .16s; } .reveal.s3 { transition-delay: .24s; } .reveal.s4 { transition-delay: .32s; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .hero-aurora, .sc-browser, .sc-phone, .marquee-track { animation: none !important; }
  .hero-canvas { display: none; }
  .reveal, .fade-up, .word > span { opacity: 1 !important; transform: none !important; }
  .btn:hover, .card:hover, .contact-card:hover, .value:hover, .brand:hover .logo-mark, .theme-toggle:hover { transform: none; }
}
