/* =========================================================
   MAZOSFER — Futuristic Dark Design System v2.0
   ========================================================= */

/* ─── Google Fonts loaded in App.razor ─── */

/* ==================== CSS CUSTOM PROPERTIES ==================== */
:root {
    /* Deep Space Palette */
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-tertiary: #1a1f3a;
    --bg-card: rgba(17, 24, 39, 0.7);
    --bg-nav: rgba(10, 14, 26, 0.85);
    --bg-footer: #060a14;

    --text-primary: #e2e8f0;
    --text-secondary: #94a3b8;
    --text-tertiary: #64748b;
    --text-on-dark: #f8fafc;

    /* Neon Accents */
    --accent-primary: #00e5ff;
    --accent-secondary: #a855f7;
    --accent-tertiary: #10b981;
    --accent-warm: #f97316;
    --accent-gradient: linear-gradient(135deg, #00e5ff, #a855f7);
    --accent-gradient-2: linear-gradient(135deg, #a855f7, #ec4899);
    --accent-gradient-3: linear-gradient(135deg, #10b981, #00e5ff);
    --accent-glow: rgba(0, 229, 255, 0.12);

    /* Glass */
    --glass-bg: rgba(17, 24, 39, 0.5);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-shine: rgba(255, 255, 255, 0.03);

    /* Surface */
    --surface-secondary: rgba(26, 31, 58, 0.5);

    /* Structure */
    --navy-deep: #0a0e1a;
    --navy-medium: #111827;
    --navy-light: #1e293b;

    --border-color: rgba(255, 255, 255, 0.06);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
    --shadow-md: 0 4px 24px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 50px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 30px rgba(0, 229, 255, 0.15);
    --shadow-glow-purple: 0 0 30px rgba(168, 85, 247, 0.15);

    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);

    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;
}

/* Light theme (toggle support) */
[data-theme="light"] {
    --bg-primary: #f8fafc;
    --bg-secondary: #f1f5f9;
    --bg-tertiary: #e2e8f0;
    --bg-card: rgba(255, 255, 255, 0.85);
    --bg-nav: rgba(248, 250, 252, 0.88);
    --bg-footer: #0f172a;

    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-tertiary: #94a3b8;

    --accent-primary: #0284c7;
    --accent-secondary: #7c3aed;
    --accent-glow: rgba(2, 132, 199, 0.1);

    --glass-bg: rgba(255, 255, 255, 0.6);
    --glass-border: rgba(0, 0, 0, 0.06);
    --glass-shine: rgba(255, 255, 255, 0.5);

    --surface-secondary: rgba(241, 245, 249, 0.7);

    --border-color: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 20px rgba(2, 132, 199, 0.12);

    --accent-gradient: linear-gradient(135deg, #0284c7, #7c3aed);
    --accent-gradient-2: linear-gradient(135deg, #7c3aed, #db2777);
    --accent-gradient-3: linear-gradient(135deg, #059669, #0284c7);
}

/* ==================== RESET & BASE ==================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    scrollbar-gutter: stable;
}

body {
    font-family: var(--font-primary);
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    width: 100%;
    margin: 0;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--accent-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--accent-secondary);
}

img {
    max-width: 100%;
    height: auto;
}

::selection {
    background: rgba(0, 229, 255, 0.3);
    color: #fff;
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}


/* ==================== TYPOGRAPHY ==================== */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.2rem, 5vw, 3.75rem);
}

h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.75rem);
}

h3 {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
}

.mono {
    font-family: var(--font-mono);
}

.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.gradient-text-2 {
    background: var(--accent-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-weight: 500;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 0.75rem;
}

.section-subtitle::before {
    content: '';
}

.section-title {
    margin-bottom: 1rem;
}

.section-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* ==================== LAYOUT UTILITIES ==================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: 6rem 0;
}

.section-alt {
    background: var(--bg-secondary);
}

.text-center {
    text-align: center;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

/* ==================== SCROLL REVEAL ==================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 {
    transition-delay: 0.1s;
}

.reveal-delay-2 {
    transition-delay: 0.2s;
}

.reveal-delay-3 {
    transition-delay: 0.3s;
}

.reveal-delay-4 {
    transition-delay: 0.4s;
}

/* ==================== NAVBAR ==================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--bg-nav);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--glass-border);
    padding: 0 1.5rem;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(10, 14, 26, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.4);
    border-bottom-color: rgba(0, 229, 255, 0.08);
}

[data-theme="light"] .navbar.scrolled {
    background: rgba(248, 250, 252, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

.navbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.navbar-brand .brand-icon-svg {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: filter 0.3s ease;
}

.navbar-brand:hover .brand-icon-svg {
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.4));
}

.navbar-links {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    list-style: none;
}

.navbar-links li a {
    display: block;
    padding: 0.5rem 0.9rem;
    color: var(--text-tertiary);
    font-weight: 500;
    font-size: 0.875rem;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    text-decoration: none;
}

.navbar-links li a:hover {
    color: var(--accent-primary);
    background: var(--accent-glow);
}

.nav-cta {
    background: var(--accent-gradient) !important;
    color: #0a0e1a !important;
    padding: 0.45rem 1.25rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
    margin-left: 0.5rem;
    transition: var(--transition);
    letter-spacing: 0.3px;
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.35);
    color: #0a0e1a !important;
}

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: var(--transition);
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.theme-toggle:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: rotate(20deg);
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-toggle span {
    width: 22px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== GLASSMORPHISM CARD ==================== */
.card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: none;
    border-radius: var(--radius-md);
    padding: 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: linear-gradient(135deg, var(--glass-shine), transparent 40%);
    pointer-events: none;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 40px rgba(0, 229, 255, 0.08);
}

/* Spotlight effect container — JS sets --mouse-x and --mouse-y */
.card-spotlight {
    --mouse-x: 50%;
    --mouse-y: 50%;
}

.card-spotlight::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(350px circle at var(--mouse-x) var(--mouse-y),
            rgba(0, 229, 255, 0.06),
            transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}

.card-spotlight:hover::after {
    opacity: 1;
}

.card-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    background: var(--accent-glow);
    color: var(--accent-primary);
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    transition: var(--transition);
}

