@import url('fonts.css');

:root {
    color-scheme: dark;
    --bg-dark: #0a0e1a; /* Tiefes Midnight-Blau */
    --bg-card: rgba(15, 23, 42, 0.55); /* Transluzenter Glas-Hintergrund */
    --bg-card-hover: rgba(30, 41, 59, 0.7);
    --border-color: rgba(255, 255, 255, 0.06);
    --border-color-hover: rgba(255, 255, 255, 0.14);
    --primary: #2563eb; /* Electric Sapphire */
    --primary-glow: rgba(37, 99, 235, 0.2);
    --secondary: #f59e0b; /* Warm Amber Gold */
    --secondary-glow: rgba(245, 158, 11, 0.15);
    --text-main: #f1f5f9;
    --text-muted: #94a3b8;
    --success: #10b981;
    --danger: #ef4444;
    --accent-gradient: linear-gradient(135deg, var(--primary), var(--secondary));
    --input-bg: rgba(0, 0, 0, 0.35);
    --input-bg-focus: rgba(0, 0, 0, 0.45);
    --input-border: rgba(255, 255, 255, 0.08);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-dark);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.008) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.008) 1px, transparent 1px);
    background-size: 60px 60px;
    background-position: center top;
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

html {
    max-width: 100%;
    overflow-x: hidden;
}

/* Subtle noise texture overlay for depth */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    z-index: 0;
    pointer-events: none;
    opacity: 0.4;
}

/* Geometric floating shapes background */
.geo-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
}
.geo-shape {
    position: absolute;
    opacity: 0.06;
    animation: geoFloat 20s ease-in-out infinite;
}
.geo-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    top: 8%;
    left: -3%;
    animation-duration: 25s;
    filter: blur(1px);
}
.geo-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary), transparent);
    clip-path: polygon(50% 0%, 100% 100%, 0% 100%);
    top: 55%;
    right: 5%;
    animation-duration: 20s;
    animation-delay: -5s;
    opacity: 0.04;
}
.geo-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    border: 1.5px solid var(--secondary);
    transform: rotate(45deg);
    top: 30%;
    left: 70%;
    animation-duration: 30s;
    animation-delay: -12s;
    opacity: 0.05;
}
.geo-shape:nth-child(4) {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.1) 0%, transparent 70%);
    bottom: -5%;
    left: 20%;
    animation-duration: 22s;
    animation-delay: -8s;
    filter: blur(80px);
    opacity: 0.15;
}
.geo-shape:nth-child(5) {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
    top: -5%;
    right: -5%;
    animation-duration: 28s;
    animation-delay: -15s;
    filter: blur(60px);
    opacity: 0.12;
}
@keyframes geoFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -20px) rotate(5deg); }
    50% { transform: translate(-20px, 30px) rotate(-3deg); }
    75% { transform: translate(15px, 10px) rotate(2deg); }
}

h1, h2, h3, h4, h5 {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 600;
    line-height: 1.15;
}

a {
    text-decoration: none;
    color: var(--text-main);
    transition: color 0.3s ease;
}

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

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

/* Header & Nav */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
    background: rgba(10, 14, 26, 0.7);
    backdrop-filter: blur(24px) saturate(1.5);
    -webkit-backdrop-filter: blur(24px) saturate(1.5);
    border: 1px solid rgba(37, 99, 235, 0.08);
    border-radius: 999px;
    margin-top: 1.5rem;
    position: sticky;
    top: 1rem;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(37, 99, 235, 0.05);
    transition: all 0.4s ease;
}
header:hover {
    border-color: rgba(37, 99, 235, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4), 0 0 40px rgba(37, 99, 235, 0.06);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    position: relative;
}

.logo::before {
    content: '';
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary), 0 0 20px rgba(245, 158, 11, 0.3);
    animation: logoPulse 3s ease-in-out infinite;
}

/* Standalone WCS mark in the public navbar; leave other brand text unchanged. */
.logo.logo--image {
    flex: 0 0 auto;
    min-height: 44px;
    max-width: none;
    gap: 0;
    line-height: 1;
    border-radius: 8px;
}

.logo.logo--image::before {
    content: none;
    display: none;
}

.logo--image:focus-visible {
    outline: 2px solid var(--secondary);
    outline-offset: 4px;
}

.navbar-logo {
    display: block;
    width: 144px;
    height: 48px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .navbar-logo {
        width: 114px;
        height: 38px;
    }
}

@keyframes logoPulse {
    0%, 100% { box-shadow: 0 0 10px var(--secondary), 0 0 20px rgba(245, 158, 11, 0.3); transform: scale(1); }
    50% { box-shadow: 0 0 15px var(--secondary), 0 0 30px rgba(245, 158, 11, 0.5); transform: scale(1.15); }
}

/* Navigation & Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    z-index: 1001;
    padding: 0.5rem;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--text-main);
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-muted);
    position: relative;
    transition: color 0.3s ease;
}
nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--accent-gradient);
    border-radius: 1px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-50%);
}
nav a:hover {
    color: var(--text-main);
}
nav a:hover::after {
    width: 100%;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
    cursor: pointer;
}

.nav-dropdown > a {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.nav-dropdown .dropdown-icon {
    transition: transform 0.3s ease;
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.nav-submenu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    background: rgba(15, 23, 42, 0.98);
    backdrop-filter: blur(20px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 0.75rem;
    min-width: 200px;
    display: none;
    flex-direction: column;
    gap: 0.25rem;
    z-index: 1002;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

/* Invisible bridge so the mouse doesn't fall off when hovering between the nav item and the dropdown */
.nav-submenu::before {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    width: 100%;
    height: 20px;
}

.nav-dropdown:hover .nav-submenu {
    display: flex;
    animation: slideDownNav 0.3s ease-out;
}

.nav-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
}

@keyframes slideDownNav {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(15px); }
}

.nav-submenu a {
    padding: 0.75rem 1rem;
    border-radius: 10px;
    font-size: 0.9rem;
    white-space: nowrap;
    color: var(--text-muted);
}

.nav-submenu a:hover {
    background: var(--bg-card-hover);
    color: #fff;
}

/* User Profile Dropdown Component */
.user-profile-dropdown {
    position: relative;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.profile-pill {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 0.6rem !important;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-color);
    padding: 0.35rem 0.85rem 0.35rem 0.45rem;
    border-radius: 40px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    white-space: nowrap !important;
    height: 38px;
    box-sizing: border-box;
}

