/* Core Design System Variables */
:root {
    --bg-color: #0e0e0e;
    --bg-gradient: radial-gradient(circle at 50% 50%, #1c1c1c 0%, #0e0e0e 100%);
    --surface-color: rgba(24, 24, 24, 0.6);
    --surface-border: rgba(212, 175, 55, 0.25);
    --text-primary: #f3f3f3;
    --text-muted: #a3a3a3;
    --primary-color: #d4af37;
    --primary-glow: rgba(212, 175, 55, 0.2);
    --primary-transparent: rgba(212, 175, 55, 0.08);
    --primary-light: #fafafa;
    --secondary-color: #cccccc;
    --secondary-glow: rgba(204, 204, 204, 0.2);
    --secondary-transparent: rgba(204, 204, 204, 0.08);
    
    /* System Typography (GDPR Compliant - No Web Calls) */
    --font-sans: "Geist", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-mono: "JetBrains Mono", "SFMono-Regular", Consolas, "Liberation Mono", Menlo, Courier, monospace;
}

/* Base Styles */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-color);
    background-image: var(--bg-gradient);
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #0d0d0d;
}
::-webkit-scrollbar-thumb {
    background: #1a1a1a;
    border: 1px solid var(--surface-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
}

/* Typography Utilities */
h1, h2, h3, h4 {
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--primary-light);
}

p {
    color: var(--text-muted);
}

.font-mono {
    font-family: var(--font-mono);
}

.neon-text-primary {
    color: var(--primary-color);
    text-shadow: 0 0 12px var(--primary-glow);
}

.neon-text-secondary {
    color: var(--secondary-color);
    text-shadow: 0 0 12px var(--secondary-glow);
}

/* Layout Wrapper */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Header & Sticky Nav */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(18, 20, 20, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    transition: all 0.3s ease;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo-svg {
    height: 24px;
    width: auto;
    transition: all 0.3s ease;
}

.logo-paths {
    fill: #ffffff;
    transition: all 0.3s ease;
}

.logo:hover .logo-paths {
    fill: var(--primary-color);
    filter: drop-shadow(0 0 10px var(--primary-glow));
}

nav ul {
    display: flex;
    list-style: none;
    gap: 32px;
}

nav a {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    text-decoration: none;
    color: var(--text-muted);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

nav a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-glow);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 12px 24px;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-primary {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-primary:hover {
    background: var(--primary-transparent);
    box-shadow: 0 0 20px var(--primary-glow);
    text-shadow: 0 0 5px var(--primary-color);
}

.btn-secondary {
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color);
    background: transparent;
}

.btn-secondary:hover {
    background: var(--secondary-transparent);
    box-shadow: 0 0 20px var(--secondary-glow);
    text-shadow: 0 0 5px var(--secondary-color);
}

.btn-ghost {
    color: var(--secondary-color);
    background: transparent;
    padding: 12px 16px;
}

.btn-ghost:hover {
    text-decoration: underline;
    text-underline-offset: 6px;
    text-shadow: 0 0 8px var(--secondary-glow);
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px 0;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-glow {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(57, 255, 20, 0.05) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.15;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 40px auto;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Main Content Blocks */
main {
    flex-grow: 1;
}

section {
    padding: 100px 0;
    border-top: 1px solid var(--surface-border);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    display: block;
}

.section-title {
    font-size: 2.2rem;
    margin-bottom: 48px;
    letter-spacing: -0.02em;
}

/* Value Prop Grid */
.value-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

/* Glass Cards */
.glass-card {
    background: var(--surface-color);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--surface-border);
    border-radius: 4px;
    padding: 32px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(57, 255, 20, 0.12), inset 0 0 10px rgba(57, 255, 20, 0.04);
    transform: translateY(-2px);
}

.glass-card-secondary:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 0 25px rgba(0, 243, 255, 0.12), inset 0 0 10px rgba(0, 243, 255, 0.04);
}

.card-icon {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: inline-block;
}

.glass-card h3 {
    font-size: 1.3rem;
    margin-bottom: 16px;
}

.glass-card p {
    font-size: 0.95rem;
}

/* Services pricing specific styling */
.price-tag {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    display: block;
}

.service-card {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.service-features {
    list-style: none;
    margin: 24px 0;
}

.service-features li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-features li::before {
    content: "▫";
    color: var(--primary-color);
    font-weight: bold;
}

/* Tech Stack layout */
.tech-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.tech-group h3 {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--secondary-color);
    margin-bottom: 16px;
    border-bottom: 1px solid var(--surface-border);
    padding-bottom: 8px;
}

.tech-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tech-tag {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--surface-border);
    border-radius: 4px;
    transition: all 0.2s ease;
}

