/* =============================================
   EZAR.TR — Premium Digital Agency Stylesheet
   2026 Design System — Quiet Luxury + Motion
   ============================================= */

/* ─────────────── DESIGN TOKENS ─────────────── */
:root {
    /* Colors */
    --bg: #fafafa;
    --bg-card: #ffffff;
    --bg-dark: #0a0a0f;
    --bg-alt: #f3f4f6;
    --primary: #7c3aed;
    --primary-light: #a78bfa;
    --primary-dark: #5b21b6;
    --primary-glow: rgba(124, 58, 237, 0.15);
    --primary-glow-strong: rgba(124, 58, 237, 0.35);
    --secondary: #06b6d4;
    --accent: #f59e0b;
    --success: #10b981;
    --danger: #ef4444;
    --text-main: #111827;
    --text-secondary: #374151;
    --text-muted: #6b7280;
    --text-light: #9ca3af;
    --glass: rgba(255, 255, 255, 0.72);
    --glass-heavy: rgba(255, 255, 255, 0.88);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-border-light: rgba(255, 255, 255, 0.2);

    /* Spacing */
    --section-padding: 120px 0;
    --container-max: 1280px;
    --radius-sm: 12px;
    --radius-md: 20px;
    --radius-lg: 32px;
    --radius-xl: 48px;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --shadow-xl: 0 30px 80px rgba(0,0,0,0.12);
    --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.15);

    /* Fonts */
    --font-main: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Transitions */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-spring: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* ─────────────── RESET & BASE ─────────────── */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
    cursor: default;
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(124, 58, 237, 0.2); border-radius: 100px; }
::-webkit-scrollbar-thumb:hover { background: rgba(124, 58, 237, 0.4); }

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

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; }

/* ─────────────── TYPOGRAPHY ─────────────── */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.02em;
}

.gradient-text {
    background: linear-gradient(135deg, var(--text-main) 0%, var(--primary) 50%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-tag {
    display: inline-block;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.25em;
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    padding: 0.4rem 1.2rem;
    background: var(--primary-glow);
    border-radius: var(--radius-full);
    border: 1px solid rgba(124, 58, 237, 0.1);
}

/* ─────────────── CONTAINER ─────────────── */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

/* ─────────────── BUTTONS ─────────────── */
.btn-glass {
    position: relative;
    padding: 0.85rem 2.2rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    color: var(--text-main);
    text-decoration: none;
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.4s var(--ease-spring);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-sm);
    cursor: pointer;
    white-space: nowrap;
}

.btn-glass:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg), var(--shadow-glow);
    border-color: var(--primary);
    color: var(--primary);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 8px 30px rgba(124, 58, 237, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    box-shadow: 0 15px 40px rgba(124, 58, 237, 0.5);
    color: #fff !important;
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--text-main);
    color: var(--text-main);
}

.btn-outline:hover {
    background: var(--text-main);
    color: #fff;
    border-color: var(--text-main);
}

.btn-lg {
    padding: 1.1rem 3rem;
    font-size: 1.05rem;
}

/* ─────────────── HEADER ─────────────── */
header#mainHeader {
    position: fixed;
    top: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 92%;
    max-width: 1280px;
    z-index: 1000;
    background: var(--glass-heavy);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    min-height: 72px;
    box-shadow: var(--shadow-md);
    transition: all 0.5s var(--ease-smooth);
}

header#mainHeader.scrolled {
    top: 0.6rem;
    width: 96%;
    min-height: 64px;
    border-radius: var(--radius-lg);
    background: var(--glass-heavy);
    box-shadow: var(--shadow-lg);
}

/* Header Columns */
header > .nav-col-left {
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
}

header > .logo {
    justify-self: center;
    display: flex;
    align-items: center;
    padding: 0 1.5rem;
}

header > .nav-col-right {
    justify-self: stretch;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 1rem;
}

.nav-links {
    display: flex;
    gap: 0.3rem;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.nav-links li a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    transition: all 0.3s var(--ease-smooth);
    white-space: nowrap;
    position: relative;
    display: block;
    line-height: 1;
    padding: 0.55rem 1rem;
    border-radius: var(--radius-full);
}

.nav-links li a:hover {
    color: var(--primary);
    background: var(--primary-glow);
}

.nav-links a.active {
    color: var(--primary) !important;
    font-weight: 700;
    background: var(--primary-glow);
}

/* Language Dropdown */
.lang-trigger {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    cursor: pointer;
    background: rgba(0,0,0,0.02);
    padding: 0.45rem 0.9rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--glass-border);
    transition: all 0.3s;
}
.lang-trigger:hover {
    background: var(--primary-glow);
    border-color: rgba(124, 58, 237, 0.2);
}

