/* ==========================================================================
   Hakxbox — Ana domain tek sayfa tanıtım sitesi
   Özel tasarım sistemi (açık/koyu tema). Marka: mor #7c5cfc.
   ========================================================================== */

/* ------------------------------ Tokens ---------------------------------- */
:root {
    color-scheme: light;

    /* Marka mor skala (note app'ten türetilmiş) */
    --violet-50: #f5f3ff;
    --violet-100: #ede9fe;
    --violet-200: #ddd6fe;
    --violet-300: #c4b5fd;
    --violet-400: #a78bfa;
    --violet-500: #7c5cfc;
    --violet-600: #6a4be0;
    --violet-700: #5b3fd4;
    --violet-800: #4c33b0;

    --primary: #7c5cfc;
    --primary-hover: #6a4be0;
    --primary-contrast: #ffffff;

    /* Yüzeyler / metin (açık tema) */
    --bg: #ffffff;
    --bg-2: #f5f4f7;
    --surface: #ffffff;
    --surface-2: #fafafa;
    --surface-glass: rgba(255, 255, 255, 0.78);
    --surface-inset: #f3f2f6;

    --text: #16132a;
    --text-2: #55506b;
    --text-3: #8b86a0;
    --text-on-accent: #ffffff;

    --border: #ebe8f0;
    --border-2: #f2f0f5;
    --border-strong: #ddd8ea;

    /* Aksan yardımcıları */
    --accent-blue: #3b82f6;
    --accent-green: #10b981;
    --accent-pink: #db2777;
    --accent-amber: #f59e0b;
    --accent-teal: #14b8a6;

    /* Gölge */
    --shadow-sm: 0 1px 3px rgba(80, 50, 160, 0.06);
    --shadow-md: 0 8px 30px rgba(80, 50, 160, 0.10);
    --shadow-lg: 0 24px 60px rgba(80, 50, 160, 0.16);
    --shadow-glow: 0 0 0 1px rgba(124, 92, 252, 0.12), 0 18px 50px rgba(124, 92, 252, 0.22);

    /* Radii */
    --r-sm: 10px;
    --r-md: 16px;
    --r-lg: 24px;
    --r-xl: 34px;
    --r-pill: 999px;

    /* Tipografi */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;

    /* Layout */
    --container: 1200px;
    --container-wide: 1360px;
    --gutter: clamp(18px, 4vw, 40px);
    --nav-h: 74px;

    /* Arka plan */
    --bg-glow: rgba(124, 92, 252, 0.07);
    --bg-glow-2: rgba(59, 130, 246, 0.04);
    --bg-dot: rgba(22, 19, 42, 0.055);

    --scrollbar-size: 10px;
    --scrollbar-track: color-mix(in srgb, var(--primary) 7%, transparent);
    --scrollbar-thumb: color-mix(in srgb, var(--primary) 38%, rgba(255, 255, 255, 0.45));
    --scrollbar-thumb-hover: color-mix(in srgb, var(--primary) 58%, rgba(255, 255, 255, 0.55));
    --scrollbar-border: color-mix(in srgb, var(--bg) 55%, transparent);
}

[data-theme="dark"] {
    color-scheme: dark;

    --primary: #8b6dff;
    --primary-hover: #a48bff;
    --primary-contrast: #0b0916;

    --bg: #09090d;
    --bg-2: #0d0d13;
    --surface: #100d20;
    --surface-2: #15112a;
    --surface-glass: rgba(20, 16, 40, 0.62);
    --surface-inset: #0c0a1a;

    --text: #f4f2ff;
    --text-2: #b7b1d4;
    --text-3: #7d7799;
    --text-on-accent: #0b0916;

    --border: #241d44;
    --border-2: #1b1636;
    --border-strong: #342a5e;

    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 30px 80px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 0 1px rgba(139, 109, 255, 0.25), 0 22px 60px rgba(124, 92, 252, 0.35);

    --bg-glow: rgba(124, 92, 252, 0.11);
    --bg-glow-2: rgba(59, 130, 246, 0.06);
    --bg-dot: rgba(255, 255, 255, 0.05);

    --scrollbar-track: color-mix(in srgb, var(--primary) 12%, transparent);
    --scrollbar-thumb: color-mix(in srgb, var(--primary) 48%, rgba(255, 255, 255, 0.12));
    --scrollbar-thumb-hover: color-mix(in srgb, var(--primary) 68%, rgba(255, 255, 255, 0.2));
    --scrollbar-border: color-mix(in srgb, var(--bg) 40%, transparent);
}

/* ------------------------------ Reset ----------------------------------- */
*, *::before, *::after { box-sizing: border-box; }

* { margin: 0; padding: 0; }

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: auto; /* Lenis yönetir */
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
    overflow-x: hidden;
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
}

*::-webkit-scrollbar {
    width: var(--scrollbar-size);
    height: var(--scrollbar-size);
}

*::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
    border-radius: var(--r-pill);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

*::-webkit-scrollbar-thumb {
    border-radius: var(--r-pill);
    border: 2px solid var(--scrollbar-border);
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--scrollbar-thumb) 88%, #fff 12%),
            color-mix(in srgb, var(--primary) 72%, var(--violet-700) 28%)
        );
    background-clip: padding-box;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.28),
        0 0 12px color-mix(in srgb, var(--primary) 22%, transparent);
}

*::-webkit-scrollbar-thumb:hover {
    background:
        linear-gradient(
            180deg,
            color-mix(in srgb, var(--scrollbar-thumb-hover) 90%, #fff 10%),
            color-mix(in srgb, var(--primary) 82%, var(--violet-800) 18%)
        );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.34),
        0 0 16px color-mix(in srgb, var(--primary) 32%, transparent);
}

*::-webkit-scrollbar-corner {
    background: transparent;
}
html.theme-ready.css-ready body {
    transition: background 0.5s ease, color 0.5s ease;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--primary); outline-offset: 3px; border-radius: 4px; }

::selection { background: var(--violet-500); color: #fff; }

/* ------------------------------ Layout ---------------------------------- */
.container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: var(--gutter);
}
.container.wide { max-width: var(--container-wide); }

.section {
    position: relative;
    padding-block: clamp(72px, 10vw, 140px);
}
.section--tight { padding-block: clamp(56px, 7vw, 96px); }

/* Bölüm başlıkları */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--primary);
    padding: 7px 14px;
    border-radius: var(--r-pill);
    background: color-mix(in srgb, var(--primary) 10%, transparent);
    border: 1px solid color-mix(in srgb, var(--primary) 22%, transparent);
}
.eyebrow::before {
    content: "";
    width: 6px; height: 6px; border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

.section-head { max-width: 720px; }
.section-head.center { margin-inline: auto; text-align: center; }

h1, h2, h3, h4 { line-height: 1.08; font-weight: 700; letter-spacing: -0.02em; }

.h-display {
    font-size: clamp(2.35rem, 5.4vw, 4.25rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
}
.h-section {
    font-size: clamp(2rem, 4.4vw, 3.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-block: 18px 16px;
}
.lead {
    font-size: clamp(1.02rem, 1.5vw, 1.2rem);
    color: var(--text-2);
    max-width: 60ch;
}
.text-grad {
    background: linear-gradient(100deg, var(--violet-500), var(--accent-pink) 60%, var(--accent-blue));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

/* ------------------------- Background layers ---------------------------- */
.bg-fx {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.bg-base {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--bg) 0%, var(--bg-2) 55%, var(--bg) 100%);
}
.bg-light {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 72% 52% at 50% -12%, var(--bg-glow), transparent 72%),
        radial-gradient(ellipse 42% 32% at 88% 8%, var(--bg-glow-2), transparent 68%);
}
.bg-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, var(--bg-dot) 1px, transparent 1px);
    background-size: 26px 26px;
    -webkit-mask-image: radial-gradient(ellipse 95% 70% at 50% 8%, #000 15%, transparent 72%);
    mask-image: radial-gradient(ellipse 95% 70% at 50% 8%, #000 15%, transparent 72%);
    opacity: 0.7;
}
.bg-noise {
    position: absolute;
    inset: 0;
    opacity: 0.22;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-size: 200px 200px;
    mix-blend-mode: multiply;
}
[data-theme="dark"] .bg-noise {
    opacity: 0.16;
    mix-blend-mode: overlay;
}

/* ------------------------------ Buttons → css/buttons.css ---------------- */

/* ------------------------------ Navbar ---------------------------------- */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    border-bottom: 1px solid transparent;
}
html.css-ready .nav {
    transition: background 0.35s ease, border-color 0.35s ease, height 0.35s ease;
}
.nav.scrolled {
    background: var(--surface-glass);
    backdrop-filter: blur(18px) saturate(1.4);
    border-bottom-color: var(--border);
}
.nav__inner {
    width: 100%;
    max-width: var(--container-wide);
    margin-inline: auto;
    padding-inline: var(--gutter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: -0.02em; flex-shrink: 0; }
.brand img {
    width: clamp(148px, 16vw, 196px);
    height: auto;
    aspect-ratio: 400 / 67;
    object-fit: contain;
    object-position: left center;
}
.brand__dot { color: var(--primary); }
/* Koyu renkli logo koyu temada okunur olsun */
[data-theme="dark"] .brand img { filter: brightness(0) invert(1); }
.footer__brand .brand img {
    width: clamp(168px, 18vw, 220px);
    max-width: 220px;
}

.nav__menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
    flex: 1 1 auto;
    min-width: 0;
}
.nav__link {
    font-size: 13.5px;
    font-weight: 500;
    color: var(--text-2);
    padding: 8px 10px;
    border-radius: var(--r-pill);
    transition: color 0.2s ease, background 0.2s ease;
    white-space: nowrap;
    line-height: 1.2;
}
.nav__link:hover { color: var(--text); background: color-mix(in srgb, var(--primary) 8%, transparent); }
.nav__link.is-active {
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 14%, transparent);
    font-weight: 600;
    box-shadow: inset 0 -2px 0 var(--primary);
}
[data-theme="dark"] .nav__link.is-active {
    color: #b8a8ff;
    background: color-mix(in srgb, var(--primary) 22%, transparent);
    box-shadow: inset 0 -2px 0 #b8a8ff;
}
.nav__link--mobile-only { display: none; }