.card:hover .card-icon {
    background: var(--accent-gradient);
    color: #0a0e1a;
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.card h3 {
    margin-bottom: 0.6rem;
    font-size: 1.15rem;
}

.card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

/* ==================== HERO SECTION ==================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-primary);
    overflow: hidden;
    padding: 8rem 1.5rem 4rem;
}

/* Particle canvas sits behind content */
#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0, 229, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 0;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(0, 229, 255, 0.08), transparent),
        radial-gradient(ellipse 500px 350px at 80% 30%, rgba(168, 85, 247, 0.06), transparent),
        radial-gradient(ellipse 400px 300px at 50% 80%, rgba(16, 185, 129, 0.05), transparent);
    animation: hero-glow 8s ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes hero-glow {
    0% {
        opacity: 0.6;
        transform: scale(1);
    }

    100% {
        opacity: 1;
        transform: scale(1.08);
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 850px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    border: 1px solid rgba(0, 229, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--accent-primary);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    margin-bottom: 2rem;
    background: rgba(0, 229, 255, 0.05);
    backdrop-filter: blur(10px);
    animation: fadeInUp 0.6s ease;
    letter-spacing: 1px;
}

.hero h1 {
    color: var(--text-primary);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.12;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.1s both;
    letter-spacing: -1px;
}

/* Typewriter cursor */
.typewriter-cursor {
    display: inline-block;
    width: 3px;
    height: 1em;
    background: var(--accent-primary);
    margin-left: 2px;
    animation: blink-cursor 0.8s step-end infinite;
    vertical-align: text-bottom;
}

@keyframes blink-cursor {
    50% {
        opacity: 0;
    }
}

.hero p {
    color: var(--text-secondary);
    font-size: 1.15rem;
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 4rem;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-value {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-mono);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stat .stat-label {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    margin-top: 0.25rem;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

/* Floating code snippet */
.hero-code-float {
    position: absolute;
    right: -60px;
    top: 50%;
    transform: translateY(-50%) rotate(3deg);
    width: 280px;
    padding: 1.25rem;
    background: rgba(17, 24, 39, 0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-tertiary);
    line-height: 1.8;
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
    animation: float 6s ease-in-out infinite;
    display: none;
    /* shown on large screens */
}

@keyframes float {

    0%,
    100% {
        transform: translateY(-50%) rotate(3deg);
    }

    50% {
        transform: translateY(calc(-50% - 15px)) rotate(1deg);
    }
}

.code-keyword {
    color: #a855f7;
}

.code-string {
    color: #10b981;
}

.code-function {
    color: #00e5ff;
}

.code-comment {
    color: #475569;
    font-style: italic;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== BUTTONS ==================== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    font-size: 0.92rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    font-family: var(--font-primary);
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--accent-gradient);
    color: #0a0e1a;
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
    font-weight: 700;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 229, 255, 0.4);
    color: #0a0e1a;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background: var(--accent-glow);
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--glass-bg);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(8px);
}

.btn-secondary:hover {
    border-color: var(--accent-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.82rem;
}

/* ==================== TERMINAL WINDOW ==================== */
.terminal {
    background: rgba(10, 14, 26, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    backdrop-filter: blur(12px);
}

.terminal-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-bottom: 1px solid var(--glass-border);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-dot.red {
    background: #ef4444;
}

.terminal-dot.yellow {
    background: #f59e0b;
}

.terminal-dot.green {
    background: #22c55e;
}

.terminal-title {
    flex: 1;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-tertiary);
    margin-right: 42px;
}

.terminal-body {
    padding: 1.25rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.82rem;
    line-height: 2;
    color: var(--text-secondary);
}

.terminal-body .t-prompt {
    color: var(--accent-tertiary);
}

.terminal-body .t-cmd {
    color: var(--accent-primary);
}

.terminal-body .t-flag {
    color: var(--accent-secondary);
}

.terminal-body .t-string {
    color: #f59e0b;
}

/* ==================== DECORATIVE CODE BLOCK ==================== */
.code-block-deco {
    background: rgba(10, 14, 26, 0.85);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.25rem 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.78rem;
    line-height: 1.9;
    color: var(--text-tertiary);
    overflow: hidden;
    position: relative;
}

.code-block-deco .line-num {
    color: #334155;
    margin-right: 1rem;
    user-select: none;
}

/* ==================== BENTO GRID ==================== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(160px, auto);
    gap: 1.5rem;
}

.bento-grid .bento-span-2 {
    grid-column: span 2;
}

.bento-grid .bento-row-2 {
    grid-row: span 2;
}

/* ==================== PAGE HEADER ==================== */
.page-header {
    padding: 10rem 0 4rem;
    background: var(--bg-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
    border: none;
    outline: none;
}

.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 600px 300px at 50% 60%, rgba(0, 229, 255, 0.05), transparent),
        radial-gradient(ellipse 400px 250px at 30% 40%, rgba(168, 85, 247, 0.03), transparent);
    pointer-events: none;
}

/* Grid çizgilerini kaldırdık — çerçeve gibi görünüyordu */

.page-header h1 {
    color: var(--text-primary);
    position: relative;
    z-index: 1;
    margin-bottom: 0.5rem;
    border: none;
    outline: none;
}

.page-header p {
    color: var(--text-tertiary);
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
    letter-spacing: 1px;
}

/* ── Light-mode hardcoded-color overrides ── */

/* Hero */
[data-theme="light"] .hero {
    background: var(--bg-primary);
}

[data-theme="light"] .hero::before {
    background:
        radial-gradient(ellipse 600px 400px at 20% 50%, rgba(2, 132, 199, 0.08), transparent),
        radial-gradient(ellipse 500px 350px at 80% 30%, rgba(124, 58, 237, 0.06), transparent),
        radial-gradient(ellipse 400px 300px at 50% 80%, rgba(5, 150, 105, 0.05), transparent);
}

[data-theme="light"] .hero-grid {
    background-image:
        linear-gradient(rgba(2, 132, 199, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 132, 199, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .hero-badge {
    border-color: rgba(2, 132, 199, 0.2);
    background: rgba(2, 132, 199, 0.06);
    color: var(--accent-primary);
}

[data-theme="light"] .hero-stat .stat-label {
    color: var(--text-tertiary);
}

/* Navbar */
[data-theme="light"] .navbar.scrolled {
    background: rgba(248, 250, 252, 0.95);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-bottom-color: rgba(0, 0, 0, 0.06);
}

/* Cards */
[data-theme="light"] .card {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04);
}

[data-theme="light"] .card:hover {
    border-color: rgba(2, 132, 199, 0.2);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .card-icon {
    background: rgba(2, 132, 199, 0.08);
    color: var(--accent-primary);
}

/* Testimonials */
[data-theme="light"] .testimonial-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .testimonial-card:hover {
    border-color: rgba(2, 132, 199, 0.15);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

/* Process steps */
[data-theme="light"] .process-step:not(:last-child)::after {
    background: linear-gradient(to bottom, rgba(2, 132, 199, 0.3), rgba(124, 58, 237, 0.1), transparent);
}

[data-theme="light"] .process-number {
    box-shadow: 0 0 20px rgba(2, 132, 199, 0.2);
}

/* Footer */
[data-theme="light"] .footer {
    background: #f1f5f9;
    border-top-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-about h3,
[data-theme="light"] .footer-col h4 {
    color: var(--text-primary);
}

[data-theme="light"] .footer-about p,
[data-theme="light"] .footer-col ul li a,
[data-theme="light"] .footer-col ul li,
[data-theme="light"] .footer-socials a {
    color: var(--text-secondary);
}

[data-theme="light"] .footer-bottom {
    border-top-color: rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .footer-socials a {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
}

[data-theme="light"] .footer-socials a:hover {
    color: #fff;
}

/* Forms */
[data-theme="light"] .form-control {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.12);
    color: var(--text-primary);
}

[data-theme="light"] .form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.1);
    background: rgba(2, 132, 199, 0.02);
}

/* Scrollbar */
[data-theme="light"] ::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
}

[data-theme="light"] ::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

/* Page header */
[data-theme="light"] .page-header::before {
    background:
        radial-gradient(ellipse 450px 250px at 50% 60%, rgba(2, 132, 199, 0.06), transparent),
        radial-gradient(ellipse 300px 200px at 30% 40%, rgba(124, 58, 237, 0.04), transparent);
}

[data-theme="light"] .page-header::after {
    background-image:
        linear-gradient(rgba(2, 132, 199, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(2, 132, 199, 0.02) 1px, transparent 1px);
}

/* Section alt */
[data-theme="light"] .section-alt {
    background: var(--bg-secondary);
}

/* Terminal (dekoratif) */
[data-theme="light"] .terminal {
    background: rgba(15, 23, 42, 0.9);
}

/* Bento grid */
[data-theme="light"] .bento-grid .card {
    background: rgba(255, 255, 255, 0.9);
}

/* ==================== PROCESS STEPS — NEON TIMELINE ==================== */
.process-step {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    margin-bottom: 3rem;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 27px;
    top: 60px;
    bottom: -2rem;
    width: 2px;
    background: linear-gradient(to bottom, rgba(0, 229, 255, 0.4), rgba(168, 85, 247, 0.1), transparent);
}

.process-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: var(--accent-gradient);
    color: #0a0e1a;
    font-family: var(--font-mono);
    font-size: 1.15rem;
    font-weight: 800;
    box-shadow: 0 0 25px rgba(0, 229, 255, 0.25);
    position: relative;
    z-index: 1;
}

.process-content h3 {
    margin-bottom: 0.5rem;
}

.process-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ==================== TESTIMONIALS ==================== */
.testimonial-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 2rem;
    position: relative;
    transition: var(--transition);
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent-gradient);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-card:hover {
    border-color: rgba(0, 229, 255, 0.12);
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.testimonial-card .quote-icon {
    font-size: 2.5rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.testimonial-card .quote {
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.8;
    font-size: 0.95rem;
}

.testimonial-card .author {
    font-weight: 700;
    color: var(--text-primary);
}

.testimonial-card .role {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--bg-footer);
    color: #94a3b8;
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--glass-border);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--accent-gradient);
    opacity: 0.3;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-about h3,
.footer-col h4 {
    color: #f1f5f9;
    margin-bottom: 1rem;
    font-size: 1rem;
}

.footer-about p {
    font-size: 0.88rem;
    line-height: 1.8;
    max-width: 320px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.5rem;
}

.footer-col ul li a,
.footer-col ul li {
    color: #64748b;
    font-size: 0.88rem;
    transition: var(--transition);
}

.footer-col ul li a:hover {
    color: var(--accent-primary);
    padding-left: 4px;
}

.footer-socials {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.footer-socials a {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--glass-border);
    color: #64748b;
    font-size: 1rem;
    transition: var(--transition);
}

.footer-socials a:hover {
    background: var(--accent-gradient);
    color: #0a0e1a;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.3);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.04);
    padding-top: 2rem;
    text-align: center;
    font-size: 0.8rem;
    font-family: var(--font-mono);
    color: var(--text-tertiary);
}

/* ==================== CONTACT FORM ==================== */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 0.4rem;
    letter-spacing: 0.3px;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 0.92rem;
    font-family: var(--font-primary);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.1);
    background: rgba(0, 229, 255, 0.02);
}