.flag-circle-modern {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.flag-circle-modern img { width: 100%; height: 100%; object-fit: cover; }

.lang-menu-premium a:hover { background: var(--primary-glow); color: var(--primary); }

/* Mobile Menu Toggle */
.menu-toggle {
    display: none;
    font-size: 1.3rem;
    color: var(--text-main);
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}
.menu-toggle:hover {
    background: var(--primary-glow);
    color: var(--primary);
}

/* ─────────────── MOBILE MENU — RADIAL DIAL ─────────────── */
/* Items spiral OUT from a center dot to take their place around a circular orbit.
   Each item: round icon badge with its label below. The whole dial can be spun
   with a finger drag — like a rotary phone or Apple Watch home screen. */
@property --wheel-rot {
    syntax: '<angle>';
    inherits: true;
    initial-value: 0deg;
}
@property --orbit-r {
    syntax: '<length>';
    inherits: false;
    initial-value: 0px;
}
@property --orbit-scale {
    syntax: '<number>';
    inherits: false;
    initial-value: 0;
}
@property --orbit-spin {
    syntax: '<angle>';
    inherits: false;
    initial-value: -540deg;
}

.mobile-menu {
    position: fixed;
    top: 50%;
    left: 50%;
    width: min(86vw, 360px);
    height: min(86vw, 360px);
    transform: translate(-50%, -50%);
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    z-index: 10001;
    overflow: visible;
    pointer-events: none;
    visibility: hidden;
    --wheel-rot: 0deg;
    transition: visibility 0s linear 1s;
    touch-action: none;
}
.mobile-menu.is-open {
    pointer-events: auto;
    visibility: visible;
    transition: visibility 0s linear 0s;
}
.mobile-menu::before { display: none; }
/* Drop the structural divider <div> from the orbit count */
.mobile-menu > div:not(.close-menu) { display: none; }

/* Each item: icon-badge + label, anchored at center, transformed into orbit.
   !important on visual props overrides any legacy inline style="..." from header.php */
.mobile-menu a {
    --i: 0;
    --total: 11;
    --angle: calc(var(--i) * (360deg / var(--total)) + var(--wheel-rot));
    --orbit-r: 0px;
    --orbit-scale: 0;
    --orbit-spin: -540deg;

    position: absolute;
    top: 50%;
    left: 50%;
    width: 78px;
    display: flex !important;
    flex-direction: column;
    align-items: center;
    gap: 0.32rem;
    margin: 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    text-align: center;
    text-decoration: none;
    color: #fff !important;
    font-size: 0.7rem;
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    pointer-events: auto;

    transform:
        translate(-50%, -50%)
        rotate(var(--angle))
        translateY(calc(-1 * var(--orbit-r)))
        rotate(calc(-1 * var(--angle)))
        scale(var(--orbit-scale))
        rotate(var(--orbit-spin));
    opacity: 0;
    transition:
        --orbit-r   0.85s cubic-bezier(0.34, 1.5, 0.64, 1),
        --orbit-scale 0.6s cubic-bezier(0.34, 1.4, 0.64, 1),
        --orbit-spin  0.85s cubic-bezier(0.34, 1.4, 0.64, 1),
        --wheel-rot   0.4s ease-out,
        opacity 0.45s ease;
    transition-delay: var(--delay, 0s);
}
.mobile-menu.is-open a {
    --orbit-r: min(36vw, 145px);
    --orbit-scale: 1;
    --orbit-spin: 0deg;
    opacity: 1;
}
/* Once landed (.is-locked), the radius / scale / spin no longer transition —
   only --wheel-rot does, so dragging the dial is responsive. */
.mobile-menu.is-locked a {
    transition:
        --wheel-rot 0s linear,
        opacity 0.2s ease;
    transition-delay: 0s;
}
.mobile-menu.is-locked.is-snapping a {
    transition:
        --wheel-rot 0.45s cubic-bezier(0.22, 1.2, 0.36, 1),
        opacity 0.2s ease;
}

/* The round icon badge — premium glass orb with light reflection on top.
   Uniform across ALL items (including login/register) — no purple tinting. */
/* The orb. We avoid ::before/::after on the <i> because Font Awesome already
   uses ::before to render its glyph — so the specular highlight is layered into
   the background via two stacked radial gradients (top one = glossy bloom). */
.mobile-menu a i {
    position: relative;
    width: 58px;
    height: 58px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(ellipse 50% 30% at 32% 22%, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%),
        radial-gradient(circle at 35% 28%, rgba(255,255,255,1) 0%, rgba(255,255,255,0.94) 40%, rgba(241,245,249,0.96) 100%) !important;
    color: var(--primary);              /* default — overridden per-row by .mm-* class */
    font-size: 1.35rem;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,           /* top inner highlight */
        0 -1px 1px rgba(15,23,42,0.06) inset,          /* bottom inner shade  */
        0 2px 4px rgba(0,0,0,0.12),                    /* close shadow        */
        0 12px 24px -4px rgba(0,0,0,0.35),             /* mid shadow          */
        0 24px 48px -12px rgba(0,0,0,0.4);             /* deep ambient        */
    transition:
        background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        color 0.35s cubic-bezier(0.4, 0, 0.2, 1),
        box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.4s cubic-bezier(0.34, 1.4, 0.64, 1);
}
.mobile-menu a:hover i,
.mobile-menu a:active i {
    transform: translateY(-2px);
    box-shadow:
        0 1px 0 rgba(255,255,255,1) inset,
        0 -1px 1px rgba(15,23,42,0.08) inset,
        0 4px 8px rgba(0,0,0,0.18),
        0 16px 32px -4px rgba(0,0,0,0.45),
        0 30px 60px -12px rgba(0,0,0,0.5);
}

/* ───── Refined per-row icon palette ─────
   Each menu item gets its own icon color so the dial reads at a glance.
   Soft, slightly desaturated tones — looks elegant on the white glass orbs. */
.mobile-menu a.mm-home     i { color: #8b5cf6; }   /* lavender purple */
.mobile-menu a.mm-about    i { color: #06b6d4; }   /* cool cyan */
.mobile-menu a.mm-services i { color: #f97316; }   /* warm orange */
.mobile-menu a.mm-shop     i { color: #10b981; }   /* emerald */
.mobile-menu a.mm-portfolio i { color: #b45309; }  /* warm bronze */
.mobile-menu a.mm-blog     i { color: #d946ef; }   /* pink-purple */
.mobile-menu a.mm-contact  i { color: #f43f5e; }   /* rose */
.mobile-menu a.mm-panel    i { color: #6366f1; }   /* indigo */
.mobile-menu a.mm-orders   i { color: #f97316; }   /* orange */
.mobile-menu a.mm-tickets  i { color: #14b8a6; }   /* teal */
.mobile-menu a.mm-login    i { color: #8b5cf6; }   /* lavender */
.mobile-menu a.mm-register i { color: #10b981; }   /* emerald */
.mobile-menu a.mm-logout   i { color: #ef4444; }   /* red */
.mobile-menu a.mm-google   i { color: #ea4335; }
.mobile-menu a.mm-facebook i { color: #1877F2; }

/* Close button: anchored at the very center of the dial — premium glass orb */
.mobile-menu .close-menu {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 68px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    font-weight: 300;
    cursor: pointer;
    border-radius: 50%;
    background:
        radial-gradient(circle at 35% 28%, rgba(255,255,255,1) 0%, rgba(248,250,252,0.95) 100%);
    color: #0f172a;
    z-index: 2;
    box-shadow:
        0 1px 0 rgba(255,255,255,0.9) inset,
        0 -1px 1px rgba(15,23,42,0.06) inset,
        0 2px 4px rgba(0,0,0,0.12),
        0 14px 28px -4px rgba(0,0,0,0.45),
        0 28px 60px -12px rgba(0,0,0,0.5);
    transform: translate(-50%, -50%) scale(0) rotate(-540deg);
    opacity: 0;
    transition:
        transform 0.75s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity 0.5s ease,
        background 0.3s,
        color 0.3s;
}
.mobile-menu .close-menu::before {
    content: "";
    position: absolute;
    top: 6%;
    left: 18%;
    width: 50%;
    height: 30%;
    border-radius: 50%;
    background: radial-gradient(ellipse at center, rgba(255,255,255,0.95) 0%, rgba(255,255,255,0) 70%);
    pointer-events: none;
}
.mobile-menu.is-open .close-menu {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
}
.mobile-menu .close-menu:hover {
    background: radial-gradient(circle at 35% 28%, #fecaca, #dc2626);
    color: #fff;
    transform: translate(-50%, -50%) scale(1.08) rotate(90deg);
}

/* Subtle orbit guide ring — frosted glass band, no purple */
.mobile-menu::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(2 * min(36vw, 145px));
    height: calc(2 * min(36vw, 145px));
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.18);
    box-shadow:
        0 0 0 1px rgba(255,255,255,0.04) inset,
        0 0 60px rgba(255,255,255,0.06);
    background:
        conic-gradient(from 0deg, rgba(255,255,255,0.04), rgba(255,255,255,0.0) 30%, rgba(255,255,255,0.04) 60%, rgba(255,255,255,0) 90%);
    transform: translate(-50%, -50%) scale(0);
    transition:
        transform 0.85s cubic-bezier(0.34, 1.5, 0.64, 1) 0.18s,
        opacity 0.6s ease 0.2s;
    opacity: 0;
    pointer-events: none;
}
.mobile-menu.is-open::after {
    transform: translate(-50%, -50%) scale(1);
    opacity: 1;
}

/* Premium backdrop — deep neutral dark with frosted blur, no purple tint */
body.mobile-menu-open::after {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(15,23,42,0.82) 0%, rgba(2,6,23,0.94) 75%);
    backdrop-filter: blur(18px) saturate(1.3);
    -webkit-backdrop-filter: blur(18px) saturate(1.3);
    z-index: 9999;
    animation: fadeIn 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body.mobile-menu-open { overflow: hidden; }

@media (max-width: 400px) {
    .mobile-menu a { width: 70px; font-size: 0.66rem; gap: 0.28rem; }
    .mobile-menu a i { width: 50px; height: 50px; font-size: 1.2rem; }
    .mobile-menu .close-menu { width: 56px; height: 56px; font-size: 1.4rem; }
}

/* Reduced motion: drop the spiral, just fade in radially */
@media (prefers-reduced-motion: reduce) {
    .mobile-menu a {
        transition: opacity 0.2s ease !important;
        transition-delay: 0s !important;
        --orbit-spin: 0deg;
    }
    .mobile-menu .close-menu {
        transition: opacity 0.2s ease !important;
        transform: translate(-50%, -50%) scale(1) !important;
    }
}

/* ─────────────── HERO SECTION ─────────────── */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 140px 2rem 80px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -30%;
    width: 90%;
    height: 120%;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.06) 0%, transparent 60%);
    z-index: 0;
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -20%;
    width: 60%;
    height: 80%;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.04) 0%, transparent 60%);
    z-index: 0;
    animation: heroGlow 10s ease-in-out infinite alternate-reverse;
}

@keyframes heroGlow {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(30px, -20px) scale(1.1); }
}

/* Grid dot pattern for hero */
.hero-grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle, rgba(124, 58, 237, 0.08) 1px, transparent 1px);
    background-size: 40px 40px;
    z-index: 0;
    mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.4) 0%, transparent 70%);
}

.hero > * { position: relative; z-index: 1; }

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 5.5rem);
    margin-bottom: 1.5rem;
    max-width: 900px;
    letter-spacing: -0.03em;
    line-height: 1.08;
}

.hero p {
    font-size: clamp(1rem, 1.5vw, 1.3rem);
    color: var(--text-muted);
    max-width: 650px;
    margin-bottom: 3rem;
    line-height: 1.7;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

/* ─────────────── MARQUEE / INFINITE SCROLL ─────────────── */
.marquee-section {
    padding: 2.5rem 0;
    overflow: hidden;
    background: var(--bg-dark);
    border-top: 1px solid rgba(255,255,255,0.05);
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.marquee-track {
    display: flex;
    width: max-content;
    animation: marqueeScroll 30s linear infinite;
}

.marquee-track:hover {
    animation-play-state: paused;
}

.marquee-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0 3rem;
    font-size: 1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    white-space: nowrap;
    transition: color 0.3s;
}

.marquee-item:hover { color: var(--primary-light); }

.marquee-item i {
    font-size: 1.2rem;
    color: var(--primary-light);
    opacity: 0.5;
}

.marquee-dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    flex-shrink: 0;
}

@keyframes marqueeScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ─────────────── STATS / COUNTERS ─────────────── */
.stats-section {
    padding: 80px 0;
    background: #fff;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2.5rem 1.5rem;
    border-radius: var(--radius-lg);
    background: var(--bg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-spring);
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-glow);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.8rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ─────────────── BENTO GRID (SERVICES) ─────────────── */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.bento-item {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2.8rem;
    transition: all 0.5s var(--ease-out-expo);
    box-shadow: var(--shadow-sm);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    position: relative;
    z-index: 1;
    opacity: 1 !important;
    visibility: visible !important;
}

.bento-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease-out-expo);
}

.bento-item:hover::before { transform: scaleX(1); }

.bento-item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    border-color: rgba(124, 58, 237, 0.15);
}