.nav__offcanvas { display: contents; }
.nav__backdrop { display: none; }
.nav__panel { display: contents; }
.nav__modal-glow { display: none; }
.nav__modal-inner { display: contents; }

.nav__panel-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.nav__panel-actions .btn--ghost.btn--sm .btn__wrap {
    padding: 7px 12px;
    font-size: 13px;
}
.nav__panel-tools { display: contents; }

/* Logged-in account chip */
.nav-account {
    position: relative;
    flex-shrink: 0;
}
.nav-account__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: min(260px, 34vw);
    height: 44px;
    padding: 4px 10px 4px 4px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border-strong);
    background: var(--surface-glass);
    color: var(--text);
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: border-color 0.2s ease, background 0.2s ease;
}
.nav-account__trigger:hover,
.nav-account.is-open .nav-account__trigger {
    border-color: color-mix(in srgb, var(--primary) 35%, var(--border-strong));
    background: var(--surface);
}
.nav-account__frame-host {
    width: 34px;
    height: 34px;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 50%;
    --nf-frame-outer-size: 34px;
}
.nav-account__frame-host > .nf-avatar-frame {
    width: 100%;
    height: 100%;
    --nf-frame-outer-size: 34px;
}
.nav-account__frame-host .nav-account__photo,
.nav-account__frame-host .nav-account__initials {
    width: 100%;
    height: 100%;
}
.nav-account__photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
    display: block;
}
.nav-account__initials {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #fff;
    background: linear-gradient(135deg, #9b87ff, #7c5cfc);
}
.nav-account__meta {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 1px;
    line-height: 1.15;
}
.nav-account__name {
    font-size: 12.5px;
    font-weight: 650;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-account__email {
    font-size: 11px;
    font-weight: 500;
    color: var(--text-2);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.nav-account__chevron {
    width: 14px;
    height: 14px;
    flex: 0 0 auto;
    opacity: 0.55;
    transition: transform 0.2s ease;
}
.nav-account.is-open .nav-account__chevron { transform: rotate(180deg); }
.nav-account__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    z-index: 120;
    min-width: 200px;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    box-shadow: 0 16px 40px color-mix(in srgb, var(--text) 10%, transparent);
}
.nav-account__menu[hidden] { display: none !important; }
.nav-account__menu:not([hidden]) { display: block; }
.nav-account__item {
    display: block;
    width: 100%;
    padding: 10px 12px;
    border: none;
    border-radius: 10px;
    background: transparent;
    color: var(--text);
    font: inherit;
    font-size: 13.5px;
    font-weight: 550;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}
.nav-account__item:hover {
    background: color-mix(in srgb, var(--primary) 10%, transparent);
}
.nav-account__item--danger {
    color: #dc2626;
}
.nav-account__logout-form { margin: 0; }

.nav__burger {
    display: none;
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 14px;
    border: 1px solid var(--border-strong);
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    place-items: center;
    padding: 0;
    color: var(--text);
    transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
}
.nav__burger:hover {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 10%, transparent);
}
.nav__burger.is-open {
    border-color: var(--primary);
    color: var(--primary);
    background: color-mix(in srgb, var(--primary) 10%, var(--surface-glass));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 14%, transparent);
}
.nav__burger-svg {
    width: 22px;
    height: 22px;
    display: block;
}
.nav__burger-bar {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.28s ease;
}
.nav__burger-bar--1 { transform-origin: 12px 7px; }
.nav__burger-bar--2 { transform-origin: 12px 12px; }
.nav__burger-bar--3 { transform-origin: 12px 17px; }
.nav__burger.is-open .nav__burger-bar--1 { transform: translateY(5px) rotate(45deg); }
.nav__burger.is-open .nav__burger-bar--2 { opacity: 0; transform: scaleX(0.35); }
.nav__burger.is-open .nav__burger-bar--3 { transform: translateY(-5px) rotate(-45deg); }

body.nav-open,
html.nav-open {
    overflow: hidden;
    overscroll-behavior: none;
    height: 100%;
}
body.nav-open .nav {
    z-index: 300;
    background: color-mix(in srgb, var(--surface) 88%, transparent);
    backdrop-filter: blur(20px) saturate(1.3);
    -webkit-backdrop-filter: blur(20px) saturate(1.3);
    border-bottom-color: var(--border);
}
body.nav-open .nav__burger {
    position: relative;
    z-index: 2;
}

/* Language dropdown (Not Hakxbox ile uyumlu) */
.lang-dropdown { position: relative; }
.lang-dropdown__trigger {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 42px;
    padding: 0 12px;
    border-radius: var(--r-pill);
    border: 1px solid var(--border-strong);
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    color: var(--text);
    font-size: 13px;
    font-weight: 500;
    transition: border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}
.lang-dropdown__trigger:hover,
.lang-dropdown:has(> .lang-dropdown__menu.is-open) .lang-dropdown__trigger {
    border-color: var(--primary);
    color: var(--primary);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 12%, transparent);
}
.lang-dropdown__flag { display: flex; align-items: center; width: 26px; justify-content: center; }
.lang-dropdown__flag .lang-flag { width: 24px; height: 18px; border-radius: 4px; box-shadow: 0 0 0 1px rgba(0,0,0,0.06); }
.lang-dropdown__code { min-width: 22px; letter-spacing: 0.04em; }
.lang-dropdown__chevron { width: 16px; height: 16px; opacity: 0.65; transition: transform 0.2s ease; }
.lang-dropdown:has(> .lang-dropdown__menu.is-open) .lang-dropdown__chevron { transform: rotate(180deg); }
.lang-dropdown__menu {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 220px;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid var(--border-strong);
    background: var(--surface);
    box-shadow: var(--shadow-lg);
    z-index: 120;
    opacity: 0;
    transform: translateY(-6px);
    pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease;
}
.lang-dropdown__menu[hidden] { display: none !important; }
.lang-dropdown__menu:not([hidden]) { display: block; }
.lang-dropdown__menu.is-open {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.lang-dropdown__option {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 10px 12px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--text);
    text-align: left;
    transition: background 0.15s ease, color 0.15s ease;
}
.lang-dropdown__option:hover { background: color-mix(in srgb, var(--primary) 8%, transparent); }
.lang-dropdown__option.is-active { color: var(--primary); font-weight: 600; }
.lang-dropdown__option .lang-flag { flex-shrink: 0; width: 24px; height: 18px; border-radius: 4px; }

/* Mobil menü içi dil seçici — alt sheet */
.lang-sheet-backdrop {
    position: fixed;
    inset: 0;
    z-index: 380;
    background: rgba(7, 6, 15, 0.42);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.28s ease;
}
[data-theme="dark"] .lang-sheet-backdrop { background: rgba(0, 0, 0, 0.55); }
.lang-sheet-backdrop.is-visible {
    opacity: 1;
    pointer-events: auto;
}
.lang-dropdown__menu.is-sheet {
    display: block;
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: max(16px, env(safe-area-inset-bottom));
    top: auto;
    min-width: 0;
    max-height: min(58dvh, 400px);
    overflow-y: auto;
    z-index: 390;
    padding: 10px 8px 8px;
    border-radius: 18px;
    transform: translateY(110%);
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.lang-dropdown__menu.is-sheet:not(.is-open) {
    pointer-events: none;
}
.lang-dropdown__menu.is-sheet.is-open {
    transform: translateY(0);
}
.lang-dropdown__menu.is-sheet::before {
    content: attr(data-sheet-title);
    display: block;
    padding: 6px 12px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-2);
}

/* Hesap menüsü — mobil alt sheet (dil seçici ile aynı desen) */
.nav-account__menu.is-sheet {
    display: block;
    position: fixed;
    left: var(--gutter);
    right: var(--gutter);
    bottom: max(16px, env(safe-area-inset-bottom));
    top: auto;
    min-width: 0;
    max-height: min(58dvh, 400px);
    overflow-y: auto;
    z-index: 390;
    padding: 10px 8px 8px;
    border-radius: 18px;
    margin: 0;
    width: auto;
    box-shadow: 0 16px 40px color-mix(in srgb, var(--text) 14%, transparent);
    transform: translateY(110%);
    opacity: 1;
    pointer-events: auto;
    transition: transform 0.38s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav-account__menu.is-sheet:not(.is-open),
.nav-account__menu.is-sheet[hidden] {
    pointer-events: none;
}
.nav-account__menu.is-sheet[hidden] {
    display: none !important;
}
.nav-account__menu.is-sheet.is-open {
    transform: translateY(0);
}
.nav-account__menu.is-sheet::before {
    content: attr(data-sheet-title);
    display: block;
    padding: 6px 12px 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-2);
}
.nav-account__menu.is-sheet .nav-account__item {
    padding: 14px 12px;
    font-size: 15px;
}

