/* =================================================================
   Map Decoder Landing — multi-page marketing site.
   Palette mirrors logo + PatchClient TunerTheme.
   Signature visual: diagonal "racing stripes" (header/section bands)
   directly inspired by MainForm.Designer.cs (lines 230–246).
   ================================================================= */

:root {
    --bg-root: #0a0a0d;
    --bg-elev-1: #111116;
    --bg-elev-2: #16161d;
    --bg-elev-3: #1d1d26;
    --border: rgba(255, 255, 255, 0.06);
    --border-strong: rgba(255, 255, 255, 0.12);

    --accent-from: #ff8c1a;
    --accent-to: #ff5e00;
    --accent-glow: rgba(255, 106, 0, 0.35);
    --accent-faint: rgba(255, 106, 0, 0.12);

    --text-primary: #ffffff;
    --text-secondary: #d0d0d0;
    --text-dim: #888892;

    --container: 1200px;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 22px;

    --header-h: 84px;
}

* { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    background: var(--bg-root);
    color: var(--text-primary);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    scroll-behavior: smooth;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ---------- Background atmosphere — ambient orbs + scanlines ---------- */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(900px 600px at 80% -10%, rgba(255, 94, 0, 0.20), transparent 60%),
        radial-gradient(700px 500px at -10% 30%, rgba(255, 140, 26, 0.12), transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: bg-shift 18s ease-in-out infinite alternate;
}

/* Floating ambient orbs — drift slowly across viewport */
body::after {
    content: "";
    position: fixed;
    inset: -10vh -10vw;
    background:
        radial-gradient(380px 380px at var(--orb-x, 20%) var(--orb-y, 60%), rgba(255, 140, 26, 0.18), transparent 65%),
        radial-gradient(280px 280px at var(--orb-x2, 78%) var(--orb-y2, 35%), rgba(255, 94, 0, 0.14), transparent 65%);
    pointer-events: none;
    z-index: 0;
    animation: orb-float 22s ease-in-out infinite alternate;
    filter: blur(8px);
}

@keyframes bg-shift {
    0%   { transform: translate3d(0, 0, 0); opacity: 1; }
    50%  { transform: translate3d(-2%, 1%, 0); opacity: 0.9; }
    100% { transform: translate3d(1%, -1%, 0); opacity: 1; }
}

@keyframes orb-float {
    0%   { --orb-x: 18%; --orb-y: 65%; --orb-x2: 78%; --orb-y2: 30%; transform: translate3d(0, 0, 0); }
    33%  { --orb-x: 35%; --orb-y: 42%; --orb-x2: 60%; --orb-y2: 55%; transform: translate3d(2%, -1%, 0); }
    66%  { --orb-x: 55%; --orb-y: 70%; --orb-x2: 40%; --orb-y2: 25%; transform: translate3d(-1%, 2%, 0); }
    100% { --orb-x: 25%; --orb-y: 35%; --orb-x2: 75%; --orb-y2: 60%; transform: translate3d(1%, 1%, 0); }
}

/* Mouse spotlight — JS sets --mx / --my from cursor position. */
.spotlight {
    position: fixed;
    pointer-events: none;
    z-index: 1;
    inset: 0;
    background: radial-gradient(360px 360px at var(--mx, 50%) var(--my, 50%),
        rgba(255, 140, 26, 0.16),
        transparent 60%);
    mix-blend-mode: screen;
    transition: background-position 0.15s ease;
}

/* Subtle horizontal scanline — gives the ECU/scope feel */
.scanlines {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background-image: repeating-linear-gradient(
        0deg,
        rgba(255, 255, 255, 0.018) 0,
        rgba(255, 255, 255, 0.018) 1px,
        transparent 1px,
        transparent 3px
    );
    opacity: 0.6;
}

main, header, footer { position: relative; z-index: 3; }

/* =================================================================
   RACING STRIPES — signature diagonal line pattern.
   Mirrors MainForm header: diagonals starting from bottom-right,
   45° increasing, accent color at very low opacity.
   ================================================================= */
.racing-stripes {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.racing-stripes::after {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    z-index: 0;
    background-image:
        repeating-linear-gradient(
            -65deg,
            transparent 0,
            transparent 32px,
            rgba(255, 106, 0, 0.24) 32px,
            rgba(255, 106, 0, 0.24) 33px,
            transparent 33px,
            transparent 64px
        );
    background-size: 280px 280px;
    /* Stripes pile up toward right side — soften toward left via mask. */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.9) 100%);
            mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.3) 40%, rgba(0, 0, 0, 0.9) 100%);
    animation: stripe-drift 12s linear infinite;
}

@keyframes stripe-drift {
    from { background-position: 0 0; }
    to   { background-position: -280px 0; }
}

/* Light sweep across racing-stripes banner — slow shine pass */
.racing-stripes::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: linear-gradient(115deg,
        transparent 35%,
        rgba(255, 140, 26, 0.10) 50%,
        transparent 65%);
    background-size: 220% 100%;
    background-position: 100% 0;
    animation: sweep 9s ease-in-out infinite;
}

@keyframes sweep {
    0%   { background-position: 120% 0; }
    50%  { background-position: -20% 0; }
    100% { background-position: -20% 0; }
}

.racing-stripes > * { position: relative; z-index: 1; }

/* Left-edge orange "signature" strip — MainForm header has 4px accent.
   With slow pulsing glow to draw the eye. */
.accent-edge { position: relative; }
.accent-edge::before {
    content: "";
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-from), var(--accent-to));
    box-shadow: 0 0 16px rgba(255, 106, 0, 0.5);
    z-index: 2;
    animation: edge-pulse 3s ease-in-out infinite;
}

@keyframes edge-pulse {
    0%, 100% { box-shadow: 0 0 12px rgba(255, 106, 0, 0.35); opacity: 0.85; }
    50%      { box-shadow: 0 0 24px rgba(255, 106, 0, 0.75); opacity: 1; }
}

/* ---------- Header ---------- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    background: rgba(10, 10, 13, 0.72);
    border-bottom: 1px solid var(--border);
}

/* Header — full bleed: logo flush-left, nav/lang flush-right.
   .container's max-width constraint is overridden so the header spans the
   entire viewport (swiftec.pt-style layout). */
.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-h);
    max-width: none;
    padding: 0 28px;
}

.brand img { height: 54px; width: auto; }

.nav-links {
    display: flex;
    gap: 28px;
    align-items: center;
    /* margin-right: auto -> nav-links logo'nun hemen yanında sola yasılı
       kalır; header-right (lang + menu) sağa itilir. swiftec.pt layout. */
    margin-right: auto;
    margin-left: 40px;
}

.nav-links a {
    color: var(--text-secondary);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    transition: color 0.2s;
    position: relative;
    padding: 6px 0;
}

.nav-links a::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--text-primary);
}
.nav-links a:hover::after,
.nav-links a.active::after {
    transform: scaleX(1);
}

.header-right { display: flex; align-items: center; gap: 14px; }

/* Custom language switcher — built by JS into <div class="lang-switch">.
   Pill button shows current flag + label; click reveals dropdown with all
   languages. Flag images are pulled from flagcdn.com (32x24 PNG). */
.lang-switch {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--bg-elev-2);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    transition: border-color 0.2s, background 0.2s;
    user-select: none;
    min-height: 36px;
}
.lang-switch:hover { border-color: var(--accent-from); }

.lang-switch .flag {
    width: 22px;
    height: 16px;
    object-fit: cover;
    border-radius: 2px;
    box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
    display: block;
    flex-shrink: 0;
}

