:root {
    /* -------------------------------------------------------------
       Light Mode Design Tokens (Ultra-Clean, Decent & Readable)
       ------------------------------------------------------------- */
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: rgba(79, 70, 229, 0.08);
    --primary-glow: rgba(79, 70, 229, 0.25);
    
    --secondary: #0ea5e9;
    --secondary-hover: #0284c7;
    --accent: #f59e0b;
    --accent-hover: #d97706;
    
    --background: #f8fafc;
    --surface: #ffffff;
    --surface-subtle: #f1f5f9;
    --surface-hover: #f8fafc;
    
    --text-primary: #0f172a;
    --text-secondary: #475569;
    --text-muted: #94a3b8;
    
    --border: #e2e8f0;
    --border-subtle: #f1f5f9;
    --border-focus: #6366f1;
    
    --error: #ef4444;
    --success: #10b981;
    --warning: #f59e0b;
    
    --shadow-xs: 0 1px 2px 0 rgba(15, 23, 42, 0.04);
    --shadow-sm: 0 1px 3px 0 rgba(15, 23, 42, 0.06), 0 1px 2px -1px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
    --shadow-lg: 0 12px 24px -4px rgba(15, 23, 42, 0.1), 0 4px 8px -2px rgba(15, 23, 42, 0.04);
    --shadow-xl: 0 20px 32px -6px rgba(15, 23, 42, 0.12), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
    
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 14px;
    --radius-xl: 18px;
    --radius-full: 9999px;
}

[data-theme="dark"] {
    /* -------------------------------------------------------------
       Dark Mode Design Tokens (Deep Obsidian Cyber Minimalist)
       ------------------------------------------------------------- */
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-light: rgba(99, 102, 241, 0.15);
    --primary-glow: rgba(99, 102, 241, 0.35);
    
    --secondary: #38bdf8;
    --secondary-hover: #0ea5e9;
    --accent: #fbbf24;
    --accent-hover: #f59e0b;
    
    --background: #090d16;
    --surface: #0f172a;
    --surface-subtle: #1e293b;
    --surface-hover: #1e293b;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --border: #1e293b;
    --border-subtle: #131d2e;
    --border-focus: #818cf8;
    
    --error: #f87171;
    --success: #34d399;
    --warning: #fbbf24;
    
    --shadow-xs: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-sm: 0 2px 4px 0 rgba(0, 0, 0, 0.4);
    --shadow-md: 0 6px 16px -2px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 14px 28px -4px rgba(0, 0, 0, 0.6);
    --shadow-xl: 0 24px 40px -6px rgba(0, 0, 0, 0.7);
}

/* -------------------------------------------------------------
   Universal Invisible / Transparent Scrollbar Rules
   ------------------------------------------------------------- */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: none !important; /* Firefox */
    -ms-overflow-style: none !important;  /* IE and Edge */
}

*::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    display: none !important;
    background: transparent !important;
}

html, body {
    overflow-x: hidden;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

html::-webkit-scrollbar, body::-webkit-scrollbar {
    width: 0px !important;
    height: 0px !important;
    display: none !important;
    background: transparent !important;
}

body {
    font-family: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--text-primary);
    line-height: 1.6;
    letter-spacing: -0.011em;
    transition: background-color 0.25s ease, color 0.25s ease;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6, .logo {
    font-family: 'Plus Jakarta Sans', 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.025em;
    line-height: 1.25;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-accent {
    color: var(--accent);
}

/* Typography Helpers */
.text-center { text-align: center; }
.section-title { 
    font-size: 2.35rem; 
    margin-bottom: 0.85rem; 
    font-weight: 900; 
    letter-spacing: -0.03em; 
    color: var(--text-primary);
}
.section-subtitle { 
    color: var(--text-secondary); 
    font-size: 1.08rem; 
    max-width: 650px; 
    margin: 0 auto 2.75rem auto; 
    line-height: 1.7; 
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: var(--radius-md);
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-weight: 700;
    font-size: 0.92rem;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    gap: 0.5rem;
    user-select: none;
    text-decoration: none;
}
.btn:hover {
    transform: translateY(-1px);
}
.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #7c3aed 100%);
    color: #ffffff !important;
    box-shadow: 0 4px 14px var(--primary-glow);
}
.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-hover) 0%, #6d28d9 100%);
    box-shadow: 0 6px 20px var(--primary-glow);
    color: #ffffff !important;
}

.btn-secondary {
    background-color: var(--secondary);
    color: #ffffff !important;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.3);
}
.btn-secondary:hover {
    background-color: var(--secondary-hover);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.45);
}

.btn-outline {
    background-color: var(--surface);
    border: 1.5px solid var(--border);
    color: var(--text-primary);
    box-shadow: var(--shadow-xs);
}
.btn-outline:hover {
    background-color: var(--surface-subtle);
    border-color: var(--border-focus);
    color: var(--primary);
}

.btn-lg {
    padding: 0.85rem 1.85rem;
    font-size: 1.08rem;
    border-radius: var(--radius-lg);
}

/* Navbar */
.navbar {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-xs);
    transition: background-color 0.25s ease, border-color 0.25s ease;
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.9);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: -0.03em;
}

.nav-links {
    display: flex;
    gap: 1.75rem;
    align-items: center;
}

.nav-links a {
    font-size: 0.94rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}

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