.form-control::placeholder {
    color: var(--text-tertiary);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* ==================== ALERT ==================== */
.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--radius-sm);
    margin-bottom: 1.5rem;
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(8px);
}

.alert-success {
    background: rgba(16, 185, 129, 0.08);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.alert-error {
    background: rgba(239, 68, 68, 0.08);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

/* ==================== SPINNER ==================== */
.spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--glass-border);
    border-top-color: var(--accent-primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 1.5rem auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* ==================== BADGES ==================== */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.72rem;
    font-weight: 600;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.badge-warning {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.badge-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* ==================== GLITCH TEXT (404) ==================== */
.glitch {
    position: relative;
    font-size: clamp(5rem, 15vw, 12rem);
    font-weight: 900;
    font-family: var(--font-mono);
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch-anim 2s infinite;
}

@keyframes glitch-anim {

    0%,
    100% {
        text-shadow: 2px 0 #a855f7, -2px 0 #00e5ff;
    }

    25% {
        text-shadow: -2px -1px #a855f7, 2px 1px #00e5ff;
    }

    50% {
        text-shadow: 1px 2px #a855f7, -1px -2px #00e5ff;
    }

    75% {
        text-shadow: -1px 1px #a855f7, 1px -1px #00e5ff;
    }
}

/* ==================== ADMIN PANEL ==================== */
.admin-layout {
    display: flex;
    min-height: 100vh;
    padding-top: 0;
}

.admin-sidebar {
    width: 270px;
    background: var(--bg-secondary);
    border-right: 1px solid var(--border-color);
    position: sticky;
    top: 72px;
    height: calc(100vh - 72px);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

.admin-sidebar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.5rem 1.5rem 1.25rem;
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border-color);
}

.admin-sidebar-brand i {
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.admin-sidebar-nav {
    flex: 1;
    padding: 0.75rem 0;
}

.admin-sidebar-footer {
    border-top: 1px solid var(--border-color);
    padding: 0.5rem 0;
}

.admin-sidebar-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.7rem 1.5rem;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.875rem;
    transition: var(--transition);
    text-decoration: none;
    border-left: 3px solid transparent;
    margin: 1px 0;
}

.admin-sidebar-item i {
    font-size: 1.05rem;
    width: 20px;
    text-align: center;
}

.admin-sidebar-item:hover {
    color: var(--accent-primary);
    background: var(--accent-glow);
}

.admin-sidebar-item.active {
    color: var(--accent-primary);
    background: var(--accent-glow);
    border-left-color: var(--accent-primary);
    font-weight: 600;
}

.admin-content {
    flex: 1;
    padding: 2rem 2.5rem;
    background: var(--bg-primary);
    overflow-y: auto;
    min-height: calc(100vh - 72px);
}

.admin-header {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-bottom: 1.75rem;
}

.admin-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
}

.admin-header h3 {
    font-size: 1.15rem;
    font-weight: 600;
}

.admin-header-sub {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    font-weight: 400;
    font-family: var(--font-mono);
}

.admin-stat-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: var(--transition);
    backdrop-filter: blur(8px);
}