.lang-switch .caret {
    margin-left: 2px;
    opacity: 0.7;
    transition: transform 0.2s;
    flex-shrink: 0;
}
.lang-switch.open .caret { transform: rotate(180deg); }

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    min-width: 160px;
    background: var(--bg-elev-1);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    box-shadow: 0 12px 32px -10px rgba(0, 0, 0, 0.55);
    padding: 6px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity 0.18s ease, transform 0.18s ease,
                visibility 0s linear 0.18s;
    z-index: 110;
}
.lang-switch.open .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease,
                visibility 0s linear 0s;
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    cursor: pointer;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    transition: background 0.15s, color 0.15s;
}
.lang-option:hover {
    background: var(--bg-elev-2);
    color: var(--text-primary);
}
.lang-option.active {
    background: rgba(255, 140, 26, 0.08);
    color: var(--accent-from);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
}

/* nav-close lives at body level (injected by JS). Hidden on desktop; the
   mobile media query handles its mobile styling. */
.nav-close { display: none; }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.3px;
    cursor: pointer;
    border: none;
    transition: transform 0.15s, box-shadow 0.2s, filter 0.2s;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    color: #fff;
    box-shadow: 0 8px 24px -8px var(--accent-glow);
    position: relative;
    overflow: hidden;
}
.btn-primary::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.25) 50%, transparent 70%);
    transform: translateX(-100%);
    transition: transform 0.6s;
}
.btn-primary:hover { transform: translateY(-2px); filter: brightness(1.08); }
.btn-primary:hover::after { transform: translateX(100%); }

.btn-ghost {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-strong);
}
.btn-ghost:hover { border-color: var(--accent-from); background: var(--accent-faint); }

/* ---------- Hero (home + page banner variants) ---------- */
.hero {
    padding: 120px 0 100px;
    text-align: center;
    position: relative;
}

.hero .tag {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid var(--border-strong);
    background: rgba(20, 20, 26, 0.5);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
}

.hero h1 {
    font-size: clamp(2.4rem, 5.5vw, 4.6rem);
    line-height: 1.05;
    margin: 0 0 24px;
    font-weight: 800;
    letter-spacing: -1px;
}

.hero h1 .grad {
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to), var(--accent-from));
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-glow 4s ease-in-out infinite, grad-shift 8s linear infinite;
    filter: drop-shadow(0 0 24px rgba(255, 106, 0, 0.35));
}

@keyframes text-glow {
    0%, 100% { filter: drop-shadow(0 0 18px rgba(255, 106, 0, 0.30)); }
    50%      { filter: drop-shadow(0 0 36px rgba(255, 106, 0, 0.55)); }
}

@keyframes grad-shift {
    from { background-position: 0% 0; }
    to   { background-position: 200% 0; }
}

.hero p.lead {
    font-size: clamp(1rem, 1.6vw, 1.2rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin: 0 auto 40px;
}

.hero-cta { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* Page banner — slimmer hero for inner pages */
.page-banner {
    padding: 80px 0 60px;
    text-align: center;
    border-bottom: 1px solid var(--border);
}
.page-banner h1 {
    font-size: clamp(2rem, 4vw, 3.4rem);
    margin: 0 0 14px;
    font-weight: 800;
    letter-spacing: -0.5px;
}
.page-banner p {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 640px;
    margin: 0 auto;
}

/* ---------- Sections ---------- */
section { padding: 88px 0; }
section.compact { padding: 56px 0; }

.section-head { text-align: center; margin-bottom: 56px; }

.section-head .eyebrow {
    color: var(--accent-from);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 12px;
    display: block;
}

.section-head h2 {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin: 0 0 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-head p {
    color: var(--text-secondary);
    max-width: 680px;
    margin: 0 auto;
    font-size: 1.05rem;
}

/* =================================================================
   ANIMATIONS — reveal-on-scroll + entrance.
   ================================================================= */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s cubic-bezier(.2,.65,.3,1), transform 0.7s cubic-bezier(.2,.65,.3,1);
    will-change: opacity, transform;
}
.reveal.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal.delay-1 { transition-delay: 0.08s; }
.reveal.delay-2 { transition-delay: 0.16s; }
.reveal.delay-3 { transition-delay: 0.24s; }
.reveal.delay-4 { transition-delay: 0.32s; }
.reveal.delay-5 { transition-delay: 0.4s; }
.reveal.delay-6 { transition-delay: 0.48s; }

@keyframes hero-fade {
    from { opacity: 0; transform: translateY(16px); }
    to   { opacity: 1; transform: translateY(0); }
}
.hero .tag        { animation: hero-fade 0.6s 0.05s both; }
.hero h1          { animation: hero-fade 0.7s 0.15s both; }
.hero p.lead      { animation: hero-fade 0.7s 0.30s both; }
.hero-cta         { animation: hero-fade 0.7s 0.45s both; }

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 8px 24px -8px var(--accent-glow); }
    50%      { box-shadow: 0 12px 36px -8px var(--accent-glow); }
}
.btn-primary { animation: pulse-glow 3.5s ease-in-out infinite; }

/* Subtle floating for icon tiles */
@keyframes float-y {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-6px); }
}

/* ---------- Services / generic feature grid ---------- */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.service-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 32px 28px;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: "";
    position: absolute;
    left: 0; top: 0;
    width: 100%; height: 2px;
    background: linear-gradient(90deg, var(--accent-from), var(--accent-to));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 140, 26, 0.4);
    background: var(--bg-elev-2);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(255, 140, 26, 0.15), rgba(255, 94, 0, 0.05));
    border: 1px solid rgba(255, 140, 26, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--accent-from);
}
.service-icon svg { width: 26px; height: 26px; }
.service-icon i { font-size: 22px; }

.service-card h3 {
    font-size: 1.2rem;
    margin: 0 0 10px;
    font-weight: 700;
}
.service-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* =================================================================
   AUTOMATED MODULES — grid of FontAwesome icon tiles.
   Mirrors PatchClient ModSlotCatalog right-panel modification slots.
   ================================================================= */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 18px;
}

.module-tile {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 28px 18px 22px;
    text-align: center;
    transition: transform 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
    cursor: default;
    position: relative;
    overflow: hidden;
}

.module-tile::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    padding: 1px;
    background: linear-gradient(135deg, transparent, var(--accent-from), transparent);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
}

.module-tile:hover {
    transform: translateY(-5px);
    background: var(--bg-elev-2);
    box-shadow: 0 18px 40px -20px var(--accent-glow);
}
.module-tile:hover::after { opacity: 1; }

.module-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 16px;
    background: radial-gradient(circle at 35% 30%, rgba(255, 140, 26, 0.22), rgba(255, 94, 0, 0.08) 70%);
    border: 1px solid rgba(255, 140, 26, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-from);
    font-size: 26px;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 0 0 0 rgba(255, 106, 0, 0);
    animation: icon-breathe 4s ease-in-out infinite;
}

@keyframes icon-breathe {
    0%, 100% { box-shadow: 0 0 10px -2px rgba(255, 106, 0, 0.25); }
    50%      { box-shadow: 0 0 22px 2px rgba(255, 106, 0, 0.45); }
}

.module-tile:hover .module-icon {
    transform: scale(1.1);
    animation: float-y 2.2s ease-in-out infinite;
}

.module-tile h4 {
    margin: 0 0 6px;
    font-weight: 700;
    font-size: 1.02rem;
    letter-spacing: 0.5px;
}

.module-tile p {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.82rem;
    line-height: 1.4;
}

/* ---------- Brand Grid ---------- */
.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 16px;
}

