@import url('fonts/inter.css');

/* ==========================================================================
   MATIS LABS - Modern Enterprise AI Design System
   Bold Color Surfaces · Dark Sections · Dynamic Motion
   ========================================================================== */

:root {
    /* === Light Surface === */
    --bg-dark: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f4f4f8;
    --bg-section: #f8f8fb;

    /* === Deep Dark Surfaces (for feature sections) === */
    --bg-deep: #05060f;
    --bg-deep-2: #080a1a;
    --bg-deep-card: rgba(255,255,255,0.04);
    --bg-deep-card-hover: rgba(255,255,255,0.07);

    /* === Text === */
    --text-primary: #09090e;
    --text-secondary: #3c3c48;
    --text-muted: #6b6b7a;
    --text-on-dark: #f0f0ff;
    --text-on-dark-muted: rgba(220,220,255,0.55);

    /* === Brand Accents === */
    --color-accent: #c4a261;         /* Premium Warm Gold */
    --color-gold: #c4a261;
    --color-indigo: #5b50e8;         /* Bright Enterprise Indigo */
    --color-violet: #8b5cf6;         /* Vibrant Violet */
    --color-teal: #0d9488;           /* Deep Teal */
    --color-cyan: #06b6d4;           /* Electric Cyan */
    --color-emerald: #10b981;        /* Emerald Green */

    /* === Large Color Surfaces === */
    --surface-indigo: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    --surface-dark-gradient: linear-gradient(160deg, #05060f 0%, #0d0e2a 50%, #05060f 100%);
    --surface-ai: linear-gradient(135deg, #0a0a1e 0%, #1a103a 40%, #0d1a2e 100%);
    --surface-gold-dark: linear-gradient(135deg, #1a1205 0%, #2d1f08 50%, #1a1205 100%);

    /* === Borders === */
    --color-border: #e2e2eb;
    --color-border-hover: #a1a1b5;
    --color-border-dark: rgba(255,255,255,0.10);
    --border-color: var(--color-border);
    --border-hover: var(--color-border-hover);

    /* === Typography === */
    --font-heading: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

    /* === Transitions === */
    --transition-smooth: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.15s ease;

    /* === Shadows === */
    --shadow-card: 0 2px 8px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    --shadow-card-hover: 0 8px 32px rgba(91,80,232,0.12), 0 2px 8px rgba(0,0,0,0.06);
    --shadow-dark-card: 0 4px 20px rgba(0,0,0,0.4), 0 1px 4px rgba(0,0,0,0.3);
    --shadow-glow-indigo: 0 0 40px rgba(91,80,232,0.25);
    --shadow-glow-gold: 0 0 40px rgba(196,162,97,0.20);
}

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    background-color: var(--bg-dark);
}

body {
    background-color: var(--bg-dark);
    color: var(--text-secondary);
    font-family: var(--font-body);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Faint Enterprise Developer Grid Background (Subtle lines like OpenAI/Vercel) */
.grid-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background-size: 40px 40px;
    background-image: 
        linear-gradient(to right, rgba(14, 14, 17, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(14, 14, 17, 0.02) 1px, transparent 1px);
    pointer-events: none;
}

.noise-overlay {
    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='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.01'/%3E%3C/svg%3E");
    z-index: -1;
    pointer-events: none;
    mix-blend-mode: overlay;
}

/* Global Container */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2.5rem;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-primary);
    font-weight: 700;
    letter-spacing: -0.04em;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.05;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.8rem, 3vw, 2.25rem);
    line-height: 1.15;
    margin-bottom: 1rem;
}

h3 {
    font-size: 1.25rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

p {
    font-size: 0.95rem;
    font-weight: 400;
    line-height: 1.75;
    color: var(--text-secondary);
}

.gradient-text-color {
    background: linear-gradient(135deg, #09090e 0%, #1e1b4b 50%, #0d9488 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: var(--text-primary);
}

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

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

/* Premium Floating Header Navigation */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-smooth);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.15rem;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

.logo-icon {
    width: 28px;
    height: 28px;
    filter: brightness(0.08); /* Keep icon dark charcoal in light mode */
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1.15rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.825rem;
    transition: var(--transition-fast);
    white-space: nowrap;
    position: relative;
    padding-bottom: 2px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--color-gold);
    border-radius: 1px;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    transform: scaleX(0.4);
    opacity: 0.4;
}

.nav-link.active {
    color: var(--text-primary);
}

.nav-link.active::after {
    transform: scaleX(1);
    opacity: 1;
}

/* Call to Action Buttons - Solid & Muted Outline (OpenAI Style) */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.6rem 1.25rem;
    border-radius: 2px;
    font-weight: 500;
    font-size: 0.875rem;
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: #0e0e11;
    color: #ffffff;
}

.btn-primary:hover {
    background: #27272a;
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--color-border);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.04);
    border-color: var(--text-primary);
}

.btn-gold {
    background: rgba(196, 162, 97, 0.08);
    color: var(--text-primary);
    border-color: rgba(196, 162, 97, 0.35);
    white-space: nowrap;
}

.btn-gold:hover {
    background: rgba(196, 162, 97, 0.16);
    border-color: var(--color-gold);
    color: var(--color-gold);
    box-shadow: 0 0 16px rgba(196, 162, 97, 0.12);
}

/* Hero Section - Deep Dark with Vibrant Accents */
.hero {
    padding-top: 150px;
    padding-bottom: 100px;
    position: relative;
    background: linear-gradient(160deg, #05060f 0%, #0d0e2a 45%, #0a0f1e 100%);
    overflow: hidden;
}

/* Override text colors inside hero for dark background */
.hero .hero-description {
    color: rgba(210, 210, 255, 0.80);
}

.hero h1 {
    color: #f0f0ff;
}

.hero .hero-stat-value {
    color: #ffffff;
}

.hero .hero-stat-label {
    color: rgba(200,200,255,0.55);
}

.hero .hero-stats {
    border-top-color: rgba(255,255,255,0.10);
}

.hero .hero-badge {
    background: rgba(91, 80, 232, 0.18);
    border-color: rgba(91, 80, 232, 0.35);
    color: #a5b4fc;
}

.hero .gradient-text-color {
    background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

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

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

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 3rem;
    align-items: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(67, 56, 202, 0.06);
    border: 1px solid rgba(67, 56, 202, 0.15);
    padding: 0.4rem 0.85rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-family: var(--font-mono);
    color: var(--color-indigo);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.hero-badge .pulse {
    width: 6px;
    height: 6px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: badge-pulse 2s infinite;
}

@keyframes badge-pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(34, 197, 94, 0); }
}

/* Animated Gradient Text - Premium Shimmer Effect */
.gradient-text-animated {
    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #a5b4fc 20%,
        #818cf8 40%,
        #c4b5fd 60%,
        #f0abfc 80%,
        #ffffff 100%
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradient-shimmer 5s ease-in-out infinite;
}

@keyframes gradient-shimmer {
    0% { background-position: 0% center; }
    50% { background-position: 100% center; }
    100% { background-position: 0% center; }
}

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 550px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