.admin-stat-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.admin-stat-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    font-size: 1.4rem;
    flex-shrink: 0;
}

.admin-stat-info {
    display: flex;
    flex-direction: column;
}

.admin-stat-value {
    font-size: 1.75rem;
    font-weight: 800;
    font-family: var(--font-mono);
    color: var(--text-primary);
    line-height: 1.2;
}

.admin-stat-label {
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-family: var(--font-mono);
}

.admin-quick-action {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    text-decoration: none;
    transition: var(--transition);
}

.admin-quick-action i {
    font-size: 1.2rem;
    color: var(--accent-primary);
}

.admin-quick-action:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--accent-glow);
    transform: translateY(-2px);
}

.admin-loading-state,
.admin-empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
}

.admin-loading-state p,
.admin-empty-state p {
    color: var(--text-tertiary);
    font-size: 0.9rem;
    margin-top: 0.75rem;
    max-width: 400px;
}

.admin-empty-state h3 {
    font-size: 1.1rem;
    margin-top: 1rem;
    color: var(--text-secondary);
}

.admin-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: var(--glass-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.admin-table th,
.admin-table td {
    padding: 0.875rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.875rem;
}

.admin-table th {
    background: rgba(255, 255, 255, 0.02);
    font-weight: 600;
    color: var(--text-tertiary);
    text-transform: uppercase;
    font-size: 0.72rem;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

.admin-table tbody tr {
    transition: var(--transition);
}

.admin-table tbody tr:hover {
    background: var(--accent-glow);
}

.admin-table tbody tr:last-child td {
    border-bottom: none;
}

.btn-danger-outline {
    background: transparent;
    color: var(--text-tertiary);
    border: 1px solid var(--glass-border);
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: var(--transition);
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.btn-danger-outline:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.2s ease;
}

.modal-content {
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    animation: scaleIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.92);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-header h3 {
    font-size: 1.25rem;
}

.modal-close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: var(--glass-bg);
    border-radius: var(--radius-full);
    cursor: pointer;
    color: var(--text-primary);
    font-size: 1.2rem;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
}

/* ==================== SCROLLBAR ==================== */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-primary);
}