.nav-link-special {
    color: var(--primary) !important;
    font-weight: 700 !important;
    display: inline-flex;
    align-items: center;
}

.nav-actions {
    display: flex;
    gap: 0.85rem;
    align-items: center;
}

.theme-toggle {
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 1.05rem;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme-toggle:hover {
    background-color: var(--border);
    color: var(--text-primary);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    padding: 4.5rem 0;
    background-color: var(--surface);
    border-bottom: 1px solid var(--border);
}

.hero h1 {
    font-size: 3.35rem;
    line-height: 1.15;
    margin-bottom: 1.35rem;
    letter-spacing: -0.035em;
    font-weight: 900;
}

.hero p {
    font-size: 1.18rem;
    color: var(--text-secondary);
    max-width: 650px;
    margin: 0 auto 2.25rem auto;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Feature Cards */
.features {
    padding: 4.5rem 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.75rem;
}

.feature-card {
    background-color: var(--surface);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 1.85rem;
    box-shadow: var(--shadow-sm);
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.feature-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--border-focus);
    transform: translateY(-2px);
}

.feature-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--radius-md);
    background: var(--primary-light);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin-bottom: 1.25rem;
    border: 1px solid var(--border);
}

.feature-card h3 {
    font-size: 1.22rem;
    margin-bottom: 0.65rem;
    font-weight: 800;
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.94rem;
    line-height: 1.6;
}

/* Footer */
.footer {
    background-color: var(--surface);
    border-top: 1px solid var(--border);
    padding: 3.5rem 0 2rem 0;
    margin-top: 3.5rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    margin-bottom: 2.5rem;
}

.footer-col h4 {
    margin-bottom: 1.15rem;
    font-size: 0.95rem;
    font-weight: 800;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.footer-col ul a {
    color: var(--text-secondary);
    font-size: 0.92rem;
    font-weight: 500;
}

.footer-col ul a:hover {
    color: var(--primary);
}

.footer-col p {
    color: var(--text-secondary);
    margin-top: 0.85rem;
    font-size: 0.92rem;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 1.75rem;
    border-top: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.88rem;
}

/* Form Elements */
input, select, textarea {
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--border-focus) !important;
    box-shadow: 0 0 0 3px var(--primary-light);
    outline: none;
}

.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.65rem;
    border-radius: var(--radius-full);
    font-size: 0.74rem;
    font-weight: 800;
    letter-spacing: 0.02em;
}

/* Mobile Nav Drawer & Responsive Utilities */
.mobile-nav-btn {
    display: none;
    width: 38px;
    height: 38px;
    border-radius: var(--radius-md);
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    color: var(--text-primary);
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mobile-nav-btn:hover {
    background: var(--border);
}

.mobile-drawer {
    display: none;
}

.mobile-drawer-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--border);
}

.mobile-drawer-close {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: var(--surface-subtle);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}
.mobile-drawer-close:hover {
    background: var(--border);
    color: var(--text-primary);
}

.mobile-drawer-links {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.mobile-nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.65rem 0.85rem;
    border-radius: var(--radius-md);
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}
.mobile-nav-item:hover {
    background: var(--surface-subtle);
    color: var(--primary);
}
.mobile-nav-item.special {
    background: var(--primary-light);
    color: var(--primary);
    font-weight: 700;
}

.mobile-backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    z-index: 1040;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.mobile-backdrop.show {
    display: block;
    opacity: 1;
    pointer-events: auto;
}

/* Responsive Media Queries */
@media (max-width: 1024px) {
    .container {
        padding: 0 18px;
    }
    .footer-content {
        grid-template-columns: 1fr 1fr !important;
        gap: 2.25rem;
    }
}

@media (max-width: 860px) {
    .nav-links {
        display: none !important;
    }
    .mobile-nav-btn {
        display: flex !important;
    }
    .mobile-drawer {
        display: flex !important;
        position: fixed;
        top: 0;
        right: 0;
        width: 285px;
        max-width: 85vw;
        height: 100vh;
        background: var(--surface);
        border-left: 1px solid var(--border);
        box-shadow: var(--shadow-xl);
        z-index: 1050;
        padding: 1.25rem 1rem;
        flex-direction: column;
        gap: 1rem;
        transform: translateX(105%);
        visibility: hidden;
        pointer-events: none;
        transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.28s ease;
        overflow-y: auto;
    }
    .mobile-drawer.open {
        transform: translateX(0);
        visibility: visible;
        pointer-events: auto;
    }
    .d-desktop-only {
        display: none !important;
    }
    .hero .container {
        grid-template-columns: 1fr !important;
        gap: 2.5rem !important;
    }
    .hero h1 {
        font-size: 2.4rem !important;
    }
    .hero p {
        font-size: 1.02rem !important;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 14px;
    }
    .nav-content {
        height: 60px;
    }
    .hero {
        padding: 3rem 0;
    }
    .hero h1 {
        font-size: 2.1rem !important;
    }
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }
    .features {
        padding: 3rem 0;
    }
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem;
    }
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 2rem;
    }
    .section-title {
        font-size: 1.75rem !important;
    }
    .section-subtitle {
        font-size: 0.95rem !important;
        margin-bottom: 2rem !important;
    }
    .footer {
        padding: 2.5rem 0 1.5rem 0;
        margin-top: 2.5rem;
    }
}