.brand-tile {
    aspect-ratio: 1;
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px;
    transition: transform 0.2s, border-color 0.2s, background 0.2s, filter 0.2s;
    filter: grayscale(0.4) brightness(0.95);
    position: relative;
    overflow: hidden;
}

/* Shimmer sweep on hover */
.brand-tile::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 35%, rgba(255, 255, 255, 0.08) 50%, transparent 65%);
    transform: translateX(-100%);
    transition: transform 0.7s ease;
    pointer-events: none;
}
.brand-tile:hover::after { transform: translateX(100%); }

.brand-tile:hover {
    transform: translateY(-3px);
    border-color: rgba(255, 140, 26, 0.4);
    background: var(--bg-elev-2);
    filter: grayscale(0) brightness(1.1);
}

.brand-tile img {
    max-width: 70%;
    max-height: 60%;
    object-fit: contain;
}

.brands-more {
    text-align: center;
    margin-top: 32px;
    color: var(--text-dim);
    font-size: 0.95rem;
}

/* ---------- Pricing ---------- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 22px;
    max-width: 1100px;
    margin: 0 auto;
}

.price-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s, border-color 0.25s, background 0.25s;
    position: relative;
}

.price-card.featured {
    border-color: rgba(255, 140, 26, 0.6);
    background: linear-gradient(180deg, var(--bg-elev-2), var(--bg-elev-1));
    transform: scale(1.03);
    box-shadow: 0 22px 50px -20px var(--accent-glow);
}

.price-card.featured .badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    color: #fff;
    border-radius: 999px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.price-card:hover {
    transform: translateY(-4px);
    border-color: rgba(255, 140, 26, 0.5);
}
.price-card.featured:hover { transform: scale(1.03) translateY(-4px); }

.price-card h3 {
    margin: 0 0 6px;
    font-size: 1.2rem;
    font-weight: 700;
}
.price-card .tagline {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin: 0 0 22px;
}
.price-card .price {
    font-size: 2.4rem;
    font-weight: 800;
    margin: 8px 0 4px;
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.price-card .price small {
    font-size: 0.85rem;
    color: var(--text-dim);
    font-weight: 500;
    -webkit-text-fill-color: var(--text-dim);
}
.price-card .price-renewal {
    font-size: 0.78rem;
    color: var(--text-dim);
    margin-top: 4px;
    padding: 6px 10px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 6px;
    border-left: 2px solid rgba(255, 140, 26, 0.5);
    line-height: 1.4;
}
.price-card ul {
    list-style: none;
    padding: 0;
    margin: 22px 0 28px;
    flex: 1;
}
.price-card li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    padding: 8px 0;
    padding-left: 26px;
    position: relative;
    border-bottom: 1px solid var(--border);
}
.price-card li:last-child { border-bottom: none; }
.price-card li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 8px;
    color: var(--accent-from);
    font-weight: 700;
}
.price-card li.muted { color: var(--text-dim); }
.price-card li.muted::before { content: "–"; color: var(--text-dim); }

/* ---------- About + Contact ---------- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: start;
}

.about-text h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin: 0 0 20px;
    font-weight: 800;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin: 0 0 16px;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 28px;
}

.stat {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 20px 16px;
    text-align: center;
}

.stat .num {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat .lbl {
    color: var(--text-dim);
    font-size: 0.8rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-top: 4px;
}

.contact-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 36px;
}

.contact-card h3 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 700;
}

.contact-card p.muted {
    color: var(--text-dim);
    font-size: 0.92rem;
    margin: 0 0 24px;
}

.form-row { margin-bottom: 16px; }
.form-row label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
    font-weight: 500;
}
.form-row input,
.form-row textarea {
    width: 100%;
    background: var(--bg-elev-2);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    padding: 12px 14px;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.15s, background 0.15s;
}
.form-row input:focus,
.form-row textarea:focus {
    outline: none;
    border-color: var(--accent-from);
    background: var(--bg-elev-3);
}
.form-row textarea { resize: vertical; min-height: 110px; }

.contact-info {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    display: grid;
    gap: 14px;
}
.contact-info .line {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}
.contact-info .line i,
.contact-info .line svg {
    width: 18px;
    height: 18px;
    color: var(--accent-from);
    flex-shrink: 0;
}

.form-status {
    margin-top: 12px;
    font-size: 0.9rem;
    min-height: 20px;
}
.form-status.success { color: #4caf50; }
.form-status.error { color: #e53935; }

/* Honeypot off-screen */
.hp-field {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* =================================================================
   TUTORIALS — YouTube video card grid + lightbox modal.
   Card click → opens lightbox; data-video-id attribute provides ID.
   ================================================================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 22px;
}

.video-card {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, border-color 0.25s, background 0.25s, box-shadow 0.25s;
    display: flex;
    flex-direction: column;
}
.video-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 140, 26, 0.4);
    background: var(--bg-elev-2);
    box-shadow: 0 16px 32px -16px var(--accent-glow);
}
.video-card.empty { cursor: default; }
.video-card.empty:hover { transform: none; box-shadow: none; }

.video-thumb {
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--bg-elev-2), var(--bg-elev-3));
    overflow: hidden;
}
.video-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.video-card:hover .video-thumb img { transform: scale(1.04); }

.video-thumb .play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5));
    transition: background 0.25s;
}
.video-thumb .play i {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent-from), var(--accent-to));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    padding-left: 4px;
    box-shadow: 0 8px 24px -4px var(--accent-glow);
    transition: transform 0.25s;
}
.video-card:hover .video-thumb .play i { transform: scale(1.1); }

.video-thumb .placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    color: var(--text-dim);
    font-size: 0.9rem;
    background: repeating-linear-gradient(
        -45deg,
        rgba(255, 140, 26, 0.04) 0,
        rgba(255, 140, 26, 0.04) 12px,
        transparent 12px,
        transparent 24px
    );
}
.video-thumb .placeholder i { font-size: 32px; color: rgba(255, 140, 26, 0.5); }

.video-body { padding: 18px 20px 22px; }
.video-body .step {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--accent-from);
    letter-spacing: 1.5px;
    margin-bottom: 6px;
}
.video-body h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    font-weight: 700;
}
.video-body p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* =================================================================
   LIGHTBOX MODAL — used by tutorials (iframe) and interface (image).
   ================================================================= */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(5, 5, 8, 0.88);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.lightbox.open { display: flex; animation: lb-fade 0.2s ease; }
@keyframes lb-fade { from { opacity: 0; } to { opacity: 1; } }