/* ==================== RESPONSIVE ==================== */
@media (min-width: 1200px) {
    .hero-code-float {
        display: block;
    }
}

@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-grid .bento-span-2 {
        grid-column: span 1;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ==================== MOBILE DRAWER (premium slide) ==================== */
.mobile-drawer-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(0px);
    -webkit-backdrop-filter: blur(0px);
    z-index: 9998;
    pointer-events: none;
    transition: background 0.4s ease, backdrop-filter 0.4s ease;
}

.mobile-drawer-overlay.active {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    pointer-events: auto;
}

.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 300px;
    max-width: 85vw;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-primary) 100%);
    border-right: 1px solid var(--glass-border);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    transform: translateX(-105%);
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease;
    box-shadow: none;
    overflow: hidden;
}

.mobile-drawer::before {
    content: '';
    position: absolute;
    top: 20%;
    left: -40%;
    width: 160%;
    height: 60%;
    background: radial-gradient(ellipse, rgba(0, 229, 255, 0.03), transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.mobile-drawer.open {
    transform: translateX(0);
    box-shadow: 10px 0 60px rgba(0, 0, 0, 0.5),
        2px 0 20px rgba(0, 229, 255, 0.04);
}

/* ─── Gradient Accent Line at Top ─── */
.mobile-drawer-accent-line {
    height: 3px;
    background: var(--accent-gradient);
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.mobile-drawer-accent-line::after {
    content: '';
    position: absolute;
    inset: 0;
    background: inherit;
    filter: blur(8px);
    opacity: 0.6;
}

/* ─── Drawer Header ─── */
.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    position: relative;
    z-index: 1;
}

.mobile-drawer-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-tertiary);
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}