/* Hero Stats Strip */
.hero-stats {
    display: flex;
    gap: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: -0.04em;
    line-height: 1.2;
}

.hero-stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    font-weight: 500;
    margin-top: 2px;
}

.hero-graphic-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 380px;
}

#hero-ai-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    max-width: 500px;
    max-height: 500px;
    z-index: 0;
    pointer-events: auto;
}

.hero-shield-image {
    position: relative;
    z-index: 1;
    width: clamp(160px, 16vw, 240px);
    filter: brightness(0.95);
    pointer-events: none;
}

/* Trust Bar / Logos - Dark Transition */
.trust-bar {
    border-top: none;
    border-bottom: none;
    padding: 2.5rem 0;
    background: linear-gradient(180deg, #080a1a 0%, #0c0d1f 100%);
}

.trust-title {
    font-family: var(--font-mono);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    color: rgba(180,180,255,0.45);
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 1.75rem;
}

.trust-grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 2rem;
    opacity: 0.85;
}

.trust-item {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: rgba(220,220,255,0.80);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 0.01em;
}

.trust-item svg {
    color: rgba(129,140,248,0.70);
}

/* Section Header */
.section-header {
    text-align: left; /* Left align like OpenAI/Vercel sections */
    margin-bottom: 4rem;
    border-top: 1px solid var(--color-border);
    padding-top: 3rem;
}

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

/* Service Matrix / Focus Areas */
.section-padding {
    padding: 100px 0;
}

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

/* Modern Cards with Premium Depth */
.card {
    background: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: 14px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    transform: translateY(0);
    box-shadow: var(--shadow-card);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-indigo), var(--color-violet), var(--color-gold));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card:hover {
    border-color: rgba(91, 80, 232, 0.25);
    background: #ffffff;
    transform: translateY(-8px);
    box-shadow: var(--shadow-card-hover);
}

.card:hover::before {
    opacity: 1;
}

/* Card mouse-tracking glow overlay */
.card-glow {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 12px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.card:hover .card-glow {
    opacity: 1;
}

.card > *:not(.card-glow) {
    position: relative;
    z-index: 1;
}

.card-icon {
    width: 44px;
    height: 44px;
    margin-bottom: 1.5rem;
    color: var(--color-indigo);
    background: rgba(67, 56, 202, 0.06);
    border-radius: 10px;
    padding: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.card-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.card-list {
    list-style: none;
    margin-top: 1rem;
}

.card-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.card-list li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-indigo);
    margin-top: 0.55rem;
    flex-shrink: 0;
}

/* Definition-style list items (containing strong) */
.card-list li:has(strong) {
    display: block;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    padding-left: 1.25rem;
    position: relative;
}

.card-list li:has(strong)::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55rem;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--color-indigo);
}

.card-list li strong {
    display: block; /* Stack title and description */
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.card-list li:has(strong)::after {
    content: none;
}

/* Highlight style */
.card.highlight-gold {
    border-color: rgba(181, 148, 97, 0.25);
}

.card.highlight-gold::before {
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
}

.card.highlight-gold .card-list li::before {
    background: var(--color-gold);
}

/* Animated Metrics Counter Section - Deep Dark Bold */
.metrics-banner {
    padding: 6rem 0;
    background: linear-gradient(135deg, #0d0e2a 0%, #1a1040 30%, #0d1a2e 65%, #0a0a1e 100%);
    border-top: none;
    border-bottom: none;
    position: relative;
    overflow: hidden;
}

.metrics-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        radial-gradient(ellipse 600px 300px at 20% 50%, rgba(91,80,232,0.30) 0%, transparent 60%),
        radial-gradient(ellipse 500px 300px at 80% 50%, rgba(139,92,246,0.20) 0%, transparent 60%);
    pointer-events: none;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

@media (max-width: 768px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.metric-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 1;
}

.metric-counter-value {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: clamp(2.8rem, 4.5vw, 4rem);
    letter-spacing: -0.04em;
    color: #ffffff;
    line-height: 1;
}

.metric-counter-value .counter-suffix {
    font-size: 0.65em;
    color: #818cf8;
    font-weight: 700;
}

.metric-counter-label {
    font-size: 0.85rem;
    color: rgba(200,200,255,0.60);
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* Product Section Details */
.product-showcase {
    background: transparent;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: 1fr;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 2rem;
    }
    .hero-actions {
        justify-content: flex-start;
    }
}

.product-card {
    display: flex;
    flex-direction: column;
}

.product-tech-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 0.5rem;
}

/* Profile / Authority Node */
.profile-section {
    position: relative;
}

.profile-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

@media (max-width: 850px) {
    .profile-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.profile-image-container {
    position: relative;
    border-radius: 2px;
    overflow: hidden;
    aspect-ratio: 1;
    border: none;
    border-bottom: 2px solid var(--color-border);
    background: var(--bg-card);
    display: flex;
    justify-content: center;
    align-items: center;
}

.profile-avatar {
    width: 80%;
    height: 80%;
    object-fit: contain;
    filter: grayscale(0.5);
    opacity: 0.85;
    transition: var(--transition-smooth);
}

.profile-image-container:hover .profile-avatar {
    filter: grayscale(0);
    opacity: 1;
}

.profile-title {
    font-size: 1rem;
    font-family: var(--font-mono);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.profile-credential-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
}

.credential-item {
    display: flex;
    flex-direction: column;
}

.credential-val {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.15rem;
    color: var(--text-primary);
}

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

/* CTA Callout / Discovery Workshop Banner - Bold Dark Gold */
.cta-banner {
    background: linear-gradient(135deg, #100e00 0%, #1e1800 40%, #150f02 70%, #0d0a00 100%);
    border: 1px solid rgba(196, 162, 97, 0.25);
    border-radius: 20px;
    padding: 5rem 4rem;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.cta-banner::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(196,162,97,0.8), rgba(196,162,97,0.4), transparent);
}

.cta-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 500px 300px at 20% 50%, rgba(196,162,97,0.12) 0%, transparent 60%),
        radial-gradient(ellipse 400px 400px at 85% 30%, rgba(196,162,97,0.07) 0%, transparent 60%);
    pointer-events: none;
}

.cta-banner h2.cta-banner-title {
    color: #ffffff;
    margin-bottom: 1rem;
}

.cta-banner-desc {
    max-width: 650px;
    margin: 0 0 2.5rem 0;
    font-size: 1.05rem;
    color: rgba(230,215,180,0.75);
    position: relative;
    z-index: 1;
}

.cta-banner .section-label {
    color: rgba(196,162,97,0.80);
    position: relative;
    z-index: 1;
}

.cta-banner .btn-gold {
    background: rgba(196, 162, 97, 0.15);
    color: #e8c87a;
    border: 1px solid rgba(196, 162, 97, 0.50);
    position: relative;
    z-index: 2;
}