.lightbox-inner {
    position: relative;
    max-width: min(1100px, 96vw);
    max-height: 92vh;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.lightbox-frame {
    position: relative;
    background: #000;
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: 0 30px 80px -20px rgba(0,0,0,0.6), 0 0 0 1px var(--border-strong);
}
.lightbox-frame.video { aspect-ratio: 16 / 9; }
.lightbox-frame iframe,
.lightbox-frame img {
    width: 100%;
    height: 100%;
    display: block;
    border: 0;
}
.lightbox-frame.image {
    background: var(--bg-elev-1);
    max-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.lightbox-frame.image img {
    object-fit: contain;
    max-height: 80vh;
    height: auto;
    width: auto;
    max-width: 100%;
}

.lightbox-caption {
    margin-top: 14px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
    position: absolute;
    background: rgba(20,20,26,0.85);
    border: 1px solid var(--border-strong);
    color: var(--text-primary);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, transform 0.2s;
    z-index: 1;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
    background: var(--bg-elev-3);
    border-color: var(--accent-from);
    transform: scale(1.05);
}

.lightbox-close { top: -14px; right: -14px; }
.lightbox-prev  { left: -22px; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: -22px; top: 50%; transform: translateY(-50%); }
.lightbox-prev:hover { transform: translateY(-50%) scale(1.05); }
.lightbox-next:hover { transform: translateY(-50%) scale(1.05); }

@media (max-width: 720px) {
    .lightbox-close { top: 8px; right: 8px; }
    .lightbox-prev { left: 4px; }
    .lightbox-next { right: 4px; }
}

/* =================================================================
   INTERFACE — premium screenshot showcase.
   Glassmorphism cards + scan line animation + tech grid background +
   animated focus outlines. Screenshots remain sharp and uncluttered.
   ================================================================= */

/* Stronger hero/banner for interface page */
.interface-hero {
    padding: 120px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.interface-hero .eyebrow {
    display: inline-block;
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 5px;
    color: var(--accent-from);
    margin-bottom: 20px;
    padding: 7px 18px;
    border: 1px solid rgba(255, 140, 26, 0.4);
    border-radius: 999px;
    background: rgba(255, 140, 26, 0.06);
    backdrop-filter: blur(6px);
    text-shadow: 0 0 14px rgba(255, 140, 26, 0.5);
}
.interface-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.6rem, 5.2vw, 4.2rem);
    font-weight: 700;
    letter-spacing: -1.2px;
    margin: 0 0 16px;
    line-height: 0.98;
    color: #ffffff;
    background: linear-gradient(180deg, #ffffff 0%, #c8c8d0 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 50px rgba(255, 140, 26, 0.18);
}
.interface-hero p {
    color: #c8c8d2;
    max-width: 460px;
    margin: 0 auto;
    font-size: 0.92rem;
    line-height: 1.65;
    letter-spacing: 0.2px;
}

/* Subtle tech grid overlay — dots/lines at very low opacity */
.tech-grid {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255, 140, 26, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 140, 26, 0.04) 1px, transparent 1px);
    background-size: 48px 48px;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.7) 0%, transparent 75%);
    z-index: 0;
}

.interface-hero > * { position: relative; z-index: 1; }

/* Section heading for the gallery */
.section-eyebrow {
    display: block;
    text-align: center;
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 5px;
    color: var(--accent-from);
    margin-bottom: 12px;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(255, 140, 26, 0.4);
}
.section-strong-title {
    text-align: center;
    font-family: var(--font-display);
    font-size: clamp(1.8rem, 3.2vw, 2.6rem);
    font-weight: 700;
    margin: 0 0 14px;
    letter-spacing: -0.8px;
    line-height: 1.05;
    color: #ffffff;
    /* Hafif gradient + drop-shadow ile premium hava */
    background: linear-gradient(180deg, #ffffff 0%, #d4d4dc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 38px rgba(255, 140, 26, 0.15);
}
.section-strong-desc {
    text-align: center;
    color: #b5b5be;
    max-width: 440px;
    margin: 0 auto 56px;
    font-size: 0.88rem;
    line-height: 1.6;
    letter-spacing: 0.2px;
}

/* =================================================================
   ANNOTATED SHOWCASE — ana screenshot + cevresinde baglantili kartlar.
   Her focus karti ekranin ilgili bolumunu isaret eden ince turuncu
   gradient cizgi ("connector") ile screenshot'a bagli.
   ================================================================= */
.annotated-showcase {
    padding: 32px 0 80px;
    position: relative;
    overflow: hidden;
}

/* Section container'i daha genis yaptik ki screenshot daha buyuk gozuksun. */
.annotated-showcase > .container {
    max-width: 1400px;
}

/* ANIMATED ORANGE AMBIENT LIGHTING — yavasca surukleen 3 radial gradient. */
.annotated-showcase::before {
    content: "";
    position: absolute;
    inset: -10% -10%;
    background:
        radial-gradient(60% 50% at var(--amb1-x, 20%) var(--amb1-y, 30%), rgba(255, 140, 26, 0.14), transparent 60%),
        radial-gradient(50% 40% at var(--amb2-x, 80%) var(--amb2-y, 70%), rgba(255, 94, 0, 0.11), transparent 60%),
        radial-gradient(45% 35% at var(--amb3-x, 50%) var(--amb3-y, 50%), rgba(255, 170, 60, 0.06), transparent 65%);
    pointer-events: none;
    z-index: 0;
    filter: blur(40px);
    animation: ambient-drift 18s ease-in-out infinite alternate;
}

@keyframes ambient-drift {
    0%   { --amb1-x: 18%; --amb1-y: 28%; --amb2-x: 78%; --amb2-y: 72%; --amb3-x: 50%; --amb3-y: 50%; }
    33%  { --amb1-x: 30%; --amb1-y: 45%; --amb2-x: 65%; --amb2-y: 55%; --amb3-x: 40%; --amb3-y: 65%; }
    66%  { --amb1-x: 12%; --amb1-y: 60%; --amb2-x: 85%; --amb2-y: 35%; --amb3-x: 60%; --amb3-y: 40%; }
    100% { --amb1-x: 25%; --amb1-y: 25%; --amb2-x: 75%; --amb2-y: 80%; --amb3-x: 45%; --amb3-y: 55%; }
}

@property --amb1-x { syntax: '<percentage>'; initial-value: 20%; inherits: false; }
@property --amb1-y { syntax: '<percentage>'; initial-value: 30%; inherits: false; }
@property --amb2-x { syntax: '<percentage>'; initial-value: 80%; inherits: false; }
@property --amb2-y { syntax: '<percentage>'; initial-value: 70%; inherits: false; }
@property --amb3-x { syntax: '<percentage>'; initial-value: 50%; inherits: false; }
@property --amb3-y { syntax: '<percentage>'; initial-value: 50%; inherits: false; }

/* HEXAGON + TECH GRID PATTERN — coklu katman, dusuk opaklik.
   1) Hex devre desen (SVG)
   2) Yatay + dikey tech grid (linear gradients) — 120px grid */
.annotated-showcase::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background-image:
        url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='60' height='70' viewBox='0 0 60 70'><polygon points='30,1 59,17.5 59,52.5 30,69 1,52.5 1,17.5' fill='none' stroke='%23ff8c1a' stroke-width='0.6' stroke-opacity='0.22'/><circle cx='30' cy='1' r='1' fill='%23ff8c1a' fill-opacity='0.35'/><circle cx='30' cy='69' r='1' fill='%23ff8c1a' fill-opacity='0.35'/></svg>"),
        linear-gradient(rgba(255, 140, 26, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 140, 26, 0.04) 1px, transparent 1px);
    background-size: 60px 70px, 120px 120px, 120px 120px;
    background-position: 0 0, 0 0, 0 0;
    /* Merkez parlak, kenarlar solar — desenler kompozisyonu bogmaz */
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0,0,0,0.85) 0%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, rgba(0,0,0,0.85) 0%, transparent 80%);
    opacity: 0.55;
    animation: pattern-drift 60s linear infinite;
}

@keyframes pattern-drift {
    from { background-position: 0 0, 0 0, 0 0; }
    to   { background-position: 60px 70px, 120px 120px, 120px 120px; }
}

.annotated-showcase > .container { position: relative; z-index: 1; }

.annotated-grid {
    display: grid;
    /* Ekran goruntusu visual hero — yan kolonlar dar, merkez kolon buyuk.
       Eski 1 : 2.2 : 1 -> 0.85 : 3.4 : 0.85 (merkez ~%30 daha buyuk). */
    grid-template-columns: 0.85fr 3.4fr 0.85fr;
    gap: 20px;
    align-items: center;
    position: relative;
}