.tech-tag:hover {
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--secondary-color);
    box-shadow: 0 0 15px rgba(0, 243, 255, 0.1);
}

.tech-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background-color: var(--primary-color);
    box-shadow: 0 0 8px var(--primary-color);
}

.tech-dot.framework {
    background-color: var(--secondary-color);
    box-shadow: 0 0 8px var(--secondary-color);
}

/* Experience / Timeline styling */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 32px;
}

.timeline::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    bottom: 8px;
    width: 1px;
    background: var(--surface-border);
}

.timeline-item {
    position: relative;
    margin-bottom: 48px;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-dot {
    position: absolute;
    left: -36px;
    top: 8px;
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--primary-color);
    box-shadow: 0 0 10px var(--primary-color);
    border: 2px solid var(--bg-color);
}

.timeline-item.active .timeline-dot {
    background: var(--secondary-color);
    box-shadow: 0 0 10px var(--secondary-color);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 12px;
}

.timeline-date {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--secondary-color);
}

.timeline-company {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
}

.timeline-item h3 {
    font-size: 1.2rem;
    margin-bottom: 8px;
}

.timeline-item p {
    font-size: 0.95rem;
    margin-bottom: 12px;
}

.timeline-details {
    list-style: none;
    padding-left: 12px;
}

.timeline-details li {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 6px;
    position: relative;
}

.timeline-details li::before {
    content: "–";
    position: absolute;
    left: -12px;
    color: var(--secondary-color);
}

/* Call to Action Grid Section */
.cta-box {
    text-align: center;
    background: radial-gradient(circle at top, rgba(0, 243, 255, 0.03) 0%, transparent 60%);
    border: 1px solid var(--surface-border);
    border-radius: 4px;
    padding: 64px 32px;
    max-width: 800px;
    margin: 0 auto;
}

.cta-box h2 {
    font-size: 2.2rem;
    margin-bottom: 16px;
}

.cta-box p {
    max-width: 500px;
    margin: 0 auto 32px auto;
}

/* Legal Page Layout */
.legal-page {
    padding-top: 140px;
    max-width: 800px;
    margin: 0 auto;
    padding-bottom: 100px;
}

.legal-page h1 {
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.legal-page h2 {
    font-size: 1.5rem;
    margin-top: 40px;
    margin-bottom: 16px;
    color: var(--secondary-color);
}

.legal-page p {
    margin-bottom: 16px;
}

.legal-page ul {
    margin-left: 20px;
    margin-bottom: 16px;
}

.legal-page li {
    color: var(--text-muted);
    margin-bottom: 8px;
}

/* Footer styling */
footer {
    border-top: 1px solid var(--surface-border);
    padding: 48px 0;
    background: #0d0e0f;
    margin-top: auto;
    position: relative;
}

.footer-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary-color);
    text-shadow: 0 0 8px var(--secondary-glow);
}

.copyright {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.version-tag {
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-family: var(--font-mono);
    font-size: 0.55rem;
    opacity: 0.15;
}

/* Mobile menu toggler styling */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 16px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1005;
}

.hamburger-bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all 0.3s ease-in-out;
    border-radius: 2px;
}

.mobile-only {
    display: none;
}