.cta-banner .btn-gold:hover {
    background: rgba(196, 162, 97, 0.28);
    border-color: rgba(196, 162, 97, 0.80);
    color: #f5d98a;
    box-shadow: 0 0 25px rgba(196,162,97,0.20);
}

/* CTA Banner button z-index fix */
.cta-banner > * {
    position: relative;
    z-index: 2;
}


footer {
    border-top: 1px solid var(--color-border);
    background: var(--bg-section);
    padding: 4rem 0 2.5rem 0;
    font-size: 0.875rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) and (min-width: 769px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.footer-desc {
    color: var(--text-muted);
    margin-top: 1rem;
    max-width: 280px;
    font-size: 0.825rem;
}

.footer-column-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

.footer-bottom-links {
    display: flex;
    gap: 1.25rem;
}

.footer-bottom-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-bottom-links a:hover {
    color: var(--text-primary);
}

/* Security Notification badge */
.security-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--text-secondary);
    font-family: var(--font-mono);
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
    border-radius: 2px;
}

.security-status-indicator .dot {
    width: 5px;
    height: 5px;
    background-color: var(--text-secondary);
    border-radius: 50%;
}

/* Burger Menu Mobile Navigation */
.burger-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 5px;
    z-index: 105;
}

.burger-btn span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--text-primary);
    transition: var(--transition-smooth);
}

/* Intermediate breakpoint: tighten spacing before burger kicks in */
@media (max-width: 1400px) and (min-width: 1281px) {
    .nav-menu {
        gap: 0.7rem;
    }
    .nav-link {
        font-size: 0.78rem;
    }
    .nav-menu .btn {
        padding: 0.5rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 1280px) {
    .burger-btn {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: #ffffff;
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        transition: var(--transition-smooth);
        z-index: 102;
        padding: 2.5rem;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    /* Stagger animation for menu items */
    .nav-menu.active li:nth-child(1) { transition-delay: 0.04s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.08s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.12s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.16s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.20s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.24s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.28s; }
    .nav-menu.active li:nth-child(8) { transition-delay: 0.32s; }
    .nav-menu.active li:nth-child(9) { transition-delay: 0.36s; }
    
    .nav-menu li {
        opacity: 0;
        transform: translateX(20px);
        transition: opacity 0.3s ease, transform 0.3s ease;
    }
    
    .nav-menu.active li {
        opacity: 1;
        transform: translateX(0);
    }
    
    /* Mobile CTA full-width gold fill */
    .nav-menu .btn-gold {
        width: 100%;
        text-align: center;
        justify-content: center;
        background: rgba(196, 162, 97, 0.10);
        border-color: rgba(196, 162, 97, 0.40);
        padding: 1rem;
    }
    
    .burger-btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(4px, 5px);
    }
    
    .burger-btn.active span:nth-child(2) {
        opacity: 0;
    }
    
    .burger-btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(4px, -5px);
    }
}

/* ==========================================================================
   Premium Animations & Simulators
   ========================================================================== */

/* Reveal Animations - Apple-style Elastic Fluid Dynamics */
.reveal {
    opacity: 0;
    transform: translateY(24px) scale(0.98);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}
.reveal.active {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* FIX: When .reveal is combined with .reveal-stagger, the parent
   should not hide itself — only the children should animate. */
.reveal.reveal-stagger {
    opacity: 1;
    transform: none;
}

/* Technical Terminal Console Styles */
.terminal-window {
    background: #050507;
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-secondary);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 360px;
    width: 100%;
    margin-top: 1.5rem;
}

.terminal-header {
    background: #0c0c0e;
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-dot-group {
    display: flex;
    gap: 0.35rem;
}

.terminal-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-border);
}