.profile-pill:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.25);
}

.profile-avatar {
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: #ffffff !important;
    font-weight: 800 !important;
    font-size: 0.85rem !important;
    line-height: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-transform: uppercase !important;
    flex-shrink: 0 !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.profile-name {
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text-main);
    max-width: 140px;
    white-space: nowrap !important;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1;
}

.profile-dropdown-submenu {
    position: absolute !important;
    right: 0 !important;
    left: auto !important;
    top: calc(100% + 8px) !important;
    transform: none !important;
    min-width: 250px !important;
    background: var(--bg-card) !important;
    border: 1px solid var(--border-color) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    backdrop-filter: blur(20px) !important;
    padding: 0.85rem !important;
    z-index: 2500 !important;
    flex-direction: column !important;
}

.user-profile-dropdown:hover .profile-dropdown-submenu {
    display: flex !important;
    animation: slideDownNavRight 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-badge {
    background: var(--primary);
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 10px;
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

@keyframes slideDownNavRight {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
}

.profile-dropdown-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.5rem 0.85rem;
}

.profile-avatar-large {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #ffffff;
    font-weight: 800;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.profile-info {
    display: flex;
    flex-direction: column;
}

.profile-info-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-main);
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.profile-info-role {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 2px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border-color);
    margin: 0.4rem 0;
    opacity: 0.6;
}

.profile-dropdown-submenu a {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.65rem 0.85rem;
    border-radius: 10px;
    font-size: 0.88rem;
    color: var(--text-main);
    text-decoration: none;
    transition: all 0.2s ease;
}

.profile-dropdown-submenu a:hover {
    background: var(--bg-card-hover);
    color: var(--primary);
    transform: translateX(3px);
}

.profile-dropdown-submenu a.logout-link {
    color: #f87171;
}

.profile-dropdown-submenu a.logout-link:hover {
    background: rgba(239, 68, 68, 0.12);
    color: #ef4444;
}

.nav-item-mobile-only {
    display: none !important;
}

@media (max-width: 768px) {
    .nav-item-mobile-only {
        display: list-item !important;
    }
}

@media (max-width: 768px) {
    header nav .nav-submenu {
        position: static;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        display: flex;
        padding-left: 0;
        align-items: center;
    }
    header nav .nav-dropdown .dropdown-icon { display: none; }
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
        position: relative;
        width: 44px;
        height: 44px;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        border-radius: 12px;
    }

    nav ul {
        position: fixed;
        top: 0;
        right: 0;
        width: min(86vw, 340px);
        height: 100dvh;
        background: rgba(10, 10, 15, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch;
        gap: 0.2rem;
        padding: 5.5rem 1rem 2rem;
        overflow-y: auto;
        overscroll-behavior: contain;
        transform: translateX(105%);
        visibility: hidden;
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.35s;
        z-index: 1000;
        border-left: 1px solid var(--border-color);
        box-shadow: -20px 0 50px rgba(0, 0, 0, 0.45);
    }

    nav ul.active {
        transform: translateX(0);
        visibility: visible;
    }

    nav ul li {
        margin: 0;
        width: 100%;
    }

    nav a {
        display: flex;
        min-height: 44px;
        align-items: center;
        justify-content: center;
        padding: 0.6rem 0.75rem;
        font-size: 1rem;
        text-align: center;
    }

    header nav .nav-submenu {
        position: static;
        inset: auto;
        width: 100%;
        height: auto;
        padding: 0;
        overflow: visible;
        transform: none;
        visibility: visible;
        background: transparent;
        border: 0;
        box-shadow: none;
        flex-direction: column;
        gap: 0.1rem;
        width: 100%;
    }

    header nav .nav-submenu a {
        min-height: 40px;
        padding: 0.45rem 0.75rem;
        font-size: 0.88rem;
        color: var(--text-muted);
    }

    .nav-toggle.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
    .nav-toggle.active span:nth-child(2) { opacity: 0; }
    .nav-toggle.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
}

/* Utility Classes for Mobile */
@media (min-width: 769px) {
    .mobile-only { display: none !important; }
}
@media (max-width: 768px) {
    .hide-mobile { display: none !important; }
}

.btn {
    display: inline-block;
    padding: 0.7rem 1.4rem;
    border-radius: 10px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid transparent;
    text-align: center;
    position: relative;
    font-size: 0.9rem;
}

.btn-loading {
    color: transparent !important;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--secondary)) !important;
    color: white !important;
    box-shadow: 0 4px 14px rgba(139, 92, 246, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--secondary), var(--primary)) !important;
    color: white !important;
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.4);
    transform: translateY(-2px);
}

/* News Expansion */
.news-content-full {
    display: none;
}
.news-content-full.show {
    display: block;
    animation: fadeIn 0.3s ease;
}
.news-toggle-btn {
    cursor: pointer;
    color: var(--primary);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 0.5rem;
    display: inline-block;
    transition: color 0.25s ease, transform 0.25s ease;
}
.news-toggle-btn:hover {
    color: var(--secondary);
    transform: translateX(3px);
}

/* Security Ticker Banner */
.security-ticker-banner {
    width: 100%;
    background: linear-gradient(90deg, #b91c1c, #ef4444, #b91c1c);
    background-size: 200% auto;
    animation: alertGradient 10s ease infinite;
    color: white;
    font-size: 0.82rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1005;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.25);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
    height: 38px;
    box-sizing: border-box;
}

@keyframes alertGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.ticker-badge {
    background: #000;
    color: #ef4444;
    padding: 0 1rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    letter-spacing: 1px;
    font-size: 0.72rem;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 10;
    box-shadow: 6px 0 15px rgba(0,0,0,0.5);
    white-space: nowrap;
    border-right: 1px solid rgba(239, 68, 68, 0.3);
    height: 100%;
}

.ticker-wrap {
    overflow: hidden;
    width: 100%;
    display: flex;
    align-items: center;
    height: 100%;
}

.ticker-content {
    display: inline-block;
    white-space: nowrap;
    padding-left: 20px;
    animation: marqueeScroll 35s linear infinite;
}

.ticker-content:hover {
    animation-play-state: paused;
}

.ticker-item {
    color: white;
    text-decoration: none;
    margin-right: 1rem;
    margin-left: 1rem;
    transition: opacity 0.2s ease;
    display: inline-block;
}

.ticker-item:hover {
    text-decoration: underline;
    opacity: 0.9;
}

