@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 300;
    font-display: swap;
    src: url('../fonts/inter-300.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/inter-400.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url('../fonts/inter-500.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url('../fonts/inter-600.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url('../fonts/inter-700.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url('../fonts/inter-800.woff2') format('woff2');
}
@font-face {
    font-family: 'Inter';
    font-style: normal;
    font-weight: 900;
    font-display: swap;
    src: url('../fonts/inter-900.woff2') format('woff2');
}

/* ========== DARK MODE VARIABLES & SYSTEM ========== */
:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-tertiary: #f1f5f9;
    --text-primary: #18181b;
    --text-secondary: #52525b;
    --border-color: rgba(228, 228, 231, 0.6);
    --card-bg: #ffffff;
    --header-bg: rgba(255, 255, 255, 0.85);
    --footer-bg: #0f172a;
    --footer-text: #94a3b8;
    --accent-purple: #7c3aed;
    --accent-blue: #2563eb;
}

[data-theme="dark"] {
    --bg-primary: #090d16;
    --bg-secondary: #0f172a;
    --bg-tertiary: #1e293b;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --border-color: rgba(51, 65, 85, 0.7);
    --card-bg: #0f172a;
    --header-bg: rgba(9, 13, 22, 0.85);
}

body, header, footer, a, p, span, h1, h2, h3, h4, h5, h6, .card, .settings-card, input, select, textarea, label, td, th, .dashboard-layout, .dashboard-sidebar, .dashboard-main, .login-modal-container, .bykine-chat-header, .login-modal-body, .login-modal-footer, .info-section {
    transition: background-color 0.4s ease, border-color 0.4s ease, color 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="dark"] body {
    background-color: var(--bg-primary);
    color: var(--text-primary);
}

[data-theme="dark"] .dashboard-layout,
[data-theme="dark"] .dashboard-main,
[data-theme="dark"] .dashboard-sidebar {
    background-color: var(--bg-primary) !important;
}