.terminal-title {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.terminal-status {
    color: #4ade80;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}

.terminal-body {
    padding: 1rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--color-border) transparent;
}

.terminal-body::-webkit-scrollbar {
    width: 4px;
}
.terminal-body::-webkit-scrollbar-thumb {
    background-color: var(--color-border);
    border-radius: 2px;
}

.terminal-logs {
    flex-grow: 1;
    overflow-y: auto;
    font-family: var(--font-mono);
    line-height: 1.4;
    white-space: pre-wrap;
    word-break: break-all;
    text-align: left;
}

.terminal-log-line {
    margin-bottom: 0.25rem;
}

.terminal-log-line.info { color: var(--text-secondary); }
.terminal-log-line.success { color: #ffffff; }
.terminal-log-line.warning { color: #a1a1aa; font-style: italic; }
.terminal-log-line.system { color: #71717a; }

/* Sector Grid for MSLS */
.sector-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 4px;
    max-width: 140px;
    margin: 0 auto;
}

.sector-block {
    aspect-ratio: 1;
    background: #18181b;
    border: 1px solid var(--color-border);
    border-radius: 1px;
    transition: background 0.15s ease, border-color 0.15s ease;
}

.sector-block.wiping {
    background: #ffffff;
    border-color: #ffffff;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.sector-block.wiped {
    background: #27272a;
    border-color: #3f3f46;
}

.sector-block.verified {
    background: #a1a1aa;
    border-color: #ffffff;
}

/* Formatted JSON output inside terminal */
.terminal-json {
    color: #e4e4e7;
    background: #09090b;
    padding: 0.5rem;
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    font-size: 0.75rem;
    white-space: pre-wrap;
    margin-top: 0.5rem;
    text-align: left;
}

/* Pulsing terminal badge */
.badge-pulse-green {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ffffff;
    border-radius: 50%;
    margin-right: 0.25rem;
    animation: blink-pulse 2s infinite;
}

@keyframes blink-pulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Simulated display panels */
.sim-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #09090b;
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.sim-controls {
    display: flex;
    gap: 1rem;
    justify-content: flex-start;
}

.sim-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid var(--color-border);
    padding-top: 0.75rem;
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* ==========================================================================
   Support & Diagnostics Components
   ========================================================================== */

/* OS Selector Tabs */
.tabs-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    background: rgba(9, 9, 14, 0.04);
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    padding: 0.25rem;
    margin-bottom: 2rem;
    position: relative;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-indicator {
    position: absolute;
    bottom: 4px;
    left: 4px;
    height: calc(100% - 8px);
    background: var(--bg-card);
    border-radius: 2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 0;
}

.tab-btn {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    font-weight: 500;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-secondary);
    padding: 0.5rem 1.5rem;
    cursor: pointer;
    transition: color var(--transition-fast);
    position: relative;
    z-index: 1;
    border-radius: 2px;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    color: var(--text-primary);
    font-weight: 600;
}

.tab-pane {
    display: none;
    animation: tab-fade-in 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-pane.active {
    display: block;
}

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

/* OS Guide Lists */
.support-split {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 850px) {
    .support-split {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.guide-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.guide-lead {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.step-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.step-item {
    display: flex;
    gap: 1rem;
}

.step-num {
    width: 28px;
    height: 28px;
    background: rgba(9, 9, 14, 0.04);
    color: var(--text-primary);
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.8rem;
    flex-shrink: 0;
    border: 1px solid var(--color-border);
}

.step-title {
    font-weight: 600;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Keyboard Shortcut Box */
.shortcut-box {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    background: rgba(9, 9, 14, 0.03);
    border: none;
    border-bottom: 2px solid var(--color-border);
    padding: 0.5rem 1rem;
    border-radius: 2px;
    margin-top: 0.75rem;
    cursor: pointer;
    user-select: none;
    transition: var(--transition-fast);
}

.shortcut-box:hover {
    border-bottom-color: var(--text-primary);
    background: var(--bg-card-hover);
}

.key-cap {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-primary);
}

.key-plus {
    color: var(--text-muted);
    font-size: 0.75rem;
}

.copy-badge {
    margin-left: 0.5rem;
    font-size: 0.65rem;
    font-family: var(--font-mono);
    text-transform: uppercase;
    font-weight: 700;
    color: var(--text-primary);
    border: 1px solid var(--color-border);
    padding: 1px 6px;
    border-radius: 2px;
}

/* Downloads and alternative tools */
.support-downloads {
    border-left: 1px solid var(--color-border);
    padding-left: 3rem;
}

@media (max-width: 850px) {
    .support-downloads {
        border-left: none;
        padding-left: 0;
        margin-top: 1rem;
        border-top: 1px solid var(--color-border);
        padding-top: 2rem;
    }
}

.download-title {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.support-downloads > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.download-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.download-card {
    display: flex;
    align-items: center;
    border: none;
    border-bottom: 2px solid var(--color-border);
    background: var(--bg-card);
    padding: 1rem 1.25rem;
    border-radius: 2px;
    text-decoration: none;
    transition: var(--transition-smooth);
}

.download-card:hover {
    border-bottom-color: var(--text-primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.card-icon-wrapper {
    width: 36px;
    height: 36px;
    background: rgba(9, 9, 14, 0.04);
    border: none;
    border-bottom: 2px solid var(--color-border);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.8rem;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

.download-card:hover .card-icon-wrapper {
    background: var(--bg-card);
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.card-meta {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.app-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.app-desc {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.app-code-arrow {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: var(--transition-fast);
}

.download-card:hover .app-code-arrow {
    transform: translateX(4px);
    color: var(--text-primary);
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
}

.search-wrapper {
    max-width: 480px;
    margin: 0 auto 3rem;
}

.search-bar input {
    width: 100%;
    background: var(--bg-card);
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    outline: none;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.75rem 1.25rem;
    transition: var(--transition-fast);
}

.search-bar input:focus {
    border-bottom-color: var(--text-primary);
    background: var(--bg-card-hover);
}

.faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.faq-item {
    background: var(--bg-card);
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-bottom-color: var(--text-primary);
}

.faq-trigger {
    width: 100%;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    outline: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 1rem;
    color: var(--text-primary);
    transition: color var(--transition-fast);
}

.faq-trigger:hover {
    color: var(--text-primary);
}

.faq-symbol {
    font-family: var(--font-mono);
    font-size: 0.95rem;
    color: var(--text-muted);
    font-weight: 700;
    transition: transform var(--transition-fast);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer-inner {
    padding: 0 1.5rem 1.25rem;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.6;
}

.faq-item.hidden {
    display: none;
}

/* Bento-style Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

@media (max-width: 850px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact-card.featured {
        grid-column: span 1 !important;
    }
}

.contact-card {
    background: var(--bg-card);
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    border-bottom-color: var(--text-primary);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.contact-card.featured {
    grid-column: span 2;
}

.contact-card h3 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.contact-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.5;
    flex-grow: 1;
}

.contact-card .btn {
    width: 100%;
}

/* Diagnostics Dashboard */
.diag-dashboard {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

@media (max-width: 1024px) {
    .diag-dashboard {
        grid-template-columns: 1fr;
    }
}

.diag-card {
    background: var(--bg-card);
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
}

.diag-card:hover {
    border-bottom-color: var(--text-primary);
    background: var(--bg-card-hover);
}

.diag-card-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

/* System-Diagnose Grid */
.diag-grid {
    background: rgba(9, 9, 14, 0.03);
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.diag-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
}

.diag-label {
    color: var(--text-muted);
}

.diag-val {
    font-family: var(--font-mono);
    font-weight: 600;
    color: var(--text-primary);
}

/* Service Status list */
.service-status-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-status-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 2px;
    border: none;
    border-bottom: 2px solid var(--color-border);
    background: rgba(9, 9, 14, 0.03);
    transition: var(--transition-fast);
}

.service-status-item:hover {
    border-bottom-color: var(--text-primary);
    background: var(--bg-card-hover);
}

.service-icon-initials {
    width: 28px;
    height: 28px;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.7rem;
    flex-shrink: 0;
}

.service-icon-initials.m365 { background: rgba(0, 120, 212, 0.08); color: #0078d4; }
.service-icon-initials.google { background: rgba(66, 133, 244, 0.08); color: #4285f4; }
.service-icon-initials.icloud { background: rgba(0, 153, 255, 0.08); color: #0099ff; }
.service-icon-initials.github { background: rgba(255, 255, 255, 0.08); color: #ffffff; }
.service-icon-initials.aws { background: rgba(255, 153, 0, 0.08); color: #ff9900; }
.service-icon-initials.matis { background: rgba(255, 255, 255, 0.08); color: var(--text-primary); }

.service-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.service-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

.service-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px 6px;
    border-radius: 2px;
    font-family: var(--font-mono);
    font-size: 0.62rem;
    font-weight: 700;
    white-space: nowrap;
}

.service-status-pill.online {
    background: rgba(74, 222, 128, 0.06);
    color: #4ade80;
    border: 1px solid rgba(74, 222, 128, 0.15);
}

.service-status-pill.offline {
    background: rgba(239, 68, 68, 0.06);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.15);
}

.service-status-pill.loading {
    background: rgba(161, 161, 170, 0.06);
    color: var(--text-muted);
    border: 1px solid rgba(161, 161, 170, 0.15);
}

.status-pill-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
}

.service-status-pill.online .status-pill-dot { background-color: #4ade80; }
.service-status-pill.offline .status-pill-dot { background-color: #f87171; }
.service-status-pill.loading .status-pill-dot { background-color: var(--text-muted); }

/* Speedtest circular gauge */
.speedtest-gauge-container {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0.5rem auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speedtest-gauge {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.gauge-bg {
    stroke: var(--color-border);
}

.gauge-progress {
    stroke: var(--color-indigo);
    transition: stroke-dashoffset 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    stroke-linecap: round;
}

.gauge-value-wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.gauge-val-num {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1;
}

.gauge-val-unit {
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-top: 2px;
}

/* Speedtest Metrics */
.speedtest-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-bottom: 1rem;
    background: rgba(9, 9, 14, 0.03);
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    padding: 0.75rem;
}

.metric-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    border-right: 1px solid var(--color-border);
}

.metric-box:last-child {
    border-right: none;
}

.metric-label {
    font-size: 0.6rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--text-muted);
    letter-spacing: 0.05em;
    margin-bottom: 2px;
}

.metric-value {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.1;
}

.metric-unit {
    font-size: 0.55rem;
    color: var(--text-muted);
}

/* Trigger Box custom adjustments for Support */
.trigger-box {
    background: var(--bg-card);
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    text-align: left;
    margin-bottom: 3rem;
    transition: var(--transition-smooth);
}

.trigger-box:hover {
    border-bottom-color: var(--text-primary);
    background: var(--bg-card-hover);
}

.trigger-status-icon {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    background: rgba(91, 80, 232, 0.08);
    color: var(--color-indigo);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.trigger-message {
    flex-grow: 1;
}

.trigger-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.trigger-desc {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.trigger-box.non-windows .trigger-status-icon {
    background: rgba(9, 9, 14, 0.04);
    color: var(--text-muted);
}

.trigger-box .btn-primary {
    background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-violet) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 12px rgba(91, 80, 232, 0.20);
}

.trigger-box .btn-primary:hover {
    background: linear-gradient(135deg, #6b61f0 0%, #9d6eff 100%);
    box-shadow: 0 6px 16px rgba(91, 80, 232, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   Browser Mockup Enclosures (SaaSpo-inspired)
   ========================================================================== */
.browser-mockup {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--color-border);
    background: #09090b;
    box-shadow: 0 20px 45px -12px rgba(0, 0, 0, 0.15), 0 4px 16px -4px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    width: 100%;
}

.browser-mockup-header {
    background: #0c0c0f;
    border-bottom: 1px solid var(--color-border);
    padding: 0.5rem 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    flex-shrink: 0;
}

.browser-mockup-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.browser-mockup-dot.red { background-color: #f87171; }
.browser-mockup-dot.yellow { background-color: #fbbf24; }
.browser-mockup-dot.green { background-color: #34d399; }

.browser-mockup-address {
    flex-grow: 1;
    max-width: 160px;
    margin: 0 auto;
    background: #050507;
    border: 1px solid var(--color-border);
    border-radius: 2px;
    height: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.browser-mockup-address-text {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
    line-height: 1;
}

.browser-mockup-body {
    position: relative;
    line-height: 0;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #07070a;
}

.browser-mockup-body img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    object-position: top center;
    filter: brightness(0.95) contrast(1.05);
}

/* Premium Gradient Mesh Background */
.glow-blob-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140%;
    height: 140%;
    max-width: 1000px;
    max-height: 1000px;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
    opacity: 0.65;
}

.glow-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    mix-blend-mode: screen;
    animation: aurora-drift 18s infinite alternate ease-in-out;
}

.glow-blob.one {
    top: 0%;
    left: -5%;
    width: 480px;
    height: 480px;
    background: radial-gradient(circle, rgba(91, 80, 232, 0.8) 0%, rgba(67, 56, 202, 0.4) 40%, transparent 70%);
    animation-delay: 0s;
}

.glow-blob.two {
    bottom: -10%;
    right: 0%;
    width: 520px;
    height: 520px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.7) 0%, rgba(168, 85, 247, 0.3) 40%, transparent 70%);
    animation-delay: -5s;
}

.glow-blob.three {
    top: 30%;
    left: 25%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.5) 0%, rgba(20, 184, 166, 0.25) 40%, transparent 70%);
    animation-delay: -10s;
}

@keyframes aurora-drift {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(40px, -50px) scale(1.15) rotate(90deg);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.9) rotate(180deg);
    }
    75% {
        transform: translate(20px, -20px) scale(1.1) rotate(270deg);
    }
    100% {
        transform: translate(0, 0) scale(1) rotate(360deg);
    }
}

/* Full-page gradient mesh for hero section */
.hero::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -10%;
    width: 120%;
    height: 140%;
    background:
        radial-gradient(ellipse 800px 500px at 15% 40%, rgba(91, 80, 232, 0.25) 0%, transparent 60%),
        radial-gradient(ellipse 600px 600px at 80% 20%, rgba(139, 92, 246, 0.20) 0%, transparent 60%),
        radial-gradient(ellipse 500px 350px at 55% 85%, rgba(196, 162, 97, 0.12) 0%, transparent 60%),
        radial-gradient(ellipse 700px 400px at 90% 65%, rgba(6, 182, 212, 0.10) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
    animation: mesh-shift 22s ease-in-out infinite alternate;
}

@keyframes mesh-shift {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 20px) scale(1.03); }
    100% { transform: translate(15px, -15px) scale(0.97); }
}

/* ==========================================================================
   Cookie Consent Banner
   ========================================================================== */
.cookie-banner {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translate(-50%, 40px);
    width: calc(100% - 4rem);
    max-width: 680px;
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    padding: 1.5rem;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.25, 1, 0.5, 1), transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.cookie-banner.show {
    opacity: 1;
    transform: translate(-50%, 0);
    pointer-events: auto;
}

.cookie-banner-text {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.cookie-banner-text a {
    color: var(--text-primary);
    text-decoration: none;
    border-bottom: 1px solid var(--color-border);
    transition: var(--transition-fast);
}

.cookie-banner-text a:hover {
    border-bottom-color: var(--text-primary);
}

.cookie-banner-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.cookie-banner .btn {
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

@media (max-width: 600px) {
    .cookie-banner {
        bottom: 1rem;
        width: calc(100% - 2rem);
        padding: 1.25rem;
    }
    .cookie-banner-buttons {
        justify-content: stretch;
    }
    .cookie-banner-buttons .btn {
        flex-grow: 1;
    }
}

/* ==========================================================================
   AI Adaptation Flow Graphic
   ========================================================================== */
.ai-flow-container {
    width: 100%;
    background: #050507;
    border: none;
    border-bottom: 2px solid var(--color-border);
    border-radius: 2px;
    padding: 2.5rem 2rem;
    margin-top: 1.5rem;
    position: relative;
    overflow: hidden;
}

.ai-flow-svg {
    width: 100%;
    height: auto;
    max-height: 240px;
    display: block;
}

.flow-node {
    fill: #09090b;
    stroke: var(--color-border);
    stroke-width: 1.5;
    transition: stroke-color 0.3s ease;
}

.flow-node:hover {
    stroke: var(--text-primary);
}

.flow-path {
    stroke: var(--color-border);
    stroke-width: 1.5;
    stroke-dasharray: 6 6;
    animation: flow-dash 15s linear infinite;
}

.flow-path.active {
    stroke: #ffffff;
    stroke-width: 2;
    animation: flow-dash 8s linear infinite;
}

@keyframes flow-dash {
    to {
        stroke-dashoffset: -100;
    }
}

.flow-pulse {
    fill: #ffffff;
    animation: flow-pulse-animation 2s infinite alternate ease-in-out;
}

@keyframes flow-pulse-animation {
    0% {
        r: 3px;
        opacity: 0.3;
    }
    100% {
        r: 6px;
        opacity: 0.95;
    }
}

.flow-pulse-color {
    fill: #6366f1;
    animation: flow-pulse-color-animation 2.5s infinite alternate ease-in-out;
}

@keyframes flow-pulse-color-animation {
    0% {
        r: 3px;
        opacity: 0.4;
        filter: drop-shadow(0 0 2px #6366f1);
    }
    100% {
        r: 7px;
        opacity: 0.9;
        filter: drop-shadow(0 0 8px #a855f7);
    }
}

/* ==========================================================================
   Product Screenshot Gallery
   ========================================================================== */
.screenshot-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
    margin-top: 3rem;
}

.screenshot-caption {
    padding: 0.85rem 1.25rem;
    background: #0c0c0f;
    border-top: 1px solid var(--color-border);
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-align: left;
    line-height: 1.4;
}

@media (max-width: 900px) {
    .screenshot-gallery {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}

/* ==========================================================================
   Staggered Reveals & Custom Section Background Overrides
   ========================================================================== */

/* Overrides for inline backgrounds that were hardcoded in HTML pages */
section[style*="background: rgba(5, 8, 20"],
section[style*="background:rgba(5,8,20"],
section[style*="background: rgba(5,8,20"],
section[style*="background:rgba(5, 8, 20"] {
    background: var(--bg-section) !important;
    border-top: 1px solid var(--color-border) !important;
    border-bottom: 1px solid var(--color-border) !important;
}

/* Scroll reveal left/right custom modifiers */
.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}
.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.85s cubic-bezier(0.25, 1, 0.5, 1), transform 0.85s cubic-bezier(0.25, 1, 0.5, 1);
    will-change: transform, opacity;
}
.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* Staggered animation triggers */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0.1s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.2s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.3s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.4s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.5s; }
.reveal-stagger.active > *:nth-child(6) { transition-delay: 0.6s; }

/* ==========================================================================
   PREMIUM DARK SECTION STYLES
   Large Color Surfaces · Enterprise AI Visual Language
   ========================================================================== */

/* === Dark Section Base === */
.section-dark {
    background: linear-gradient(160deg, #050610 0%, #0c0d24 50%, #050610 100%);
    position: relative;
    overflow: hidden;
}

.section-dark-indigo {
    background: linear-gradient(135deg, #09092e 0%, #13104a 40%, #0a0e2e 70%, #07061e 100%);
    position: relative;
    overflow: hidden;
}

.section-dark-teal {
    background: linear-gradient(135deg, #00131a 0%, #00252f 40%, #001821 100%);
    position: relative;
    overflow: hidden;
}

/* Dark section text overrides */
.section-dark h2, .section-dark h3,
.section-dark-indigo h2, .section-dark-indigo h3 {
    color: #f0f0ff;
}

.section-dark p, .section-dark-indigo p {
    color: rgba(200,200,255,0.70);
}

.section-dark .section-label,
.section-dark-indigo .section-label {
    color: rgba(129,140,248,0.70);
}

.section-dark .section-header,
.section-dark-indigo .section-header {
    border-top-color: rgba(255,255,255,0.08);
}

/* === Dark Cards (for use inside dark sections) === */
.card-dark {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.card-dark::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--color-indigo), var(--color-violet), var(--color-cyan));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.card-dark:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(129, 140, 248, 0.30);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 30px rgba(91,80,232,0.15);
}

.card-dark:hover::before {
    opacity: 1;
}

.card-dark h3 {
    color: #f0f0ff;
}

.card-dark p, .card-dark .card-desc {
    color: rgba(200,200,255,0.65);
}

.card-dark .card-icon {
    background: rgba(91, 80, 232, 0.15);
    color: #a5b4fc;
    border-radius: 12px;
}

.card-dark .card-list li {
    color: rgba(200,200,255,0.65);
}

.card-dark .card-list li::before {
    background: var(--color-indigo);
}

/* === Testimonial Section Dark Override === */
.section-testimonials {
    background: linear-gradient(135deg, #0a0212 0%, #180824 40%, #0e0520 70%, #060110 100%) !important;
    border-top: none !important;
    border-bottom: none !important;
    position: relative;
    overflow: hidden;
}

.section-testimonials::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 700px 400px at 10% 50%, rgba(139,92,246,0.18) 0%, transparent 60%),
        radial-gradient(ellipse 500px 500px at 90% 30%, rgba(91,80,232,0.12) 0%, transparent 60%);
    pointer-events: none;
}

.section-testimonials h2,
.section-testimonials .section-header h2 {
    color: #f0f0ff !important;
}

.section-testimonials .section-label {
    color: rgba(167,139,250,0.75) !important;
}

.section-testimonials p {
    color: rgba(200,200,255,0.70) !important;
}

/* Testimonial cards in dark bg */
.section-testimonials .card {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.09) !important;
    box-shadow: 0 4px 24px rgba(0,0,0,0.4) !important;
}

.section-testimonials .card:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(139,92,246,0.30) !important;
    transform: translateY(-6px) !important;
}

.section-testimonials .card p[style*="italic"] {
    color: rgba(230,225,255,0.90) !important;
}

.section-testimonials .card strong {
    color: #f0f0ff !important;
}

.section-testimonials .card span[style*="color: var(--text-muted)"] {
    color: rgba(170,155,220,0.65) !important;
}

.section-testimonials .card div[style*="border-top"] {
    border-top-color: rgba(255,255,255,0.10) !important;
}

/* === Industries / Fokus-Branchen Dark Background === */
.section-industries {
    background: linear-gradient(160deg, #f8f8fd 0%, #f2f2ff 50%, #f8f8fd 100%) !important;
    border-top: 1px solid rgba(91,80,232,0.08) !important;
    border-bottom: 1px solid rgba(91,80,232,0.08) !important;
}

/* === Product Showcase Enhanced === */
.section-products {
    background: #ffffff;
}

/* === Buttons for dark surfaces === */
.btn-light {
    background: rgba(255, 255, 255, 0.10);
    color: #f0f0ff;
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.18);
    border-color: rgba(255, 255, 255, 0.35);
    color: #ffffff;
}

.btn-hero-primary {
    background: linear-gradient(135deg, var(--color-indigo) 0%, var(--color-violet) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 20px rgba(91, 80, 232, 0.40);
    font-weight: 600;
}

.btn-hero-primary:hover {
    background: linear-gradient(135deg, #6b61f0 0%, #9d6eff 100%);
    box-shadow: 0 6px 30px rgba(91, 80, 232, 0.55);
    transform: translateY(-2px);
}

.btn-hero-secondary {
    background: transparent;
    color: rgba(210, 210, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.18);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.35);
}

/* === Card icon upgrades with accent colors === */
.card-icon-teal {
    background: rgba(13, 148, 136, 0.08);
    color: var(--color-teal);
}

.card-icon-violet {
    background: rgba(139, 92, 246, 0.08);
    color: var(--color-violet);
}

.card-icon-cyan {
    background: rgba(6, 182, 212, 0.08);
    color: var(--color-cyan);
}

.card-icon-gold {
    background: rgba(196, 162, 97, 0.08);
    color: var(--color-gold);
}

/* === Footer Dark Upgrade === */
footer {
    background: linear-gradient(180deg, #05060f 0%, #080a1a 100%) !important;
    border-top: 1px solid rgba(255,255,255,0.06) !important;
}

footer .logo {
    color: #f0f0ff !important;
}

footer .logo-icon {
    filter: brightness(3) !important;
}

footer .footer-desc {
    color: rgba(180,180,220,0.55) !important;
}

footer .footer-column-title {
    color: rgba(200,200,255,0.80) !important;
}

footer .footer-links a {
    color: rgba(160,160,210,0.60) !important;
}

footer .footer-links a:hover {
    color: rgba(200,200,255,0.90) !important;
}

footer .footer-bottom {
    border-top-color: rgba(255,255,255,0.06) !important;
    color: rgba(140,140,180,0.50) !important;
}

footer .footer-bottom-links a {
    color: rgba(140,140,180,0.50) !important;
}

footer .footer-bottom-links a:hover {
    color: rgba(200,200,255,0.80) !important;
}

footer .security-status-indicator {
    background: rgba(255,255,255,0.03) !important;
    border-color: rgba(255,255,255,0.08) !important;
    color: rgba(160,160,210,0.60) !important;
}

footer .security-status-indicator .dot {
    background-color: rgba(74, 222, 128, 0.8) !important;
    animation: blink-pulse 2s infinite;
}

/* === Navigation dark when inside dark hero === */
header.is-hero-top {
    background: rgba(5, 6, 15, 0.80) !important;
    border-bottom-color: rgba(255,255,255,0.06) !important;
}

header.is-hero-top .logo {
    color: #f0f0ff;
}

header.is-hero-top .logo-icon {
    filter: brightness(5) saturate(0);
}

header.is-hero-top .nav-link {
    color: rgba(210,210,255,0.75);
}

header.is-hero-top .nav-link:hover,
header.is-hero-top .nav-link.active {
    color: #ffffff;
}

header.is-hero-top .nav-link.active::after {
    background: var(--color-gold);
}

header.is-hero-top .btn-gold {
    background: rgba(196,162,97,0.10);
    border-color: rgba(196,162,97,0.45);
    color: rgba(220,190,120,0.90);
}

header.is-hero-top .btn-gold:hover {
    background: rgba(196,162,97,0.18);
    border-color: rgba(196,162,97,0.70);
    color: #e8c87a;
    box-shadow: 0 0 20px rgba(196, 162, 97, 0.15);
}

/* === Header scroll transition === */
header {
    transition: background 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

header.scrolled {
    background: rgba(255, 255, 255, 0.96) !important;
    border-bottom-color: var(--color-border) !important;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.06);
}

.nav-container {
    transition: height 0.3s ease;
}

header.scrolled .nav-container {
    height: 64px;
}

header.scrolled .logo {
    color: var(--text-primary) !important;
}

header.scrolled .logo-icon {
    filter: brightness(0.08) !important;
}

header.scrolled .nav-link {
    color: var(--text-secondary) !important;
}

header.scrolled .nav-link:hover,
header.scrolled .nav-link.active {
    color: var(--text-primary) !important;
}

header.scrolled .btn-gold {
    border-color: var(--color-border) !important;
    color: var(--text-primary) !important;
}

/* === Hero AI canvas z-index fix for dark bg === */
.hero-graphic-container {
    z-index: 1;
}

.hero-shield-image {
    filter: brightness(1.1) drop-shadow(0 0 30px rgba(91,80,232,0.35)) !important;
}

/* === Section BG Overrides (Testimonials hardcoded inline) === */
section[style*="background: rgba(5, 8, 20"],
section[style*="background:rgba(5,8,20"],
section[style*="background: rgba(5,8,20"],
section[style*="background:rgba(5, 8, 20"] {
    background: linear-gradient(135deg, #0a0212 0%, #180824 40%, #0e0520 70%, #060110 100%) !important;
    border-top: none !important;
    border-bottom: none !important;
}

/* Override testimonial text colors via section targeting */
section[style*="background: rgba(5, 8, 20"] h2,
section[style*="background:rgba(5,8,20"] h2,
section[style*="background: rgba(5,8,20"] h2,
section[style*="background:rgba(5, 8, 20"] h2,
section[style*="background: rgba(5, 8, 20"] h3,
section[style*="background:rgba(5,8,20"] h3,
section[style*="background: rgba(5,8,20"] h3,
section[style*="background:rgba(5, 8, 20"] h3,
section[style*="background: rgba(5, 8, 20"] .card-title,
section[style*="background:rgba(5,8,20"] .card-title,
section[style*="background: rgba(5,8,20"] .card-title,
section[style*="background:rgba(5, 8, 20"] .card-title {
    color: #f0f0ff !important;
}

section[style*="background: rgba(5, 8, 20"] .section-label,
section[style*="background:rgba(5,8,20"] .section-label,
section[style*="background: rgba(5,8,20"] .section-label,
section[style*="background:rgba(5, 8, 20"] .section-label {
    color: rgba(167,139,250,0.75) !important;
}

section[style*="background: rgba(5, 8, 20"] p,
section[style*="background:rgba(5,8,20"] p,
section[style*="background: rgba(5,8,20"] p,
section[style*="background:rgba(5, 8, 20"] p {
    color: rgba(200,200,255,0.70) !important;
}

section[style*="background: rgba(5, 8, 20"] .card {
    background: rgba(255,255,255,0.05) !important;
    border-color: rgba(255,255,255,0.09) !important;
}

section[style*="background: rgba(5, 8, 20"] .card:hover {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(139,92,246,0.30) !important;
}

section[style*="background: rgba(5, 8, 20"] .card p,
section[style*="background: rgba(5, 8, 20"] .card .card-list li {
    color: rgba(230,225,255,0.85) !important;
}

section[style*="background: rgba(5, 8, 20"] .card strong {
    color: #f0f0ff !important;
}

section[style*="background: rgba(5, 8, 20"] .card div {
    border-top-color: rgba(255,255,255,0.10) !important;
}

section[style*="background: rgba(5, 8, 20"] .card span {
    color: rgba(170,155,220,0.65) !important;
}

/* === AI Flow Container dark upgrade === */
.ai-flow-container {
    background: linear-gradient(135deg, #050510 0%, #0d0e28 100%) !important;
    border: 1px solid rgba(91,80,232,0.20) !important;
    border-radius: 16px !important;
}

/* === Grid Background upgrade === */
.grid-bg {
    background-size: 40px 40px;
    background-image:
        linear-gradient(to right, rgba(91, 80, 232, 0.025) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(91, 80, 232, 0.025) 1px, transparent 1px);
}

/* === Product tech tag upgrade === */
.product-tech-tag {
    font-family: var(--font-mono);
    font-size: 0.68rem;
    text-transform: uppercase;
    color: var(--color-indigo);
    letter-spacing: 0.06em;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

/* === Card icon uniform update === */
.card-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(91, 80, 232, 0.07);
    color: var(--color-indigo);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

/* === Matrix Grid (3-column service grid for dark sections) === */
.matrix-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
}

@media (max-width: 1100px) {
    .matrix-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .matrix-grid {
        grid-template-columns: 1fr;
    }
}

/* Card sub-elements */
.card-title {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    flex-grow: 1;
}

.card-list {
    list-style: none;
    margin-top: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.card-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding-left: 1rem;
    position: relative;
}

.card-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--color-indigo);
    font-size: 0.75rem;
}

/* Hero stats row */
.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.hero-stat {
    display: flex;
    flex-direction: column;
}

.hero-stat-value {
    font-family: var(--font-mono);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text-primary);
}

.hero-stat-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 2px;
}

/* Hero actions */
.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

/* Carousel track wrapper for produkte.html */
.carousel-track-wrapper {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.carousel-slide {
    min-width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
}

.carousel-counter {
    margin-left: auto;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-muted);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.90);
    border: 1px solid var(--color-border);
    color: var(--text-primary);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition-fast);
    backdrop-filter: blur(8px);
}

.carousel-btn:hover {
    background: #ffffff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.10);
}

.carousel-btn.prev { left: 10px; }
.carousel-btn.next { right: 10px; }

.carousel-dots-bar {
    display: flex;
    justify-content: center;
    gap: 5px;
    padding: 0.5rem;
    background: #0c0c0f;
    border-top: 1px solid var(--color-border);
}

.product-carousel-wrap {
    position: relative;
}

/* ==========================================================================
   Case Study Spotlight - White Background Card Theme
   ========================================================================== */
.case-study-showcase {
    background: #ffffff !important;
    color: var(--text-secondary) !important;
    border: 1px solid rgba(196, 162, 97, 0.3) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05), var(--shadow-card) !important;
    padding: 2.5rem;
    max-width: 1000px;
    margin: 0 auto;
}

.case-study-showcase h3,
.case-study-showcase h4 {
    color: var(--text-primary) !important;
}

.case-study-showcase p {
    color: var(--text-secondary) !important;
}

.case-study-lead {
    color: #8b6b2f !important; /* Premium Dark Gold/Bronze with high contrast */
    font-weight: 600 !important;
}

.case-study-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-bottom: 1px solid #e2e2eb !important;
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
}

.case-study-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.case-study-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.case-study-metric-card {
    background: #f8f8fb !important;
    border: 1px solid #e2e2eb !important;
    padding: 1.5rem;
    border-radius: 10px;
    transition: var(--transition-fast);
}

.case-study-metric-card:hover {
    background: #f0f0f5 !important;
    border-color: rgba(196, 162, 97, 0.5) !important;
}

.case-study-metric-value {
    font-family: var(--font-mono);
    font-size: 2.2rem;
    color: #0f766e !important; /* Dark teal with high contrast */
    font-weight: bold;
    line-height: 1;
}

.case-study-metric-label {
    font-size: 0.85rem;
    color: var(--text-muted) !important;
    margin-top: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.case-study-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    border-top: 1px solid #e2e2eb !important;
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.case-study-footer-text {
    color: var(--text-muted) !important;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.case-study-footer-text svg {
    stroke: #8b6b2f !important; /* High contrast gold/bronze for the lock/shield icon */
}

@media (max-width: 850px) {
    .case-study-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .case-study-header {
        flex-direction: column;
        align-items: stretch;
    }
    
    .case-study-header > div:last-child {
        text-align: left !important;
    }
    
    .case-study-header > div:last-child > div {
        justify-content: flex-start !important;
    }
    
    .case-study-footer {
        flex-direction: column;
        align-items: stretch;
    }
    
    .case-study-footer > a {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}

/* ==========================================================================
   Language Switcher Styles
   ========================================================================== */
/* Visual separator before language switcher group */
.lang-selector-container {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 0.25rem 0 0.75rem;
    position: relative;
}

.lang-selector-container::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 20px;
    background: var(--color-border);
    opacity: 0.6;
}

/* Language Switcher Pill Container */
.lang-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    background: rgba(0, 0, 0, 0.03);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 0.15rem 0.25rem;
}

.lang-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.45rem;
    transition: var(--transition-fast);
    border-radius: 14px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.lang-btn:hover {
    color: var(--text-primary);
    background: rgba(0, 0, 0, 0.05);
}

.lang-btn.active {
    color: var(--color-gold);
    font-weight: 700;
    background: rgba(196, 162, 97, 0.10);
    pointer-events: none;
}

/* Dark header (hero-top) language switcher overrides */
header.is-hero-top .lang-selector-container::before {
    background: rgba(255, 255, 255, 0.15);
}

header.is-hero-top .lang-switcher {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.10);
}

header.is-hero-top .lang-btn {
    color: var(--text-on-dark-muted);
}

header.is-hero-top .lang-btn:hover {
    color: var(--text-on-dark);
    background: rgba(255, 255, 255, 0.08);
}

header.is-hero-top .lang-btn.active {
    color: var(--color-gold);
    background: rgba(196, 162, 97, 0.15);
}

/* Mobile responsive navigation placement */
@media (max-width: 1280px) {
    .lang-selector-container {
        padding: 0.75rem 0;
        width: 100%;
        margin-top: 0.25rem;
        margin-bottom: 0.25rem;
    }
    
    .lang-selector-container::before {
        display: none;
    }
    
    .lang-switcher {
        padding: 0.25rem 0.4rem;
    }
    
    .lang-btn {
        font-size: 0.85rem;
        padding: 0.35rem 0.7rem;
    }
}

/* ==========================================================================
   Testimonial Premium Avatars & Utility Classes
   ========================================================================== */
.testimonial-author {
    border-top: 1px solid var(--color-border);
    padding-top: 1rem;
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: auto; /* Push to bottom of card if height varies */
}

.avatar-initials {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(196, 162, 97, 0.08);
    color: var(--color-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    border: 1px solid rgba(196, 162, 97, 0.25);
    flex-shrink: 0;
}

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

.author-name {
    color: var(--text-primary);
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.3;
}

.author-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.3;
    margin-top: 1px;
}

/* Dark mode testimonials overrides */
.section-testimonials .card .testimonial-author {
    border-top-color: rgba(255, 255, 255, 0.10) !important;
}

.section-testimonials .card .avatar-initials {
    background: rgba(196, 162, 97, 0.15) !important;
    border-color: rgba(196, 162, 97, 0.35) !important;
    color: #e8c87a !important;
}

.section-testimonials .card .author-name {
    color: #f0f0ff !important;
}

.section-testimonials .card .author-role {
    color: rgba(170, 155, 220, 0.65) !important;
}

/* Trust Tagline (Urgency) beneath Proton Calendars */
.booking-trust-tagline {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 0.75rem;
    font-weight: 500;
    display: block;
}

.cta-banner .booking-trust-tagline {
    color: rgba(230, 215, 180, 0.60);
    margin-top: 0.85rem;
}