.bento-item i {
    font-size: 2.8rem;
    background: linear-gradient(135deg, var(--primary), #9333ea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.8rem;
    display: block;
    width: fit-content;
    line-height: 1;
}

.bento-item h3 {
    font-size: 1.35rem;
    margin-bottom: 1rem;
    color: var(--text-main);
    letter-spacing: -0.01em;
}

.bento-item p {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.7;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* ─────────────── ABOUT SECTION ─────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-image-wrapper {
    position: relative;
    height: 550px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.about-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.about-image-wrapper:hover img {
    transform: scale(1.05);
}

.about-image-wrapper::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(124, 58, 237, 0.1) 100%);
    pointer-events: none;
}

/* ─────────────── TESTIMONIALS ─────────────── */
.testimonials-section {
    padding: var(--section-padding);
    background: var(--bg-dark);
    color: #fff;
    overflow: hidden;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: var(--radius-lg);
    padding: 2.5rem;
    transition: all 0.4s var(--ease-spring);
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 5rem;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.15;
    line-height: 1;
    font-family: Georgia, serif;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 20px 60px rgba(124, 58, 237, 0.1);
}

.testimonial-content {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: 700;
    font-size: 1.2rem;
}

.testimonial-name {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.testimonial-title {
    font-size: 0.85rem;
    color: var(--primary-light);
    opacity: 0.7;
}

.testimonial-stars {
    color: var(--accent);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

/* ─────────────── PRODUCTS SECTION ─────────────── */
.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.product-card {
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.5s var(--ease-spring);
    position: relative;
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.product-card-image {
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-dark), #1a1a2e);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-card-image i {
    font-size: 4rem;
    color: var(--primary-light);
    opacity: 0.3;
}

.product-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.35rem 1rem;
    background: var(--primary);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: var(--radius-full);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.product-card-body {
    padding: 2rem;
}

.product-card-category {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 0.8rem;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.8rem;
    color: var(--text-main);
}

.product-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.product-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--glass-border);
}

.product-price {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.product-price small {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 500;
}

/* ─────────────── CTA SECTION ─────────────── */
.cta-section {
    padding: 120px 0;
    background: linear-gradient(135deg, var(--bg-dark) 0%, #1a0a2e 50%, var(--bg-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.15) 0%, transparent 60%);
    transform: translate(-50%, -50%);
    animation: ctaPulse 4s ease-in-out infinite;
}

@keyframes ctaPulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3.5rem);
    color: #fff;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.cta-section p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 1;
}

.cta-section .btn-primary {
    position: relative;
    z-index: 1;
}

/* ─────────────── TECH STACK SECTION ─────────────── */
.tech-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.tech-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    background: #fff;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: all 0.3s var(--ease-spring);
    box-shadow: var(--shadow-sm);
}