.ticker-separator {
    color: rgba(255,255,255,0.4);
    font-weight: bold;
    margin: 0 0.5rem;
}

.ticker-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 1.3rem;
    cursor: pointer;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    height: 100%;
    transition: transform 0.2s ease, opacity 0.2s ease;
    opacity: 0.7;
}

.ticker-close:hover {
    transform: scale(1.1);
    opacity: 1;
}

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

@media (max-width: 768px) {
    .ticker-badge {
        width: 44px;
        justify-content: center;
        padding: 0;
        font-size: 0;
    }

    .ticker-badge span {
        font-size: 0;
    }

    .ticker-badge span::before {
        content: '🛡️';
        font-size: 1rem;
    }

    .ticker-close {
        width: 44px;
        padding: 0;
    }
}

/* Shared mobile layout: compact header, safe gutters and touch-friendly controls. */
@media (max-width: 768px) {
    .container {
        padding-inline: 1rem;
    }

    body.nav-open {
        overflow: hidden;
    }

    header {
        min-height: 64px;
        margin-top: 0.75rem;
        padding: 0.55rem 0.75rem;
        top: 0.5rem;
        gap: 0.5rem;
        border-radius: 20px;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
    }

    .logo {
        min-width: 0;
        max-width: 180px;
        font-size: 1.05rem;
        line-height: 1.15;
        gap: 0.4rem;
    }

    .logo::before {
        width: 8px;
        height: 8px;
        flex: 0 0 8px;
    }

    header > div:last-child {
        gap: 0.4rem !important;
    }

    .theme-dot {
        width: 20px;
        height: 20px;
        min-height: 20px !important;
        flex-shrink: 0;
    }

    .btn,
    button,
    input,
    select,
    textarea {
        min-height: 44px;
    }

    .form-container,
    .content-card {
        padding: 1.35rem;
        border-radius: 18px;
    }

    .premium-section {
        padding: 2.5rem 1.25rem;
        border-radius: 22px;
    }

    .section-title {
        font-size: clamp(1.8rem, 8vw, 2.2rem);
        margin-bottom: 2rem;
    }

    .hero {
        padding: 4rem 0 3rem;
    }

    footer {
        padding-inline: 0;
    }
}

@media (max-width: 480px) {
    .theme-selector {
        display: none !important;
    }

    .logo {
        max-width: calc(100vw - 104px);
        font-size: 1rem;
    }

    .hero-visual {
        min-height: 250px;
        transform: scale(0.86);
        transform-origin: center top;
        margin-bottom: -35px;
    }

    .stats-bar {
        padding: 1.5rem 1rem;
        gap: 1.25rem;
    }
}

.btn-outline {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-main);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: var(--secondary);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.15);
}

/* Hero Section – Asymmetric */
.hero {
    padding: 8rem 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    animation: fadeIn 1s ease-out;
    position: relative;
}
.hero-content {
    text-align: left;
}
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 800px;
}

.hero h1 {
    font-size: 5.5rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    line-height: 1.05;
    background: linear-gradient(135deg, #f1f5f9 0%, var(--primary) 45%, var(--secondary) 100%);
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: heroGradient 8s ease-in-out infinite;
}
@keyframes heroGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 520px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.hero .actions {
    display: flex;
    gap: 1.5rem;
}

/* 3D Floating illustration in hero */
.hero-float-card {
    width: 280px;
    height: 180px;
    background: var(--bg-card);
    border: 1px solid rgba(37, 99, 235, 0.15);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 1.5rem;
    position: absolute;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: transform 0.6s ease;
}
.hero-float-card:nth-child(1) {
    top: 0;
    left: 10%;
    transform: rotateY(-8deg) rotateX(5deg);
    animation: heroCardFloat1 6s ease-in-out infinite;
    z-index: 2;
}
.hero-float-card:nth-child(2) {
    bottom: 10%;
    right: 5%;
    transform: rotateY(8deg) rotateX(-3deg);
    animation: heroCardFloat2 7s ease-in-out infinite;
    z-index: 1;
    border-color: rgba(245, 158, 11, 0.15);
}
.hero-float-card:nth-child(3) {
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotateY(3deg);
    animation: heroCardFloat3 8s ease-in-out infinite;
    z-index: 3;
    width: 300px;
    height: 200px;
}
.hero-card-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.hero-card-value {
    font-size: 2rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
}
.hero-card-value.blue { color: var(--primary); }
.hero-card-value.gold { color: var(--secondary); }
.hero-card-value.green { color: var(--success); }
.hero-card-bar {
    margin-top: 1rem;
    height: 6px;
    border-radius: 3px;
    background: rgba(255,255,255,0.06);
    overflow: hidden;
}
.hero-card-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: var(--accent-gradient);
    animation: barFill 2s ease-out forwards;
}
@keyframes barFill {
    from { width: 0; }
    to { width: var(--fill, 75%); }
}
@keyframes heroCardFloat1 {
    0%, 100% { transform: rotateY(-8deg) rotateX(5deg) translateY(0); }
    50% { transform: rotateY(-6deg) rotateX(3deg) translateY(-15px); }
}
@keyframes heroCardFloat2 {
    0%, 100% { transform: rotateY(8deg) rotateX(-3deg) translateY(0); }
    50% { transform: rotateY(6deg) rotateX(-5deg) translateY(-10px); }
}
@keyframes heroCardFloat3 {
    0%, 100% { transform: translate(-50%, -50%) rotateY(3deg) translateY(0); }
    50% { transform: translate(-50%, -50%) rotateY(-2deg) translateY(-12px); }
}