.focus-col {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.focus-card {
    position: relative;
    background: linear-gradient(180deg,
        rgba(22, 22, 29, 0.72) 0%,
        rgba(15, 15, 20, 0.58) 100%);
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 14px;
    padding: 20px 20px 18px 64px;  /* sol pad: ikon icin */
    backdrop-filter: blur(14px) saturate(140%);
    -webkit-backdrop-filter: blur(14px) saturate(140%);
    transition:
        transform 0.3s cubic-bezier(.2,.7,.3,1),
        border-color 0.3s,
        box-shadow 0.3s;
    min-height: 110px;
    overflow: hidden;
    isolation: isolate;
}

/* Animated orange glow border — pseudo-element ile rotating conic gradient.
   Hover'da opacity 1, dinlenirken gizli. */
.focus-card::after {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: 14px;
    padding: 1px;
    background: conic-gradient(from var(--focus-ring, 0deg),
        transparent 0deg,
        rgba(255, 140, 26, 0.7) 70deg,
        rgba(255, 94, 0, 0.4) 140deg,
        transparent 200deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    z-index: 0;
    animation: focus-ring-rotate 4s linear infinite;
}
@property --focus-ring {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes focus-ring-rotate { to { --focus-ring: 360deg; } }

/* Idle floating animation — kartlar hafifce yukarı asagi dalgalanir.
   Staggered delay ile farkli fazlarda hareket ederek "alive" hissi verir.
   Hover etti mi animation pause + translateY ile yukseltilir. */
.focus-card {
    animation: card-float 6s ease-in-out infinite;
}
.focus-col-left  .focus-card:nth-child(1) { animation-delay: 0s; }
.focus-col-left  .focus-card:nth-child(2) { animation-delay: 1.5s; }
.focus-col-right .focus-card:nth-child(1) { animation-delay: 3s; }
.focus-col-right .focus-card:nth-child(2) { animation-delay: 4.5s; }

@keyframes card-float {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-5px); }
}

.focus-card:hover,
.focus-card.is-active {
    animation-play-state: paused;
    transform: translateY(-7px);   /* float'tan biraz daha yukseltilir */
    border-color: rgba(255, 140, 26, 0.55);
    box-shadow:
        0 18px 36px -18px rgba(0, 0, 0, 0.6),
        0 0 36px -10px rgba(255, 106, 0, 0.55);
}
.focus-card:hover::after,
.focus-card.is-active::after { opacity: 1; }

/* =================================================================
   FUTURISTIC ICON — kart sol ust kosesinde, glassmorphism + glow.
   ================================================================= */
.focus-icon {
    position: absolute;
    top: 18px;
    left: 18px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background:
        linear-gradient(135deg,
            rgba(255, 140, 26, 0.20) 0%,
            rgba(255, 94, 0, 0.06) 100%);
    border: 1px solid rgba(255, 140, 26, 0.35);
    color: var(--accent-from);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        0 0 12px -4px rgba(255, 106, 0, 0.4);
    transition:
        transform 0.35s cubic-bezier(.2,.7,.3,1),
        background 0.3s,
        border-color 0.3s,
        box-shadow 0.3s;
    z-index: 1;
}

/* Subtle HUD corner ticks on icon */
.focus-icon::before,
.focus-icon::after {
    content: "";
    position: absolute;
    width: 6px;
    height: 6px;
    border-color: var(--accent-from);
    border-style: solid;
    opacity: 0.55;
}
.focus-icon::before {
    top: -1px; left: -1px;
    border-width: 1px 0 0 1px;
}
.focus-icon::after {
    bottom: -1px; right: -1px;
    border-width: 0 1px 1px 0;
}

.focus-card:hover .focus-icon,
.focus-card.is-active .focus-icon {
    transform: scale(1.08) rotate(-3deg);
    background:
        linear-gradient(135deg,
            rgba(255, 140, 26, 0.35) 0%,
            rgba(255, 94, 0, 0.12) 100%);
    border-color: rgba(255, 140, 26, 0.7);
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.12),
        0 0 18px -2px rgba(255, 106, 0, 0.7);
}

.focus-eyebrow {
    display: block;
    font-family: var(--font-display);
    font-size: 9px;
    letter-spacing: 4px;
    color: var(--accent-from);
    margin-bottom: 6px;
    text-shadow: 0 0 12px rgba(255, 140, 26, 0.45);
}
.focus-card h3 {
    margin: 0 0 8px;
    font-family: var(--font-display);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.6px;
    line-height: 1.15;
    text-transform: uppercase;
    color: #ffffff;
}
.focus-card p {
    margin: 0;
    color: #b5b5be;          /* dim'den 1 ton parlak — kontrast +%18 */
    font-size: 0.78rem;
    line-height: 1.5;
    letter-spacing: 0.15px;  /* premium hava */
    max-width: 230px;
}

/* Connector — kart kenarindan screenshot'a uzanan ince turuncu cizgi.
   Sol kartlardaki sag kenardan, sag kartlardaki sol kenardan cikar.
   Animasyon: cizgi yavasca cizilir ve hafif parlar. */
.focus-connector {
    position: absolute;
    top: 50%;
    height: 1px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 140, 26, 0.55) 30%,
        rgba(255, 140, 26, 0.9) 100%);
    pointer-events: none;
    transform: translateY(-50%);
}
.focus-card[data-side="left"] .focus-connector {
    left: 100%;
    width: 28px;
}
.focus-card[data-side="right"] .focus-connector {
    right: 100%;
    width: 28px;
    background: linear-gradient(90deg,
        rgba(255, 140, 26, 0.9) 0%,
        rgba(255, 140, 26, 0.55) 70%,
        transparent 100%);
}

/* Connector dot at endpoint — bir nokta ile screenshot kenarina baglanir */
.focus-connector::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent-from);
    box-shadow: 0 0 12px var(--accent-from), 0 0 4px #fff;
    transform: translateY(-50%);
    animation: connector-pulse 2s ease-in-out infinite;
}
.focus-card[data-side="left"] .focus-connector::after { right: -3px; }
.focus-card[data-side="right"] .focus-connector::after { left: -3px; }
@keyframes connector-pulse {
    0%, 100% { box-shadow: 0 0 8px var(--accent-from), 0 0 3px #fff; }
    50%      { box-shadow: 0 0 16px var(--accent-from), 0 0 6px #fff; }
}

.annotated-center {
    position: relative;
}

/* =================================================================
   REGION HIGHLIGHT — kart hover'unda screenshot'ta ilgili alani
   vurgular (turuncu outline + glow pulse) ve cevreyi soluklastirir.
   JS site.js calc-region.js'de pozisyonlanir.
   ================================================================= */
.region-dim {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
    z-index: 5;
}
.showcase-frame.region-active .region-dim { opacity: 1; }

.region-highlight {
    position: absolute;
    /* left/top/width/height — JS tarafindan set edilir */
    left: 0; top: 0; width: 0; height: 0;
    border: 2px solid var(--accent-from);
    border-radius: 6px;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.15) inset,
        0 0 30px 4px rgba(255, 106, 0, 0.55);
    opacity: 0;
    transform: scale(0.96);
    /* Yumusak gecis: region degisirken left/top/width/height aninda kaymaz,
       cubic-bezier ease ile akar. Border-radius da animasyona dahil. */
    transition:
        opacity 0.28s ease,
        transform 0.45s cubic-bezier(.2,.7,.3,1),
        left 0.55s cubic-bezier(.2,.7,.3,1),
        top 0.55s cubic-bezier(.2,.7,.3,1),
        width 0.55s cubic-bezier(.2,.7,.3,1),
        height 0.55s cubic-bezier(.2,.7,.3,1),
        border-color 0.3s ease;
    pointer-events: none;
    z-index: 6;
    will-change: left, top, width, height;
}
.showcase-frame.region-active .region-highlight {
    opacity: 1;
    transform: scale(1);
    animation: region-pulse 1.6s ease-in-out infinite;
}

@keyframes region-pulse {
    0%, 100% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.15) inset,
            0 0 24px 2px rgba(255, 106, 0, 0.45);
    }
    50% {
        box-shadow:
            0 0 0 1px rgba(255, 255, 255, 0.25) inset,
            0 0 44px 10px rgba(255, 106, 0, 0.75);
    }
}