.mobile-drawer-close:hover {
    color: #f87171;
    border-color: rgba(248, 113, 113, 0.3);
    background: rgba(248, 113, 113, 0.08);
    transform: rotate(90deg);
}

/* ─── Tagline ─── */
.mobile-drawer-tagline {
    padding: 0 1.5rem 1rem;
    position: relative;
    z-index: 1;
}

.mobile-drawer-tagline span {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 2.5px;
    color: var(--text-tertiary);
    opacity: 0.7;
}

/* ─── Drawer Navigation ─── */
.mobile-drawer-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 0.75rem 0.75rem;
    gap: 0.2rem;
    overflow-y: auto;
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
}

.mobile-drawer-nav a {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1rem;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: var(--radius-sm);
    transition: all 0.25s ease;
    position: relative;
    overflow: hidden;
}

/* Left accent bar on hover */
.mobile-drawer-nav a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 25%;
    bottom: 25%;
    width: 3px;
    background: var(--accent-gradient);
    border-radius: 0 3px 3px 0;
    transform: scaleY(0);
    transition: transform 0.25s ease;
}

.mobile-drawer-nav a:hover::before,
.mobile-drawer-nav a:active::before {
    transform: scaleY(1);
}

.mobile-drawer-nav a i {
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    font-size: 1rem;
    color: var(--text-tertiary);
    transition: all 0.25s ease;
    flex-shrink: 0;
}