.theme-toggle {
    width: 42px; height: 42px;
    display: grid; place-items: center;
    border-radius: 50%;
    border: 1px solid var(--border-strong);
    background: var(--surface-glass);
    backdrop-filter: blur(10px);
    color: var(--text);
    transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1), border-color 0.2s ease, color 0.2s ease;
}
.theme-toggle:hover { transform: rotate(25deg); color: var(--primary); border-color: var(--primary); }
.theme-toggle svg { width: 19px; height: 19px; }
.theme-toggle .icon-sun { display: none; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ------------------------------ Hero ------------------------------------ */
.hero {
    position: relative;
    padding-top: calc(var(--nav-h) + clamp(40px, 7vw, 84px));
    padding-bottom: clamp(60px, 8vw, 110px);
}
.hero__badge {
    display: inline-flex; align-items: center; gap: 10px;
    flex-wrap: wrap;
    font-size: 13px; font-weight: 500;
    padding: 8px 8px 8px 8px;
    padding-right: 16px;
    border-radius: var(--r-pill);
    background: var(--surface-glass);
    border: 1px solid var(--border-strong);
    backdrop-filter: blur(10px);
    color: var(--text-2);
    box-shadow: var(--shadow-sm);
}
.hero__badge b { color: var(--text); font-weight: 600; }
.hero__badge .tag {
    font-size: 11px; font-weight: 700; letter-spacing: 0.04em;
    padding: 4px 10px; border-radius: var(--r-pill);
    background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
    color: #fff;
}
.hero__title {
    margin-top: 28px;
    max-width: 18ch;
    line-height: 1.14;
    text-wrap: balance;
}

.hero__desc { margin-top: 24px; font-size: clamp(1.05rem, 1.6vw, 1.22rem); color: var(--text-2); max-width: 52ch; line-height: 1.65; }

.hero__cta { margin-top: 34px; display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }

.ms-store-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 14px 8px 10px;
    border-radius: 12px;
    border: 1px solid var(--border-strong);
    background: color-mix(in srgb, var(--surface) 90%, var(--text) 4%);
    color: var(--text);
    text-decoration: none;
    line-height: 1.15;
    transition: border-color 0.25s ease, background 0.25s ease, transform 0.25s ease;
}
.ms-store-badge:hover {
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border-strong));
    background: color-mix(in srgb, var(--primary) 8%, var(--surface));
    transform: translateY(-1px);
}
.ms-store-badge__logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.ms-store-badge__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}
.ms-store-badge__text small {
    font-size: 10px;
    font-weight: 500;
    color: var(--text-2);
    letter-spacing: 0.02em;
}
.ms-store-badge__text strong {
    font-size: 13.5px;
    font-weight: 700;
}
.ms-store-badge--on-dark {
    border-color: rgba(255, 255, 255, 0.22);
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}
.ms-store-badge--on-dark:hover {
    border-color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.16);
}
.ms-store-badge--on-dark .ms-store-badge__text small {
    color: rgba(255, 255, 255, 0.72);
}
.pf-cta .ms-store-badge {
    align-self: center;
}

.hero__meta {
    margin-top: 30px;
    display: flex; flex-wrap: wrap; gap: 10px 22px;
    color: var(--text-2); font-size: 14px;
}
.hero__meta li { display: inline-flex; align-items: center; gap: 8px; }
.hero__meta svg { width: 17px; height: 17px; color: var(--primary); }

/* ------------------------- Product mockup ------------------------------- */
.mockup {
    position: relative;
    margin-top: clamp(56px, 8vw, 96px);
    perspective: 1400px;
    perspective-origin: 50% 100%;
}
.mockup__glow {
    position: absolute;
    inset: -4% 10% auto 10%;
    height: 58%;
    background: radial-gradient(ellipse at 50% 42%, var(--bg-glow), transparent 74%);
    filter: blur(40px);
    z-index: 0;
}
.app-window {
    position: relative;
    z-index: 2;
    border-radius: var(--r-lg);
    background: var(--surface);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transform-style: preserve-3d;
    transform-origin: 50% 100%;
    backface-visibility: hidden;
}
.hero .mockup .app-window {
    transform: rotateX(14deg);
}
.app-window__bar {
    display: flex; align-items: center; gap: 14px;
    padding: 13px 18px;
    border-bottom: 1px solid var(--border-2);
    background: var(--surface-2);
}
.traffic { display: flex; gap: 7px; }
.traffic i { width: 11px; height: 11px; border-radius: 50%; display: block; }
.traffic i:nth-child(1){ background:#ff5f57; } .traffic i:nth-child(2){ background:#febc2e; } .traffic i:nth-child(3){ background:#28c840; }
.app-window__url {
    flex: 1;
    font-family: var(--font-mono); font-size: 12.5px; color: #5c5769;
    background: var(--surface-inset);
    border: 1px solid var(--border-2);
    padding: 6px 14px; border-radius: var(--r-pill);
    text-align: center;
    max-width: 320px; margin-inline: auto;
}
[data-theme="dark"] .app-window__url { color: #a8a3b8; }
.app-body {
    display: grid;
    grid-template-columns: 220px 1fr;
    min-height: 440px;
}
.app-side {
    border-right: 1px solid var(--border-2);
    padding: 18px 14px;
    background: var(--surface-2);
}
.app-side__brand { display:flex; align-items:center; gap:8px; font-weight:800; margin-bottom:18px; padding-inline:6px; }
.app-side__brand .logo-mark { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--violet-500), var(--violet-700)); display:grid; place-items:center; color:#fff; font-size:14px; }
.app-nav { display: flex; flex-direction: column; gap: 3px; }
.app-nav a {
    display: flex; align-items: center; gap: 10px;
    font-size: 13px; color: var(--text-2); font-weight: 500;
    padding: 9px 11px; border-radius: 10px;
}
.app-nav a .ic { width: 16px; height: 16px; opacity: 0.8; }
.app-nav a.active { background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); font-weight: 600; }
.app-side__tags { margin-top: 20px; padding-inline: 6px; }
.app-side__tags .lbl { font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-3); margin-bottom: 10px; }
.chip {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 12px; font-weight: 500;
    padding: 4px 10px; border-radius: var(--r-pill);
    margin: 0 5px 6px 0;
}
.chip::before { content:""; width:7px; height:7px; border-radius:50%; background: currentColor; }
.chip.v { color: var(--violet-600); background: color-mix(in srgb, var(--violet-500) 14%, transparent); }
.chip.b { color: var(--accent-blue); background: color-mix(in srgb, var(--accent-blue) 14%, transparent); }
.chip.g { color: var(--accent-green); background: color-mix(in srgb, var(--accent-green) 16%, transparent); }
.chip.a { color: var(--accent-amber); background: color-mix(in srgb, var(--accent-amber) 16%, transparent); }
.chip.p { color: var(--accent-pink); background: color-mix(in srgb, var(--accent-pink) 14%, transparent); }