/* HUD corner brackets on highlighted region */
.region-highlight::before,
.region-highlight::after {
    content: "";
    position: absolute;
    width: 14px;
    height: 14px;
    border-color: var(--accent-from);
    border-style: solid;
}
.region-highlight::before {
    top: -3px; left: -3px;
    border-width: 2px 0 0 2px;
}
.region-highlight::after {
    bottom: -3px; right: -3px;
    border-width: 0 2px 2px 0;
}

/* Hover edilen kartin kenarini da hafifce belirginlestir */
.focus-card.is-active {
    border-color: rgba(255, 140, 26, 0.55) !important;
    transform: translateY(-4px);
}
.focus-card.is-active .focus-connector {
    /* Connector glow guclendir */
    filter: drop-shadow(0 0 6px rgba(255, 140, 26, 0.7));
}

/* ---------- Responsive: tablet/mobil layout stack ---------- */
@media (max-width: 1024px) {
    .annotated-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .focus-col { flex-direction: row; flex-wrap: wrap; gap: 16px; }
    .focus-col > .focus-card { flex: 1 1 240px; min-height: auto; }
    .focus-connector { display: none; }
    .annotated-center { order: -1; }
}

@media (max-width: 640px) {
    .focus-col { flex-direction: column; }
}

.showcase-section { display: none; } /* eski section gizlendi — annotated geldi */

.dummy-keep-old-css {
    padding: 24px 0 64px;
    position: relative;
}

/* Tilt wrapper — frame'i 3D'de hafifce yan yatirir (perspective + rotateX).
   Frame icindeki absolute elementler (scan, region, glass) bu tilt'i takip
   eder; izleyici "cinematic" derinlik hisseder. */
.showcase-tilt {
    position: relative;
    transform: perspective(2400px) rotateX(1.8deg) rotateY(0.4deg);
    transform-style: preserve-3d;
    will-change: transform;
    transition: transform 0.6s cubic-bezier(.2,.7,.3,1);
}
.showcase-tilt:hover {
    transform: perspective(2400px) rotateX(0deg) rotateY(0deg);
}

.showcase-frame {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    background: linear-gradient(180deg,
        rgba(22, 22, 29, 0.7) 0%,
        rgba(15, 15, 20, 0.6) 100%);
    border: 1px solid rgba(255, 140, 26, 0.22);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    /* Cok katmanli depth shadow + cinematic orange wrap */
    box-shadow:
        /* iceriden hafif highlight */
        inset 0 1px 0 rgba(255, 255, 255, 0.08),
        inset 0 -1px 0 rgba(0, 0, 0, 0.4),
        /* close drop shadow */
        0 4px 8px rgba(0, 0, 0, 0.3),
        /* medium depth */
        0 24px 48px -16px rgba(0, 0, 0, 0.55),
        /* far ambient depth */
        0 80px 140px -40px rgba(0, 0, 0, 0.55),
        /* cinematic orange wrap */
        0 0 70px -10px rgba(255, 106, 0, 0.45),
        0 40px 120px -30px rgba(255, 106, 0, 0.32);
    isolation: isolate;
}

/* HUD corner markers inside the showcase */
.showcase-frame::before {
    content: "";
    position: absolute;
    inset: 14px;
    border: 1px solid transparent;
    background:
        linear-gradient(to right, var(--accent-from) 22px, transparent 22px) top left / 22px 1px no-repeat,
        linear-gradient(to bottom, var(--accent-from) 22px, transparent 22px) top left / 1px 22px no-repeat,
        linear-gradient(to left, var(--accent-from) 22px, transparent 22px) top right / 22px 1px no-repeat,
        linear-gradient(to bottom, var(--accent-from) 22px, transparent 22px) top right / 1px 22px no-repeat,
        linear-gradient(to right, var(--accent-from) 22px, transparent 22px) bottom left / 22px 1px no-repeat,
        linear-gradient(to top, var(--accent-from) 22px, transparent 22px) bottom left / 1px 22px no-repeat,
        linear-gradient(to left, var(--accent-from) 22px, transparent 22px) bottom right / 22px 1px no-repeat,
        linear-gradient(to top, var(--accent-from) 22px, transparent 22px) bottom right / 1px 22px no-repeat;
    pointer-events: none;
    z-index: 3;
    opacity: 0.85;
}

/* Scan line — perpetual slow horizontal sweep across the showcase.
   Yatay tarama; her donguden once .showcase-scan-v ile dik bir tarama
   carpracina yapilir = "radar" hissi. */
.showcase-scan {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 140, 26, 0.7) 30%,
        rgba(255, 240, 200, 0.95) 50%,
        rgba(255, 140, 26, 0.7) 70%,
        transparent 100%);
    box-shadow: 0 0 16px rgba(255, 140, 26, 0.6);
    z-index: 2;
    pointer-events: none;
    animation: showcase-scan 4.5s ease-in-out infinite;
}
@keyframes showcase-scan {
    0%   { top: 0;    opacity: 0; }
    8%   { opacity: 1; }
    92%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Dik scan line — yatay scan'in offsetli (2s gecikme) versiyonu;
   showcase-frame'in kendi pseudo-element'i ile cizilir. */
.showcase-frame::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 2px;
    background: linear-gradient(180deg,
        transparent 0%,
        rgba(255, 140, 26, 0.55) 30%,
        rgba(255, 240, 200, 0.85) 50%,
        rgba(255, 140, 26, 0.55) 70%,
        transparent 100%);
    box-shadow: 0 0 14px rgba(255, 140, 26, 0.55);
    z-index: 2;
    pointer-events: none;
    opacity: 0;
    animation: showcase-scan-v 6s ease-in-out 1.8s infinite;
}
@keyframes showcase-scan-v {
    0%   { left: 0;    opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

.showcase-frame img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 14px;
    image-rendering: -webkit-optimize-contrast;
    position: relative;
    z-index: 1;
}

/* =================================================================
   GLASS OVERLAY — gorsel ustunde sub-tle gloss + edge highlight.
   Mix-blend-mode: screen ile beyaz pixeller eklenir (cam yansimasi).
   ================================================================= */
.glass-overlay {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    pointer-events: none;
    z-index: 2;
    background:
        /* sol-ust diagonal sheen */
        linear-gradient(135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.02) 18%,
            transparent 38%),
        /* sag-alt secondary sheen */
        linear-gradient(315deg,
            rgba(255, 200, 120, 0.06) 0%,
            transparent 30%),
        /* top edge highlight */
        linear-gradient(180deg,
            rgba(255, 255, 255, 0.08) 0%,
            transparent 12%),
        /* alt vignette */
        radial-gradient(120% 80% at 50% 110%, rgba(0, 0, 0, 0.25), transparent 60%);
    mix-blend-mode: screen;
}

/* =================================================================
   REFLECTION — ayna yansimasi (frame'in altinda)
   ================================================================= */