@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }
    .hero-content { text-align: center; }
    .hero h1 { font-size: 3.5rem; }
    .hero .actions { justify-content: center; }
    .hero-visual { min-height: 300px; }
}
@media (max-width: 480px) {
    .hero h1 { font-size: 2.5rem; }
    .hero .actions {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Stats Counter Bar */
.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: var(--bg-card);
    border: 1px solid rgba(37, 99, 235, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    padding: 2.5rem 2rem;
    margin: -2rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.stats-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}
.stat-item {
    text-align: center;
    position: relative;
}
.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    height: 60%;
    width: 1px;
    background: rgba(255, 255, 255, 0.06);
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 700;
    font-family: 'Space Grotesk', sans-serif;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.stat-label {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
@media (max-width: 768px) {
    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    .stat-item:nth-child(2)::after { display: none; }
    .stat-number { font-size: 2rem; }
}

/* Services / Features Grid */
.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.premium-section {
    background: var(--bg-card);
    border-radius: 32px;
    padding: 5rem 4rem;
    position: relative;
    overflow: hidden;
    margin: 4rem 0;
    border: 1px solid var(--border-color);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
}

.services-layout, .programming-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (max-width: 992px) {
    .services-layout, .programming-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .services-list {
        justify-items: center;
    }
}

.services-list {
    list-style: none;
    padding: 0;
    display: grid;
    gap: 1.25rem;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    text-align: left;
}

.service-num {
    background: rgba(14, 165, 233, 0.2);
    color: #38bdf8;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
    border: 1px solid rgba(56, 189, 248, 0.3);
}

.service-title {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 2px;
    color: #fff;
}

.service-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Mockups */
.console-mockup, .terminal-mockup {
    background: #0f172a;
    border-radius: 20px;
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 2rem;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    position: relative;
}

.console-header, .terminal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.console-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #10b981;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #10b981;
    border-radius: 50%;
    animation: pulseGlow 1.5s infinite;
}

.console-stat {
    margin-bottom: 1.5rem;
}

.stat-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
    margin-bottom: 0.5rem;
}

.console-mockup {
    background: linear-gradient(135deg, rgba(15, 23, 42, 0.95), rgba(30, 41, 59, 0.9));
    border: 1px solid rgba(56, 189, 248, 0.4);
    border-radius: 28px;
    padding: 2rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.7), inset 0 0 30px rgba(56, 189, 248, 0.1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(15px);
}

.console-body {
    position: relative;
    background-image: radial-gradient(rgba(56, 189, 248, 0.15) 1px, transparent 1px);
    background-size: 24px 24px;
    padding: 1.75rem;
    border-radius: 16px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.console-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 0 0.5rem;
}

.console-header h4 {
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 3px;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
}

.stat-bar {
    height: 6px;
    background: rgba(255,255,255,0.05);
    border-radius: 3px;
    overflow: hidden;
}

.stat-bar div {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), #10b981);
    border-radius: 3px;
    box-shadow: 0 0 10px var(--primary);
}

.latency-graph {
    height: 40px;
    display: flex;
    align-items: flex-end;
    gap: 4px;
}

.latency-graph div {
    flex: 1;
    background: #38bdf8;
    opacity: 0.4;
    border-radius: 2px;
}

.console-log {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    color: #38bdf8;
    line-height: 2;
    margin-top: 2rem;
    background: rgba(0,0,0,0.4);
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}