.tech-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-glow);
    color: var(--primary);
}

.tech-item i {
    font-size: 1.3rem;
    color: var(--primary);
}

/* ─────────────── FOOTER ─────────────── */
footer {
    background: #ffffff;
    padding: 100px 0 0;
    border-top: 1px solid #e5e7eb;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 4rem;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem 5rem;
}

.footer-brand {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-main);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.footer-brand i {
    color: var(--primary);
    font-size: 1.5rem;
}

.footer-mission {
    max-width: 350px;
    color: var(--text-muted);
    font-size: 1rem;
    line-height: 1.7;
    font-weight: 400;
    margin-bottom: 2rem;
}

.footer-col-title {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--text-main);
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li { margin-bottom: 0.8rem; }

.footer-links a {
    color: var(--text-muted);
    font-size: 0.95rem;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-links a:hover { color: var(--primary); transform: translateX(3px); }

.footer-social-bar {
    display: flex;
    border-top: 1px solid #f3f4f6;
    border-bottom: 1px solid #f3f4f6;
    width: 100%;
    justify-content: center;
}

.footer-social-item {
    padding: 2rem 3.5rem;
    border-left: 1px solid #f3f4f6;
    color: var(--text-light);
    text-decoration: none;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    font-weight: 600;
    text-transform: uppercase;
}

.footer-social-item:last-child { border-right: 1px solid #f3f4f6; }
.footer-social-item:hover { color: var(--primary); background: #fafafa; }
.footer-social-item i { font-size: 1.1rem; }

.footer-legal {
    width: 100%;
    padding: 2.5rem 0;
    background: #000;
    color: #4b5563;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    font-weight: 600;
    display: flex;
    justify-content: center;
    gap: 3rem;
    text-transform: uppercase;
}

.footer-legal a { color: #6b7280; text-decoration: none; transition: color 0.3s; }
.footer-legal a:hover { color: #fff; }

/* ─────────────── CONTACT PAGE ─────────────── */
.contact-hero {
    padding: 180px 0 80px;
    text-align: center;
    background: #fff;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.contact-card {
    background: #fff;
    padding: 2.5rem;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
    text-align: center;
    transition: all 0.4s var(--ease-spring);
}

.contact-card:hover { transform: translateY(-5px); border-color: var(--primary); box-shadow: var(--shadow-lg); }

.contact-card .icon-box {
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    margin: 0 auto 1.5rem;
    font-size: 1.3rem;
}

.contact-form-premium {
    background: #fff;
    padding: 3.5rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--glass-border);
}

/* ─────────────── PORTFOLIO PAGE ─────────────── */
.portfolio-item-card {
    position: relative;
    border-radius: var(--radius-lg) !important;
    overflow: hidden;
    background: var(--bg);
    height: 450px;
    box-shadow: var(--shadow-md);
    transition: all 0.5s var(--ease-out-expo);
}

.portfolio-item-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* ─────────────── BLOG PAGE ─────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    width: 100%;
}

.blog-card {
    background: #fff;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-spring);
}

.blog-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

/* ─────────────── FORM ELEMENTS ─────────────── */
.form-group {
    margin-bottom: 1.2rem;
    text-align: left;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.9rem 1.2rem;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius-sm);
    background: #f9fafb;
    font-family: inherit;
    font-size: 0.95rem;
    color: var(--text-main);
    transition: all 0.3s var(--ease-smooth);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    background: #fff;
    box-shadow: 0 0 0 4px var(--primary-glow);
}

/* ─────────────── MODAL ─────────────── */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10005;
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.glass-modal {
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 600px;
    width: 92%;
    box-shadow: var(--shadow-xl);
    transform: translateY(30px) scale(0.95);
    transition: transform 0.4s var(--ease-spring);
    position: relative;
    max-height: 90vh;
    overflow-y: auto;
}

.glass-modal::-webkit-scrollbar { width: 6px; }
.glass-modal::-webkit-scrollbar-track { background: transparent; }
.glass-modal::-webkit-scrollbar-thumb { background: rgba(0,0,0,0.1); border-radius: 10px; }

.modal-close {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--text-muted);
    transition: all 0.3s;
    line-height: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0,0,0,0.04);
}