.mobile-drawer-nav a span {
    letter-spacing: 0.2px;
}

.mobile-drawer-nav a:hover,
.mobile-drawer-nav a:active {
    color: var(--text-primary);
    background: rgba(0, 229, 255, 0.04);
    padding-left: 1.2rem;
}

.mobile-drawer-nav a:hover i,
.mobile-drawer-nav a:active i {
    color: var(--accent-primary);
    background: var(--accent-glow);
    border-color: rgba(0, 229, 255, 0.15);
    box-shadow: 0 0 12px rgba(0, 229, 255, 0.1);
}

/* Staggered animation for nav links */
.mobile-drawer.open .mobile-drawer-nav a {
    animation: drawerItemSlide 0.4s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    opacity: 0;
    transform: translateX(-16px);
}

.mobile-drawer.open .mobile-drawer-nav a:nth-child(1) {
    animation-delay: 0.06s;
}

.mobile-drawer.open .mobile-drawer-nav a:nth-child(2) {
    animation-delay: 0.10s;
}

.mobile-drawer.open .mobile-drawer-nav a:nth-child(3) {
    animation-delay: 0.14s;
}

.mobile-drawer.open .mobile-drawer-nav a:nth-child(4) {
    animation-delay: 0.18s;
}

.mobile-drawer.open .mobile-drawer-nav a:nth-child(5) {
    animation-delay: 0.22s;
}

.mobile-drawer.open .mobile-drawer-nav a:nth-child(6) {
    animation-delay: 0.26s;
}