.terminal-mockup {
    background: #0d1117;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
    box-shadow: 0 40px 120px rgba(0, 0, 0, 0.8);
    position: relative;
    transform: perspective(2000px) rotateY(-8deg) rotateX(2deg);
    transition: all 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.terminal-mockup:hover {
    transform: perspective(2000px) rotateY(0deg) rotateX(0deg) scale(1.02);
    border-color: var(--primary);
}

.terminal-header {
    background: #161b22;
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.terminal-header .dots {
    display: flex;
    gap: 10px;
}

.terminal-header .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.terminal-header .red { background: #ff5f56; box-shadow: 0 0 10px rgba(255, 95, 86, 0.3); }
.terminal-header .yellow { background: #ffbd2e; box-shadow: 0 0 10px rgba(255, 189, 46, 0.3); }
.terminal-header .green { background: #27c93f; box-shadow: 0 0 10px rgba(39, 201, 63, 0.3); }

.terminal-header .filename {
    margin-left: 2.5rem;
    font-size: 0.85rem;
    color: #8b949e;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.terminal-body {
    padding: 2.5rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.95rem;
    line-height: 1.7;
    color: #e6edf3;
}

.blinking-cursor {
    display: inline-block;
    width: 10px;
    height: 1.2em;
    background: var(--primary);
    margin-left: 6px;
    vertical-align: middle;
    animation: blink 1.2s step-end infinite;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes blink {
    from, to { opacity: 1; }
    50% { opacity: 0; }
}

/* Terminal Colors */
.code-purple { color: #d2a8ff; }
.code-yellow { color: #d29922; }
.code-blue { color: #79c0ff; }
.code-green { color: #7ee787; }
.code-orange { color: #ffa657; }


/* Timeline */
.timeline-wrapper {
    padding: 2rem 0;
}

.timeline-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
}

@media (max-width: 992px) {
    .timeline-steps {
        flex-direction: column;
        align-items: center;
    }
}

.step-card {
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.step-card:hover {
    border-color: rgba(6, 182, 212, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(6, 182, 212, 0.08);
}

.step-node {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 800;
}

.timeline-connector {
    flex: 0.3;
    height: 3px;
    background: rgba(255,255,255,0.05);
    position: relative;
    top: 30px;
    border-radius: 10px;
    overflow: hidden;
}

.timeline-line-inner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
    animation: flowLine 3s infinite linear;
}

@keyframes flowLine {
    0% { width: 0; left: 0; }
    50% { width: 100%; left: 0; }
    100% { width: 0; left: 100%; }
}


.form-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem;
    max-width: 800px;
    margin: 4rem auto;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.content-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    margin-bottom: 2rem;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-card:hover {
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 15px 45px rgba(139, 92, 246, 0.08), 0 0 25px rgba(139, 92, 246, 0.05);
    transform: translateY(-3px);
}

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-control {
    width: 100%;
    padding: 0.8rem 1.1rem;
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 12px;
    color: var(--text-main);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: all 0.25s ease-in-out;
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.25);
    background: var(--input-bg-focus);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

.full-width-btn { 
    width: 100%; 
    padding: 1.25rem; 
    font-weight: 600; 
    margin-top: 1rem; 
    border-radius: 12px;
}

/* USP SECTION (Trust Board) */

.usp-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
}

.usp-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 3rem 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
}

.usp-card:hover {
    transform: translateY(-8px);
    background: var(--bg-card-hover);
    border-color: var(--secondary);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5), 0 0 25px rgba(6, 182, 212, 0.15);
}

.usp-icon-wrapper {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(6, 182, 212, 0.1));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    color: var(--primary);
    position: relative;
    border: 1px solid rgba(139, 92, 246, 0.2);
}

.usp-card:hover .usp-icon-wrapper {
    background: var(--primary);
    color: #fff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px var(--primary);
}

@media (max-width: 992px) {
    .timeline-steps {
        flex-direction: column;
        align-items: center;
    }
    .timeline-line {
        display: none;
    }
    .step-card {
        width: 100%;
        max-width: 400px;
    }
}

/* Priority Badges */
.prio-low { background: rgba(156, 163, 175, 0.2); color: #9ca3af; }
.prio-normal { background: rgba(59, 130, 246, 0.2); color: #60a5fa; }
.prio-high { background: rgba(245, 158, 11, 0.2); color: #fbbf24; }
.prio-urgent { background: rgba(239, 68, 68, 0.2); color: #ef4444; }

/* Interactive Ticket Form Styles */
.prio-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 1rem;
    margin-top: 0.5rem;
}

.prio-btn {
    padding: 0.75rem;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: all 0.3s ease;
}

.prio-btn:hover {
    border-color: var(--primary);
    color: var(--text-main);
}

.prio-btn.active[data-prio="low"] { border-color: #10b981; color: #10b981; box-shadow: 0 0 15px rgba(16, 185, 129, 0.2); background: rgba(16, 185, 129, 0.05); }
.prio-btn.active[data-prio="normal"] { border-color: #3b82f6; color: #3b82f6; box-shadow: 0 0 15px rgba(59, 130, 246, 0.2); background: rgba(59, 130, 246, 0.05); }
.prio-btn.active[data-prio="high"] { border-color: #f59e0b; color: #f59e0b; box-shadow: 0 0 15px rgba(245, 158, 11, 0.2); background: rgba(245, 158, 11, 0.05); }
.prio-btn.active[data-prio="urgent"] { border-color: #ef4444; color: #ef4444; box-shadow: 0 0 15px rgba(239, 68, 68, 0.2); background: rgba(239, 68, 68, 0.05); }

.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(255,255,255,0.02);
}

.upload-zone:hover {
    border-color: var(--primary);
    background: rgba(79, 70, 229, 0.05);
}

.success-card {
    background: linear-gradient(135deg, #0f172a, #1e1b4b);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 3rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0,0,0,0.5), 0 0 30px rgba(79, 70, 229, 0.2);
    animation: slideUp 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.success-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(79, 70, 229, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.guest-code-display {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 5px;
    margin: 1.5rem 0;
    text-shadow: 0 0 20px var(--primary);
    font-family: monospace;
}

/* Footer & Extras */
.main-footer {
    border-top: 1px solid var(--border-color);
    padding: 6rem 0 4rem;
    margin-top: 8rem;
    background: linear-gradient(to bottom, transparent, rgba(79, 70, 229, 0.05));
    text-align: center;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.copyright {
    color: var(--text-main);
    font-size: 1rem;
    font-weight: 500;
    opacity: 0.9;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-email {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.footer-email:hover {
    text-decoration: underline;
}

.separator {
    color: var(--border-color);
    font-size: 1.2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    width: 100%;
    max-width: 500px;
}

.footer-link {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--text-main);
}


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

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Animations */
@keyframes pulse-red {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(239, 68, 68, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(239, 68, 68, 0); }
}

.pulse-red {
    animation: pulse-red 2s infinite;
}

/* ========== PREMIUM ENHANCEMENTS ========== */

/* Scroll-reveal entrance animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 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; }

/* Animated gradient border on card hover */
.glow-border {
    position: relative;
    overflow: hidden;
}
.glow-border::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: conic-gradient(from 0deg, var(--primary), var(--secondary), #ec4899, var(--primary));
    border-radius: inherit;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
    animation: borderSpin 4s linear infinite;
}
.glow-border::after {
    content: '';
    position: absolute;
    inset: 2px;
    background: var(--bg-dark);
    border-radius: inherit;
    z-index: -1;
}
.glow-border:hover::before {
    opacity: 1;
}
@keyframes borderSpin {
    to { transform: rotate(360deg); }
}

/* Interactive cursor glow */
.cursor-glow {
    position: fixed;
    width: 350px;
    height: 350px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(37, 99, 235, 0.06) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s ease;
    mix-blend-mode: screen;
}

/* Floating particles */
.particle {
    position: fixed;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: rgba(37, 99, 235, 0.3);
    pointer-events: none;
    z-index: 0;
    animation: particleFloat linear infinite;
}
@keyframes particleFloat {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-10vh) rotate(720deg); opacity: 0; }
}

/* Gradient text utility */
.gradient-text {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Section title animated underline */
.section-title h2::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    margin: 1rem auto 0;
    background: var(--accent-gradient);
    border-radius: 2px;
    animation: underlineGrow 1.5s ease-out;
}
@keyframes underlineGrow {
    from { width: 0; }
    to { width: 80px; }
}

/* Button shimmer effect */
.btn-primary {
    position: relative;
    overflow: hidden;
}
.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: none;
    animation: shimmer 3s infinite;
}
@keyframes shimmer {
    0% { left: -100%; }
    50%, 100% { left: 100%; }
}

/* Footer gradient glow line */
.main-footer {
    border-top: none;
    position: relative;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), var(--secondary), transparent);
}

/* ========== BENTO GRID & 3D TILT ========== */
.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 1.5rem;
    margin-top: 2rem;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.2rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1), border-color 0.5s ease, box-shadow 0.5s ease;
    transform-style: preserve-3d;
    perspective: 1000px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-card:hover {
    border-color: rgba(37, 99, 235, 0.25);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(37, 99, 235, 0.05);
}

.bento-card.featured-gold:hover {
    border-color: rgba(245, 158, 11, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 35px rgba(245, 158, 11, 0.08);
}

/* Bento Span Classes */
.bento-col-2 { grid-column: span 2; }
.bento-col-3 { grid-column: span 3; }
.bento-col-4 { grid-column: span 4; }
.bento-row-2 { grid-row: span 2; }

/* Inner Content 3D translates for tilt effect */
.bento-inner {
    transform: translateZ(30px);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.bento-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.bento-icon {
    font-size: 2.2rem;
    background: rgba(255, 255, 255, 0.03);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    color: var(--primary);
    transition: all 0.3s ease;
}
.bento-card:hover .bento-icon {
    transform: scale(1.1) rotate(5deg);
    color: var(--secondary);
    background: rgba(245, 158, 11, 0.05);
    border-color: rgba(245, 158, 11, 0.15);
}

.bento-title {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-main);
}

.bento-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.bento-badge {
    font-size: 0.75rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(37, 99, 235, 0.1);
    border: 1px solid rgba(37, 99, 235, 0.2);
    color: var(--text-main);
    font-weight: 600;
}

@media (max-width: 992px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .bento-col-3, .bento-col-4 {
        grid-column: span 2;
    }
}

@media (max-width: 576px) {
    .bento-grid {
        grid-template-columns: 1fr;
    }
    .bento-col-2, .bento-col-3, .bento-col-4 {
        grid-column: span 1;
    }
    .bento-row-2 {
        grid-row: span 1;
    }
}

/* ========== MULTI-THEME SELECTOR STYLE ========== */
.theme-selector {
    display: flex;
    gap: 8px;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    padding: 6px 12px;
    border-radius: 30px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.theme-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid transparent;
}

.theme-dot:hover {
    transform: scale(1.25);
}

.theme-dot.active {
    border-color: #ffffff !important;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* ========== EMERALD FOREST THEME ========== */
body[data-theme="emerald"] {
    --bg-dark: #04100c; /* Sehr dunkles Tannengrün */
    --bg-card: rgba(8, 24, 20, 0.45);
    --bg-card-hover: rgba(8, 24, 20, 0.6);
    --border-color: rgba(16, 185, 129, 0.15);
    --border-color-hover: rgba(16, 185, 129, 0.35);
    --text-main: #f0fdf4;
    --text-muted: #a7f3d0;
    --primary: #10b981; /* Smaragdgrün */
    --secondary: #34d399; /* Minzgrün */
    --input-bg: rgba(4, 16, 12, 0.6);
    --input-bg-focus: rgba(8, 24, 20, 0.9);
    --input-border: rgba(16, 185, 129, 0.2);
}

/* ========== RUBY CRIMSON THEME ========== */
body[data-theme="ruby"] {
    --bg-dark: #120307; /* Sehr dunkles Weinrot */
    --bg-card: rgba(30, 8, 14, 0.45);
    --bg-card-hover: rgba(30, 8, 14, 0.6);
    --border-color: rgba(239, 68, 68, 0.15);
    --border-color-hover: rgba(239, 68, 68, 0.35);
    --text-main: #fef2f2;
    --text-muted: #fca5a5;
    --primary: #ef4444; /* Rubinrot */
    --secondary: #f87171; /* Koralle */
    --input-bg: rgba(18, 3, 7, 0.6);
    --input-bg-focus: rgba(30, 8, 14, 0.9);
    --input-border: rgba(239, 68, 68, 0.2);
}

/* ========== LIGHT THEME DEFINITION ========== */
body.light-theme {
    color-scheme: light;
    --bg-dark: #f8fafc; /* Helles Slate-Grau */
    --bg-card: rgba(255, 255, 255, 0.7); /* Hellerer, glasiger Hintergrund */
    --bg-card-hover: rgba(255, 255, 255, 0.9);
    --border-color: rgba(15, 23, 42, 0.08);
    --border-color-hover: rgba(37, 99, 235, 0.2);
    --text-main: #0f172a; /* Dunkler Text */
    --text-muted: #475569; /* Muted Slate-Text */
    --primary: #2563eb;
    --secondary: #d97706; /* Etwas dunkleres Gold für Kontrast */
    --input-bg: rgba(255, 255, 255, 0.85);
    --input-bg-focus: #ffffff;
    --input-border: rgba(15, 23, 42, 0.12);
}

body.light-theme .glow-border::after {
    background: var(--bg-card) !important;
}

body.light-theme ::before, body.light-theme ::after {
    background-color: transparent !important;
}

body.light-theme body::before {
    opacity: 0.15;
}

body.light-theme header {
    background: rgba(255, 255, 255, 0.75) !important;
    border-color: rgba(15, 23, 42, 0.08) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05), 0 0 0 1px rgba(15, 23, 42, 0.03) !important;
}

body.light-theme header:hover {
    border-color: rgba(37, 99, 235, 0.2) !important;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08), 0 0 40px rgba(37, 99, 235, 0.06) !important;
}

body.light-theme .bento-card {
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

body.light-theme .bento-card:hover {
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.08);
}

body.light-theme .btn-outline {
    background: rgba(15, 23, 42, 0.02) !important;
    border-color: rgba(15, 23, 42, 0.15) !important;
    color: var(--text-main) !important;
}

body.light-theme .btn-outline:hover {
    background: var(--primary) !important;
    border-color: var(--primary) !important;
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(37, 99, 235, 0.15) !important;
}

/* Theme Toggle Button */
.theme-toggle {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.3s ease;
}
.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary);
    transform: scale(1.05);
}

/* ========== FAQ ACCORDION & SEARCH ========== */
.faq-section {
    margin-bottom: 6rem;
}
.faq-search-wrapper {
    max-width: 600px;
    margin: 0 auto 3rem;
    position: relative;
}
.faq-search-input {
    width: 100%;
    padding: 1rem 1.5rem 1rem 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-main);
    font-size: 1.05rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}
.faq-search-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 20px var(--primary-glow);
    outline: none;
}
.faq-search-icon {
    position: absolute;
    left: 1.2rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.faq-item:hover {
    border-color: var(--border-color-hover);
}
.faq-question {
    width: 100%;
    padding: 1.5rem;
    text-align: left;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Space Grotesk', sans-serif;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}
.faq-question:hover {
    background: rgba(255,255,255,0.01);
}
.faq-chevron {
    transition: transform 0.3s ease;
    color: var(--text-muted);
}
.faq-item.active .faq-chevron {
    transform: rotate(180deg);
    color: var(--primary);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.25, 1, 0.5, 1), padding 0.3s ease;
    padding: 0 1.5rem;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}
.faq-item.active .faq-answer {
    padding-bottom: 1.5rem;
}

/* ========== TESTIMONIALS SLIDER ========== */
.testimonials-section {
    margin-bottom: 6rem;
}
.testimonial-carousel-container {
    position: relative;
    overflow: hidden;
    padding: 1rem 0;
}
.testimonial-track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform;
}
.testimonial-card {
    min-width: 350px;
    flex: 1;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.2rem;
    position: relative;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
    border-color: var(--primary-glow);
}
.testimonial-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}
.testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--primary);
    border: 1px solid rgba(255,255,255,0.06);
}
.testimonial-name {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-main);
}
.testimonial-role {
    font-size: 0.8rem;
    color: var(--text-muted);
}
.testimonial-rating {
    display: flex;
    gap: 0.2rem;
    margin-bottom: 1rem;
    color: #f59e0b;
}
.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
    font-style: italic;
}
.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}
.carousel-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: var(--text-main);
    transition: all 0.3s ease;
}
.carousel-btn:hover {
    border-color: var(--primary);
    background: var(--primary-glow);
    color: white;
}

/* ========== LIVE SYSTEM STATUS WIDGET ========== */
.sys-widget {
    background: rgba(10, 14, 26, 0.45);
    border-radius: 20px;
    padding: 1.5rem;
    border: 1px solid var(--border-color);
}
.sys-metric {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}
.sys-label {
    font-size: 0.85rem;
    color: var(--text-muted);
}
.sys-val {
    font-weight: 700;
    font-family: monospace;
    font-size: 0.9rem;
}
.sys-bar-wrapper {
    height: 6px;
    background: rgba(255,255,255,0.06);
    border-radius: 3px;
    overflow: hidden;
}
.sys-bar-fill {
    height: 100%;
    width: 0;
    border-radius: 3px;
    background: var(--accent-gradient);
    transition: width 0.8s cubic-bezier(0.25, 1, 0.5, 1);
}
.sys-ping {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.8rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    padding: 0.25rem 0.6rem;
    border-radius: 999px;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.sys-ping.offline {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.2);
}

/* ========== 3D PC CONFIGURATOR VISUALIZER ========== */
.pc-visual-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 480px;
    backdrop-filter: blur(20px);
}
.pc-case-3d {
    width: 260px;
    height: 380px;
    border: 3px solid rgba(255,255,255,0.15);
    border-radius: 24px;
    position: relative;
    background: rgba(0, 0, 0, 0.4);
    box-shadow: inset 0 0 50px rgba(37, 99, 235, 0.1), 0 20px 50px rgba(0,0,0,0.5);
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
    transform: perspective(1000px) rotateY(-12deg) rotateX(2deg);
    transform-style: preserve-3d;
}
.pc-case-3d:hover {
    transform: perspective(1000px) rotateY(-3deg) rotateX(1deg) scale(1.02);
    border-color: rgba(255,255,255,0.3);
    box-shadow: inset 0 0 50px rgba(37, 99, 235, 0.2), 0 25px 60px rgba(0,0,0,0.6);
}
.pc-case-glass {
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 50%, rgba(255,255,255,0.02) 100%);
    z-index: 10;
    pointer-events: none;
}
.pc-mainboard {
    position: absolute;
    top: 50px;
    left: 20px;
    right: 20px;
    bottom: 20px;
    background: #111827;
    border-radius: 12px;
    border: 1px solid rgba(255,255,255,0.05);
}
.pc-motherboard-circuits {
    position: absolute;
    inset: 10px;
    background-image: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.01) 1px, transparent 1px),
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 20px 20px;
}
.pc-cpu-cooler {
    position: absolute;
    top: 40px;
    left: 60px;
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: #1f2937;
    border: 4px solid #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    opacity: 0.1;
    transform: scale(0.8);
}
.pc-cpu-cooler.aio-cooling {
    border-radius: 16px !important;
    background: #0f172a;
    border: 4px solid var(--secondary) !important;
    box-shadow: 0 0 20px var(--secondary) !important;
}
.pc-cpu-cooler.aio-cooling .pc-fan-blades {
    display: none !important;
}
/* Tubes from AIO block to the top */
.pc-cpu-cooler.aio-cooling::before {
    content: '';
    position: absolute;
    top: -45px;
    left: 20px;
    width: 14px;
    height: 48px;
    border-left: 4px solid rgba(6, 182, 212, 0.6);
    border-right: 4px solid rgba(6, 182, 212, 0.6);
    border-radius: 4px;
    transform: skewX(-20deg);
}
.pc-fan-blades {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, #111827 0deg 30deg, transparent 30deg 60deg);
    animation: fanSpin 0s linear infinite;
}
.pc-case-3d.power-on .pc-fan-blades {
    animation-duration: 0.6s; /* Fast spin */
}
.pc-case-3d.cooler-rgb .pc-cpu-cooler {
    border-color: var(--primary);
    box-shadow: 0 0 25px var(--primary-glow);
}
.pc-case-3d.cooler-rgb.power-on .pc-cpu-cooler:not(.aio-cooling) {
    animation: rgbShift 4s linear infinite;
}
.pc-ram-slots {
    position: absolute;
    top: 40px;
    right: 40px;
    display: flex;
    gap: 4px;
}
.pc-ram-stick {
    width: 6px;
    height: 90px;
    background: #374151;
    border-radius: 2px;
    transition: all 0.3s ease;
    position: relative;
}
.pc-ram-stick.active {
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary-glow);
}
.pc-gpu-unit {
    position: absolute;
    top: 150px;
    left: 10px;
    right: 40px;
    height: 60px;
    background: #1f2937;
    border-radius: 8px;
    border: 2px solid #374151;
    z-index: 6;
    transform: translateY(20px);
    opacity: 0.2;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.pc-gpu-unit.active {
    opacity: 1;
    transform: translateY(0);
    border-color: var(--secondary);
    box-shadow: 0 5px 20px rgba(245,158,11,0.2);
}
.pc-gpu-led {
    position: absolute;
    bottom: 8px;
    left: 20px;
    right: 20px;
    height: 4px;
    background: transparent;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.pc-case-3d.power-on .pc-gpu-unit.active .pc-gpu-led {
    background: var(--secondary);
    box-shadow: 0 0 10px var(--secondary);
}
.pc-fans-front {
    position: absolute;
    right: 5px;
    top: 60px;
    bottom: 60px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    z-index: 2;
}
.pc-fan-front {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,0.3);
}
.pc-fan-front-blades {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, #1f2937 0deg 30deg, transparent 30deg 60deg);
    animation: fanSpinFront 0s linear infinite;
}
.pc-case-3d.power-on .pc-fan-front-blades {
    animation-duration: 0.8s;
}

@keyframes fanSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}
@keyframes fanSpinFront {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}
@keyframes rgbShift {
    0% { border-color: #2563eb; box-shadow: 0 0 25px rgba(37,99,235,0.4); }
    33% { border-color: #ec4899; box-shadow: 0 0 25px rgba(236,72,153,0.4); }
    66% { border-color: #f59e0b; box-shadow: 0 0 25px rgba(245,158,11,0.4); }
    100% { border-color: #2563eb; box-shadow: 0 0 25px rgba(37,99,235,0.4); }
}

/* ==========================================================================
   QUOTE / SERVICE PRICING PAGE STYLES (quote.php)
   ========================================================================== */

.quote-wrapper {
    padding: 2.5rem 0 4rem;
    animation: fadeIn 0.5s ease-out;
}

.guarantee-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #60a5fa;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.4rem 1.1rem;
    border-radius: 999px;
    margin-bottom: 1rem;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 0 15px rgba(37, 99, 235, 0.15);
}

.cat-chip-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.75rem;
}

.cat-chip-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    padding: 0.55rem 1.25rem;
    border-radius: 999px;
    color: var(--text-main);
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(8px);
}

.cat-chip-btn:hover {
    background: rgba(37, 99, 235, 0.15);
    border-color: var(--primary);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.25);
}