.modal-close:hover { color: var(--danger); background: rgba(239, 68, 68, 0.1); }

/* ─────────────── CUSTOM CONTEXT MENU ─────────────── */
.context-menu {
    position: fixed;
    z-index: 99999;
    min-width: 220px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(30px) saturate(200%);
    -webkit-backdrop-filter: blur(30px) saturate(200%);
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 14px;
    padding: 6px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 0 1px rgba(255,255,255,0.5) inset;
    display: none;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 0.15s ease, transform 0.15s ease;
    font-size: 0.88rem;
}

.context-menu.visible {
    display: block;
    opacity: 1;
    transform: scale(1);
}

.context-menu-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    color: var(--text-main);
    font-weight: 500;
    transition: background 0.15s;
    white-space: nowrap;
}

.context-menu-item:hover {
    background: var(--primary);
    color: #fff;
}

.context-menu-item i {
    width: 18px;
    text-align: center;
    font-size: 0.85rem;
    opacity: 0.7;
}

.context-menu-item:hover i { opacity: 1; }

.context-menu-divider {
    height: 1px;
    background: rgba(0,0,0,0.08);
    margin: 4px 10px;
}

.context-menu-label {
    padding: 0.4rem 1rem 0.2rem;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-light);
}

/* ─────────────── RESPONSIVE UTILITIES ─────────────── */
.desktop-only { display: flex; }

