/* =====================================================
   Ads&Events — Site-wide Design System
   Dark theme, glass surfaces, gradient accents,
   60fps GPU-accelerated animations.
   ===================================================== */

:root {
    /* Brand */
    --brand-blue: #2D8CFF;
    --brand-blue-2: #0B5CFF;
    --brand-cyan: #06B6D4;
    --brand-violet: #8B5CF6;
    --brand-pink: #EC4899;

    /* Surfaces (dark) */
    --bg: #07070F;
    --bg-2: #0A0A14;
    --surface: #11111E;
    --surface-2: #161628;
    --surface-3: #1E1E33;
    --border: rgba(255, 255, 255, 0.08);
    --border-strong: rgba(255, 255, 255, 0.14);

    /* Text */
    --text: #F5F7FB;
    --text-muted: #B4B8CC;
    --text-dim: #7C8099;

    /* Status */
    --success: #22C55E;
    --warning: #F59E0B;
    --error: #EF4444;

    /* Effects */
    --gradient-primary: linear-gradient(135deg, #2D8CFF 0%, #8B5CF6 100%);
    --gradient-aurora: linear-gradient(135deg, #2D8CFF 0%, #06B6D4 50%, #8B5CF6 100%);
    --gradient-soft: linear-gradient(135deg, rgba(45, 140, 255, 0.18) 0%, rgba(139, 92, 246, 0.18) 100%);
    --shadow-glow: 0 12px 40px -12px rgba(45, 140, 255, 0.55);
    --shadow-glow-violet: 0 12px 40px -12px rgba(139, 92, 246, 0.55);
    --shadow-card: 0 24px 60px -24px rgba(0, 0, 0, 0.6);
    --shadow-soft: 0 8px 30px rgba(0, 0, 0, 0.35);

    /* Sizing */
    --radius-sm: 10px;
    --radius: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;

    /* Motion */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background: var(--bg);
}

body {
    margin: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    color: var(--text);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin: 0 0 0.5em;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.7rem); font-weight: 700; }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); font-weight: 600; }

p { margin: 0 0 1em; color: var(--text-muted); }
a { color: var(--brand-blue); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-cyan); }
img { max-width: 100%; display: block; }

::selection { background: var(--brand-blue); color: white; }

::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--bg-2); }
::-webkit-scrollbar-thumb { background: var(--surface-3); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--brand-blue); }

/* ---- Layout helpers ---- */
.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 2rem; } }

.section { padding: clamp(4rem, 9vw, 7rem) 0; position: relative; }
.section--tight { padding: clamp(3rem, 6vw, 5rem) 0; }

.text-center { text-align: center; }
.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--gradient-soft);
    border: 1px solid var(--border-strong);
    color: var(--text);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.section-title { max-width: 680px; margin: 0 auto 3rem; text-align: center; }
.section-title p { font-size: 1.1rem; }