/* Mobile Responsiveness Rules */
@media (max-width: 768px) {
    header {
        position: fixed;
        background: rgba(18, 20, 20, 0.9);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
    }
    
    .nav-container {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        height: 70px;
        padding: 0 20px;
        gap: 0;
    }
    
    .desktop-nav-cta {
        display: none !important;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Hamburger Transform to Close Icon */
    .menu-toggle.active .hamburger-bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .menu-toggle.active .hamburger-bar:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }
    
    .menu-toggle.active .hamburger-bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: rgba(12, 13, 13, 0.98);
        border-left: 1px solid var(--surface-border);
        box-shadow: -10px 0 30px rgba(0, 0, 0, 0.5);
        padding: 100px 32px 32px 32px;
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
        z-index: 999;
        display: flex;
        flex-direction: column;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
    }
    
    nav.active {
        right: 0;
    }
    
    nav ul {
        flex-direction: column;
        align-items: flex-start;
        gap: 28px;
        width: 100%;
    }
    
    nav ul li {
        width: 100%;
    }
    
    .mobile-only {
        display: block;
        margin-top: 20px;
        width: 100%;
    }
    
    .mobile-nav-cta {
        width: 100%;
        display: flex !important;
        text-align: center;
        justify-content: center;
        padding: 14px 24px;
    }
    
    .hero {
        padding: 140px 0 60px 0;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin: 0 auto;
        gap: 12px;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 32px;
    }
    
    .timeline-header {
        flex-direction: column;
        gap: 4px;
    }
    
    .cta-box h2 {
        font-size: 1.8rem;
    }
}

/* Language switch button styling */
.lang-switch {
    display: flex;
    align-items: center;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    background: rgba(255, 255, 255, 0.02);
}

.lang-btn:hover {
    color: var(--secondary-color) !important;
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(0, 243, 255, 0.15);
    background: rgba(0, 243, 255, 0.05);
    text-shadow: 0 0 8px var(--secondary-glow) !important;
}

.lang-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    stroke-width: 2px;
}

/* Error Page (404) styling */
.error-page {
    position: relative;
    padding-top: 160px;
    padding-bottom: 120px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 280px);
}

.error-glow {
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 243, 255, 0.08) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
}

.error-card {
    position: relative;
    z-index: 1;
    max-width: 600px;
    width: 100%;
    text-align: center;
    padding: 64px 40px;
    border-color: rgba(0, 243, 255, 0.15) !important;
}

.error-code {
    font-family: var(--font-mono);
    font-size: 6rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 16px;
    background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 20px rgba(0, 243, 255, 0.3));
}

.error-title {
    font-size: 1.8rem;
    margin-bottom: 12px;
}

.error-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 32px;
}

.quote-container {
    background: rgba(255, 255, 255, 0.01);
    border-left: 2px solid var(--secondary-color);
    padding: 20px 24px;
    margin-bottom: 40px;
    text-align: left;
    border-radius: 0 4px 4px 0;
    position: relative;
}

.quote-mark {
    font-family: Georgia, serif;
    font-size: 3rem;
    color: rgba(0, 243, 255, 0.2);
    position: absolute;
    top: -5px;
    left: 8px;
    line-height: 1;
    pointer-events: none;
}

.quote-text {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
    padding-left: 12px;
}

/* ── Clients / Marquee Section ──────────────────────────────── */
#kunden {
    padding-bottom: 100px;
    /* overflow handled by .clients-marquee-wrapper */
}

#kunden .section-title {
    margin-bottom: 48px;
}