/* ─────────────── MEDIA QUERIES ─────────────── */

/* Tablet */
@media (max-width: 1100px) {
    .desktop-only { display: none !important; }
    .menu-toggle { display: flex; }
    /* Tablet/mobil: kullanıcı ikonu + hamburger menü görünür kalsın
       (eski sürümde sadece <=768px'te görünüyordu, 769-1100px aralığında
       kullanıcı UI'ı kayboluyordu — şimdi tablette de var). */
    .nav-tools-mobile {
        display: flex !important;
        align-items: center;
        gap: 0.7rem;
    }

    .bento-grid { grid-template-columns: repeat(2, 1fr); }
    .products-grid { grid-template-columns: repeat(2, 1fr); }
    .testimonial-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 3rem; }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 80px 0;
    }

    header#mainHeader {
        width: 94%;
        padding: 0 1rem;
        top: 0.6rem;
        grid-template-columns: auto 1fr auto !important;
        gap: 0.3rem;
        min-height: 60px;
        border-radius: var(--radius-lg);
    }

    header .logo {
        grid-column: 2;
        justify-self: center;
        padding: 0 !important;
        margin: 0 !important;
    }

    .logo img {
        height: 30px !important;
        max-width: 100px;
    }

    .nav-col-left {
        grid-column: 1;
        justify-self: start;
        display: flex !important;
        align-items: center;
        padding: 0 !important;
    }

    .nav-col-right {
        grid-column: 3;
        justify-self: end;
        display: flex !important;
        align-items: center;
        padding: 0 !important;
        gap: 0;
    }

    .nav-tools-mobile {
        display: flex !important;
        align-items: center;
        gap: 0.6rem;
    }

    .lang-dropdown-premium { transform: scale(0.85); }

    /* Hero */
    .hero {
        padding: 150px 1.5rem 60px;
        min-height: auto;
    }

    .hero h1 { font-size: 2.5rem !important; }
    .hero p { font-size: 1rem; margin-bottom: 2rem; }

    .hero-btns {
        flex-direction: column;
        width: 100%;
        gap: 0.8rem !important;
    }

    .hero-btns .btn-glass,
    .hero-btns .btn-primary {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    .main-hero { padding-top: 180px !important; }

    /* Sections */
    .container {
        padding-left: 1.2rem !important;
        padding-right: 1.2rem !important;
    }

    .responsive-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
    }

    /* Bento */
    .bento-grid {
        grid-template-columns: 1fr !important;
        gap: 1.2rem !important;
    }

    .bento-item {
        padding: 2rem !important;
    }

    /* Stats */
    .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
    .stat-number { font-size: 2.5rem; }

    /* Products */
    .products-grid { grid-template-columns: 1fr !important; }

    /* Blog */
    .services-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }

    /* Contact */
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .contact-form-premium {
        padding: 2rem 1.2rem;
        border-radius: var(--radius-md);
    }

    .form-row-multi { grid-template-columns: 1fr !important; }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
        padding-bottom: 3rem;
    }

    .footer-social-bar { flex-wrap: wrap; }
    .footer-social-item { padding: 1.5rem 2rem; font-size: 0.75rem; }

    .footer-legal {
        flex-direction: column;
        align-items: center;
        gap: 0.8rem;
        padding: 2rem 1rem;
    }

    /* Modal */
    .glass-modal {
        padding: 2rem 1.5rem;
        border-radius: var(--radius-md);
    }
    .glass-modal h2 { font-size: 1.6rem !important; }
    #leadForm > div[style*="display: grid"] {
        grid-template-columns: 1fr !important;
        gap: 0 !important;
    }

    /* About */
    .about-image-wrapper { height: 350px; }
    .about-grid { grid-template-columns: 1fr; gap: 2rem; }

    /* Portfolio */
    .portfolio-item-card { height: 350px; }

    /* Marquee - slow down on mobile */
    .marquee-track { animation-duration: 20s; }

    /* Context Menu */
    .context-menu { display: none !important; }

    /* Post */
    .post-hero h1 { font-size: 2rem !important; }
}

/* Small phones */
@media (max-width: 400px) {
    .hero h1 { font-size: 2rem !important; }
    .stat-number { font-size: 2rem; }
    .stats-row { grid-template-columns: 1fr; }
    header#mainHeader { width: 96%; padding: 0 0.8rem; }
}

/* ─────────────── ANIMATION CLASSES ─────────────── */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s var(--ease-out-expo);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─────────────── UTILITY CLASSES ─────────────── */
.text-center { text-align: center; }
.text-muted { color: var(--text-muted); }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-6 { margin-bottom: 4rem; }
.mt-4 { margin-top: 2rem; }
.mt-6 { margin-top: 4rem; }
.gap-sm { gap: 0.5rem; }
.gap-md { gap: 1rem; }
.gap-lg { gap: 2rem; }

/* ─────────────── HERO SLIDER / BANNER ─────────────── */
.hero-slider-section {
    padding: 0 2rem 3rem;
    background: transparent;
    overflow: visible;
    position: relative;
    z-index: 1;
    margin-top: -2rem;
    scroll-margin-top: 100px;
}