[data-theme="dark"] .settings-card,
[data-theme="dark"] .settings-section,
[data-theme="dark"] .info-section {
    background-color: var(--card-bg) !important;
    border-color: var(--border-color) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .settings-card h3,
[data-theme="dark"] .settings-card h4,
[data-theme="dark"] .info-section h3 {
    color: #ffffff !important;
}

[data-theme="dark"] .text-muted,
[data-theme="dark"] .text-secondary,
[data-theme="dark"] p.text-muted,
[data-theme="dark"] span.text-muted {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] input[type="text"],
[data-theme="dark"] input[type="email"],
[data-theme="dark"] input[type="password"],
[data-theme="dark"] input[type="tel"],
[data-theme="dark"] select,
[data-theme="dark"] textarea {
    background-color: var(--bg-tertiary) !important;
    color: var(--text-primary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .login-modal-container {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .bykine-chat-header {
    background: #1e293b !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .bykine-chat-close {
    color: #ffffff !important;
}

[data-theme="dark"] .login-modal-body,
[data-theme="dark"] .login-modal-footer {
    background-color: var(--bg-secondary) !important;
    color: var(--text-primary) !important;
}

[data-theme="dark"] .login-modal-footer p,
[data-theme="dark"] .login-modal-footer a {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .admin-tab {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .admin-tab.active {
    color: #ffffff !important;
    background: var(--bg-tertiary) !important;
}

[data-theme="dark"] .header {
    background: var(--header-bg) !important;
    border-color: var(--border-color) !important;
}

[data-theme="dark"] .nav-link {
    color: var(--text-secondary) !important;
}

[data-theme="dark"] .nav-link:hover,
[data-theme="dark"] .nav-link.active {
    color: #ffffff !important;
}

[data-theme="dark"] .logo-text {
    color: #ffffff !important;
}

[data-theme="dark"] section {
    background-color: var(--bg-primary);
}

[data-theme="dark"] footer,
[data-theme="dark"] .footer {
    background-color: #030712 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08) !important;
    color: #94a3b8 !important;
}

[data-theme="dark"] .header,
[data-theme="dark"] #globalNavbar {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

[data-theme="dark"] footer h3,
[data-theme="dark"] .footer h3 {
    color: #ffffff !important;
}

[data-theme="dark"] footer p,
[data-theme="dark"] .footer p {
    color: #94a3b8 !important;
}

[data-theme="dark"] footer a,
[data-theme="dark"] .footer a {
    color: #cbd5e1 !important;
}

[data-theme="dark"] footer a:hover,
[data-theme="dark"] .footer a:hover {
    color: #7c3aed !important;
}

[data-theme="dark"] .footer-grid,
[data-theme="dark"] .footer-bottom {
    border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ========== LANDING PAGE DARK MODE OVERRIDES ========== */
[data-theme="dark"] .hero {
    background: radial-gradient(circle at 15% 50%, rgba(124, 58, 237, 0.12), transparent 30%),
                radial-gradient(circle at 85% 30%, rgba(37, 99, 235, 0.12), transparent 30%),
                linear-gradient(135deg, #090d16 0%, #0f172a 100%) !important;
}

[data-theme="dark"] .hero h1 {
    color: #ffffff !important;
}

[data-theme="dark"] .hero-subhead {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .benefit-item {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .hero-strong-sentence {
    color: #ffffff !important;
    background: linear-gradient(90deg, rgba(124, 58, 237, 0.08) 0%, rgba(37, 99, 235, 0.08) 100%) !important;
    border-color: rgba(124, 58, 237, 0.25) !important;
}

[data-theme="dark"] .limited-badge {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.12) 0%, rgba(245, 158, 11, 0.12) 100%) !important;
    border-color: rgba(239, 68, 68, 0.3) !important;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.1) !important;
}

[data-theme="dark"] .limited-text {
    color: #fecaca !important;
}

[data-theme="dark"] .limited-number {
    background: linear-gradient(135deg, #ef4444, #f59e0b) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 10px rgba(239, 68, 68, 0.4) !important;
}

[data-theme="dark"] .pricing-products {
    background: var(--bg-primary) !important;
}

[data-theme="dark"] .section-header h2 {
    color: #ffffff !important;
}

[data-theme="dark"] .section-sub {
    color: #94a3b8 !important;
}

/* Premium blue/indigo dashboard gradients for landing page cards */
[data-theme="dark"] .audience-card,
[data-theme="dark"] .node-card,
[data-theme="dark"] .product-card,
[data-theme="dark"] .package-card {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
    border-color: rgba(124, 58, 237, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .audience-card:hover,
[data-theme="dark"] .node-card:hover,
[data-theme="dark"] .product-card:hover,
[data-theme="dark"] .package-card:hover {
    border-color: rgba(124, 58, 237, 0.6) !important;
    box-shadow: 0 20px 40px rgba(124, 58, 237, 0.2) !important;
}

[data-theme="dark"] .product-card.recommended {
    border: 3px solid #ef4444 !important;
    background: linear-gradient(135deg, #1e1b4b 0%, #3f1a24 100%) !important;
}

[data-theme="dark"] .audience-card h3,
[data-theme="dark"] .node-card h3,
[data-theme="dark"] .product-price,
[data-theme="dark"] .package-price {
    color: #ffffff !important;
}

[data-theme="dark"] .product-price span,
[data-theme="dark"] .package-price span {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .audience-card p,
[data-theme="dark"] .node-card p,
[data-theme="dark"] .product-quote,
[data-theme="dark"] .package-quote,
[data-theme="dark"] .product-features li,
[data-theme="dark"] .package-features li {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .product-goal,
[data-theme="dark"] .package-goal {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-package {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .btn-package:hover {
    background: rgba(255, 255, 255, 0.18) !important;
}

[data-theme="dark"] .btn-package-primary,
[data-theme="dark"] .btn-product-primary {
    background: linear-gradient(135deg, #7c3aed, #2563eb) !important;
    color: white !important;
}

[data-theme="dark"] .step-content h3 {
    color: #ffffff !important;
}

[data-theme="dark"] .step-content p {
    color: #94a3b8 !important;
}

[data-theme="dark"] .step-circle {
    box-shadow: 0 0 0 4px var(--bg-primary) !important;
}

[data-theme="dark"] .step-connector::before {
    background: linear-gradient(180deg, #7c3aed, #1e293b) !important;
}

[data-theme="dark"] .route-timeline::before {
    background: linear-gradient(180deg, #7c3aed, #1e293b, #090d16) !important;
}

[data-theme="dark"] .node-marker .node-dot {
    border-color: #090d16 !important;
}

[data-theme="dark"] .testimonials {
    background-color: var(--bg-primary) !important;
}

[data-theme="dark"] .testimonial-card {
    background: rgba(30, 41, 59, 0.45) !important;
    border-color: rgba(51, 65, 85, 0.5) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .testimonial-card .user-name {
    color: #ffffff !important;
}

[data-theme="dark"] .testimonial-card .testimonial-text {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .testimonial-card .testimonial-footer {
    border-top-color: rgba(51, 65, 85, 0.3) !important;
}

[data-theme="dark"] .bento-card {
    background-color: var(--bg-secondary) !important;
    border-color: var(--border-color) !important;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.3) !important;
}

[data-theme="dark"] .bento-content h3 {
    color: #ffffff !important;
}

[data-theme="dark"] .bento-content p {
    color: #94a3b8 !important;
}

[data-theme="dark"] .bento-visual {
    background: linear-gradient(135deg, #090d16, #0f172a) !important;
}

/* Dynamic Review Box in Dark Mode */
[data-theme="dark"] .review-box {
    background: linear-gradient(135deg, #1e1b4b 0%, #312e81 100%) !important;
    border-color: rgba(124, 58, 237, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25) !important;
}

[data-theme="dark"] .review-box.disabled {
    background: linear-gradient(135deg, #1e1b4b 0%, #2e2a72 100%) !important;
    opacity: 0.7 !important;
}

[data-theme="dark"] .review-lock-overlay {
    background: rgba(15, 23, 42, 0.92) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .review-lock-overlay:hover {
    background: rgba(15, 23, 42, 0.82) !important;
}

[data-theme="dark"] .review-lock-text {
    color: #cbd5e1 !important;
}

[data-theme="dark"] .review-input-area {
    background: rgba(255, 255, 255, 0.08) !important;
    color: #ffffff !important;
}

[data-theme="dark"] .review-input-area.disabled {
    color: #94a3b8 !important;
}

[data-theme="dark"] .review-input-area textarea {
    color: #ffffff !important;
}

[data-theme="dark"] .review-input-area textarea::placeholder {
    color: #94a3b8 !important;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-y: scroll; /* Erzwingt die vertikale Scrollbar auf HTML, um Navbar-Sprünge zu verhindern */
    overflow-x: hidden; /* Verhindert horizontalen Scrollbalken auf HTML-Ebene */
}

/* Global Premium Custom Scrollbar for all pages and components */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}
::-webkit-scrollbar-track {
    background: transparent;
}
::-webkit-scrollbar-thumb {
    background: rgba(124, 58, 237, 0.2);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: rgba(124, 58, 237, 0.4);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    width: 100%;
    max-width: 100%;
    position: relative;
    touch-action: manipulation;
    overflow-x: hidden;
    overflow-y: visible; /* Verhindert, dass body eine eigene vertikale Scrollleiste erzeugt */
}

button, input, select, textarea {
    font-family: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* ========== UTILITIES & GLOBALS ========== */
.hidden {
    display: none !important;
}

.finder-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 3.5rem;
    margin-bottom: 1.5rem;
}

.btn-finder {
    padding: 1rem 2.5rem;
    border-radius: 60px;
    font-size: 1.1rem;
    font-weight: 700;
}

.btn-product {
    padding: 0.75rem 2rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    text-align: center;
    text-decoration: none;
    line-height: 1.2;
}

.btn-finder, .btn-product, .btn-product-primary, .btn-modal-next, .btn-modal-submit, .btn-submit, .btn-send, .hero-primary-btn, .review-submit-btn {
    background: linear-gradient(135deg, #7c3aed, #2563eb) !important;
    background-size: 200% auto !important;
    color: white !important;
    border: none !important;
    cursor: pointer;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.25) !important;
}

.btn-finder:hover, .btn-product:hover, .btn-product-primary:hover, .btn-modal-next:hover, .btn-modal-submit:hover, .btn-submit:hover, .btn-send:hover, .hero-primary-btn:hover, .review-submit-btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.4) !important;
    background-position: right center !important;
}

.custom-notify {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #18181b;
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    pointer-events: none;
}

.custom-notify.show {
    opacity: 1;
    transform: translateY(0);
}

.faq-hidden {
    display: none !important;
}

/* ========== HEADER & NAVIGATION ========== */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(228, 228, 231, 0.6);
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    color: #18181b;
}

.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.menu-toggle {
    display: none;
}

.nav-link {
    color: #52525b;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-link:hover,
.nav-link.active {
    color: #18181b;
}

.nav-cta {
    background: #18181b;
    padding: 0.5rem 1.2rem;
    border-radius: 40px;
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: all 0.2s;
}

.nav-cta:hover {
    background: #3f3f46;
}

/* Modern Back Button in Navbar for App Pages */
.nav-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.55rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(228, 228, 231, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

[data-theme="dark"] .nav-back-btn {
    background: rgba(30, 41, 59, 0.5);
    border-color: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.nav-back-btn:hover {
    color: #ffffff !important;
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.35);
    transform: translateY(-1.5px);
}

[data-theme="dark"] .nav-back-btn:hover {
    background: linear-gradient(135deg, var(--accent-purple), var(--accent-blue));
    border-color: transparent;
    box-shadow: 0 6px 20px rgba(124, 58, 237, 0.5);
    color: #ffffff !important;
}

.nav-back-btn .back-arrow-svg {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--accent-purple);
}

.nav-back-btn:hover .back-arrow-svg {
    transform: translateX(-4px);
    color: #ffffff;
}

[data-theme="dark"] .nav-back-btn .back-arrow-svg {
    color: #a78bfa;
}

[data-theme="dark"] .nav-back-btn:hover .back-arrow-svg {
    color: #ffffff;
}

@media (max-width: 768px) {
    .nav .nav-back-btn {
        width: 100%;
        box-sizing: border-box;
        justify-content: center;
        padding: 0.8rem 1.2rem;
        font-size: 1.1rem;
        border-radius: 12px;
    }

    .subsection-title h3 {
        font-size: 1.2rem;
        display: block;
        margin-top: 0.5rem;
    }

    .subsection-icon {
        display: block;
        margin-right: 0;
        margin-bottom: 0.5rem;
    }

    .subsection-desc {
        margin-left: 0;
    }

    .explanation-box {
        flex-direction: column;
        text-align: center;
    }

    .back-button-designed {
        padding: 0.6rem 1.5rem;
        font-size: 0.85rem;
    }

    .swipe-text-container {
        min-height: 60px;
    }

    .nav-right {
        gap: 1rem;
    }

    .nav-cta {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }

    /* --- HAMBURGER MENU DRAWERS FOR MOBILE --- */
    .menu-toggle {
        display: block !important;
        z-index: 1001 !important; /* Higher than .nav overlay */
        position: relative !important;
        font-size: 1.6rem !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: transparent !important;
        color: var(--text-primary) !important;
        border: none !important;
        cursor: pointer !important;
    }

    .menu-toggle:hover {
        background: var(--bg-tertiary) !important;
    }

    .menu-toggle.active {
        color: var(--accent-purple) !important;
        transform: rotate(90deg) !important;
    }

    .nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 80vw !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.94) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        padding: 6rem 2.5rem 3rem 2.5rem !important;
        border-radius: 0 !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        transform: translateX(105%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        border-left: 1px solid rgba(228, 228, 231, 0.6) !important;
        z-index: 999 !important; /* Below the toggle button, above everything else */
    }

    [data-theme="dark"] .nav {
        background: rgba(9, 13, 22, 0.96) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4) !important;
    }

    .nav.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav .nav-link {
        font-size: 1.25rem !important;
        padding: 1rem 0 !important;
        color: var(--text-primary) !important;
        border-bottom: 1px solid var(--border-color) !important;
        width: 100% !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-decoration: none !important;
    }

    .nav .nav-link::after {
        content: '→' !important;
        opacity: 0.3 !important;
        transform: translateX(-10px) !important;
        transition: all 0.3s ease !important;
        color: var(--accent-purple) !important;
        font-size: 1.1rem !important;
    }

    [data-theme="dark"] .nav .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .nav .nav-link:hover {
        color: var(--accent-purple) !important;
        padding-left: 0.5rem !important;
    }

    .nav .nav-link:hover::after {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    .nav .nav-link:last-child {
        border-bottom: none !important;
    }

    .footer-brand,
    .footer-contact,
    .footer-links {
        text-align: center;
    }

    .stats-grid,
    .dashboard-grid {
        grid-template-columns: 1fr;
    }

    .admin-table-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .admin-table-header input {
        width: 100%;
    }

    .form-row {
        flex-direction: column;
        gap: 1rem;
    }

    .create-user-actions {
        justify-content: stretch;
    }

    .btn-create {
        width: 100%;
        justify-content: center;
    }

    th {
        padding: 0.8rem 1.2rem;
        font-size: 1.1rem;
        border-radius: 12px;
    }
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

/* ========== USER MENU & AUTH ========== */
.user-menu {
    position: relative;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #7c3aed, #2563eb);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
}

.user-avatar:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(124, 58, 237, 0.3);
}

.user-name-header {
    margin-left: 0.5rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: #18181b;
    display: none;
}

@media (min-width: 768px) {
    .user-name-header {
        display: inline;
    }
}

.user-dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: white;
    border: 1px solid #e4e4e7;
    border-radius: 1rem;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.user-menu.active .user-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-header {
    padding: 1rem;
    border-bottom: 1px solid #e4e4e7;
    background: #fafafa;
    border-radius: 1rem 1rem 0 0;
}

.dropdown-email {
    font-size: 0.75rem;
    color: #71717a;
    word-break: break-all;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: #18181b;
    text-decoration: none;
    font-size: 0.85rem;
    transition: background 0.2s;
    cursor: pointer;
}

.dropdown-item:hover {
    background: #f4f4f5;
}

.dropdown-item.logout {
    color: #dc2626;
    border-top: 1px solid #e4e4e7;
}

.dropdown-divider {
    height: 1px;
    background: #e4e4e7;
    margin: 0.25rem 0;
}

.auth-buttons {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logged-in-only {
    display: none;
}

body.logged-in .logged-in-only {
    display: flex;
}

body.logged-in .logged-out-only {
    display: none;
}

/* ========== SECTIONS GENERAL ========== */
section {
    padding: 5rem 0;
    border-bottom: 1px solid #e4e4e7;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #7c3aed;
    background: #ede9fe;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    display: inline-block;
    margin-bottom: 1rem;
}

.section-header h2 {
    font-size: 2.8rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #18181b;
}

.section-sub {
    color: #52525b;
    margin-top: 0.75rem;
}

/* ========== CTA ========== */
.cta {
    text-align: center;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.cta-limited {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f4f4f5;
    border: 1px solid #e4e4e7;
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    margin-bottom: 2rem;
}

.cta-number {
    font-size: 1.2rem;
    font-weight: 800;
    color: #dc2626;
    background: white;
    padding: 0.1rem 0.5rem;
    border-radius: 30px;
    animation: pulse 1s ease-in-out infinite;
}

.cta h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #18181b;
}

.cta p {
    font-size: 1.1rem;
    color: #52525b;
    margin-bottom: 2rem;
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.cta-guarantee {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.cta-guarantee span {
    font-size: 0.85rem;
    color: #10b981;
}

/* ========== FOOTER ========== */
footer {
    padding: 3rem 0 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: #71717a;
    border-top: 1px solid #e4e4e7;
    background: #fafafa;
}

.footer-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    gap: 2rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e4e4e7;
}

.footer-brand {
    flex: 1;
    min-width: 200px;
}

.footer-contact {
    flex: 1;
    min-width: 200px;
    text-align: center;
}

.footer-links {
    flex: 1;
    min-width: 200px;
    text-align: right;
}

.footer-brand h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #18181b;
    margin-bottom: 0.3rem;
}

.footer-brand p {
    font-size: 0.8rem;
    color: #71717a;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    font-size: 0.85rem;
    color: #52525b;
}

.footer-contact a {
    color: #52525b;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-contact a:hover {
    color: #7c3aed;
}

.footer-links a {
    color: #52525b;
    text-decoration: none;
    margin: 0 0.3rem;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #7c3aed;
}

.footer-bottom {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-copyright {
    font-size: 0.75rem;
    color: #a1a1aa;
}

.bykine {
    font-size: 0.75rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    flex-wrap: wrap;
}

.code-bracket {
    color: #7c3aed;
    font-weight: 800;
    font-size: 0.9rem;
    font-family: monospace;
}

.bykine-link {
    color: #7c3aed !important;
    font-weight: 700;
}

.bykine-link:hover {
    color: #6d28d9 !important;
    text-decoration: underline;
}

.pulse-icon {
    display: inline-block;
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse-icon {

    0%,
    100% {
        transform: scale(1);
    }

    10%,
    30% {
        transform: scale(1.1);
    }

    20%,
    40% {
        transform: scale(1);
    }
}

/* ========== CONFETTI & NOTIFICATION BADGE ========== */
#confettiCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1500;
    display: none;
}

.notification-badge {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 50%;
    min-width: 18px;
    height: 18px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 4px;
    margin-left: 6px;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
    animation: popIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.notification-badge.hidden {
    display: none !important;
}

@keyframes popIn {
    0% {
        transform: scale(0);
    }

    100% {
        transform: scale(1);
    }
}

/* ========== RESPONSIVE STYLES ========== */
@media (max-width: 1100px) {
    .pricing-products-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .packages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 1024px) {
    .pricing-products-grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    /* Perfect mobile section sizing & positioning */
    section:not(.hero) {
        padding: 3.5rem 0 !important;
    }

    /* Fixed mobile button sizing, spacing, and wrapping */
    .finder-button-container {
        margin-top: 1.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    .btn-finder {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
        white-space: nowrap !important;
        width: auto !important;
        max-width: 100% !important;
        display: inline-block !important;
    }

    .section-header h2 {
        font-size: 1.8rem;
    }

    .testimonial-grid {
        grid-template-columns: 1fr;
    }

    .audience-grid {
        grid-template-columns: 1fr;
    }

    .pricing-products-grid {
        grid-template-columns: 1fr;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .route-timeline {
        padding-left: 0 !important;
    }

    .modal-container {
        width: 95%;
    }

    .services-hero h1 {
        font-size: 2rem;
    }

    .services-hero-stats {
        gap: 1.5rem;
    }

    .decision-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .decision-btn {
        min-width: auto;
        padding: 1rem 1.5rem;
    }

    .packages-grid {
        grid-template-columns: 1fr;
    }

    .packages-grid.centered {
        grid-template-columns: 1fr;
    }

    th,
    td {
        padding: 0.75rem 1rem;
    }

    .admin-tab {
        font-size: 0.85rem;
    }

    .modal-container-modern {
        width: 95%;
        height: 85vh;
    }

    .modal-header-modern {
        padding: 1rem;
    }

    .faq-question {
        padding: 1rem;
    }

    .faq-question h4 {
        font-size: 0.9rem;
    }

    /* --- HAMBURGER MENU DRAWERS FOR MOBILE --- */
    .menu-toggle {
        display: block !important;
        z-index: 1001 !important; /* Higher than .nav overlay */
        position: relative !important;
        font-size: 1.6rem !important;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 50% !important;
        background: transparent !important;
        color: var(--text-primary) !important;
        border: none !important;
        cursor: pointer !important;
    }

    .menu-toggle:hover {
        background: var(--bg-tertiary) !important;
    }

    .menu-toggle.active {
        color: var(--accent-purple) !important;
        transform: rotate(90deg) !important;
    }

    .nav {
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        width: 80vw !important;
        height: 100vh !important;
        background: rgba(255, 255, 255, 0.94) !important;
        backdrop-filter: blur(25px) !important;
        -webkit-backdrop-filter: blur(25px) !important;
        padding: 6rem 2.5rem 3rem 2.5rem !important;
        border-radius: 0 !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.08) !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        transform: translateX(105%) !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
        border-left: 1px solid rgba(228, 228, 231, 0.6) !important;
        z-index: 999 !important; /* Below the toggle button, above everything else */
    }

    [data-theme="dark"] .nav {
        background: rgba(9, 13, 22, 0.96) !important;
        border-left: 1px solid rgba(255, 255, 255, 0.08) !important;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4) !important;
    }

    .nav.active {
        transform: translateX(0) !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .nav .nav-link {
        font-size: 1.25rem !important;
        padding: 1rem 0 !important;
        color: var(--text-primary) !important;
        border-bottom: 1px solid var(--border-color) !important;
        width: 100% !important;
        font-weight: 600 !important;
        transition: all 0.3s ease !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        text-decoration: none !important;
    }

    .nav .nav-link::after {
        content: '→' !important;
        opacity: 0.3 !important;
        transform: translateX(-10px) !important;
        transition: all 0.3s ease !important;
        color: var(--accent-purple) !important;
        font-size: 1.1rem !important;
    }

    [data-theme="dark"] .nav .nav-link {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
    }

    .nav .nav-link:hover {
        color: var(--accent-purple) !important;
        padding-left: 0.5rem !important;
        background: transparent !important;
    }

    .nav .nav-link:hover::after {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    .nav .nav-link:last-child {
        border-bottom: none !important;
    }
}

/* ========== MODERN MODALS ========== */

  .modal-overlay-modern {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.6);
      backdrop-filter: blur(6px);
      display: none;
      justify-content: center;
      align-items: center;
      z-index: 2000;
  }

  .modal-overlay-modern.active {
      display: flex;
  }

  .modal-container-modern {
      background: white;
      border-radius: 1.5rem;
      width: 90%;
      max-width: 700px;
      height: 80vh;
      display: flex;
      flex-direction: column;
      box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.3);
      overflow: hidden;
  }

  .modal-header-modern {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.8rem 1rem;
      background: white;
      border-bottom: 1px solid #e4e4e7;
  }

  .modal-header-left {
      display: flex;
      align-items: center;
      gap: 0.5rem;
  }

  .modal-logo-small {
      height: 28px;
      width: auto;
  }

  .modal-close-btn {
      background: #f4f4f5;
      border: none;
      width: 28px;
      height: 28px;
      border-radius: 50%;
      font-size: 1rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
  }

.ve-btn { color: white; border: none; margin: 0; padding: 0 1.5rem; height: 44px; border-radius: 40px; font-size: 0.95rem; font-weight: 600; cursor: pointer; display: inline-flex; justify-content: center; align-items: center; gap: 0.5rem; transition: all 0.2s; white-space: nowrap; } .ve-btn:hover { transform: translateY(-2px); filter: brightness(1.05); }

/* ========== PREMIUM FAQ BUTTON FIXED ========== */
#faqShowMoreBtn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.6rem !important;
    padding: 0.9rem 2.5rem !important;
    border-radius: 50px !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.3px !important;
    background: linear-gradient(135deg, #7c3aed, #2563eb) !important;
    background-size: 200% auto !important;
    color: white !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(124, 58, 237, 0.3) !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    cursor: pointer !important;
    margin: 1.5rem auto 0 !important;
    text-transform: none !important;
    text-decoration: none !important;
    outline: none !important;
}

#faqShowMoreBtn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(124, 58, 237, 0.45) !important;
    background-position: right center !important;
}

#faqShowMoreBtn:active {
    transform: translateY(0px) !important;
}