/* Marquee wrapper: full viewport width, fade edges */
.clients-marquee-wrapper {
    width: 100%;
    overflow: hidden;
    /* Vertical padding gives hover transforms (translateY + scale) room
       so the top border isn't clipped by overflow:hidden */
    padding: 14px 0;
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

/* The scrolling track — contains exactly 2 identical .marquee-set blocks */
.clients-marquee {
    display: flex;
    width: max-content;
    animation: clients-scroll 28s linear infinite;
}

/* Each set: cards in a row with gap, PLUS padding-right = gap
   → set-width includes trailing space → -50% lands perfectly */
.marquee-set {
    --marquee-gap: clamp(1.5rem, 4vw, 3rem);
    display: flex;
    gap: var(--marquee-gap);
    padding-right: var(--marquee-gap);
    flex-shrink: 0;
}

/* Pause on hover so the user can inspect a logo */
.clients-marquee-wrapper:hover .clients-marquee {
    animation-play-state: paused;
}

@keyframes clients-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

/* Individual logo card */
.client-card {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 100px;
    padding: 16px 20px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
    cursor: default;
}

.client-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 28px var(--primary-glow), inset 0 0 12px rgba(57, 255, 20, 0.04);
    transform: translateY(-4px) scale(1.03);
}

.client-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.8);
    opacity: 0.6;
    transition: filter 0.4s ease, opacity 0.4s ease;
    border-radius: 4px;
    pointer-events: none;
}

.client-card:hover .client-img {
    filter: grayscale(0%) brightness(1.05);
    opacity: 1;
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
    .clients-marquee {
        animation: none;
    }
}

@media (max-width: 768px) {
    .client-card {
        width: 130px;
        height: 84px;
        padding: 12px 16px;
    }
}