/* ---- Background mesh / orbs ---- */
.bg-mesh {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 8% 18%, rgba(45, 140, 255, 0.18), transparent 55%),
        radial-gradient(ellipse at 92% 82%, rgba(139, 92, 246, 0.16), transparent 55%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.07), transparent 70%),
        var(--bg);
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.55;
    will-change: transform;
    pointer-events: none;
}
.orb--blue { width: 480px; height: 480px; background: #2D8CFF; top: -120px; left: -100px; animation: drift 22s ease-in-out infinite; }
.orb--violet { width: 420px; height: 420px; background: #8B5CF6; bottom: -120px; right: -120px; animation: drift 26s ease-in-out infinite reverse; }
.orb--cyan { width: 320px; height: 320px; background: #06B6D4; top: 40%; left: 55%; animation: drift 30s ease-in-out infinite; opacity: 0.35; }

@keyframes drift {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    33%      { transform: translate3d(60px, -40px, 0) scale(1.08); }
    66%      { transform: translate3d(-40px, 50px, 0) scale(0.95); }
}

/* ---- Glass + cards ---- */
.glass {
    background: rgba(22, 22, 40, 0.55);
    backdrop-filter: blur(20px) saturate(140%);
    -webkit-backdrop-filter: blur(20px) saturate(140%);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.card {
    position: relative;
    padding: 1.75rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.01));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: transform .35s var(--ease-out), border-color .35s ease, box-shadow .35s ease;
    will-change: transform;
}
.card:hover {
    transform: translateY(-6px);
    border-color: var(--border-strong);
    box-shadow: var(--shadow-card);
}
.card__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: var(--gradient-primary);
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: var(--shadow-glow);
}
.card h3 { margin-bottom: .5rem; }
.card p { margin: 0; color: var(--text-muted); }

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    border: 1px solid transparent;
    font-weight: 600;
    font-size: 0.97rem;
    text-decoration: none;
    cursor: pointer;
    transition: transform .25s var(--ease-out), box-shadow .25s ease, background .25s ease, border-color .25s ease;
    will-change: transform;
    line-height: 1;
    white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary {
    background: var(--gradient-primary);
    color: #fff;
    box-shadow: var(--shadow-glow);
}
.btn--primary:hover { box-shadow: 0 16px 50px -12px rgba(45, 140, 255, 0.7); color: #fff; }
.btn--ghost {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    border-color: var(--border-strong);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); color: var(--text); }

/* App store badges (use as <a class="store-badge store-badge--apple">) */
.store-badge {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    border-radius: 14px;
    background: #0d0d18;
    border: 1px solid var(--border-strong);
    color: #fff;
    text-decoration: none;
    transition: transform .25s var(--ease-out), border-color .25s ease, box-shadow .25s ease;
    min-width: 175px;
    will-change: transform;
}
.store-badge:hover {
    transform: translateY(-2px);
    border-color: var(--brand-blue);
    box-shadow: var(--shadow-glow);
    color: #fff;
}
.store-badge i { font-size: 1.85rem; }
.store-badge__small { font-size: 0.7rem; opacity: 0.8; line-height: 1; display: block; }
.store-badge__big { font-size: 1.05rem; font-weight: 600; line-height: 1.1; display: block; margin-top: 4px; }

/* ---- Navigation ---- */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: background .3s ease, border-color .3s ease, padding .3s ease, box-shadow .3s ease;
    padding: 26px 0 22px;
    border-bottom: 1px solid transparent;
}
@media (min-width: 768px) {
    .nav { padding: 34px 0 26px; }
}
.nav.is-scrolled {
    padding: 16px 0 14px;
    background: rgba(7, 7, 15, 0.82);
    backdrop-filter: blur(22px) saturate(140%);
    -webkit-backdrop-filter: blur(22px) saturate(140%);
    border-bottom-color: var(--border);
    box-shadow: 0 16px 40px -28px rgba(0, 0, 0, 0.7);
}
@media (min-width: 768px) {
    .nav.is-scrolled { padding: 18px 0 16px; }
}
.nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}
.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text);
    text-decoration: none;
    font-weight: 700;
}
.nav__logo img { height: 36px; width: auto; }
.nav__links {
    display: none;
    align-items: center;
    gap: 1.85rem;
}
.nav__links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color .2s ease;
}
.nav__links a:hover { color: var(--text); }
.nav__actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.nav__lang {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 10px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
}
.nav__lang button {
    background: none; border: 0; cursor: pointer;
    color: var(--text-dim);
    font-size: 0.82rem;
    font-weight: 600;
    padding: 4px 6px;
    border-radius: 6px;
    transition: color .2s ease, background .2s ease;
}
.nav__lang button.is-active { color: #fff; background: var(--gradient-primary); }

.nav__cta { display: none; gap: 8px; align-items: center; }
@media (min-width: 768px) {
    .nav__cta { display: inline-flex; }
}

.nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px; height: 40px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text);
    cursor: pointer;
}
.nav__mobile {
    display: none;
    flex-direction: column;
    gap: 4px;
    padding: 12px;
    margin-top: 12px;
    background: rgba(11, 11, 25, 0.95);
    backdrop-filter: blur(18px);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}
.nav__mobile.is-open { display: flex; }
.nav__mobile a {
    padding: 10px 14px;
    border-radius: 10px;
    color: var(--text-muted);
    font-weight: 500;
    text-decoration: none;
}
.nav__mobile a:hover { background: rgba(255, 255, 255, 0.04); color: var(--text); }