.showcase-reflection {
    position: relative;
    max-width: 1180px;
    margin: -2px auto 0;
    height: 90px;          /* yansima yuksekligi */
    overflow: hidden;
    transform: scaleY(-1);
    /* Yumusak alt-fade ile yansima "kaybolur" */
    -webkit-mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
            mask-image: linear-gradient(to top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.45) 100%);
    opacity: 0.55;
    pointer-events: none;
}
.showcase-reflection img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 0;
    filter: blur(0.5px);
}

/* =================================================================
   CINEMATIC ORANGE LIGHTING — frame'in arkasinda glow halesi
   ================================================================= */
.showcase-tilt::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(60% 50% at 50% 60%,
        rgba(255, 106, 0, 0.35) 0%,
        rgba(255, 106, 0, 0.15) 40%,
        transparent 70%);
    filter: blur(40px);
    z-index: -1;
    pointer-events: none;
    opacity: 0.85;
    animation: cinematic-pulse 5s ease-in-out infinite alternate;
}
@keyframes cinematic-pulse {
    from { opacity: 0.7; transform: scale(0.96); }
    to   { opacity: 1;   transform: scale(1.05); }
}

/* Mobil: 3D tilt agresif gelmesin */
@media (max-width: 768px) {
    .showcase-tilt {
        transform: none;
    }
    .showcase-reflection { display: none; }
}

.showcase-caption {
    position: absolute;
    top: 18px;
    left: 18px;
    z-index: 4;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(10, 10, 13, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 140, 26, 0.3);
    border-radius: 999px;
    color: var(--accent-from);
    font-family: var(--font-display);
    font-size: 10px;
    letter-spacing: 2px;
    font-weight: 700;
}
.showcase-caption .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--accent-from);
    box-shadow: 0 0 10px var(--accent-from);
    animation: showcase-dot 1.4s ease-in-out infinite;
}
@keyframes showcase-dot {
    0%, 100% { opacity: 1;   transform: scale(1); }
    50%      { opacity: 0.4; transform: scale(0.85); }
}

/* =================================================================
   GLASSMORPHISM SCREENSHOT CARDS
   ================================================================= */
.screenshot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
    gap: 28px;
}

.screenshot-card {
    position: relative;
    background: linear-gradient(180deg,
        rgba(22, 22, 29, 0.65) 0%,
        rgba(15, 15, 20, 0.55) 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    transition: transform 0.35s cubic-bezier(.2,.7,.3,1),
                border-color 0.3s, box-shadow 0.35s;
    display: flex;
    flex-direction: column;
}

/* Animated focus outline — gradient stroke that pulses on hover */
.screenshot-card::before {
    content: "";
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-md);
    padding: 1px;
    background: conic-gradient(from var(--ring-angle, 0deg),
        transparent 0deg,
        rgba(255, 140, 26, 0.6) 60deg,
        rgba(255, 94, 0, 0.4) 120deg,
        transparent 200deg);
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
            mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
            mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
    animation: ring-rotate 5s linear infinite;
}

@property --ring-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@keyframes ring-rotate { to { --ring-angle: 360deg; } }

.screenshot-card:hover {
    transform: translateY(-6px) scale(1.005);
    border-color: rgba(255, 140, 26, 0.25);
    box-shadow:
        0 24px 40px -20px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 140, 26, 0.15),
        0 0 40px -10px rgba(255, 106, 0, 0.35);
}
.screenshot-card:hover::before { opacity: 1; }

/* Thumb: keep the actual screenshot sharp; effects layered as overlays */
.screenshot-thumb {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background:
        linear-gradient(135deg, var(--bg-elev-2), var(--bg-elev-3)),
        repeating-linear-gradient(
            -45deg,
            rgba(255, 140, 26, 0.04) 0,
            rgba(255, 140, 26, 0.04) 12px,
            transparent 12px,
            transparent 24px
        );
    display: flex;
    align-items: center;
    justify-content: center;
    isolation: isolate;
}
.screenshot-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(.2,.7,.3,1);
    /* Crisp rendering — disable blur on the actual screenshot */
    image-rendering: -webkit-optimize-contrast;
}
.screenshot-card:hover .screenshot-thumb img {
    transform: scale(1.04);
}

/* Animated scan line — sweeps vertically over the thumb on hover */
.screenshot-thumb::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    top: -2px;
    background: linear-gradient(90deg,
        transparent 0%,
        rgba(255, 140, 26, 0.8) 30%,
        rgba(255, 240, 200, 0.95) 50%,
        rgba(255, 140, 26, 0.8) 70%,
        transparent 100%);
    box-shadow: 0 0 12px rgba(255, 140, 26, 0.6);
    opacity: 0;
    z-index: 2;
    pointer-events: none;
}
.screenshot-card:hover .screenshot-thumb::after {
    animation: scan-sweep 1.6s ease-in-out infinite;
}
@keyframes scan-sweep {
    0%   { top: -2px;  opacity: 0; }
    10%  { opacity: 1; }
    90%  { opacity: 1; }
    100% { top: 100%; opacity: 0; }
}

/* Corner brackets (HUD-style focus markers) — show on hover */
.screenshot-thumb::before {
    content: "";
    position: absolute;
    inset: 12px;
    border: 1px solid transparent;
    background:
        linear-gradient(to right, var(--accent-from) 16px, transparent 16px) top left / 16px 1px no-repeat,
        linear-gradient(to bottom, var(--accent-from) 16px, transparent 16px) top left / 1px 16px no-repeat,
        linear-gradient(to left, var(--accent-from) 16px, transparent 16px) top right / 16px 1px no-repeat,
        linear-gradient(to bottom, var(--accent-from) 16px, transparent 16px) top right / 1px 16px no-repeat,
        linear-gradient(to right, var(--accent-from) 16px, transparent 16px) bottom left / 16px 1px no-repeat,
        linear-gradient(to top, var(--accent-from) 16px, transparent 16px) bottom left / 1px 16px no-repeat,
        linear-gradient(to left, var(--accent-from) 16px, transparent 16px) bottom right / 16px 1px no-repeat,
        linear-gradient(to top, var(--accent-from) 16px, transparent 16px) bottom right / 1px 16px no-repeat;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.3s ease, transform 0.4s cubic-bezier(.2,.7,.3,1);
    pointer-events: none;
    z-index: 3;
}
.screenshot-card:hover .screenshot-thumb::before {
    opacity: 1;
    transform: scale(1);
}

.screenshot-thumb .placeholder {
    color: var(--text-dim);
    font-size: 0.9rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    z-index: 1;
}
.screenshot-thumb .placeholder i { font-size: 28px; color: rgba(255, 140, 26, 0.5); }

.screenshot-body {
    padding: 20px 22px 22px;
    position: relative;
    z-index: 1;
}
.screenshot-body h3 {
    margin: 0 0 6px;
    font-family: var(--font-display);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-primary);
}
.screenshot-body p {
    margin: 0;
    color: var(--text-dim);
    font-size: 0.85rem;
    line-height: 1.5;
}

/* Thin accent line under title — appears on hover, "connects" card */
.screenshot-body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 22px;
    width: 32px;
    height: 1px;
    background: linear-gradient(90deg, var(--accent-from), transparent);
    opacity: 0;
    transition: opacity 0.3s, width 0.4s ease;
}
.screenshot-card:hover .screenshot-body::before {
    opacity: 1;
    width: 80px;
}

/* ---------- CTA band ---------- */
.cta-band {
    margin: 40px auto;
    max-width: 980px;
    padding: 44px 36px;
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(255, 140, 26, 0.12), rgba(255, 94, 0, 0.04));
    border: 1px solid rgba(255, 140, 26, 0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}