/* ── Theme Definitions ────────────────────────────────────────── */
:root[data-theme="cyberpunk"] {
    --bg-color: #08090c;
    --bg-gradient: radial-gradient(circle at 50% 50%, #121520 0%, #08090c 100%);
    --surface-color: rgba(18, 22, 33, 0.6);
    --surface-border: rgba(255, 0, 127, 0.25);
    --text-primary: #e1e4ed;
    --text-muted: #8f9db5;
    --primary-color: #ff007f;
    --primary-glow: rgba(255, 0, 127, 0.2);
    --primary-transparent: rgba(255, 0, 127, 0.08);
    --primary-light: #ffffff;
    --secondary-color: #00f3ff;
    --secondary-glow: rgba(0, 243, 255, 0.2);
    --secondary-transparent: rgba(0, 243, 255, 0.08);
}

:root[data-theme="warm"] {
    --bg-color: #1a1816;
    --bg-gradient: radial-gradient(circle at 50% 50%, #26221e 0%, #1a1816 100%);
    --surface-color: rgba(43, 38, 34, 0.6);
    --surface-border: rgba(212, 163, 115, 0.25);
    --text-primary: #f5efe6;
    --text-muted: #c7bfb5;
    --primary-color: #e7a977;
    --primary-glow: rgba(231, 169, 119, 0.2);
    --primary-transparent: rgba(231, 169, 119, 0.08);
    --primary-light: #fffcf8;
    --secondary-color: #8ab17d;
    --secondary-glow: rgba(138, 177, 125, 0.2);
    --secondary-transparent: rgba(138, 177, 125, 0.08);
}

:root[data-theme="business"] {
    --bg-color: #0b0f19;
    --bg-gradient: radial-gradient(circle at 50% 50%, #1e293b 0%, #0b0f19 100%);
    --surface-color: rgba(23, 37, 65, 0.6);
    --surface-border: rgba(59, 130, 246, 0.25);
    --text-primary: #f1f5f9;
    --text-muted: #94a3b8;
    --primary-color: #3b82f6;
    --primary-glow: rgba(59, 130, 246, 0.2);
    --primary-transparent: rgba(59, 130, 246, 0.08);
    --primary-light: #ffffff;
    --secondary-color: #10b981;
    --secondary-glow: rgba(16, 185, 129, 0.2);
    --secondary-transparent: rgba(16, 185, 129, 0.08);
}

:root[data-theme="original"] {
    --bg-color: #121414;
    --bg-gradient: radial-gradient(circle at 50% 50%, #1c1f1f 0%, #121414 100%);
    --surface-color: rgba(30, 32, 32, 0.6);
    --surface-border: #3c4b35;
    --text-primary: #e3e2e2;
    --text-muted: #baccb0;
    --primary-color: #39ff14;
    --primary-glow: rgba(57, 255, 20, 0.25);
    --primary-transparent: rgba(57, 255, 20, 0.08);
    --primary-light: #efffe3;
    --secondary-color: #00f3ff;
    --secondary-glow: rgba(0, 243, 255, 0.25);
    --secondary-transparent: rgba(0, 243, 255, 0.08);
}

:root[data-theme="luxury"] {
    --bg-color: #0e0e0e;
    --bg-gradient: radial-gradient(circle at 50% 50%, #1c1c1c 0%, #0e0e0e 100%);
    --surface-color: rgba(24, 24, 24, 0.6);
    --surface-border: rgba(212, 175, 55, 0.25);
    --text-primary: #f3f3f3;
    --text-muted: #a3a3a3;
    --primary-color: #d4af37;
    --primary-glow: rgba(212, 175, 55, 0.2);
    --primary-transparent: rgba(212, 175, 55, 0.08);
    --primary-light: #fafafa;
    --secondary-color: #cccccc;
    --secondary-glow: rgba(204, 204, 204, 0.2);
    --secondary-transparent: rgba(204, 204, 204, 0.08);
}

/* ── Theme Switcher Widget Styling ──────────────────────────────── */
.theme-switcher-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.theme-switcher-toggle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    color: var(--text-primary);
    font-size: 1.25rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

.theme-switcher-toggle:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-glow);
    transform: rotate(45deg) scale(1.05);
}

.theme-switcher-menu {
    display: none;
    margin-top: 8px;
    padding: 16px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
    min-width: 260px;
    animation: theme-fade-slide-in 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.theme-switcher-widget.active .theme-switcher-menu {
    display: block;
}

.theme-switcher-menu h4 {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    font-weight: 700;
}

.theme-switcher-menu select {
    width: 100%;
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--surface-border);
    color: var(--text-primary);
    border-radius: 4px;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
    transition: border-color 0.2s ease;
}

.theme-switcher-menu select:focus {
    border-color: var(--primary-color);
}

@keyframes theme-fade-slide-in {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ── Cookie Consent Banner ──────────────────────────────────── */
dialog#cookie-consent {
    display: none;
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    top: auto;
    right: auto;
    margin: 0;
    padding: 24px;
    border: 1px solid var(--surface-border);
    border-radius: 4px;
    background: rgba(18, 20, 20, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: var(--text-primary);
    max-width: 500px;
    width: calc(100% - 48px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
    z-index: 10000;
}

dialog#cookie-consent[open] {
    display: block;
    animation: cookie-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes cookie-slide-up {
    from {
        transform: translate(-50%, 100%) scale(0.95);
        opacity: 0;
    }
    to {
        transform: translate(-50%, 0) scale(1);
        opacity: 1;
    }
}

.cookie-banner-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.cookie-banner-content h2 {
    font-size: 1.2rem;
    margin: 0;
    font-family: var(--font-sans);
    color: var(--primary-light);
}

.cookie-banner-content p {
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
    color: var(--text-muted);
}

.cookie-banner-actions {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 8px;
}

.cookie-banner-actions .btn {
    font-size: 0.75rem;
    padding: 10px 18px;
}

.cookie-policy-link {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--secondary-color);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.cookie-policy-link:hover {
    text-shadow: 0 0 8px var(--secondary-glow);
    text-decoration: underline;
}

@media (max-width: 480px) {
    dialog#cookie-consent {
        bottom: 12px;
        width: calc(100% - 24px);
        padding: 16px;
    }
    
    .cookie-banner-actions {
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 8px;
    }
    
    .cookie-banner-actions .btn {
        width: 100%;
        text-align: center;
    }
    
    .cookie-policy-link {
        text-align: center;
        margin-top: 4px;
    }
}