@media (min-width: 1024px) {
    .nav__links { display: flex; }
    .nav__toggle { display: none; }
}

/* ---- Forms ---- */
.field {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 1rem;
}
.field label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 500;
}
.input,
.textarea,
.select {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border);
    color: var(--text);
    font-size: 0.97rem;
    font-family: inherit;
    transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.input:focus,
.textarea:focus,
.select:focus {
    outline: none;
    border-color: var(--brand-blue);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(45, 140, 255, 0.15);
}
.textarea { resize: vertical; min-height: 130px; }
.input::placeholder, .textarea::placeholder { color: var(--text-dim); }
.checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 10px;
    color: var(--text-muted);
    font-size: 0.92rem;
    cursor: pointer;
}
.checkbox input { accent-color: var(--brand-blue); margin-top: 3px; }

.alert {
    padding: 14px 18px;
    border-radius: 12px;
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 1rem;
}
.alert--success { background: rgba(34, 197, 94, 0.12); color: #4ADE80; border: 1px solid rgba(34, 197, 94, 0.3); }
.alert--error { background: rgba(239, 68, 68, 0.12); color: #FCA5A5; border: 1px solid rgba(239, 68, 68, 0.3); }
.alert--info { background: rgba(45, 140, 255, 0.12); color: #93C5FD; border: 1px solid rgba(45, 140, 255, 0.3); }

/* ---- iPhone Mockup (pure CSS, iPhone 17 Pro Max style) ---- */
.iphone {
    --w: 320px;
    width: var(--w);
    aspect-ratio: 9 / 19.5;
    border-radius: 52px;
    background: linear-gradient(135deg, #2c2c34 0%, #0f0f17 100%);
    padding: 12px;
    position: relative;
    box-shadow:
        0 0 0 2px rgba(255, 255, 255, 0.06),
        0 30px 80px -20px rgba(0, 0, 0, 0.8),
        inset 0 0 0 1px rgba(255, 255, 255, 0.05);
    margin: 0 auto;
}
.iphone::before {
    content: "";
    position: absolute;
    top: 28px; left: 50%;
    transform: translateX(-50%);
    width: 110px;
    height: 32px;
    background: #000;
    border-radius: 18px;
    z-index: 3;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}
.iphone::after {
    /* Side button highlights */
    content: "";
    position: absolute;
    top: 110px;
    right: -2px;
    width: 3px;
    height: 60px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent);
    border-radius: 2px;
}
.iphone__screen {
    width: 100%;
    height: 100%;
    border-radius: 42px;
    overflow: hidden;
    position: relative;
    background: #000;
}
.iphone__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity .8s ease;
}
.iphone__slide.is-active { opacity: 1; }
.iphone__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

@media (max-width: 540px) {
    .iphone { --w: 240px; }
    .iphone::before { width: 90px; height: 26px; top: 22px; }
}

/* ---- Marquee (referans logoları) ---- */
.marquee {
    overflow: hidden;
    mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
    padding: 1.5rem 0;
}
.marquee__track {
    display: flex;
    gap: 4rem;
    width: max-content;
    animation: marquee 35s linear infinite;
    will-change: transform;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item {
    flex: 0 0 auto;
    height: 58px;
    display: flex;
    align-items: center;
    justify-content: center;
    --marquee-logo-scale: 1;
}
/* Normalize ink size: source files vary in padding / aspect ratio */
.marquee__item--agi { --marquee-logo-scale: 1.22; }
.marquee__item--dukes { --marquee-logo-scale: 1; }
.marquee__item--link { --marquee-logo-scale: 0.78; }
.marquee__item--madcat { --marquee-logo-scale: 1; }
.marquee__item--penta { --marquee-logo-scale: 1.12; }
.marquee__item--tdsynnex { --marquee-logo-scale: 1.55; }
.marquee__item--tier2 { --marquee-logo-scale: 1.18; }

.marquee__item img {
    height: 100%;
    width: auto;
    max-width: min(200px, 28vw);
    object-fit: contain;
    object-position: center;
    filter: brightness(0) invert(1) opacity(0.6);
    transition: filter .3s ease, transform .3s ease;
    transform: scale(var(--marquee-logo-scale));
    transform-origin: center center;
}
.marquee__item--link img { max-width: min(220px, 32vw); }
.marquee__item--tdsynnex img { max-width: min(240px, 34vw); }

.marquee__item img:hover {
    filter: brightness(0) invert(1) opacity(1);
    transform: scale(calc(var(--marquee-logo-scale) * 1.05));
}
@keyframes marquee {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(-50%, 0, 0); }
}

/* ---- Stats / counters ---- */
.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.5rem;
    align-items: stretch;
}
.stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    height: 100%;
}
.stat__number {
    font-size: 2.4rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    min-height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1.1;
}
.stat__number--stars {
    font-size: 1.45rem;
    color: #FBBF24;
    gap: 6px;
    letter-spacing: 0.04em;
}
.stat__label { color: var(--text-muted); font-size: 0.9rem; margin-top: 6px; }