.quote-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 2.5rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
    margin-top: 1rem;
}

.category-block {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    scroll-margin-top: 110px;
}

.category-block:first-of-type {
    margin-top: 2rem;
    padding-top: 0;
    border-top: none;
}

.price-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.25rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.price-table thead th {
    background: rgba(15, 23, 42, 0.75);
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 1rem 1.25rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.price-table tbody tr {
    transition: background 0.2s ease;
}

.price-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.07);
}

.price-table tbody td {
    padding: 1.1rem 1.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    vertical-align: middle;
}

.price-table tbody tr:last-child td {
    border-bottom: none;
}

.badge-package {
    display: inline-block;
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.4);
    color: #fbbf24;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.15rem 0.6rem;
    border-radius: 6px;
    margin-left: 0.5rem;
    vertical-align: middle;
}

.notice-banner {
    background: rgba(245, 158, 11, 0.08);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    margin-top: 2.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    color: var(--text-main);
    line-height: 1.6;
    font-size: 0.92rem;
}

.notice-banner i, .notice-banner svg {
    color: var(--secondary);
    margin-top: 2px;
}

/* Light Theme Overrides for Quote Page */
body.light-theme .quote-card,
html.light-theme .quote-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.06);
}

body.light-theme .price-table,
html.light-theme .price-table {
    background: rgba(255, 255, 255, 0.5);
    border-color: rgba(0, 0, 0, 0.08);
}