.hero-slider {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: linear-gradient(135deg, #0d0d1a 0%, #141428 50%, #0d0d1a 100%);
    border: 1px solid rgba(124,58,237,0.12);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15), 0 0 80px rgba(124,58,237,0.05);
    max-width: var(--container-max);
    margin: 0 auto;
}

.hero-slider-track {
    position: relative;
    width: 100%;
    min-height: 380px;
}

.hero-slide {
    position: absolute;
    inset: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.7s ease, visibility 0.7s ease;
    z-index: 1;
}

.hero-slide.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    z-index: 2;
}

.hero-slide-content {
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hero-slide-title {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.hero-slide-subtitle {
    font-size: clamp(0.88rem, 1.1vw, 1rem);
    color: rgba(255,255,255,0.5);
    line-height: 1.7;
    margin-bottom: 1.8rem;
    max-width: 440px;
}

.hero-slide-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn-slide {
    padding: 0.7rem 1.6rem !important;
    font-size: 0.85rem !important;
    border-radius: var(--radius-full) !important;
}

.hero-slide-image {
    position: relative;
    height: 100%;
    min-height: 320px;
    overflow: hidden;
}

.hero-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s var(--ease-out-expo);
}

.hero-slide.active .hero-slide-image img {
    animation: slideImageIn 0.8s var(--ease-out-expo) forwards;
}

@keyframes slideImageIn {
    from { transform: scale(1.08); opacity: 0.7; }
    to { transform: scale(1); opacity: 1; }
}

.hero-slide-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255,255,255,0.08);
    background: linear-gradient(135deg, rgba(124,58,237,0.05) 0%, transparent 60%);
}

/* Slider Navigation */
.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(0,0,0,0.35);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    font-size: 0.9rem;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: rgba(124,58,237,0.6);
    border-color: rgba(124,58,237,0.7);
    box-shadow: 0 8px 24px rgba(124,58,237,0.3);
    transform: translateY(-50%) scale(1.1);
}

.slider-prev { left: 1.2rem; }
.slider-next { right: 1.2rem; }

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.5rem;
    z-index: 10;
    background: rgba(0,0,0,0.4);
    backdrop-filter: blur(10px);
    padding: 0.4rem 0.8rem;
    border-radius: var(--radius-full);
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--primary);
    width: 26px;
    border-radius: 5px;
    box-shadow: 0 0 12px rgba(124,58,237,0.5);
}

.slider-dot:hover:not(.active) {
    background: rgba(255,255,255,0.5);
}

/* Slider Responsive — Tablet */
@media (max-width: 768px) {
    .hero-slider-section {
        padding: 0 0 2rem;
        margin-top: 0;
    }
    .hero-slider-section .container {
        padding: 0 !important;
        max-width: 100% !important;
    }
    .hero-slider {
        border-radius: 0;
        border-left: none;
        border-right: none;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
        max-width: 100%;
    }
    .hero-slide {
        grid-template-columns: 1fr;
    }
    .hero-slide-content {
        padding: 1.5rem 1.5rem 1.2rem;
        order: 2;
        text-align: center;
        align-items: center;
    }
    .hero-slide-image {
        min-height: auto;
        max-height: none;
        order: 1;
        background: linear-gradient(135deg, #0a0a18, #12122a);
    }
    .hero-slide-image img {
        width: 100%;
        height: auto;
        object-fit: contain;
        max-height: 280px;
    }
    .hero-slider-track {
        min-height: auto;
    }
    .hero-slide-buttons {
        justify-content: center;
    }
    .slider-nav {
        width: 36px;
        height: 36px;
        font-size: 0.8rem;
    }
    .slider-prev { left: 0.6rem; }
    .slider-next { right: 0.6rem; }
    .slider-dots {
        bottom: 0.6rem;
        padding: 0.3rem 0.6rem;
    }
    .slider-dot { width: 8px; height: 8px; }
    .slider-dot.active { width: 22px; }
}

/* Slider Responsive — Small Mobile */
@media (max-width: 480px) {
    .hero-slider-section {
        padding: 0 0 1.5rem;
        margin-top: 0;
    }
    .hero-slide-content {
        padding: 1.2rem 1rem;
    }
    .hero-slide-title {
        font-size: 1.2rem;
    }
    .hero-slide-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1.2rem;
    }
    .btn-slide {
        padding: 0.55rem 1.2rem !important;
        font-size: 0.8rem !important;
    }
    .hero-slide-image img {
        max-height: 240px;
    }
    .slider-nav {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }
}

/* ─────────────── SITE POPUP ─────────────── */
.site-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99998;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.site-popup-overlay.show {
    display: flex;
    opacity: 1;
}

.site-popup-modal {
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 80px rgba(0,0,0,0.25), 0 0 80px rgba(124,58,237,0.08);
    width: 100%;
    max-width: 520px;
    overflow: hidden;
    position: relative;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.5s var(--ease-spring);
}

.site-popup-overlay.show .site-popup-modal {
    transform: translateY(0) scale(1);
}

.site-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0,0,0,0.06);
    border: none;
    font-size: 1.5rem;
    color: var(--text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    z-index: 5;
    line-height: 1;
}

.site-popup-close:hover {
    background: rgba(239,68,68,0.1);
    color: var(--danger);
    transform: rotate(90deg);
}