/* ---- Reveal on scroll ---- */
.reveal {
    opacity: 0;
    transform: translate3d(0, 24px, 0);
    transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
    will-change: transform, opacity;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .08s; }
.reveal[data-delay="2"] { transition-delay: .16s; }
.reveal[data-delay="3"] { transition-delay: .24s; }
.reveal[data-delay="4"] { transition-delay: .32s; }

/* ---- Footer ---- */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border);
    background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.02));
    position: relative;
    z-index: 2;
}
.footer__grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 2rem;
}
.footer__brand img { height: 44px; margin-bottom: 1rem; }
.footer h4 { font-size: 1rem; margin-bottom: 1rem; color: var(--text); }
.footer ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer ul a { color: var(--text-muted); font-size: 0.92rem; }
.footer ul a:hover { color: var(--text); }
.footer__bottom {
    margin-top: 3rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    color: var(--text-dim);
    font-size: 0.85rem;
}
.footer__social {
    display: flex;
    gap: 10px;
}
.footer__social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px; height: 38px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    transition: all .25s ease;
}
.footer__social a:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: #fff;
    transform: translateY(-2px);
}
@media (max-width: 768px) {
    .footer__grid { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: 1 / -1; }
}
@media (max-width: 480px) {
    .footer__grid { grid-template-columns: 1fr; }
}

/* ---- Hero block (used by index) ---- */
.hero {
    padding: clamp(8.5rem, 16vw, 11.5rem) 0 clamp(4rem, 9vw, 7rem);
    position: relative;
    overflow: hidden;
}
.hero__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}
.hero__title {
    font-size: clamp(2.5rem, 5.5vw, 4.4rem);
    font-weight: 700;
    margin-bottom: 1.25rem;
}
.hero__subtitle {
    font-size: clamp(1.05rem, 1.8vw, 1.25rem);
    color: var(--text-muted);
    max-width: 540px;
    margin-bottom: 2rem;
}
.hero__cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 2rem;
}
.hero__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
@media (max-width: 1023px) {
    .hero__grid { grid-template-columns: 1fr; gap: 4rem; text-align: center; }
    .hero__cta, .hero__badges { justify-content: center; }
    .hero__subtitle { margin-left: auto; margin-right: auto; }
}

/* ---- Bento grid ---- */
.bento {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}
.bento--features {
    grid-template-columns: repeat(4, 1fr);
}
.bento--features > .card:nth-child(1) { grid-column: span 2; }
@media (max-width: 1023px) { .bento--features { grid-template-columns: repeat(2, 1fr); }
    .bento--features > .card:nth-child(1) { grid-column: span 2; }
}
@media (max-width: 540px) { .bento--features { grid-template-columns: 1fr; }
    .bento--features > .card:nth-child(1) { grid-column: auto; }
}