body.light-theme .price-table thead th,
html.light-theme .price-table thead th {
    background: rgba(241, 245, 249, 0.9);
    border-bottom-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}

body.light-theme .price-table tbody td,
html.light-theme .price-table tbody td {
    border-bottom-color: rgba(0, 0, 0, 0.04);
}

body.light-theme .price-table tbody tr:hover,
html.light-theme .price-table tbody tr:hover {
    background: rgba(37, 99, 235, 0.05);
}

body.light-theme .cat-chip-btn,
html.light-theme .cat-chip-btn {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.1);
    color: #1e293b;
}

body.light-theme .notice-banner,
html.light-theme .notice-banner {
    background: rgba(245, 158, 11, 0.06);
    border-color: rgba(245, 158, 11, 0.3);
}

/* Responsive Table Wrapper for Mobile */
@media (max-width: 768px) {
    .quote-card {
        padding: 1.5rem 1rem;
        border-radius: 16px;
    }
    
    .price-table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .price-table th, .price-table td {
        padding: 0.85rem 0.75rem;
    }
    
    .cat-chip-btn {
        width: 100%;
        justify-content: center;
    }
}

/* ==========================================================================
   KNOWLEDGE BASE STYLES (kb.php)
   ========================================================================== */

.kb-search {
    max-width: 650px;
    margin: 0 auto 2.5rem;
    position: relative;
}