.cta-band h3 {
    margin: 0 0 6px;
    font-size: 1.4rem;
    font-weight: 800;
}
.cta-band p { margin: 0; color: var(--text-secondary); }

/* ---------- Footer ---------- */
.site-footer {
    border-top: 1px solid var(--border);
    padding: 40px 0 32px;
    background: var(--bg-elev-1);
    color: var(--text-dim);
    font-size: 0.9rem;
}
.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
    align-items: center;
}
.site-footer a:hover { color: var(--text-primary); }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-3 { margin-top: 1rem; }
.mt-5 { margin-top: 2.5rem; }

/* ---------- Mobile ---------- */
/* Mobile / tablet — 1024px because we have 8 nav items that don't fit on
   narrower desktops. Full-screen overlay (cleaner than slide-down). The
   nav-links element is moved to <body> via JS at init time so it can
   escape the sticky header's z-index 100 stacking context. */
@media (max-width: 1024px) {
    .nav-links {
        position: fixed;
        inset: 0;
        margin: 0;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        padding: 80px 24px 40px;
        background: linear-gradient(160deg, var(--bg-root) 0%, var(--bg-elev-1) 100%);
        max-height: 100vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
        opacity: 0;
        visibility: hidden;
        transform: scale(0.98);
        transition: opacity 0.22s ease, transform 0.25s ease,
                    visibility 0s linear 0.25s;
        z-index: 200;
    }
    .nav-links.open {
        opacity: 1;
        visibility: visible;
        transform: scale(1);
        transition: opacity 0.22s ease, transform 0.25s ease,
                    visibility 0s linear 0s;
    }

    /* Racing-stripes ambient inside the menu — same signature pattern */
    .nav-links::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image:
            repeating-linear-gradient(
                -65deg,
                transparent 0,
                transparent 36px,
                rgba(255, 106, 0, 0.10) 36px,
                rgba(255, 106, 0, 0.10) 37px,
                transparent 37px,
                transparent 72px
            );
        -webkit-mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.9) 100%);
                mask-image: linear-gradient(to right, transparent 0%, rgba(0, 0, 0, 0.5) 60%, rgba(0, 0, 0, 0.9) 100%);
        pointer-events: none;
        z-index: -1;
    }

    .nav-links a {
        padding: 14px 32px;
        width: 100%;
        max-width: 420px;
        text-align: center;
        font-size: 16px;
        font-weight: 700;
        letter-spacing: 2px;
        border: none;
        color: var(--text-primary);
        position: relative;
    }
    .nav-links a::after { display: none; }
    .nav-links a.active {
        color: var(--accent-from);
    }
    .nav-links a:hover {
        color: var(--accent-from);
    }

    /* Close button injected by JS — sits at top-right of the overlay.
       display:flex overrides the desktop default `display:none`. */
    .nav-close {
        display: flex;
        position: fixed;
        top: 16px;
        right: 16px;
        background: var(--bg-elev-2);
        border: 1px solid var(--border-strong);
        color: var(--text-primary);
        width: 44px;
        height: 44px;
        border-radius: 50%;
        cursor: pointer;
        align-items: center;
        justify-content: center;
        z-index: 201;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.22s ease, visibility 0s linear 0.22s, border-color 0.2s;
    }
    .nav-close.open {
        opacity: 1;
        visibility: visible;
        transition: opacity 0.22s ease, visibility 0s linear 0s, border-color 0.2s;
    }
    .nav-close:hover { border-color: var(--accent-from); }

    /* Backdrop unused with full-screen overlay; hide if present */
    .nav-backdrop { display: none; }

    .menu-toggle { display: inline-flex; }
}

@media (max-width: 860px) {
    .split { grid-template-columns: 1fr; gap: 40px; }
    .about-stats { grid-template-columns: repeat(3, 1fr); }

    section { padding: 64px 0; }
    .hero { padding: 64px 0 72px; }

    .price-card.featured { transform: none; }
    .price-card.featured:hover { transform: translateY(-4px); }

    .cta-band { padding: 28px; }

    /* Smaller header padding on phones — keep logo close to edge */
    .site-header .container { padding: 0 16px; }
    .brand img { height: 44px; }
    :root { --header-h: 68px; }
}

@media (max-width: 480px) {
    .about-stats { grid-template-columns: 1fr; }
    .brands-grid { grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); }
    .modules-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }
    .contact-card { padding: 24px; }
}

/* ---------- Nav "Solutions" dropdown ---------- */
.nav-dropdown { position: relative; display: inline-flex; align-items: center; }
.nav-dropdown-trigger {
    background: none; border: none; cursor: pointer; font-family: inherit;
    color: var(--text-secondary); font-size: 13px; font-weight: 600;
    letter-spacing: 1.2px; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 0;
    transition: color 0.2s;
}
.nav-dropdown-trigger:hover,
.nav-dropdown.open .nav-dropdown-trigger { color: var(--text-primary); }
.nav-dropdown-trigger .nav-caret { transition: transform 0.2s ease; flex-shrink: 0; }
.nav-dropdown.open .nav-dropdown-trigger .nav-caret { transform: rotate(180deg); }

.nav-dropdown-menu {
    position: absolute; top: calc(100% + 14px); left: 50%;
    transform: translateX(-50%) translateY(6px);
    min-width: 460px; background: var(--bg-elev-2);
    border: 1px solid var(--border-strong); border-radius: var(--radius-md);
    padding: 10px; grid-template-columns: 1fr 1fr; gap: 2px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
    display: grid; opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0.18s;
    z-index: 250;
}
.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown.open .nav-dropdown-menu {
    opacity: 1; visibility: visible; pointer-events: auto;
    transform: translateX(-50%) translateY(0);
    transition: opacity 0.18s ease, transform 0.18s ease, visibility 0s linear 0s;
}
.nav-dropdown-menu a {
    padding: 9px 12px; border-radius: 8px; font-size: 12.5px;
    letter-spacing: 0.4px; text-transform: none; white-space: nowrap;
    color: var(--text-secondary);
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover,
.nav-dropdown-menu a.active { background: var(--bg-elev-3); color: var(--text-primary); }

@media (max-width: 1024px) {
    .nav-dropdown { display: block; width: 100%; max-width: 420px; }
    .nav-dropdown-trigger {
        width: 100%; justify-content: center; padding: 14px 32px;
        font-size: 16px; font-weight: 700; letter-spacing: 2px; color: var(--text-primary);
    }
    .nav-dropdown-menu {
        position: static; transform: none; min-width: 0; width: 100%;
        grid-template-columns: 1fr; box-shadow: none; border: none;
        background: transparent; padding: 0 0 8px;
        display: none; opacity: 1; visibility: visible; pointer-events: auto; transition: none;
    }
    .nav-dropdown:hover .nav-dropdown-menu { display: none; }
    .nav-dropdown.open .nav-dropdown-menu { display: block; transform: none; }
    .nav-dropdown-menu a { text-align: center; padding: 10px 32px; font-size: 13px; color: var(--text-dim); }
}

/* ---------- FAQ (AEO accordion) ---------- */
.faq-list {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.faq-item {
    background: var(--bg-elev-1);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    padding: 4px 20px;
    transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: var(--border-strong); }
.faq-item summary {
    cursor: pointer;
    list-style: none;
    padding: 16px 0;
    font-weight: 600;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
    content: "+";
    color: var(--accent-from);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
    transition: transform 0.2s ease;
}
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item p {
    margin: 0 0 18px;
    color: var(--text-dim);
    line-height: 1.65;
}

/* Respect motion preferences */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    .reveal { opacity: 1; transform: none; }
}