@keyframes drawerItemSlide {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ─── Drawer Footer ─── */
.mobile-drawer-footer {
    padding: 1rem 1.25rem 1.5rem;
    position: relative;
    z-index: 1;
}

.mobile-drawer-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.5rem;
    background: var(--accent-gradient);
    color: #0a0e1a !important;
    font-weight: 700;
    font-size: 0.92rem;
    border-radius: var(--radius-full);
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 4px 20px rgba(0, 229, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.mobile-drawer-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.mobile-drawer-cta:hover::before {
    left: 100%;
}

.mobile-drawer-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 30px rgba(0, 229, 255, 0.35);
}

.mobile-drawer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin: 0.85rem 0;
}

.mobile-drawer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.mobile-drawer-contact a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    font-size: 0.78rem;
    color: var(--text-tertiary);
    font-family: var(--font-mono);
    text-decoration: none;
    padding: 0.3rem 0.25rem;
    border-radius: var(--radius-sm);
    transition: color 0.2s ease;
}

.mobile-drawer-contact a:hover {
    color: var(--accent-primary);
}

.mobile-drawer-contact a i {
    color: var(--accent-primary);
    font-size: 0.82rem;
    width: 16px;
    text-align: center;
}

.mobile-drawer-copyright {
    margin-top: 0.75rem;
    font-size: 0.65rem;
    color: var(--text-tertiary);
    opacity: 0.4;
    font-family: var(--font-mono);
    letter-spacing: 0.5px;
}

/* Desktop'ta drawer gizle */
@media (min-width: 769px) {

    .mobile-drawer,
    .mobile-drawer-overlay {
        display: none !important;
    }
}

@media (max-width: 768px) {

    /* 768px altında desktop menüyü gizle */
    .navbar-links {
        display: none !important;
    }

    .mobile-toggle {
        display: flex;
        z-index: 10000;
        position: relative;
    }

    /* Hamburger → X animasyonu */
    .mobile-toggle.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: scaleX(0);
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* ── Hero ── */
    .hero {
        padding: 6rem 1rem 3rem;
        min-height: auto;
    }

    .hero h1 {
        font-size: clamp(1.6rem, 6vw, 2.5rem);
    }

    .hero p {
        font-size: 0.92rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-stats {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }

    .hero-stat {
        min-width: 100px;
    }

    .hero-stat .stat-value {
        font-size: 1.6rem;
    }

    .hero-buttons {
        flex-wrap: wrap;
        gap: 0.75rem;
    }

    .hero-buttons .btn {
        width: 100%;
        justify-content: center;
    }

    /* ── Grid ── */
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* ── Footer ── */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    /* ── Bento grid ── */
    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-grid .bento-span-2,
    .bento-grid .bento-row-2 {
        grid-column: span 1;
        grid-row: span 1;
    }

    /* ── Process steps ── */
    .process-step {
        flex-direction: column;
        gap: 1rem;
    }

    .process-step::after {
        display: none;
    }

    /* ── Admin ── */
    .admin-sidebar {
        display: none;
    }

    .admin-content {
        padding: 1rem;
    }

    /* ── General mobile ── */
    .nav-cta {
        margin-left: 0 !important;
    }

    .section {
        padding: 3.5rem 0;
    }

    .page-header {
        padding: 7rem 0 2.5rem;
    }

    .page-header h1 {
        font-size: 1.75rem;
    }

    .card {
        padding: 1.5rem;
    }

    .card-icon {
        width: 44px;
        height: 44px;
        font-size: 1.1rem;
    }

    .container {
        padding: 0 1rem;
    }

    .testimonial-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .section-description {
        font-size: 0.92rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.6rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .hero-stats {
        flex-direction: column;
        gap: 0.75rem;
        align-items: stretch;
    }

    .hero-stat {
        text-align: center;
    }

    .grid-4 {
        grid-template-columns: 1fr;
    }

    .section {
        padding: 2.5rem 0;
    }

    .page-header {
        padding: 6.5rem 0 2rem;
    }

    .page-header h1 {
        font-size: 1.5rem;
    }

    .footer-grid {
        gap: 1.5rem;
    }

    .footer-about p {
        max-width: 100%;
    }

    .card {
        padding: 1.25rem;
    }

    .login-card {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
}