.app-main { padding: 20px; display: flex; flex-direction: column; gap: 16px; }
.app-main__top { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.app-search {
    flex: 1;
    display: flex; align-items: center; gap: 8px;
    font-size: 13px; color: var(--text-3);
    background: var(--surface-inset);
    border: 1px solid var(--border-2);
    padding: 9px 14px; border-radius: var(--r-pill);
}
.app-search svg { width: 15px; height: 15px; }
.app-avatars { display: flex; }
.app-avatars span {
    width: 30px; height: 30px; border-radius: 50%;
    display: grid; place-items: center;
    font-size: 12px; font-weight: 700; color: #fff;
    border: 2px solid var(--surface);
    margin-left: -8px;
}
.app-avatars span:nth-child(1){ background: linear-gradient(135deg,#7c5cfc,#5b3fd4); }
.app-avatars span:nth-child(2){ background: linear-gradient(135deg,#3b82f6,#2563eb); }
.app-avatars span:nth-child(3){ background: linear-gradient(135deg,#db2777,#be185d); }
.app-avatars span:nth-child(4){ background: var(--surface-inset); color: var(--text-2); border-color: var(--border); }

.note-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.note-card {
    background: var(--surface);
    border: 1px solid var(--border-2);
    border-radius: var(--r-md);
    padding: 14px;
    box-shadow: var(--shadow-sm);
    display: flex; flex-direction: column; gap: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.note-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.note-card__title { font-weight: 700; font-size: 14px; display: flex; align-items: center; gap: 8px; }
.note-card__title .pin { color: var(--primary); }
.note-card__body { font-size: 12.5px; color: var(--text-2); line-height: 1.5; }
.note-card__foot { display: flex; align-items: center; justify-content: space-between; font-size: 11px; color: var(--text-3); margin-top: auto; }
.note-card__foot .chip { font-size: 10.5px; padding: 3px 8px; margin: 0; }
.note-card--code { background: #0d0a1c; border-color: #241d44; color: #e6e2ff; }
.note-card--code .note-card__title { color: #e6e2ff; }
.code-block { font-family: var(--font-mono); font-size: 11.5px; line-height: 1.7; white-space: pre; overflow: hidden; }
.code-block .k { color: #c4b5fd; }
.code-block .s { color: #86efac; }
.code-block .f { color: #93c5fd; }
.code-block .c { color: #6b6690; }

/* mini floating cards beside mockup (in front of window) */
.float-card {
    position: absolute;
    z-index: 3;
    background: var(--surface-glass);
    backdrop-filter: blur(14px);
    border: 1px solid var(--border-strong);
    border-radius: var(--r-md);
    box-shadow: var(--shadow-lg);
    padding: 12px 14px;
    display: flex; align-items: center; gap: 11px;
    font-size: 13px;
    will-change: transform;
}
.float-card .fc-ic {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex-shrink: 0;
}
.float-card .fc-ic svg {
    width: 18px;
    height: 18px;
    display: block;
    flex-shrink: 0;
}
.float-card > div:not(.fc-ic) {
    display: flex;
    flex-direction: column;
    gap: 2px;
    line-height: 1.25;
    min-width: 0;
}
.float-card b { display: block; font-size: 13px; font-weight: 700; line-height: 1.2; }
.float-card small { display: block; color: var(--text-3); font-size: 11px; line-height: 1.3; }
.float-card--a { top: 18%; left: -8%; }
.float-card--b { bottom: 14%; right: -8%; }
.float-card--a .fc-ic { background: linear-gradient(135deg, var(--accent-green), #059669); }
.float-card--b .fc-ic { background: linear-gradient(135deg, var(--violet-500), var(--violet-700)); }

/* ------------------------------ Marquee --------------------------------- */
.marquee-stack {
    display: grid;
    gap: 14px;
}
.marquee {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
    mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.marquee__track {
    display: flex;
    width: max-content;
    will-change: transform;
    animation: marquee-scroll var(--marquee-duration, 36s) linear infinite;
}
.marquee--reverse .marquee__track {
    animation-name: marquee-scroll-reverse;
}
.marquee__group {
    display: flex;
    align-items: center;
    gap: 44px;
    flex-shrink: 0;
    padding-right: 44px;
}
@keyframes marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to { transform: translate3d(calc(-1 * var(--marquee-distance, 50%)), 0, 0); }
}
@keyframes marquee-scroll-reverse {
    from { transform: translate3d(calc(-1 * var(--marquee-distance, 50%)), 0, 0); }
    to { transform: translate3d(0, 0, 0); }
}
.marquee__track span {
    display: inline-flex; align-items: center; gap: 12px;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    font-weight: 700; letter-spacing: -0.02em;
    color: #5c5769;
    white-space: nowrap;
}
[data-theme="dark"] .marquee__track span { color: #a8a2c0; }
.marquee__track span > svg {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    color: var(--primary);
}

/* ------------------------------ Bento ----------------------------------- */
.bento {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
    margin-top: 54px;
}
.card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 26px;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.2,0.8,0.2,1), box-shadow 0.4s ease, border-color 0.4s ease;
    box-shadow: var(--shadow-sm);
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--border-strong); }
.card__spot {
    position: absolute;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, color-mix(in srgb, var(--primary) 22%, transparent), transparent 68%);
    opacity: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    pointer-events: none;
}
.card:hover .card__spot { opacity: 1; }

.card__ic {
    width: 48px; height: 48px; border-radius: 14px;
    display: grid; place-items: center;
    background: color-mix(in srgb, var(--primary) 12%, transparent);
    color: var(--primary);
    margin-bottom: 18px;
}
.card__ic svg { width: 24px; height: 24px; }
.card h3 { font-size: 1.22rem; margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 14.5px; }

.card--wide { grid-column: span 4; }
.card--half { grid-column: span 3; }
.card--third { grid-column: span 2; }
.card--tall { grid-row: span 2; }

.card__list { margin-top: 16px; display: flex; flex-direction: column; gap: 9px; }
.card__list li { display: flex; align-items: center; gap: 10px; font-size: 13.5px; color: var(--text-2); }
.card__list svg { width: 16px; height: 16px; color: var(--accent-green); flex-shrink: 0; }

.card__badges { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
    font-size: 12.5px; font-weight: 600;
    padding: 6px 12px; border-radius: var(--r-pill);
    background: var(--surface-inset);
    border: 1px solid var(--border-2);
    color: var(--text-2);
}

/* Editor toolbar mini (in feature card) */
.mini-editor {
    margin-top: 18px;
    border: 1px solid var(--border-2);
    border-radius: var(--r-md);
    overflow: hidden;
    background: var(--surface-2);
}
.mini-editor__bar { display: flex; gap: 4px; padding: 8px; border-bottom: 1px solid var(--border-2); flex-wrap: wrap; }
.mini-editor__bar button, .fmt {
    width: 30px; height: 28px; border-radius: 7px;
    display: grid; place-items: center;
    color: var(--text-2); font-size: 13px; font-weight: 700;
    border: 1px solid transparent;
}
.mini-editor__bar .fmt:hover { background: var(--surface-inset); color: var(--primary); }
.mini-editor__body { padding: 14px; font-size: 13px; color: var(--text-2); }
.mini-editor__body .task { display: flex; align-items: center; gap: 9px; margin-bottom: 7px; }
.mini-editor__body .box { width: 15px; height: 15px; border-radius: 4px; border: 1.5px solid var(--border-strong); }
.mini-editor__body .box.done { background: var(--primary); border-color: var(--primary); position: relative; }
.mini-editor__body .box.done::after { content:"✓"; color:#fff; font-size:10px; position:absolute; inset:0; display:grid; place-items:center; }
.mini-editor__body .task.done span { text-decoration: line-through; color: var(--text-3); }

/* ------------------------------ Ürünler --------------------------------- */
.products { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 54px; }

.badge-flag {
    display: inline-flex; align-items: center; gap: 7px;
    font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
    padding: 5px 11px; border-radius: var(--r-pill);
    background: linear-gradient(135deg, var(--violet-500), var(--violet-700));
    color: #fff;
}

.product-featured {
    grid-column: span 3;
    display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(24px, 4vw, 44px);
    align-items: center;
    padding: clamp(26px, 3.5vw, 42px);
}
.product-featured .pf-body h3 { font-size: clamp(1.7rem, 3vw, 2.4rem); margin: 16px 0 10px; }
.product-featured .pf-body p { color: var(--text-2); font-size: 15.5px; max-width: 46ch; }
.product-featured .pf-cta { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 12px; }
.product-featured .card__badges { margin-top: 20px; }

.pf-visual { position: relative; }
.pf-visual .app-window { box-shadow: var(--shadow-lg); }
.pf-visual .app-body { min-height: 300px; grid-template-columns: 1fr; }
.pf-visual .app-main { padding: 16px; }

/* Küçük ürün kartları */
.product {
    display: flex; flex-direction: column;
    text-decoration: none;
}
.product h3 { display: flex; align-items: center; gap: 10px; font-size: 1.3rem; margin-bottom: 8px; }
.product .prod-tag { font-family: var(--font-mono); font-size: 11px; color: var(--text-3); }
.product__foot {
    margin-top: auto; padding-top: 18px;
    display: inline-flex; align-items: center; gap: 8px;
    font-weight: 600; font-size: 14px; color: var(--primary);
}
.product__foot svg { width: 16px; height: 16px; transition: transform 0.25s ease; }
.product:hover .product__foot svg { transform: translate(3px, -3px); }
.product .card__ic { color: #fff; }
.prod-ic--extractor { background: linear-gradient(135deg, #3b82f6, #2563eb); }
.prod-ic--case { background: linear-gradient(135deg, #14b8a6, #0d9488); }
.prod-ic--api { background: linear-gradient(135deg, #f59e0b, #d97706); }
.prod-ic--note { background: linear-gradient(135deg, var(--violet-500), var(--violet-700)); }

.pf-code {
    font-family: var(--font-mono); font-size: 12px; line-height: 1.7;
    background: #0d0a1c; color: #e6e2ff; border: 1px solid #241d44;
    border-radius: var(--r-md); padding: 16px; white-space: pre; overflow: hidden;
}
.pf-code .k { color: #c4b5fd; } .pf-code .s { color: #86efac; } .pf-code .f { color: #93c5fd; } .pf-code .c { color: #6b6690; }

/* ------------------------------ Steps ----------------------------------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 54px; counter-reset: step; }
.step {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 30px 26px;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
}
.step__num {
    font-family: var(--font-mono);
    font-size: 13px; font-weight: 700; color: var(--primary);
    display: inline-flex; align-items: center; gap: 8px;
    margin-bottom: 18px;
}
.step__num::before {
    counter-increment: step;
    content: "0" counter(step);
    font-size: 44px; font-weight: 800; line-height: 1;
    background: linear-gradient(135deg, var(--violet-400), var(--violet-700));
    -webkit-background-clip: text; background-clip: text; color: transparent;
    opacity: 0.9;
}
.step h3 { font-size: 1.28rem; margin-bottom: 8px; }
.step p { color: var(--text-2); font-size: 14.5px; }
.step__line { position: absolute; top: 44px; right: -9px; color: var(--border-strong); display: none; }

/* ------------------------------ Use cases ------------------------------- */
.usecases { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 54px; }
.uc {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-lg);
    padding: 26px;
    box-shadow: var(--shadow-sm);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.uc:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.uc__ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; margin-bottom: 16px; color:#fff; }
.uc:nth-child(1) .uc__ic { background: linear-gradient(135deg,#7c5cfc,#5b3fd4); }
.uc:nth-child(2) .uc__ic { background: linear-gradient(135deg,#3b82f6,#2563eb); }
.uc:nth-child(3) .uc__ic { background: linear-gradient(135deg,#10b981,#059669); }
.uc:nth-child(4) .uc__ic { background: linear-gradient(135deg,#db2777,#be185d); }
.uc__ic svg { width: 23px; height: 23px; }
.uc h3 { font-size: 1.12rem; margin-bottom: 8px; }
.uc p { font-size: 14px; color: var(--text-2); }

/* ------------------------- Falling cards -------------------------------- */
.falling-section {
    position: relative;
    height: 75vh;
    overflow: hidden;
    background: transparent;
}
.falling-section,
.falling-section * {
    border: none;
    outline: none;
    box-shadow: none;
}
#falling-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
    background: transparent;
    pointer-events: auto;
    touch-action: none;
}
.falling-section__static {
    display: none;
    height: 100%;
    width: min(100% - 32px, 1100px);
    margin: 0 auto;
    padding: 24px 0;
    align-content: center;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}
.falling-section.is-static .falling-section__static {
    display: grid;
}
.falling-card {
    position: relative;
    aspect-ratio: 440 / 320;
    border-radius: var(--r-lg);
    padding: 8.2% 8.2% 7%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    color: #fff;
    background: linear-gradient(135deg, var(--c0), var(--c1));
}
.falling-card::before,
.falling-card::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}
.falling-card::before {
    width: 45%;
    height: 62%;
    left: -8%;
    top: -12%;
    background: rgba(255, 255, 255, 0.14);
}
.falling-card::after {
    width: 55%;
    height: 75%;
    right: -14%;
    bottom: -22%;
    background: rgba(255, 255, 255, 0.1);
}
.falling-card__bars {
    position: absolute;
    top: 11%;
    left: 8.2%;
    width: 16%;
    height: 3.2%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.35);
    z-index: 1;
}
.falling-card__bars::after {
    content: "";
    position: absolute;
    top: 160%;
    left: 0;
    width: 61%;
    height: 100%;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.22);
}
.falling-card__title {
    position: relative;
    z-index: 1;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: clamp(0.88rem, 1.45vw, 1.2rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin: 0 0 0.35em;
}
.falling-card__sub {
    position: relative;
    z-index: 1;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: clamp(0.75rem, 1.15vw, 0.95rem);
    font-weight: 500;
    line-height: 1.25;
    color: rgba(255, 255, 255, 0.82);
    margin: 0 0 0.85em;
}
.falling-card__avatars {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0;
    width: 27%;
    height: 8.5%;
    min-height: 22px;
    border-radius: 999px;
    background: transparent;
    padding-left: 0;
}
.falling-card__avatars i {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.85);
    margin-right: -2px;
}
.falling-card__avatars i:nth-child(2) { opacity: 0.75; }
.falling-card__avatars i:nth-child(3) { opacity: 0.55; }

@media (max-width: 1200px) {
    .falling-section { height: 900px; }
}
@media (max-width: 768px) {
    .falling-section { height: 40vh; }
    .falling-section__static {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
    }
}

/* ------------------------- Integrations showcase ------------------------ */
.int-showcase {
    --int-cell-w: 150px;
    --int-cell-h: 128px;
    position: relative;
    margin-top: 48px;
    display: flex;
    justify-content: center;
}
.int-feature-grid {
    position: relative;
    display: grid;
    width: min(100%, calc(var(--int-cell-w) * 8));
    grid-template-columns: repeat(8, var(--int-cell-w));
    grid-template-rows: repeat(6, var(--int-cell-h));
    border: none;
    border-radius: var(--r-xl);
    background: color-mix(in srgb, var(--surface) 82%, transparent);
    overflow: hidden;
    isolation: isolate;
    /* Kenarlar sayfa arka planına (beyaz / dark bg) yumuşakça erisin */
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 11%,
        #000 89%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        #000 11%,
        #000 89%,
        transparent 100%
    );
}
.int-gitem {
    grid-column: var(--c) / span var(--cs, 1);
    grid-row: var(--r) / span var(--rs, 1);
    min-width: 0;
}
.int-cell {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: var(--int-cell-h);
    padding: 16px 10px;
    border: none;
    color: var(--text-3);
    background: color-mix(in srgb, var(--surface) 35%, transparent);
    transition: background 0.24s ease, color 0.24s ease, opacity 0.24s ease;
    text-align: center;
    font-size: 13.5px;
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.2;
}
.int-cell__ic {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    color: var(--text-3);
    transition: color 0.24s ease, transform 0.24s ease;
}
.int-cell__ic svg,
.int-cell__ic img {
    width: 22px;
    height: 22px;
    display: block;
}
.int-cell__ic img {
    filter: brightness(0) saturate(100%);
    opacity: 0.48;
}
.int-cell:hover .int-cell__ic img { opacity: 0.72; }
[data-theme="dark"] .int-cell__ic img {
    filter: brightness(0) invert(1);
    opacity: 0.55;
}
[data-theme="dark"] .int-cell:hover .int-cell__ic img { opacity: 0.85; }
.int-cell.is-faded { opacity: 0.38; }
.int-cell:hover {
    background: color-mix(in srgb, var(--surface-2) 88%, transparent);
    color: var(--text-2);
}
.int-cell:hover .int-cell__ic {
    color: var(--text-2);
    transform: translateY(-1px);
}

.int-center {
    position: relative;
    z-index: 5;
    min-height: calc(var(--int-cell-h) * 2);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    padding: 22px 20px 28px;
    border: none;
    background: var(--surface);
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.int-center::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    opacity: 0.92;
    transition: opacity 0.28s ease, transform 0.28s ease;
}
.int-center::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(to bottom, transparent, color-mix(in srgb, var(--surface) 96%, transparent) 78%),
        radial-gradient(circle at 50% 18%, color-mix(in srgb, var(--surface) 35%, transparent), transparent 58%);
    pointer-events: none;
}
.int-center:hover {
    transform: translateY(-4px);
    box-shadow: 0 22px 65px color-mix(in srgb, var(--text) 8%, transparent);
}
.int-center:hover::before {
    opacity: 1;
    transform: scale(1.03);
}
.int-center--notes::before {
    background:
        radial-gradient(circle at 37% 18%, rgba(124, 92, 252, 0.22), transparent 46%),
        radial-gradient(circle at 65% 22%, rgba(167, 139, 250, 0.16), transparent 42%);
}
.int-center--api::before {
    background:
        radial-gradient(circle at 50% 13%, rgba(59, 130, 246, 0.2), transparent 49%),
        radial-gradient(circle at 70% 27%, rgba(96, 165, 250, 0.16), transparent 46%);
}
.int-center--wp::before {
    background:
        radial-gradient(circle at 44% 15%, rgba(33, 117, 155, 0.2), transparent 50%),
        radial-gradient(circle at 60% 35%, rgba(33, 117, 155, 0.12), transparent 43%);
}
.int-center__title {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin-top: auto;
    font-size: clamp(1.25rem, 2vw, 1.7rem);
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--text);
}
.int-center__title strong { font-weight: 750; }
.int-brand {
    width: 32px;
    height: 32px;
    border-radius: 9px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    flex: 0 0 auto;
    box-shadow: 0 10px 22px rgba(30, 86, 229, 0.14);
}
.int-brand svg,
.int-brand img { width: 18px; height: 18px; display: block; }
.int-brand--violet { background: linear-gradient(135deg, #9b87ff, #7c5cfc); }
.int-brand--blue { background: linear-gradient(135deg, #5275f0, #4161dd); }
.int-brand--wp { background: #fff; box-shadow: 0 8px 18px rgba(33, 117, 155, 0.18); }
.int-brand--wp img { width: 20px; height: 20px; }

.int-preview {
    position: absolute;
    z-index: 2;
    top: 22px;
    left: 22px;
    right: 22px;
    height: 108px;
    opacity: 0.9;
    pointer-events: none;
}
.int-preview--notes {
    display: flex;
    gap: 10px;
    left: 24px;
    right: 16px;
}
.int-note-card {
    flex: 1;
    border-radius: 8px;
    background: color-mix(in srgb, var(--surface) 78%, #fff);
    border: 1px solid color-mix(in srgb, var(--violet-300) 35%, var(--border));
    box-shadow: 0 16px 36px rgba(124, 92, 252, 0.1);
    padding: 10px;
    overflow: hidden;
}
.int-note-card--side { flex: 0 0 78px; opacity: 0.85; }
.int-note-card__bar {
    display: block;
    height: 18px;
    border-radius: 5px;
    margin-bottom: 10px;
    background: #c4b5fd;
}
.int-note-card__bar--green { background: #86efac; }
.int-note-card__line {
    display: block;
    height: 7px;
    border-radius: 99px;
    margin-bottom: 7px;
    background: color-mix(in srgb, var(--border-strong) 70%, transparent);
}
.int-note-card__line--short { width: 62%; }
.int-note-card__tags { display: flex; gap: 4px; margin-top: 8px; }
.int-note-card__tags i {
    width: 14px;
    height: 14px;
    border-radius: 99px;
    background: linear-gradient(135deg, #d2d5dc, #f0f1f4);
}

.int-preview--api { left: 28px; right: 28px; }
.int-code {
    height: 100%;
    border-radius: 10px;
    padding: 14px 16px;
    background: color-mix(in srgb, var(--surface) 88%, #eff6ff);
    border: 1px solid color-mix(in srgb, #93c5fd 40%, var(--border));
    box-shadow: 0 18px 40px rgba(59, 130, 246, 0.1);
    font-family: var(--font-mono, ui-monospace, monospace);
    font-size: 11px;
}
.int-code__dot {
    display: inline-block;
    width: 7px;
    height: 7px;
    border-radius: 99px;
    background: #bdc8d8;
    margin-right: 5px;
    margin-bottom: 10px;
}
.int-code__dot:first-child { background: #28c4cf; }
.int-code__line { color: var(--text); margin-bottom: 7px; letter-spacing: -0.02em; }
.int-code__line em { color: #2563eb; font-style: normal; font-weight: 700; }
.int-code__line--dim { color: var(--text-3); }
.int-code__line--accent { color: #7c5cfc; }

.int-preview--wp { display: grid; place-items: center; }
.int-wp-widget {
    width: min(260px, 100%);
    border-radius: 10px;
    padding: 16px;
    background: color-mix(in srgb, var(--surface) 90%, #e8f4f8);
    border: 1px solid color-mix(in srgb, #21759b 22%, var(--border));
    box-shadow: 0 18px 40px rgba(33, 117, 155, 0.1);
    text-align: left;
}
.int-wp-widget img { display: block; margin-bottom: 10px; }
.int-wp-widget__line {
    display: block;
    height: 6px;
    border-radius: 99px;
    margin-bottom: 7px;
    background: color-mix(in srgb, var(--border-strong) 75%, transparent);
}
.int-wp-widget__line--short { width: 55%; }
.int-wp-widget__chip {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 7px;
    border-radius: 5px;
    font-size: 9px;
    font-weight: 800;
    color: #fff;
    background: #21759b;
}

[data-theme="dark"] .int-cell.is-faded { opacity: 0.28; }
[data-theme="dark"] .int-note-card,
[data-theme="dark"] .int-code,
[data-theme="dark"] .int-wp-widget {
    background: color-mix(in srgb, var(--surface) 88%, #000);
}


/* ------------------------------ Security -------------------------------- */
.sec-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 48px; }
.sec {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}
.sec__ic { width: 44px; height: 44px; border-radius: 12px; background: color-mix(in srgb, var(--primary) 12%, transparent); color: var(--primary); display: grid; place-items: center; margin-bottom: 14px; }
.sec__ic svg { width: 22px; height: 22px; }
.sec h3 { font-size: 1.05rem; margin-bottom: 6px; }
.sec p { font-size: 13.5px; color: var(--text-2); }

/* ------------------------------ FAQ ------------------------------------- */
.faq { max-width: 820px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md);
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.open { border-color: var(--border-strong); box-shadow: var(--shadow-md); }
.faq-q {
    width: 100%;
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    padding: 20px 24px;
    font-size: 1.05rem; font-weight: 600; text-align: left;
}
.faq-q .plus { position: relative; width: 20px; height: 20px; flex-shrink: 0; }
.faq-q .plus::before, .faq-q .plus::after {
    content: ""; position: absolute; background: var(--primary); border-radius: 2px;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    transition: transform 0.3s ease;
}
.faq-q .plus::before { width: 14px; height: 2px; }
.faq-q .plus::after { width: 2px; height: 14px; }
.faq-item.open .plus::after { transform: translate(-50%, -50%) rotate(90deg); opacity: 0; }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--text-2); font-size: 14.5px; }

/* ------------------------------ CTA ------------------------------------- */
.cta-wrap { position: relative; }
.cta {
    position: relative;
    border-radius: var(--r-xl);
    padding: clamp(44px, 6vw, 80px);
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(circle at 20% 20%, rgba(124,92,252,0.5), transparent 55%),
        radial-gradient(circle at 80% 80%, rgba(219,39,119,0.4), transparent 55%),
        linear-gradient(135deg, #2a1d63, #120c2c);
    border: 1px solid var(--border-strong);
    box-shadow: var(--shadow-lg);
    color: #fff;
}
.cta__grid {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(to right, rgba(255,255,255,0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 75%);
}
.cta > * { position: relative; z-index: 1; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800; letter-spacing: -0.03em; }
.cta p { color: rgba(255,255,255,0.8); max-width: 52ch; margin: 16px auto 0; font-size: 1.1rem; }
.cta .hero__cta { justify-content: center; margin-top: 30px; }
/* ------------------------------ Footer ---------------------------------- */
.footer {
    position: relative;
    isolation: isolate;
    border-top: 1px solid var(--border);
    padding-block: 60px 34px;
    margin-top: clamp(60px, 8vw, 120px);
    overflow: visible;
    background: transparent;
}
.footer > .container {
    position: relative;
    z-index: 2;
}
.footer__aurora {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 170px;
    pointer-events: none;
    z-index: 1;
    overflow: visible;
}
.footer__aurora-wrap {
    position: absolute;
    left: 50%;
    bottom: 10px;
    width: min(1200px, 100%);
    transform: translateX(-50%);
}
.footer__aurora-ring {
    height: 0;
    margin-inline: auto;
    border-radius: 999px;
    opacity: 0.9;
}
.footer__aurora-ring--one {
    width: 100%;
    animation: footer-aurora-one 5s ease-in-out infinite alternate;
}
.footer__aurora-ring--two {
    width: 90%;
    animation: footer-aurora-two 4s ease-in-out infinite alternate;
}
.footer__aurora-ring--three {
    width: 80%;
    animation: footer-aurora-three 3s ease-in-out infinite alternate;
}
.footer__aurora-ring--four {
    width: 70%;
    animation: footer-aurora-four 2s ease-in-out infinite alternate;
}
.footer__aurora-ring--five {
    width: 60%;
    animation: footer-aurora-five 1s ease-in-out infinite alternate;
}
@keyframes footer-aurora-one {
    from { box-shadow: 0 0 180px 20px #4c33b0; }
    to { box-shadow: 0 0 84px 10px #7c5cfc; }
}
@keyframes footer-aurora-two {
    from { box-shadow: 0 0 170px 18px #5b3fd4; }
    to { box-shadow: 0 0 78px 10px #8b6dff; }
}
@keyframes footer-aurora-three {
    from { box-shadow: 0 0 160px 16px #6a4be0; }
    to { box-shadow: 0 0 72px 9px #a78bfa; }
}
@keyframes footer-aurora-four {
    from { box-shadow: 0 0 150px 15px #7c5cfc; }
    to { box-shadow: 0 0 66px 8px #c4b5fd; }
}
@keyframes footer-aurora-five {
    from { box-shadow: 0 0 140px 14px #8b6dff; }
    to { box-shadow: 0 0 60px 8px #ddd6fe; }
}
[data-theme="dark"] .footer { background: transparent; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr; gap: 32px; }
.footer__brand p { color: var(--text-2); font-size: 14px; margin-top: 14px; max-width: 34ch; }
.footer__mail { display: inline-flex; margin-top: 16px; font-weight: 600; color: #5b3fd4; }
.footer__heading { font-size: 12px; text-transform: uppercase; letter-spacing: 0.1em; color: #5c5769; margin-bottom: 16px; }
.footer__links { display: flex; flex-direction: column; gap: 11px; }
.footer__links a { font-size: 14px; color: var(--text-2); transition: color 0.2s ease; width: fit-content; }
.footer__links a:hover { color: var(--primary); }
.footer__bottom {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
    margin-top: 44px; padding-top: 24px; border-top: none;
    font-size: 13px; color: #5c5769; flex-wrap: wrap;
}
.footer__bottom-main {
    display: flex;
    flex-direction: column;
    gap: 12px;
    min-width: 0;
}
.footer__legal {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 14px;
}
.footer__legal a {
    font-size: 13px;
    color: var(--text-2);
    transition: color 0.2s ease;
}
.footer__legal a:hover,
.footer__legal a.is-active {
    color: var(--primary);
}
.lead-form__trap {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
.legal-page__main {
    padding-top: 28px;
    padding-bottom: 48px;
    max-width: min(100% - var(--gutter) * 2, var(--container));
}
.legal-page .nav.legal-page__nav {
    position: sticky;
    top: 0;
    z-index: 200;
    background: color-mix(in srgb, var(--surface) 92%, transparent);
    backdrop-filter: blur(16px) saturate(1.2);
    -webkit-backdrop-filter: blur(16px) saturate(1.2);
    border-bottom: 1px solid var(--border);
}
.legal-page__back {
    display: inline-flex;
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary);
}
.legal-page__back:hover { text-decoration: underline; }
.legal-page__nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}
.legal-page__nav-links a {
    font-size: 13px;
    font-weight: 600;
    padding: 8px 14px;
    border-radius: 999px;
    border: 1px solid var(--border);
    background: var(--surface-glass);
    color: var(--text-2);
    transition: border-color 0.2s ease, color 0.2s ease, background 0.2s ease;
}
.legal-page__nav-links a:hover,
.legal-page__nav-links a.is-active {
    color: var(--primary);
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
    background: color-mix(in srgb, var(--primary) 8%, transparent);
}
.legal-page__article {
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: clamp(20px, 4vw, 32px);
    background: var(--surface-glass);
}
.legal-page__updated {
    margin: 0 0 10px;
    font-size: 12px;
    color: var(--text-2);
}
.legal-page__title {
    margin: 0 0 20px;
    font-size: clamp(1.5rem, 4vw, 2rem);
    line-height: 1.2;
}
.legal-page__body {
    font-size: 15px;
    line-height: 1.65;
    color: var(--text-2);
}
.legal-page__body h2 {
    margin: 24px 0 10px;
    font-size: 1.05rem;
    color: var(--text);
}
.legal-page__body p { margin: 0 0 12px; }
.legal-page__body ul {
    margin: 0 0 12px;
    padding-left: 1.2em;
}
.legal-page__body li { margin-bottom: 6px; }
.legal-page__body a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 2px;
}
.legal-page__footer { margin-top: 48px; }
.legal-page__nav .nav__panel-actions { margin-left: auto; }
[data-theme="dark"] .footer__mail { color: #b8a8ff; }
[data-theme="dark"] .footer__heading,
[data-theme="dark"] .footer__bottom { color: #a8a2c0; }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
    width: 38px; height: 38px; border-radius: 50%;
    display: grid; place-items: center;
    border: 1px solid var(--border); color: var(--text-2);
    transition: 0.25s;
}
.footer__social a:hover { color: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.footer__social svg { width: 17px; height: 17px; }

/* ------------------------------ Lead modal ------------------------------ */
.lead-modal {
    position: fixed;
    inset: 0;
    z-index: 360;
    display: grid;
    place-items: center;
    padding: 20px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.24s ease;
}
.lead-modal.is-open {
    opacity: 1;
    pointer-events: auto;
}
.lead-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(7, 6, 15, 0.52);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}
.lead-modal__dialog {
    position: relative;
    width: min(100%, 620px);
    max-width: 100%;
    min-width: 0;
    overflow-x: clip;
    border-radius: 24px;
    border: 1px solid color-mix(in srgb, var(--primary) 18%, var(--border));
    background:
        radial-gradient(120% 90% at 100% -10%, color-mix(in srgb, var(--primary) 14%, transparent), transparent 58%),
        linear-gradient(180deg, color-mix(in srgb, var(--surface) 96%, #fff) 0%, var(--surface) 100%);
    box-shadow:
        0 36px 90px rgba(20, 16, 40, 0.32),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    padding: 28px 24px 22px;
}
.lead-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid var(--border);
    background: var(--surface-glass);
    color: var(--text-2);
    display: grid;
    place-items: center;
}
.lead-modal__close svg { width: 16px; height: 16px; }
.lead-modal__close:hover {
    color: var(--primary);
    border-color: color-mix(in srgb, var(--primary) 40%, var(--border));
}
.lead-modal__eyebrow {
    margin: 0 0 8px;
    font-size: 11px;
    letter-spacing: 0.11em;
    text-transform: uppercase;
    color: var(--primary);
    font-weight: 700;
}
.lead-modal__title {
    margin: 0;
    font-size: clamp(1.3rem, 3.5vw, 1.7rem);
}
.lead-modal__desc {
    margin: 10px 0 16px;
    color: var(--text-2);
    font-size: 14px;
    line-height: 1.45;
}
.lead-modal__tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-bottom: 14px;
}
.lead-modal__tab {
    border: 1px solid var(--border);
    border-radius: 999px;
    background: var(--surface-glass);
    color: var(--text-2);
    padding: 9px 10px;
    font-size: 13px;
    font-weight: 600;
    transition: border-color 0.22s ease, color 0.22s ease, background 0.22s ease;
}
.lead-modal__tab:hover {
    border-color: color-mix(in srgb, var(--primary) 45%, var(--border));
    color: var(--text);
}
.lead-modal__tab.is-active {
    color: #fff;
    border-color: var(--primary);
    background: linear-gradient(180deg, #9b87ff, #7c5cfc);
}
.lead-form { display: none; min-width: 0; position: relative; }
.lead-form.is-active { display: grid; gap: 10px; min-width: 0; }
.lead-form__field { display: grid; gap: 6px; min-width: 0; }
.lead-form__field span {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-2);
}
.lead-form__field input,
.lead-form__field textarea {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    border-radius: 12px;
    border: 1px solid color-mix(in srgb, var(--primary) 14%, var(--border));
    background: var(--surface-inset);
    color: var(--text);
    font: inherit;
    font-size: 14px;
    padding: 11px 12px;
}
.lead-form__field textarea {
    resize: vertical;
    min-height: 5.5rem;
    max-height: min(40vh, 240px);
}
.lead-form__field input:focus,
.lead-form__field textarea:focus {
    outline: none;
    border-color: color-mix(in srgb, var(--primary) 60%, var(--border));
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--primary) 20%, transparent);
}
.lead-form .btn { margin-top: 4px; justify-self: start; }
.lead-form__status {
    margin: 0 0 10px;
    font-size: 13px;
    line-height: 1.4;
    border-radius: 12px;
    padding: 10px 12px;
}
.lead-form__status.is-success {
    color: #166534;
    background: color-mix(in srgb, #22c55e 12%, transparent);
    border: 1px solid color-mix(in srgb, #22c55e 35%, transparent);
}
.lead-form__status.is-error {
    color: #991b1b;
    background: color-mix(in srgb, #ef4444 10%, transparent);
    border: 1px solid color-mix(in srgb, #ef4444 30%, transparent);
}
.lead-modal__recaptcha {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid color-mix(in srgb, var(--text) 8%, transparent);
    font-size: 11px;
    line-height: 1.5;
    color: color-mix(in srgb, var(--text) 55%, transparent);
}
.lead-modal__recaptcha a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.lead-modal__recaptcha a:hover {
    color: var(--text);
}
.grecaptcha-badge {
    visibility: hidden !important;
}
[data-theme="dark"] .lead-form__status.is-success { color: #86efac; }
[data-theme="dark"] .lead-form__status.is-error { color: #fca5a5; }
html.lead-modal-open,
body.lead-modal-open {
    overflow: hidden;
}
.lead-modal-fab {
    position: fixed;
    right: 16px;
    left: auto;
    bottom: max(16px, env(safe-area-inset-bottom));
    z-index: 350;
    opacity: 0;
    transform: translateY(12px);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease;
    width: 56px;
    height: 56px;
    padding: 4px;
    margin: 0;
    border: 1px solid color-mix(in srgb, var(--primary) 38%, #fff);
    border-radius: 50%;
    background: color-mix(in srgb, var(--primary) 7%, transparent);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}
.lead-modal-fab__face {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 1px solid color-mix(in srgb, var(--primary) 52%, #fff);
    background-image: linear-gradient(180deg, #9b87ff 0%, #7c5cfc 100%);
    box-shadow:
        0 8px 20px rgba(124, 92, 252, 0.28),
        inset 4px 4px 8px rgba(255, 255, 255, 0.22),
        inset -3px -3px 7px rgba(255, 255, 255, 0.07);
    transition: background-image 0.28s ease, box-shadow 0.28s ease;
}
.lead-modal-fab__glyph {
    display: block;
    width: 28px;
    height: 28px;
    overflow: visible;
}
.lead-modal-fab.is-visible {
    opacity: 1;
    transform: none;
    pointer-events: auto;
}
.lead-modal-fab:hover {
    transform: translateY(-2px);
}
.lead-modal-fab:hover .lead-modal-fab__face {
    background-image: linear-gradient(180deg, #a48bff 0%, #6a4be0 100%);
    box-shadow:
        0 12px 28px rgba(124, 92, 252, 0.36),
        inset 4px 4px 8px rgba(255, 255, 255, 0.26),
        inset -3px -3px 7px rgba(255, 255, 255, 0.08);
}
.lead-modal-fab:focus-visible {
    outline: 2px solid var(--primary, #7c5cfc);
    outline-offset: 3px;
}
html.lead-modal-open .lead-modal-fab,
body.lead-modal-open .lead-modal-fab {
    opacity: 0;
    pointer-events: none;
    transform: translateY(12px);
}
.mobile-cta-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 345;
    display: none;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: color-mix(in srgb, var(--surface) 90%, transparent);
    border-top: 1px solid var(--border);
    backdrop-filter: blur(14px) saturate(1.15);
    -webkit-backdrop-filter: blur(14px) saturate(1.15);
    transition: opacity 0.2s ease, transform 0.2s ease;
}
.mobile-cta-bar__btn {
    width: 100%;
}
.mobile-cta-bar__btn .btn__content,
.mobile-cta-bar__btn .btn__wrap {
    width: 100%;
    justify-content: center;
}
html.nav-open .mobile-cta-bar,
body.nav-open .mobile-cta-bar,
html.lead-modal-open .mobile-cta-bar,
body.lead-modal-open .mobile-cta-bar {
    opacity: 0;
    pointer-events: none;
    transform: translateY(8px);
}
html.nav-open .lead-modal-fab,
body.nav-open .lead-modal-fab {
    opacity: 0 !important;
    pointer-events: none !important;
    transform: translateY(12px);
}
.lead-form .btn.btn--has-icon {
    justify-self: stretch;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}
.lead-form .btn.btn--has-icon .btn__content { width: 100%; justify-content: center; }

/* ------------------------- Reveal animations ---------------------------- */
.hero__badge,
.hero__desc,
.hero__cta,
.hero__meta,
.hero .mockup {
    opacity: 0;
    transform: translateY(24px);
}
.js-ready .hero__badge,
.js-ready .hero__desc,
.js-ready .hero__cta,
.js-ready .hero__meta,
.js-ready .hero .mockup { will-change: opacity, transform; }

/* ------------------------------ Responsive ------------------------------ */
@media (max-width: 1000px) {
    .card--wide, .card--half { grid-column: span 6; }
    .card--third { grid-column: span 3; }
    .usecases { grid-template-columns: repeat(2, 1fr); }
    .sec-grid { grid-template-columns: repeat(2, 1fr); }
    .steps { grid-template-columns: 1fr; }
    .products { grid-template-columns: 1fr; }
    .product-featured { grid-column: span 1; grid-template-columns: 1fr; }
}

@media (max-width: 1480px) {
    .int-showcase {
        --int-cell-w: 136px;
        --int-cell-h: 118px;
    }
    .int-center__title { font-size: 1.35rem; }
}

@media (max-width: 1180px) {
    .int-showcase { --int-cell-w: 1fr; --int-cell-h: 112px; }
    .int-feature-grid {
        width: min(100%, 860px);
        grid-template-columns: repeat(4, minmax(0, 1fr));
        grid-template-rows: none;
        grid-auto-rows: 118px;
    }
    .int-gitem {
        grid-column: auto / span 1 !important;
        grid-row: auto !important;
    }
    .int-center {
        grid-column: span 2 !important;
        min-height: 240px;
        order: -2;
    }
    .int-feature-grid {
        -webkit-mask-image: none;
        mask-image: none;
    }
    .int-cell.is-faded { opacity: 0.55; }
}

@media (max-width: 720px) {
    .int-feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-auto-rows: 108px;
    }
    .int-center {
        grid-column: 1 / -1 !important;
        min-height: 230px;
    }
    .int-cell { gap: 8px; padding: 12px 8px; font-size: 12.5px; }
    .int-preview { transform: scale(0.88); transform-origin: top center; }
}

@media (max-width: 1480px) {
    .nav__link { padding: 8px 6px; font-size: 12.75px; }
    .lang-dropdown__code { display: none; }
    .lang-dropdown__trigger { padding: 0 10px; gap: 0; }
    .nav__panel-actions { gap: 6px; }
    .nav__panel-actions .btn--ghost.btn--sm .btn__wrap { padding: 7px 10px; }
    .nav__panel-actions .btn--primary.btn--sm .btn__content { padding: 7px 12px 7px 14px; }
    .brand img { width: clamp(132px, 14vw, 168px); }
}

@media (max-width: 1320px) {
    .nav__link { padding: 7px 5px; font-size: 12.5px; }
}

@media (max-width: 1280px) {
    .nav__burger { display: grid; }

    .nav__offcanvas {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1;
        pointer-events: none;
        visibility: hidden;
    }
    .nav__offcanvas.is-open {
        pointer-events: auto;
        visibility: visible;
    }

    .nav__backdrop { display: none; }

    .nav__panel {
        display: flex;
        flex-direction: column;
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100dvh;
        max-height: 100dvh;
        background: color-mix(in srgb, var(--surface) 92%, transparent);
        backdrop-filter: blur(28px) saturate(1.35);
        -webkit-backdrop-filter: blur(28px) saturate(1.35);
        border: none;
        box-shadow: none;
        opacity: 0;
        transform: translateY(16px) scale(0.985);
        transition:
            opacity 0.38s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
        padding:
            calc(var(--nav-h) + 12px)
            var(--gutter)
            max(20px, env(safe-area-inset-bottom));
        overflow: hidden;
    }
    .nav__offcanvas.is-open .nav__panel {
        opacity: 1;
        transform: none;
    }

    .nav__modal-glow {
        display: block;
        position: absolute;
        top: -80px;
        right: -60px;
        width: min(72vw, 320px);
        aspect-ratio: 1;
        border-radius: 50%;
        background: radial-gradient(circle, color-mix(in srgb, var(--primary) 28%, transparent) 0%, transparent 68%);
        pointer-events: none;
    }
    .nav__modal-inner {
        position: relative;
        z-index: 1;
        display: flex;
        flex-direction: column;
        flex: 1 1 auto;
        min-height: 0;
        max-width: 480px;
        margin-inline: auto;
        width: 100%;
    }

    .nav__menu {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        flex: 1 1 auto;
        min-height: 0;
        overflow-y: auto;
        padding: 8px 0 20px;
        gap: 4px;
        justify-content: center;
    }
    .nav__menu .nav__link {
        padding: 15px 18px;
        font-size: clamp(1.05rem, 4.2vw, 1.2rem);
        font-weight: 600;
        white-space: normal;
        border-radius: 14px;
    }
    .nav__offcanvas.is-open .nav__menu .nav__link {
        animation: navModalLinkIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) both;
    }
    .nav__offcanvas.is-open .nav__menu .nav__link:nth-child(1) { animation-delay: 0.06s; }
    .nav__offcanvas.is-open .nav__menu .nav__link:nth-child(2) { animation-delay: 0.1s; }
    .nav__offcanvas.is-open .nav__menu .nav__link:nth-child(3) { animation-delay: 0.14s; }
    .nav__offcanvas.is-open .nav__menu .nav__link:nth-child(4) { animation-delay: 0.18s; }
    .nav__offcanvas.is-open .nav__menu .nav__link:nth-child(5) { animation-delay: 0.22s; }
    .nav__offcanvas.is-open .nav__menu .nav__link:nth-child(6) { animation-delay: 0.26s; }
    .nav__offcanvas.is-open .nav__menu .nav__link:nth-child(7) { animation-delay: 0.3s; }
    @keyframes navModalLinkIn {
        from { opacity: 0.6; transform: translateY(8px); }
        to { opacity: 1; transform: none; }
    }
    .nav__menu .nav__link.is-active {
        color: var(--primary);
        background: color-mix(in srgb, var(--primary) 12%, transparent);
        box-shadow: none;
    }
    [data-theme="dark"] .nav__menu .nav__link.is-active {
        color: #b8a8ff;
        background: color-mix(in srgb, var(--primary) 20%, transparent);
    }
    .nav__menu .nav__link--mobile-only { display: block; }

    .nav__panel-actions {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        padding: 18px 0 0;
        border-top: 1px solid var(--border);
        flex-shrink: 0;
    }
    .nav__offcanvas.is-open .nav__panel-actions {
        animation: navModalActionsIn 0.35s cubic-bezier(0.22, 1, 0.36, 1) 0.08s both;
    }
    @keyframes navModalActionsIn {
        from { opacity: 0.7; transform: translateY(8px); }
        to { opacity: 1; transform: none; }
    }
    .nav__panel-tools {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .nav__panel-tools .lang-dropdown { flex: 1; min-width: 0; }
    .nav__panel-tools .lang-dropdown__trigger {
        width: 100%;
        justify-content: center;
    }
    .nav__panel-tools .lang-dropdown__code { display: inline; }
    .nav__panel-actions .nav-login { display: none; }
    .nav__panel-actions .btn { width: 100%; justify-content: center; }
    .nav__panel-actions .btn--has-icon .btn__content { width: 100%; justify-content: center; }
    .nav-account {
        display: block;
        width: 100%;
        max-width: none;
        align-self: stretch;
        flex-shrink: 1;
    }
    .nav-account__trigger {
        display: flex;
        width: 100%;
        max-width: none;
        height: auto;
        min-height: 52px;
        padding: 8px 12px 8px 8px;
        border-radius: 16px;
        box-sizing: border-box;
    }
    .nav-account__meta {
        flex: 1 1 auto;
        min-width: 0;
    }
    .nav-account__frame-host {
        width: 38px;
        height: 38px;
        --nf-frame-outer-size: 38px;
    }
    .nav-account__frame-host > .nf-avatar-frame {
        --nf-frame-outer-size: 38px;
    }
    .nav-account__menu:not(.is-sheet) {
        position: absolute;
        top: calc(100% + 8px);
        right: 0;
        left: 0;
        width: auto;
        margin-top: 0;
        box-shadow: 0 16px 40px color-mix(in srgb, var(--text) 10%, transparent);
    }

    /* Legal sayfada offcanvas yok: araçlar yatay kalsın */
    .legal-page .nav__panel-actions {
        flex-direction: row;
        align-items: center;
        justify-content: flex-end;
        gap: 8px;
        padding: 0;
        border-top: none;
    }
    .legal-page .nav__panel-tools {
        display: flex;
        align-items: center;
        gap: 8px;
    }
    .legal-page .nav__panel-tools .lang-dropdown {
        flex: 0 1 auto;
        min-width: 0;
    }
    .legal-page .nav__panel-tools .lang-dropdown__trigger {
        width: auto;
        min-width: 94px;
    }
    .legal-page .nav__panel-actions .theme-toggle {
        width: 42px;
        height: 42px;
    }
}

@media (max-width: 760px) {
    .section {
        padding-block: clamp(46px, 8vw, 64px);
    }
    .section--tight {
        padding-block: clamp(34px, 6vw, 50px);
    }
    body:not(.legal-page) {
        padding-bottom: calc(78px + env(safe-area-inset-bottom));
    }
    body.legal-page {
        padding-bottom: 0;
    }
    .app-body { grid-template-columns: 1fr; }
    .app-side { display: none; }
    .note-grid { grid-template-columns: 1fr; }
    .lead-modal { padding: 14px; }
    .lead-modal__dialog { padding: 22px 16px 16px; border-radius: 18px; }
    .lead-modal__tabs { grid-template-columns: 1fr; }
    .lead-form .btn { width: 100%; }
    .lead-modal-fab {
        bottom: calc(72px + env(safe-area-inset-bottom));
        right: 12px;
        width: 52px;
        height: 52px;
    }
    .lead-modal-fab__glyph {
        width: 26px;
        height: 26px;
    }
    .mobile-cta-bar {
        display: grid;
    }
    .footer__top { grid-template-columns: 1fr 1fr; }
    .footer__brand { grid-column: span 2; }
    .footer__legal { gap: 8px 12px; }
    .footer__aurora-wrap {
        bottom: 8px;
        width: 140%;
    }
    .float-card { display: none; }
    .bento { grid-template-columns: 1fr; }
    .card--wide, .card--half, .card--third, .card--tall { grid-column: span 1; grid-row: auto; }

    .hero {
        text-align: center;
    }
    .hero__badge {
        justify-content: center;
        margin-inline: auto;
    }
    .hero__title {
        margin-inline: auto;
        max-width: none;
    }
    .hero__desc {
        margin-inline: auto;
        max-width: 38ch;
    }
    .hero__cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
        margin-top: 28px;
    }
    .hero__cta .btn {
        display: flex;
        width: 100%;
        flex: none;
    }
    .hero__cta .btn--primary .btn__content,
    .hero__cta .btn--ghost .btn__wrap {
        width: 100%;
        justify-content: center;
    }
    .hero__meta {
        justify-content: center;
        max-width: 420px;
        margin-inline: auto;
    }
    .hero__meta li {
        justify-content: center;
    }

    .product-featured .pf-body {
        text-align: center;
    }
    .product-featured {
        padding: 18px;
        gap: 16px;
    }
    .product-featured .pf-body,
    .product-featured .pf-visual {
        width: 100%;
        min-width: 0;
    }
    .product-featured .pf-body p {
        margin-inline: auto;
    }
    .product-featured .card__badges {
        justify-content: center;
    }
    .pf-cta {
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
        width: 100%;
        max-width: 420px;
        margin-inline: auto;
        margin-top: 20px;
    }
    .pf-cta .btn {
        display: flex;
        width: 100%;
        flex: none;
    }
    .pf-cta .btn--primary .btn__content,
    .pf-cta .btn--ghost .btn__wrap {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .h-display { font-size: clamp(2rem, 9vw, 2.75rem); line-height: 1.16; }
    .hero__meta { gap: 12px 16px; }
    .hero__desc { max-width: none; }
    .hero__cta { max-width: none; }
    .hero__meta { max-width: none; }
    .pf-cta { max-width: none; }
    .brand img { width: 132px; }
    .nav__inner { gap: 8px; }
}

@media (max-width: 480px) {
    .usecases, .sec-grid { grid-template-columns: 1fr; }
}

/* ------------------------- Reduced motion ------------------------------- */
@media (prefers-reduced-motion: reduce) {
    * { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
    .hero__badge,
    .hero__desc,
    .hero__cta,
    .hero__meta,
    .hero .mockup { opacity: 1 !important; transform: none !important; }
    .hero .mockup .app-window { transform: none !important; }
    .hero .mockup .app-window { transform: none !important; }
    .marquee__track { animation: none; transform: none; }
    .marquee--reverse .marquee__track { transform: none; }
    .nav__offcanvas.is-open .nav__menu .nav__link,
    .nav__menu .nav__link { opacity: 1 !important; transform: none !important; animation: none !important; }
    .nav__offcanvas.is-open .nav__panel-actions,
    .nav__panel-actions { opacity: 1 !important; transform: none !important; transition: none !important; }
    .nav__burger-bar { transition: none !important; }
}