/* ---- Steps (How it works) ---- */
.steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
}
/* Line passes through vertical center of .step__num (padding-top 1rem + half of 76px circle − half line) */
.steps::before {
    content: "";
    position: absolute;
    top: calc(1rem + 38px - 1px);
    left: 8%;
    right: 8%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--brand-blue), var(--brand-violet), transparent);
    opacity: 0.4;
    z-index: 0;
    pointer-events: none;
}
.step {
    text-align: center;
    position: relative;
    z-index: 1;
    padding: 1rem;
}
.step__num {
    width: 76px;
    height: 76px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    font-weight: 700;
    box-shadow: var(--shadow-glow);
    border: 4px solid var(--bg);
    position: relative;
}
.step__num::after {
    content: "";
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--gradient-primary);
    opacity: 0.25;
    filter: blur(12px);
    z-index: -1;
}
@media (max-width: 768px) {
    .steps { grid-template-columns: 1fr; gap: 1.5rem; }
    .steps::before { display: none; }
}

/* ---- App showcase (rotating 3 mockups) ---- */
.showcase {
    position: relative;
    margin-top: 1rem;
}
.showcase__stage {
    position: relative;
    height: clamp(540px, 70vw, 640px);
    perspective: 1400px;
}
.showcase__phone {
    position: absolute;
    top: 50%;
    left: 50%;
    transform-origin: center center;
    transition:
        transform 1100ms cubic-bezier(.22, .61, .36, 1),
        opacity 900ms ease,
        filter 900ms ease;
    will-change: transform, opacity, filter;
    pointer-events: none;
}
.showcase__phone .iphone { --w: 270px; margin: 0; }
.showcase__phone[data-slot="left"] {
    transform: translate(calc(-50% - 280px), -50%) scale(.78) rotateY(18deg);
    opacity: .42;
    filter: blur(2.5px) saturate(.8);
    z-index: 1;
}
.showcase__phone[data-slot="right"] {
    transform: translate(calc(-50% + 280px), -50%) scale(.78) rotateY(-18deg);
    opacity: .42;
    filter: blur(2.5px) saturate(.8);
    z-index: 1;
}
.showcase__phone[data-slot="center"] {
    transform: translate(-50%, -50%) scale(1) rotateY(0deg);
    opacity: 1;
    filter: none;
    z-index: 3;
}
.showcase__caption {
    text-align: center;
    margin-top: 1.5rem;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    transition: opacity 350ms ease, transform 350ms ease;
}
.showcase__caption.is-fading { opacity: 0; transform: translateY(8px); }
.showcase__caption h4 {
    font-size: 1.4rem;
    margin: 0 0 .5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    letter-spacing: -.01em;
}
.showcase__caption p {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}
@media (max-width: 900px) {
    .showcase__stage { height: 560px; }
    .showcase__phone .iphone { --w: 230px; }
    .showcase__phone[data-slot="left"] {
        transform: translate(calc(-50% - 180px), -50%) scale(.72) rotateY(18deg);
    }
    .showcase__phone[data-slot="right"] {
        transform: translate(calc(-50% + 180px), -50%) scale(.72) rotateY(-18deg);
    }
}
@media (max-width: 600px) {
    .showcase__stage { height: 520px; }
    .showcase__phone .iphone { --w: 210px; }
    .showcase__phone[data-slot="left"] {
        transform: translate(calc(-50% - 130px), -50%) scale(.62) rotateY(18deg);
        opacity: .28;
    }
    .showcase__phone[data-slot="right"] {
        transform: translate(calc(-50% + 130px), -50%) scale(.62) rotateY(-18deg);
        opacity: .28;
    }
}
@media (prefers-reduced-motion: reduce) {
    .showcase__phone { transition: none; }
}

/* ---- Contact split ---- */
.contact {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 2.5rem;
}
.contact__info { display: flex; flex-direction: column; gap: 1rem; }
.info-card {
    padding: 1.5rem;
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    display: flex;
    align-items: flex-start;
    gap: 14px;
}
.info-card i {
    width: 44px;
    height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--gradient-soft);
    color: var(--brand-blue);
    font-size: 1.05rem;
    flex-shrink: 0;
}
.info-card strong { color: var(--text); display: block; margin-bottom: 4px; font-size: 0.95rem; }
.info-card span, .info-card a { color: var(--text-muted); font-size: 0.92rem; }
@media (max-width: 900px) {
    .contact { grid-template-columns: 1fr; }
}