.kb-search input#searchInput {
    width: 100%;
    padding: 1.1rem 1.5rem 1.1rem 3.2rem;
    background: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    color: var(--text-main);
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

.kb-search::before {
    content: '🔍';
    position: absolute;
    left: 1.1rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.1rem;
    opacity: 0.6;
    pointer-events: none;
}

.kb-search input#searchInput:focus {
    outline: none;
    background: var(--input-bg-focus);
    border-color: var(--primary);
    box-shadow: 0 0 25px var(--primary-glow);
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 2.5rem;
}

.cat-tab {
    padding: 0.6rem 1.25rem;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-color);
    border-radius: 999px;
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.25s ease;
    backdrop-filter: blur(8px);
    user-select: none;
}

.cat-tab:hover {
    color: var(--text-main);
    border-color: var(--border-color-hover);
    background: rgba(255, 255, 255, 0.08);
}

.cat-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #ffffff;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.kb-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.75rem;
    margin-bottom: 3rem;
}

.kb-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(16px);
    position: relative;
    overflow: hidden;
}

.kb-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 20px rgba(37, 99, 235, 0.1);
}

.kb-card h3 {
    font-size: 1.25rem;
    color: var(--text-main);
    margin: 0.75rem 0 0.5rem 0;
    line-height: 1.35;
}

.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(37, 99, 235, 0.12);
    border: 1px solid rgba(37, 99, 235, 0.3);
    color: #60a5fa;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    letter-spacing: 0.02em;
    width: fit-content;
}

/* Troubleshooter Wizard Custom Styles */
.troubleshooter-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.troubleshooter-btn {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem 1.25rem;
    text-align: left;
    color: var(--text-main);
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
}

.troubleshooter-btn:hover {
    background: rgba(37, 99, 235, 0.12);
    border-color: var(--primary);
    transform: translateY(-2px);
}

.troubleshooter-btn i, .troubleshooter-btn svg {
    color: var(--primary);
    flex-shrink: 0;
}

.troubleshooter-result {
    background: rgba(37, 99, 235, 0.08);
    border: 1px solid rgba(37, 99, 235, 0.25);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1rem;
}

/* Light Theme Overrides for KB Page */
body.light-theme .kb-card,
html.light-theme .kb-card {
    background: rgba(255, 255, 255, 0.85);
    border-color: rgba(0, 0, 0, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

body.light-theme .cat-tab,
html.light-theme .cat-tab {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 0, 0, 0.08);
    color: #475569;
}

body.light-theme .cat-tab.active,
html.light-theme .cat-tab.active {
    background: var(--primary);
    color: #ffffff;
}

body.light-theme .troubleshooter-btn,
html.light-theme .troubleshooter-btn {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 0, 0, 0.08);
    color: #1e293b;
}