.site-popup-image {
    width: 100%;
    max-height: 260px;
    overflow: hidden;
}

.site-popup-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.site-popup-body {
    padding: 2rem;
}

.site-popup-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 0.8rem;
    letter-spacing: -0.02em;
}

.site-popup-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.site-popup-content p {
    margin-bottom: 0.5rem;
}

.site-popup-buttons {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.btn-popup {
    padding: 0.75rem 1.8rem !important;
    font-size: 0.9rem !important;
    border-radius: var(--radius-full) !important;
    flex: 1;
    text-align: center;
    justify-content: center;
    min-width: 140px;
}

/* Popup Responsive */
@media (max-width: 600px) {
    .site-popup-modal {
        max-width: 100%;
        border-radius: var(--radius-md);
        margin: 0.5rem;
    }
    .site-popup-body {
        padding: 1.5rem;
    }
    .site-popup-title {
        font-size: 1.3rem;
    }
    .site-popup-image {
        max-height: 200px;
    }
    .btn-popup {
        padding: 0.65rem 1.2rem !important;
        font-size: 0.85rem !important;
    }
}

/* ─────────── LEGAL PAGES (privacy / terms / data-deletion) ─────────── */
.legal-hero {
    padding: 180px 0 70px;
    text-align: center;
    background: linear-gradient(180deg, #fff 0%, #fafaff 100%);
    border-bottom: 1px solid #f0f0f5;
}
.legal-hero h1 {
    font-size: clamp(2.2rem, 5vw, 3.6rem);
    margin: 1.2rem 0 0.5rem;
    line-height: 1.15;
}
.legal-hero .legal-sub {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 680px;
    margin: 1rem auto 0;
    line-height: 1.6;
}
.legal-section {
    padding: 70px 0 90px;
    background: #fafafe;
}
.legal-section .container { max-width: 880px; }

.legal-card {
    background: #fff;
    padding: 3.5rem 3rem;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.04), 0 1px 3px rgba(15, 23, 42, 0.05);
    border: 1px solid #eef0f5;
    color: var(--text-main);
    line-height: 1.75;
    font-size: 1rem;
}
.legal-card > *:first-child { margin-top: 0; }
.legal-card > *:last-child  { margin-bottom: 0; }

.legal-card h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 2.4rem 0 0.9rem;
    color: #0f172a;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid;
    border-image: linear-gradient(90deg, #7c3aed 0%, #ec4899 60%, transparent 100%) 1;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.legal-card h2::before {
    content: '';
    width: 4px;
    height: 20px;
    background: linear-gradient(180deg, #7c3aed, #ec4899);
    border-radius: 2px;
}
.legal-card h3 {
    font-size: 1.08rem;
    font-weight: 700;
    margin: 1.6rem 0 0.6rem;
    color: #1e293b;
}
.legal-card p { margin: 0 0 1rem; color: #334155; }
.legal-card strong { color: #0f172a; font-weight: 700; }
.legal-card a {
    color: #7c3aed;
    text-decoration: none;
    border-bottom: 1px solid rgba(124, 58, 237, 0.25);
    transition: all 0.2s;
}
.legal-card a:hover { color: #5b21b6; border-bottom-color: #7c3aed; }
.legal-card ul {
    margin: 0.5rem 0 1.2rem;
    padding-left: 0;
    list-style: none;
}
.legal-card li {
    position: relative;
    padding: 0.35rem 0 0.35rem 1.6rem;
    color: #334155;
}
.legal-card li::before {
    content: '';
    position: absolute;
    left: 0.3rem;
    top: 0.85rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #7c3aed, #ec4899);
}
.legal-card code {
    background: #f3f4f6;
    color: #7c3aed;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: ui-monospace, "SF Mono", Menlo, monospace;
    font-size: 0.92em;
}

.legal-success {
    background: linear-gradient(135deg, #dcfce7 0%, #d1fae5 100%);
    border: 1px solid #86efac;
    color: #166534;
    padding: 1.4rem 1.6rem;
    border-radius: 14px;
    margin-bottom: 2rem;
    line-height: 1.6;
}
.legal-success strong { font-size: 1.05rem; display: inline-flex; align-items: center; gap: 0.5rem; }
.legal-success p { margin: 0.6rem 0 0; }
.legal-success code {
    background: #fff;
    color: #166534;
    padding: 4px 10px;
    border-radius: 6px;
    font-family: ui-monospace, monospace;
    font-size: 0.92rem;
    border: 1px solid #86efac;
}

.legal-footer-links {
    text-align: center;
    margin-top: 2rem;
    font-size: 0.92rem;
    color: var(--text-muted);
}
.legal-footer-links a {
    color: #7c3aed;
    text-decoration: none;
    margin: 0 0.4rem;
    font-weight: 600;
}
.legal-footer-links a:hover { text-decoration: underline; }
.legal-footer-links span { opacity: 0.4; }

@media (max-width: 700px) {
    .legal-hero { padding: 140px 0 50px; }
    .legal-section { padding: 50px 0 70px; }
    .legal-card { padding: 2rem 1.4rem; border-radius: 14px; }
    .legal-card h2 { font-size: 1.18rem; margin-top: 1.8rem; }
    .legal-card h3 { font-size: 1rem; }
}