/* ---- Page hero (for legal/auth pages) ---- */
.page-hero {
    padding: clamp(8.5rem, 16vw, 11.5rem) 0 3rem;
    text-align: center;
    position: relative;
}

/* ---- Legal content (kvkk, privacy, terms) ---- */
.legal {
    max-width: 860px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
}
.legal h2 { font-size: 1.55rem; margin-top: 2.5rem; margin-bottom: .85rem; color: var(--text); border-top: 1px solid var(--border); padding-top: 2rem; }
.legal h2:first-child { border-top: 0; margin-top: 0; padding-top: 0; }
.legal h3 { font-size: 1.18rem; margin-top: 1.5rem; margin-bottom: .6rem; color: var(--text); }
.legal p, .legal li { color: var(--text-muted); }
.legal ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal ul li { margin-bottom: .4rem; }
.legal table { width: 100%; border-collapse: collapse; margin: 1rem 0; font-size: 0.92rem; }
.legal table th, .legal table td { border: 1px solid var(--border); padding: 10px 12px; text-align: left; }
.legal table th { background: rgba(45, 140, 255, 0.06); color: var(--text); font-weight: 600; }
.legal table td { color: var(--text-muted); }
.legal strong { color: var(--text); }
.legal__notice {
    padding: 1rem 1.25rem;
    background: rgba(45, 140, 255, 0.08);
    border-left: 3px solid var(--brand-blue);
    border-radius: 8px;
    margin-bottom: 2rem;
    color: var(--text);
}

/* ---- Legal language blocks (toggled by [data-lang] on <html>) ---- */
html[data-lang="tr"] [data-legal-en] { display: none; }
html[data-lang="en"] [data-legal-tr] { display: none; }

/* ---- Auth pages ---- */
.auth-shell {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding: 7.5rem 1.5rem 2rem;
    align-items: center;
    justify-content: center;
}
.auth-card {
    width: 100%;
    max-width: 460px;
    padding: 2.5rem;
}
.auth-card .auth-logo {
    text-align: center;
    margin-bottom: 1.5rem;
}
.auth-card .auth-logo img { height: 44px; margin: 0 auto; }
.auth-card h1 { font-size: 1.75rem; text-align: center; margin-bottom: .35rem; }
.auth-card .auth-subtitle { text-align: center; color: var(--text-muted); margin-bottom: 1.75rem; }
.auth-card .auth-meta {
    margin-top: 1.25rem;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.92rem;
}
.auth-card .auth-meta a { font-weight: 600; }
.auth-card .input-group {
    position: relative;
}
.auth-card .input-group .input { padding-right: 46px; }
.auth-card .input-group__icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: 0;
    color: var(--text-dim);
    cursor: pointer;
    padding: 6px;
}

/* ---- Error / empty states ---- */
.error-page {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 6rem 1.5rem 4rem;
}
.error-page__digits {
    font-family: 'Space Grotesk', sans-serif;
    font-size: clamp(7rem, 22vw, 14rem);
    font-weight: 700;
    background: var(--gradient-aurora);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    margin-bottom: 1rem;
    animation: pulse-text 4s ease-in-out infinite;
}
@keyframes pulse-text {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(45, 140, 255, 0.4)); }
    50%      { filter: drop-shadow(0 0 60px rgba(139, 92, 246, 0.6)); }
}

/* ---- Floating particles (subtle ambience) ---- */
.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-blue);
    opacity: 0.4;
    animation: float-up 12s linear infinite;
    pointer-events: none;
}

@keyframes float-up {
    from { transform: translate3d(0, 0, 0); opacity: 0; }
    20%  { opacity: 0.6; }
    to   { transform: translate3d(20px, -100vh, 0); opacity: 0; }
}

/* ---- Reduced motion ---- */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.001ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.001ms !important;
        scroll-behavior: auto !important;
    }
    .marquee__track { animation: none; }
    .orb { display: none; }
}

/* ---- Utility ---- */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.full-width { width: 100%; }
.hidden { display: none !important; }
.block { display: block; }
