/* ==========================================================================
   Adrasis Console - Modern SaaS Landing Page Styles
   Tailwind CSS inspired with shadcn UI aesthetics
   ========================================================================== */

/* CSS Custom Properties - Design Tokens */
:root {
    --radius: 0.5rem;

    /* Brand Colors (theme-independent) */
    --brand-primary: #2563eb;
    --brand-primary-rgb: 37, 99, 235;
    --brand-secondary: #0f172a;
    --brand-accent: #10b981;
    --brand-accent-rgb: 16, 185, 129;

    /* Typography */
    --font-sans: 'Exo 2', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-display: 'Exo 2', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing Scale */
    --space-1: 0.25rem;
    --space-2: 0.5rem;
    --space-3: 0.75rem;
    --space-4: 1rem;
    --space-5: 1.25rem;
    --space-6: 1.5rem;
    --space-8: 2rem;
    --space-10: 2.5rem;
    --space-12: 3rem;
    --space-16: 4rem;
    --space-20: 5rem;
    --space-24: 6rem;

    /* Shadows */
    --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);

    /* Transitions */
    --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 200ms cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 300ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* ---- Light Theme (default) ---- */
[data-theme="light"],
:root:not([data-theme]) {
    --text-primary: #0f172a;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --surface-primary: #ffffff;
    --surface-secondary: #f8fafc;
    --surface-tertiary: #f1f5f9;
    --border-default: #e2e8f0;
    --border-subtle: #f1f5f9;

    --header-bg: rgba(255, 255, 255, 0.95);
    --header-bg-scrolled: rgba(255, 255, 255, 0.98);
    --header-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    --header-shadow-scrolled: var(--shadow-sm);
    --nav-mobile-bg: #ffffff;
    --nav-mobile-border: #e2e8f0;
    --nav-mobile-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    --nav-hover-bg: #f1f5f9;
    --logo-color: #0f2a4a;
}

/* ---- Dark Theme ---- */
[data-theme="dark"] {
    --text-primary: #f1f5f9;
    --text-secondary: rgba(255, 255, 255, 0.6);
    --text-muted: rgba(255, 255, 255, 0.4);
    --surface-primary: #0a0f1e;
    --surface-secondary: #111827;
    --surface-tertiary: #1e293b;
    --border-default: rgba(255, 255, 255, 0.08);
    --border-subtle: rgba(255, 255, 255, 0.04);

    --header-bg: rgba(10, 15, 30, 0.85);
    --header-bg-scrolled: rgba(10, 15, 30, 0.95);
    --header-shadow: none;
    --header-shadow-scrolled: 0 4px 24px rgba(0, 0, 0, 0.3);
    --nav-mobile-bg: #111827;
    --nav-mobile-border: rgba(255, 255, 255, 0.08);
    --nav-mobile-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    --nav-hover-bg: rgba(255, 255, 255, 0.06);
    --logo-color: #ffffff;
}

/* ==========================================================================
   Base Styles
   ========================================================================== */

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--surface-primary);
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

/* ==========================================================================
   Typography
   ========================================================================== */

h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
}

h3 {
    font-size: clamp(1.25rem, 2vw, 1.5rem);
}

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

.text-gradient {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #7c3aed 50%, var(--brand-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 4rem);
}

.container-sm {
    max-width: 768px;
}

.container-lg {
    max-width: 1440px;
}

.section {
    padding: var(--space-16) 0;
}

.section-sm {
    padding: var(--space-10) 0;
}

.section-lg {
    padding: var(--space-20) 0;
}

/* Grid System */
.grid {
    display: grid;
    gap: var(--space-6);
}

.grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
    .lg\:grid-cols-3 {
        grid-template-columns: repeat(2, 1fr);
    }
    .lg\:grid-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .md\:grid-cols-1 {
        grid-template-columns: 1fr;
    }
    .grid-cols-2,
    .grid-cols-3,
    .grid-cols-4 {
        grid-template-columns: 1fr;
    }
}

/* Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.items-start {
    align-items: flex-start;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.gap-2 {
    gap: var(--space-2);
}

.gap-3 {
    gap: var(--space-3);
}

.gap-4 {
    gap: var(--space-4);
}

.gap-6 {
    gap: var(--space-6);
}

.gap-8 {
    gap: var(--space-8);
}

/* ==========================================================================
   Components - Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-2);
    padding: var(--space-3) var(--space-5);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.5;
    border-radius: var(--radius);
    transition: all var(--transition-base);
    white-space: nowrap;
    cursor: pointer;
}

.btn-primary {
    background: var(--brand-primary);
    color: white;
    box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
    background: #1d4ed8;
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

.btn-secondary {
    background: var(--surface-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--surface-tertiary);
    border-color: var(--text-muted);
}

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

.btn-outline:hover {
    background: rgba(var(--brand-primary-rgb), 0.1);
}

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

.btn-ghost:hover {
    background: var(--surface-secondary);
    color: var(--text-primary);
}

.btn-lg {
    padding: var(--space-4) var(--space-8);
    font-size: 1rem;
}

.btn-sm {
    padding: var(--space-2) var(--space-3);
    font-size: 0.8125rem;
}

.btn-icon {
    padding: var(--space-2);
    width: 40px;
    height: 40px;
}

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

.btn-ghost-dark:hover {
    background: var(--brand-secondary);
    color: white;
    border-color: var(--brand-secondary);
}

.btn-ghost-light {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-ghost-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
}

/* ==========================================================================
   Components - Cards
   ========================================================================== */

.card {
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2);
    padding: var(--space-6);
    transition: all var(--transition-base);
}

.card:hover {
    border-color: var(--text-muted);
    box-shadow: var(--shadow-lg);
}

.card-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.card-elevated {
    box-shadow: var(--shadow-md);
    border: none;
}

.card-feature {
    position: relative;
    overflow: hidden;
}

.card-feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--brand-primary), var(--brand-accent));
    opacity: 0;
    transition: opacity var(--transition-base);
}

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

/* ==========================================================================
   Components - Badge
   ========================================================================== */

.badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1) var(--space-3);
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: 9999px;
    background: var(--surface-secondary);
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
}

.badge-primary {
    background: rgba(var(--brand-primary-rgb), 0.1);
    color: var(--brand-primary);
    border-color: rgba(var(--brand-primary-rgb), 0.2);
}

.badge-success {
    background: rgba(var(--brand-accent-rgb), 0.1);
    color: var(--brand-accent);
    border-color: rgba(var(--brand-accent-rgb), 0.2);
}

.badge-dark {
    background: var(--brand-secondary);
    color: white;
    border-color: var(--brand-secondary);
}

/* ==========================================================================
   Header / Navigation
   ========================================================================== */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--header-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    box-shadow: var(--header-shadow);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: var(--header-bg-scrolled);
    box-shadow: var(--header-shadow-scrolled);
}

.header-inner {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    height: 72px;
}

.header-inner .nav-actions.desktop-only {
    justify-self: end;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.logo-img {
    height: 32px;
    width: auto;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
}

.logo-text {
    font-family: 'Exo 2', sans-serif;
    font-weight: 600;
    font-size: 2.25rem;
    color: var(--logo-color);
    letter-spacing: 1px;
}

.logo-text sup {
    font-size: 0.5em;
    font-weight: 400;
    vertical-align: super;
    margin-left: 2px;
}

.nav {
    display: flex;
    align-items: center;
    gap: var(--space-1);
}

.nav-link {
    padding: var(--space-2) var(--space-4);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
    color: var(--text-primary);
    background: var(--nav-hover-bg);
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: var(--space-3);
}

.lang-switch {
    display: flex;
    align-items: center;
    gap: var(--space-1);
    padding: var(--space-1);
    background: var(--surface-secondary);
    border-radius: var(--radius);
    border: 1px solid var(--border-default);
}

.btn-console {
    padding: var(--space-2) var(--space-4);
    font-size: 0.8125rem;
    font-weight: 500;
    color: white;
    background: var(--brand-primary);
    border: none;
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.btn-console:hover {
    background: #1d4ed8;
    box-shadow: 0 2px 8px rgba(37, 99, 235, 0.3);
    transform: translateY(-1px);
}

.lang-switch a {
    padding: var(--space-1) var(--space-2);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-muted);
    border-radius: calc(var(--radius) - 2px);
    transition: all var(--transition-fast);
}

.lang-switch a:hover {
    color: var(--text-primary);
}

.lang-switch a.active {
    background: var(--surface-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-xs);
}

.menu-toggle {
    display: none;
    padding: var(--space-2);
    color: var(--text-primary);
}

/* Desktop/Mobile visibility classes */
.desktop-only {
    display: flex;
}

.mobile-only {
    display: none;
}

/* Mobile Navigation */
@media (max-width: 768px) {
    .header-inner {
        display: flex;
        justify-content: space-between;
    }

    .desktop-only {
        display: none !important;
    }

    .mobile-only {
        display: flex;
    }

    .nav {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        width: 100%;
        height: auto;
        flex-direction: column;
        align-items: stretch;
        padding: 16px 24px 24px;
        background: var(--nav-mobile-bg);
        border-top: 1px solid var(--nav-mobile-border);
        border-bottom-left-radius: 16px;
        border-bottom-right-radius: 16px;
        box-shadow: var(--nav-mobile-shadow);
        opacity: 0;
        visibility: hidden;
        transform: translateY(-10px);
        transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
        gap: 4px;
        z-index: 9999;
    }

    .nav.active {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .nav-link {
        padding: 16px;
        font-size: 1rem;
        border-radius: 8px;
    }

    .nav-link:hover {
        background: var(--nav-hover-bg);
    }

    .menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .nav-actions.mobile-only {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-top: 8px;
        padding-top: 16px;
        border-top: 1px solid var(--nav-mobile-border);
    }

    .nav-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 82vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(var(--brand-primary-rgb), 0.15), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(var(--brand-accent-rgb), 0.1), transparent);
}

/* Grid Pattern Background */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(var(--border-subtle) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: linear-gradient(to bottom, white 0%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, white 0%, transparent 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: var(--space-10) 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out;
}

.hero-badge .icon {
    width: 16px;
    height: 16px;
}

.hero-title {
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.hero-description {
    font-size: 1.25rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.6s ease-out 0.2s both;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
    animation: fadeInUp 0.6s ease-out 0.3s both;
}

.hero-visual {
    position: relative;
    margin-top: var(--space-8);
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-image {
    position: relative;
    border-radius: calc(var(--radius) * 3);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    border: 1px solid var(--border-default);
}

.hero-image img {
    width: 100%;
    height: auto;
}

/* Floating Elements */
.hero-float {
    position: absolute;
    pointer-events: none;
}

.hero-float-1 {
    top: 20%;
    left: 5%;
    animation: float 6s ease-in-out infinite;
}

.hero-float-2 {
    top: 60%;
    right: 5%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Hero Responsive */
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        padding-top: 88px;
        padding-bottom: var(--space-8);
    }

    .hero-content {
        padding: var(--space-6) 0;
    }

    .hero-description {
        font-size: 1.125rem;
    }

    .hero-actions {
        flex-direction: column;
        gap: var(--space-3);
    }

    .hero-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features {
    background: var(--surface-secondary);
}

.features-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-12);
}

.features-header h2 {
    margin-bottom: var(--space-4);
}

.features-header p {
    font-size: 1.125rem;
}

.feature-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2);
    transition: all var(--transition-base);
}

.feature-card:hover {
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(var(--brand-primary-rgb), 0.1);
    border-radius: calc(var(--radius) * 1.5);
    color: var(--brand-primary);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Feature Highlight Card */
.feature-highlight {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
    padding: var(--space-12) 0;
}

.feature-highlight.reverse {
    direction: rtl;
}

.feature-highlight.reverse > * {
    direction: ltr;
}

.feature-highlight-content {
    max-width: 480px;
}

.feature-highlight-image {
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

@media (max-width: 768px) {
    .feature-highlight {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .feature-highlight.reverse {
        direction: ltr;
    }
}

/* ==========================================================================
   Platform Features (Console Features)
   ========================================================================== */

.platform-features {
    background: linear-gradient(180deg, var(--surface-primary) 0%, var(--surface-secondary) 100%);
}

.platform-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-4);
}

@media (min-width: 1024px) {
    .platform-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

.platform-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 1.5);
    transition: all var(--transition-base);
}

.platform-item:hover {
    border-color: rgba(var(--brand-primary-rgb), 0.3);
    box-shadow: var(--shadow-md);
}

.platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    background: var(--surface-secondary);
    border-radius: var(--radius);
    color: var(--text-secondary);
}

.platform-icon svg {
    width: 20px;
    height: 20px;
}

.platform-content h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.platform-content p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   About / Company Section
   ========================================================================== */

.about-section {
    position: relative;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.about-text h2 {
    margin-bottom: var(--space-6);
}

.about-text p {
    margin-bottom: var(--space-4);
    font-size: 1.0625rem;
    line-height: 1.7;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-8);
}

.stat-item {
    text-align: center;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.2;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* ==========================================================================
   Services Section
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
}

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

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

.service-card {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
    padding: var(--space-6);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2);
    text-align: center;
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: transparent;
    box-shadow: var(--shadow-xl);
    transform: translateY(-8px);
}

.service-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.1), rgba(var(--brand-accent-rgb), 0.1));
    border-radius: calc(var(--radius) * 2);
}

.service-icon img {
    width: 36px;
    height: 36px;
    object-fit: contain;
}

.service-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ==========================================================================
   CTA Section
   ========================================================================== */

.cta-section {
    position: relative;
    background: var(--brand-secondary);
    color: white;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse 60% 50% at 0% 100%, rgba(var(--brand-primary-rgb), 0.3), transparent),
        radial-gradient(ellipse 60% 50% at 100% 0%, rgba(var(--brand-accent-rgb), 0.2), transparent);
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    color: white;
    margin-bottom: var(--space-4);
}

.cta-content p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin-bottom: var(--space-8);
}

.cta-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

.cta-section .btn-primary {
    background: white;
    color: var(--brand-secondary);
}

.cta-section .btn-primary:hover {
    background: var(--surface-secondary);
}

.cta-section .btn-outline {
    color: white;
    border-color: rgba(255, 255, 255, 0.3);
}

.cta-section .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 640px) {
    .cta-actions {
        flex-direction: column;
    }

    .cta-actions .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Trusted By / Social Proof
   ========================================================================== */

.trusted-section {
    background: var(--surface-secondary);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.trusted-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-6);
}

.trusted-icons {
    display: flex;
    align-items: center;
    gap: var(--space-2);
}

.trusted-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    color: var(--text-secondary);
}

.trusted-icon:not(:first-child) {
    margin-left: -8px;
}

.trusted-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.footer {
    background: var(--brand-secondary);
    color: white;
    padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-12);
    margin-bottom: var(--space-12);
}

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

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

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    height: 32px;
    width: auto;
    margin-bottom: var(--space-4);
    filter: brightness(0) invert(1);
    opacity: 0.9;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    line-height: 1.6;
    margin-bottom: var(--space-4);
}

.footer-social {
    display: flex;
    gap: var(--space-3);
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.8);
    transition: all var(--transition-fast);
}

.footer-social a:hover {
    background: var(--brand-primary);
    color: white;
}

.footer-nav h4 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: var(--space-4);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.footer-nav a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9375rem;
    transition: color var(--transition-fast);
}

.footer-nav a:hover {
    color: white;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: var(--space-8);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom-links {
    display: flex;
    gap: var(--space-6);
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
}

.footer-bottom-links a:hover {
    color: white;
}

@media (max-width: 640px) {
    .footer-bottom {
        flex-direction: column;
        gap: var(--space-4);
        text-align: center;
    }
}

/* ==========================================================================
   Contact Page Styles
   ========================================================================== */

.contact-hero {
    min-height: 40vh;
    background: linear-gradient(135deg, #0a0f1e 0%, #111827 50%, #0d1526 100%);
    overflow: hidden;
    position: relative;
}

.contact-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.25) 0%, transparent 70%),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(16, 185, 129, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.contact-hero .container {
    position: relative;
    z-index: 1;
}

.contact-hero h1 {
    color: white;
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.contact-hero p {
    color: rgba(255, 255, 255, 0.7);
    animation: fadeInUp 0.6s ease-out 0.25s both;
}

.contact-section {
    padding: var(--space-16) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: var(--space-10);
}

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

.contact-info {
    padding: var(--space-8);
}

.contact-info h2 {
    margin-bottom: var(--space-6);
    font-size: 1.5rem;
}

.contact-item {
    display: flex;
    gap: var(--space-4);
    margin-bottom: var(--space-6);
}

.contact-item-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    background: rgba(var(--brand-primary-rgb), 0.1);
    border-radius: var(--radius);
    color: var(--brand-primary);
}

.contact-item h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: var(--space-1);
}

.contact-item p {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.contact-map {
    height: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    margin-top: var(--space-6);
}

.contact-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    padding: var(--space-8);
}

.contact-form h2 {
    margin-bottom: var(--space-6);
    font-size: 1.5rem;
}

.form-group {
    margin-bottom: var(--space-5);
}

.form-label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: var(--space-2);
}

.form-control {
    width: 100%;
    padding: var(--space-3) var(--space-4);
    font-size: 0.9375rem;
    font-family: inherit;
    color: var(--text-primary);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius);
    transition: all var(--transition-fast);
}

.form-control:focus {
    outline: none;
    border-color: var(--brand-primary);
    box-shadow: 0 0 0 3px rgba(var(--brand-primary-rgb), 0.1);
}

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

/* Calendly Integration */
.calendly-wrapper {
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2);
    padding: var(--space-6);
    overflow: hidden;
}

.calendly-inline-widget {
    min-width: 320px;
    height: 700px;
}

/* ==========================================================================
   Animations & Utilities
   ========================================================================== */

/* Scroll animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Hover animations */
.hover-lift {
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

/* Text utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

/* Spacing utilities */
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }

/* Display utilities */
.hidden { display: none; }
.block { display: block; }
.inline-block { display: inline-block; }

/* Width utilities */
.w-full { width: 100%; }
.max-w-md { max-width: 448px; }
.max-w-lg { max-width: 512px; }
.max-w-xl { max-width: 576px; }
.max-w-2xl { max-width: 672px; }
.max-w-3xl { max-width: 768px; }

/* Icon utilities */
.icon-sm { width: 16px; height: 16px; }
.icon-md { width: 20px; height: 20px; }
.icon-lg { width: 24px; height: 24px; }
.icon-xl { width: 32px; height: 32px; }

/* ==========================================================================
   Responsive Helpers
   ========================================================================== */

@media (max-width: 640px) {
    .sm\:hidden { display: none; }
}

@media (max-width: 768px) {
    .md\:hidden { display: none; }
}

@media (max-width: 1024px) {
    .lg\:hidden { display: none; }
}

/* ==========================================================================
   Metrics Strip
   ========================================================================== */

.metrics-strip {
    position: relative;
    padding: var(--space-8) 0;
    background: var(--surface-secondary);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-6);
}

.metric-item {
    text-align: center;
    position: relative;
}

/* Vertical separator between metric items */
.metric-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 10%;
    right: 0;
    height: 80%;
    width: 1px;
    background: var(--border-default);
}

.metric-value {
    display: block;
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--brand-primary);
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: var(--space-2);
}

.metric-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-muted);
    letter-spacing: 0.01em;
}

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

    .metric-item:nth-child(2)::after {
        display: none;
    }

    .metric-item:nth-child(3)::after,
    .metric-item:nth-child(4)::after {
        display: none;
    }
}

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

/* ==========================================================================
   Ecosystem / Integration Hub Section
   ========================================================================== */

.ecosystem-section {
    position: relative;
    overflow: hidden;
}

.ecosystem-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.04) 0%, transparent 70%);
    pointer-events: none;
}

.ecosystem-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.ecosystem-text {
    max-width: 520px;
}

.ecosystem-text h2 {
    margin-bottom: var(--space-4);
    line-height: 1.2;
}

.ecosystem-text > p {
    font-size: 1.0625rem;
    line-height: 1.7;
    margin-bottom: var(--space-8);
}

.ecosystem-highlights {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.ecosystem-highlight-item {
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
}

.ecosystem-highlight-item .highlight-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-primary);
    flex-shrink: 0;
    margin-top: 7px;
}

.ecosystem-highlight-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.ecosystem-highlight-item strong {
    color: var(--text-primary);
}

/* Hub Visual — CSS-based radial diagram */
.hub-container {
    position: relative;
    width: 100%;
    max-width: 480px;
    aspect-ratio: 1;
    margin: 0 auto;
}

/* Animated concentric rings */
.hub-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 50%;
    border: 1px solid rgba(var(--brand-primary-rgb), 0.08);
}

.hub-ring-1 {
    width: 45%;
    height: 45%;
    transform: translate(-50%, -50%);
    border-color: rgba(var(--brand-primary-rgb), 0.12);
    animation: hubRingPulse 6s ease-in-out infinite;
}

.hub-ring-2 {
    width: 70%;
    height: 70%;
    transform: translate(-50%, -50%);
    border-style: dashed;
    animation: hubRingPulse 6s ease-in-out infinite 1s;
}

.hub-ring-3 {
    width: 95%;
    height: 95%;
    transform: translate(-50%, -50%);
    animation: hubRingPulse 6s ease-in-out infinite 2s;
}

@keyframes hubRingPulse {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 1; }
}

/* Center element */
.hub-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-primary), #6366f1);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 0 60px rgba(var(--brand-primary-rgb), 0.25), 0 0 120px rgba(var(--brand-primary-rgb), 0.1);
}

.hub-center img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.hub-center span {
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
    letter-spacing: 0.05em;
}

/* Floating nodes around the hub */
.hub-node {
    position: absolute;
    z-index: 3;
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: 10px;
    padding: 6px 14px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--text-primary);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    white-space: nowrap;
    transition: all var(--transition-base);
}

.hub-node:hover {
    border-color: var(--brand-primary);
    box-shadow: 0 4px 16px rgba(var(--brand-primary-rgb), 0.15);
    transform: scale(1.05);
}

.hub-node .node-count {
    display: block;
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--brand-primary);
    margin-top: 1px;
}

/* Node positions — distribute around the circle */
.hub-node-1 { top: 3%; left: 50%; transform: translateX(-50%); }
.hub-node-2 { top: 20%; right: 0%; }
.hub-node-3 { bottom: 20%; right: 0%; }
.hub-node-4 { bottom: 3%; left: 50%; transform: translateX(-50%); }
.hub-node-5 { bottom: 20%; left: 0%; }
.hub-node-6 { top: 20%; left: 0%; }

/* Connection dots on ring intersections */
.hub-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--brand-primary);
    opacity: 0.4;
    z-index: 2;
}

.hub-dot-1 { top: 14%; left: 50%; }
.hub-dot-2 { top: 28%; right: 14%; }
.hub-dot-3 { bottom: 28%; right: 14%; }
.hub-dot-4 { bottom: 14%; left: 50%; }
.hub-dot-5 { bottom: 28%; left: 14%; }
.hub-dot-6 { top: 28%; left: 14%; }

@media (max-width: 1024px) {
    .ecosystem-layout {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }

    .ecosystem-text {
        max-width: 100%;
        text-align: center;
    }

    .ecosystem-highlights {
        align-items: center;
    }

    .hub-container {
        max-width: 400px;
    }
}

@media (max-width: 640px) {
    .hub-container {
        max-width: 320px;
    }

    .hub-node {
        font-size: 0.5625rem;
        padding: 4px 10px;
    }

    .hub-center {
        width: 70px;
        height: 70px;
    }
}

/* ==========================================================================
   Integration Categories Grid
   ========================================================================== */

.integration-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-4);
    margin-top: var(--space-12);
}

.integration-card {
    display: flex;
    align-items: center;
    gap: var(--space-4);
    padding: var(--space-5);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 1.5);
    transition: all var(--transition-base);
}

.integration-card:hover {
    border-color: rgba(var(--brand-primary-rgb), 0.3);
    box-shadow: var(--shadow-md);
}

.integration-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
    border-radius: calc(var(--radius) * 1.5);
    background: rgba(var(--brand-primary-rgb), 0.06);
    color: var(--brand-primary);
}

.integration-card-icon svg {
    width: 22px;
    height: 22px;
}

.integration-card-content {
    flex: 1;
    min-width: 0;
}

.integration-card-count {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.integration-card-name {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: 2px;
}

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

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

/* ==========================================================================
   Hotel Showcase / Live Rates Section
   ========================================================================== */

.hotel-showcase {
    position: relative;
    background: linear-gradient(180deg, var(--surface-secondary) 0%, var(--surface-primary) 100%);
    overflow: hidden;
}

.hotel-showcase::before {
    content: '';
    position: absolute;
    top: -100px;
    left: -100px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--brand-primary-rgb), 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.hotel-showcase-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto var(--space-8);
}

.hotel-showcase-header h2 {
    margin-bottom: var(--space-4);
}

.hotel-showcase-header p {
    font-size: 1.0625rem;
    line-height: 1.7;
}

.hotel-showcase-scroll {
    display: flex;
    gap: var(--space-6);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: var(--space-4);
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--brand-primary-rgb), 0.2) transparent;
}

.hotel-showcase-scroll::-webkit-scrollbar {
    height: 6px;
}

.hotel-showcase-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.hotel-showcase-scroll::-webkit-scrollbar-thumb {
    background: rgba(var(--brand-primary-rgb), 0.2);
    border-radius: 3px;
}

.hotel-showcase-scroll::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--brand-primary-rgb), 0.4);
}

.hotel-card {
    flex: 0 0 380px;
    scroll-snap-align: start;
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2.5);
    overflow: hidden;
    transition: all var(--transition-base);
}

.hotel-card:hover {
    border-color: rgba(var(--brand-primary-rgb), 0.25);
    box-shadow: var(--shadow-xl);
    transform: translateY(-4px);
}

.hotel-card-gallery {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.hotel-card-slides {
    display: flex;
    height: 100%;
    transition: transform 0.4s ease;
}

.hotel-card-slide {
    flex: 0 0 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.hotel-card-slide-1 {
    background: linear-gradient(135deg, #1a365d 0%, #2b6cb0 40%, #63b3ed 100%);
}

.hotel-card-slide-2 {
    background: linear-gradient(135deg, #065f46 0%, #059669 40%, #6ee7b7 100%);
}

.hotel-card-slide-3 {
    background: linear-gradient(135deg, #7c2d12 0%, #c2410c 40%, #fb923c 100%);
}

.hotel-gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.hotel-gallery-nav {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.hotel-gallery-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    border: none;
    cursor: pointer;
    padding: 0;
    transition: all var(--transition-fast);
}

.hotel-gallery-dot.active {
    background: white;
    width: 20px;
    border-radius: 4px;
}

.hotel-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border-radius: 20px;
    font-size: 0.6875rem;
    font-weight: 600;
    color: white;
}

.hotel-card-badge .live-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10b981;
    animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 4px rgba(16, 185, 129, 0); }
}

.hotel-card-stars {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    display: flex;
    gap: 2px;
}

.hotel-card-stars svg {
    width: 14px;
    height: 14px;
    fill: #fbbf24;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3));
}

.hotel-card-info {
    padding: var(--space-5);
}

.hotel-card-name {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
    line-height: 1.3;
}

.hotel-card-location {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-4);
}

.hotel-card-location svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.hotel-card-divider {
    height: 1px;
    background: var(--border-subtle);
    margin-bottom: var(--space-4);
}

.hotel-card-rooms {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.hotel-room-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-3);
    padding: 10px 12px;
    background: var(--surface-secondary);
    border-radius: var(--radius);
    transition: background var(--transition-fast);
}

.hotel-room-row:hover {
    background: var(--surface-tertiary);
}

.hotel-room-info {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.hotel-room-name {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hotel-room-detail {
    font-size: 0.6875rem;
    color: var(--text-muted);
    margin-top: 1px;
}

.hotel-room-right {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    flex-shrink: 0;
}

.hotel-room-rate {
    text-align: right;
}

.hotel-room-price {
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
}

.hotel-room-per {
    font-size: 0.625rem;
    color: var(--text-muted);
}

.availability-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    white-space: nowrap;
}

.availability-badge .avail-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
}

.avail-open {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.avail-open .avail-dot {
    background: #10b981;
}

.avail-limited {
    background: rgba(245, 158, 11, 0.1);
    color: #d97706;
}

.avail-limited .avail-dot {
    background: #f59e0b;
}

.avail-closed {
    background: rgba(239, 68, 68, 0.08);
    color: #dc2626;
}

.avail-closed .avail-dot {
    background: #ef4444;
}

.hotel-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--space-5) var(--space-5);
}

.hotel-card-updated {
    font-size: 0.6875rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
}

.hotel-card-updated svg {
    width: 12px;
    height: 12px;
}

.hotel-card-link {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    gap: 4px;
    transition: gap var(--transition-fast);
}

.hotel-card-link:hover {
    gap: 8px;
}

.hotel-card-link svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 768px) {
    .hotel-card {
        flex: 0 0 320px;
    }

    .hotel-card-gallery {
        height: 170px;
    }
}

@media (max-width: 480px) {
    .hotel-card {
        flex: 0 0 290px;
    }

    .hotel-card-gallery {
        height: 150px;
    }
}

/* ==========================================================================
   Impact / Results Section
   ========================================================================== */

.impact-section {
    background: linear-gradient(180deg, var(--surface-secondary) 0%, var(--surface-primary) 100%);
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.impact-card {
    text-align: center;
    padding: var(--space-8) var(--space-6);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2);
    transition: all var(--transition-base);
}

.impact-card:hover {
    border-color: rgba(var(--brand-primary-rgb), 0.2);
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

.impact-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin: 0 auto var(--space-5);
    background: rgba(var(--brand-primary-rgb), 0.08);
    border-radius: 50%;
    color: var(--brand-primary);
}

.impact-card-icon svg {
    width: 24px;
    height: 24px;
}

.impact-card-value {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.impact-card-label {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-2);
}

.impact-card-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-top: var(--space-1);
    line-height: 1.5;
}

@media (max-width: 768px) {
    .impact-grid {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }
}

/* ==========================================================================
   Accelerator / Services Section (Dark Enterprise)
   ========================================================================== */

.accelerator-section {
    position: relative;
    background: linear-gradient(135deg, #0a0f1e 0%, #111827 50%, #0d1526 100%);
    overflow: hidden;
    padding: var(--space-20) 0;
}

.accelerator-page-hero {
    padding-top: calc(72px + var(--space-24));
    min-height: 100vh;
}

@media (max-width: 768px) {
    .accelerator-page-hero {
        padding-top: calc(88px + var(--space-20));
    }
}

.accelerator-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 50% 50% at 20% 50%, rgba(37, 99, 235, 0.08) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(124, 58, 237, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 60% 80%, rgba(16, 185, 129, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.accelerator-page-hero::before {
    background:
        radial-gradient(ellipse 80% 30% at 50% 5%, rgba(37, 99, 235, 0.22) 0%, transparent 70%),
        radial-gradient(ellipse 50% 30% at 95% 15%, rgba(16, 185, 129, 0.18) 0%, transparent 70%),
        radial-gradient(ellipse 40% 25% at 75% 10%, rgba(124, 58, 237, 0.08) 0%, transparent 70%);
}

.accelerator-section::after {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.accelerator-section .container {
    position: relative;
    z-index: 1;
}

.accelerator-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto var(--space-12);
}

.accelerator-page-hero .accelerator-title {
    animation: fadeInUp 0.6s ease-out 0.1s both;
}

.accelerator-page-hero .accelerator-subtitle {
    animation: fadeInUp 0.6s ease-out 0.25s both;
}

.accelerator-page-hero .accelerator-grid {
    animation: fadeInUp 0.6s ease-out 0.4s both;
}

.accelerator-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) var(--space-4);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 9999px;
    margin-bottom: var(--space-6);
}

.accelerator-eyebrow svg {
    width: 14px;
    height: 14px;
    opacity: 0.6;
}

.accelerator-title {
    color: white;
    font-size: clamp(2rem, 4vw, 3.25rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin-bottom: var(--space-6);
}

.text-gradient-light {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 40%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.accelerator-subtitle {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.45);
    line-height: 1.75;
    max-width: 560px;
    margin: 0 auto;
}

.accelerator-subtitle strong {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 600;
}

.accelerator-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.accelerator-card {
    position: relative;
    padding: var(--space-6) var(--space-6) var(--space-5);
    background: rgba(255, 255, 255, 0.025);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: calc(var(--radius) * 2);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.accelerator-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    transform: translateY(-6px);
    box-shadow:
        0 24px 48px rgba(0, 0, 0, 0.35),
        0 0 0 1px rgba(96, 165, 250, 0.08),
        0 0 80px rgba(37, 99, 235, 0.06);
}

.accelerator-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.12), rgba(124, 58, 237, 0.08));
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: calc(var(--radius) * 1.5);
    margin-bottom: var(--space-5);
    color: #60a5fa;
    transition: all 0.3s ease;
}

.accelerator-card:hover .accelerator-card-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(124, 58, 237, 0.15));
    border-color: rgba(96, 165, 250, 0.25);
    box-shadow: 0 0 24px rgba(37, 99, 235, 0.15);
}

.accelerator-card-icon--ai {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.12), rgba(236, 72, 153, 0.08));
    border-color: rgba(167, 139, 250, 0.12);
    color: #a78bfa;
}

.accelerator-card:hover .accelerator-card-icon--ai {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.2), rgba(236, 72, 153, 0.15));
    border-color: rgba(167, 139, 250, 0.25);
    box-shadow: 0 0 24px rgba(124, 58, 237, 0.15);
}

.accelerator-card-icon--green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.12), rgba(6, 182, 212, 0.08));
    border-color: rgba(52, 211, 153, 0.12);
    color: #34d399;
}

.accelerator-card:hover .accelerator-card-icon--green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2), rgba(6, 182, 212, 0.15));
    border-color: rgba(52, 211, 153, 0.25);
    box-shadow: 0 0 24px rgba(16, 185, 129, 0.15);
}

.accelerator-card-icon svg {
    width: 26px;
    height: 26px;
}

.accelerator-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    margin-bottom: var(--space-3);
}

.accelerator-card > p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.4);
    line-height: 1.7;
    margin-bottom: var(--space-4);
}

.accelerator-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.accelerator-card-tags span {
    padding: 3px 10px;
    font-size: 0.6875rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.4);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    letter-spacing: 0.02em;
    transition: all 0.2s ease;
}

.accelerator-card:hover .accelerator-card-tags span {
    color: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.1);
}

.accelerator-cta {
    text-align: center;
    margin-top: var(--space-12);
}

.btn-light {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.btn-light:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

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

@media (max-width: 640px) {
    .accelerator-section {
        padding: var(--space-16) 0;
    }

    .accelerator-page-hero {
        padding-top: calc(88px + var(--space-20));
    }

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

    .accelerator-title {
        font-size: clamp(1.75rem, 5vw, 2.5rem);
    }
}

/* ==========================================================================
   Accelerator — Complimentary Offerings
   ========================================================================== */

.accelerator-offers {
    margin-top: var(--space-12);
    padding-top: var(--space-10);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.accelerator-offers-header {
    text-align: center;
    margin-bottom: var(--space-8);
}

.accelerator-offers-header h3 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: var(--space-2);
}

.accelerator-offers-header p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.9375rem;
}

.accelerator-offers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-5);
}

.offer-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: var(--space-8) var(--space-5) var(--space-6);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.04), rgba(124, 58, 237, 0.03));
    border: 1px solid rgba(96, 165, 250, 0.1);
    border-radius: calc(var(--radius) * 2);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    cursor: pointer;
}

.offer-card:hover {
    border-color: rgba(96, 165, 250, 0.25);
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.05));
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25), 0 0 60px rgba(37, 99, 235, 0.06);
}

.offer-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    padding: 3px 14px;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #34d399;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 20px;
    white-space: nowrap;
}

.offer-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    background: rgba(96, 165, 250, 0.1);
    border: 1px solid rgba(96, 165, 250, 0.12);
    border-radius: 50%;
    margin-bottom: var(--space-5);
    color: #60a5fa;
    transition: all 0.3s ease;
}

.offer-card:hover .offer-card-icon {
    background: rgba(96, 165, 250, 0.18);
    box-shadow: 0 0 20px rgba(96, 165, 250, 0.12);
}

.offer-card-icon--purple {
    background: rgba(167, 139, 250, 0.1);
    border-color: rgba(167, 139, 250, 0.12);
    color: #a78bfa;
}

.offer-card:hover .offer-card-icon--purple {
    background: rgba(167, 139, 250, 0.18);
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.12);
}

.offer-card-icon--green {
    background: rgba(52, 211, 153, 0.1);
    border-color: rgba(52, 211, 153, 0.12);
    color: #34d399;
}

.offer-card:hover .offer-card-icon--green {
    background: rgba(52, 211, 153, 0.18);
    box-shadow: 0 0 20px rgba(52, 211, 153, 0.12);
}

.offer-card-icon svg {
    width: 22px;
    height: 22px;
}

.offer-card h4 {
    color: white;
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: var(--space-3);
}

.offer-card > p {
    color: rgba(255, 255, 255, 0.38);
    font-size: 0.8125rem;
    line-height: 1.65;
    margin-bottom: var(--space-4);
    flex: 1;
}

.offer-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #60a5fa;
    transition: gap 0.2s ease;
}

.offer-card:hover .offer-card-link {
    gap: 10px;
}

.offer-card-link svg {
    width: 14px;
    height: 14px;
}

@media (max-width: 1024px) {
    .accelerator-offers-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .accelerator-offers-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
}

/* ==========================================================================
   Console Bridge — Transition from services to product
   ========================================================================== */

.console-bridge-section {
    background: var(--surface-secondary);
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
}

.console-bridge {
    text-align: center;
    max-width: 680px;
    margin: 0 auto;
}

.console-bridge h2 {
    margin-bottom: var(--space-4);
}

.console-bridge > p {
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--text-secondary);
    margin-bottom: var(--space-8);
}

.console-bridge-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-4);
}

@media (max-width: 640px) {
    .console-bridge-links {
        flex-direction: column;
    }

    .console-bridge-links .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Theme Toggle Button
   ========================================================================== */

.theme-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: var(--radius);
    color: var(--text-secondary);
    border: 1px solid var(--border-default);
    background: var(--surface-secondary);
    transition: all var(--transition-fast);
    cursor: pointer;
    flex-shrink: 0;
}

.theme-toggle:hover {
    color: var(--text-primary);
    border-color: var(--text-muted);
    background: var(--surface-tertiary);
}

.theme-toggle svg {
    transition: transform 0.3s ease, opacity 0.2s ease;
}

.theme-toggle:hover svg {
    transform: rotate(15deg);
}

[data-theme="light"] .theme-icon-light,
:root:not([data-theme]) .theme-icon-light {
    display: none;
}

[data-theme="light"] .theme-icon-dark,
:root:not([data-theme]) .theme-icon-dark {
    display: block;
}

[data-theme="dark"] .theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-icon-light {
    display: block;
}

[data-theme="dark"] .theme-toggle {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

[data-theme="dark"] .theme-toggle:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
}

/* ==========================================================================
   AI Hero Label
   ========================================================================== */

.hero-ai-label {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-primary);
    margin-bottom: 0.75rem;
}

.hero-ai-label svg {
    width: 16px;
    height: 16px;
}

[data-theme="dark"] .hero-ai-label {
    color: #60a5fa;
}

/* ==========================================================================
   Light Theme — Accelerator Section Overrides
   The accelerator section is natively dark-styled. These overrides adapt it
   for the light theme so the entire Services page responds to the toggle.
   ========================================================================== */

[data-theme="light"] .accelerator-section {
    background: linear-gradient(135deg, #f8fafc 0%, #eef2ff 50%, #f0fdf4 100%);
}

[data-theme="light"] .accelerator-section::before {
    background:
        radial-gradient(ellipse 50% 50% at 20% 50%, rgba(37, 99, 235, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 50% 50% at 80% 20%, rgba(124, 58, 237, 0.05) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 60% 80%, rgba(16, 185, 129, 0.04) 0%, transparent 70%);
}

[data-theme="light"] .accelerator-section::after {
    background-image:
        linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
}

[data-theme="light"] .accelerator-title {
    color: var(--text-primary);
}

[data-theme="light"] .accelerator-subtitle {
    color: var(--text-secondary);
}

[data-theme="light"] .accelerator-subtitle strong {
    color: var(--text-primary);
}

[data-theme="light"] .accelerator-eyebrow {
    color: var(--brand-primary);
    border-color: rgba(37, 99, 235, 0.2);
}

[data-theme="light"] .accelerator-card {
    background: white;
    border: 1px solid var(--border-default);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .accelerator-card:hover {
    background: white;
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 0 40px rgba(37, 99, 235, 0.04);
}

[data-theme="light"] .accelerator-card h3 {
    color: var(--text-primary);
}

[data-theme="light"] .accelerator-card > p {
    color: var(--text-secondary);
}

[data-theme="light"] .accelerator-card-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(124, 58, 237, 0.05));
    border-color: rgba(37, 99, 235, 0.15);
    color: var(--brand-primary);
}

[data-theme="light"] .accelerator-card:hover .accelerator-card-icon {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.14), rgba(124, 58, 237, 0.1));
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 0 20px rgba(37, 99, 235, 0.1);
}

[data-theme="light"] .accelerator-card-icon--ai {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), rgba(236, 72, 153, 0.05));
    border-color: rgba(124, 58, 237, 0.15);
    color: #7c3aed;
}

[data-theme="light"] .accelerator-card:hover .accelerator-card-icon--ai {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.14), rgba(236, 72, 153, 0.1));
    border-color: rgba(124, 58, 237, 0.3);
    box-shadow: 0 0 20px rgba(124, 58, 237, 0.1);
}

[data-theme="light"] .accelerator-card-icon--green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(6, 182, 212, 0.05));
    border-color: rgba(16, 185, 129, 0.15);
    color: #059669;
}

[data-theme="light"] .accelerator-card:hover .accelerator-card-icon--green {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.14), rgba(6, 182, 212, 0.1));
    border-color: rgba(16, 185, 129, 0.3);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.1);
}

[data-theme="light"] .accelerator-card-tags span {
    color: var(--text-muted);
    border-color: var(--border-default);
    background: var(--surface-secondary);
}

[data-theme="light"] .accelerator-card:hover .accelerator-card-tags span {
    color: var(--text-secondary);
    border-color: rgba(37, 99, 235, 0.15);
}

[data-theme="light"] .accelerator-offers {
    border-top-color: var(--border-default);
}

[data-theme="light"] .accelerator-offers-header h3 {
    color: var(--text-primary);
}

[data-theme="light"] .accelerator-offers-header p {
    color: var(--text-secondary);
}

[data-theme="light"] .offer-card {
    background: white;
    border: 1px solid var(--border-default);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06);
}

[data-theme="light"] .offer-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
    background: white;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08), 0 0 40px rgba(37, 99, 235, 0.04);
}

[data-theme="light"] .offer-badge {
    color: #059669;
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.2);
}

[data-theme="light"] .offer-card-icon {
    background: rgba(37, 99, 235, 0.08);
    border-color: rgba(37, 99, 235, 0.15);
    color: var(--brand-primary);
}

[data-theme="light"] .offer-card:hover .offer-card-icon {
    background: rgba(37, 99, 235, 0.12);
    box-shadow: 0 0 16px rgba(37, 99, 235, 0.08);
}

[data-theme="light"] .offer-card-icon--purple {
    background: rgba(124, 58, 237, 0.08);
    border-color: rgba(124, 58, 237, 0.15);
    color: #7c3aed;
}

[data-theme="light"] .offer-card:hover .offer-card-icon--purple {
    background: rgba(124, 58, 237, 0.12);
    box-shadow: 0 0 16px rgba(124, 58, 237, 0.08);
}

[data-theme="light"] .offer-card-icon--green {
    background: rgba(16, 185, 129, 0.08);
    border-color: rgba(16, 185, 129, 0.15);
    color: #059669;
}

[data-theme="light"] .offer-card:hover .offer-card-icon--green {
    background: rgba(16, 185, 129, 0.12);
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.08);
}

[data-theme="light"] .offer-card h4 {
    color: var(--text-primary);
}

[data-theme="light"] .offer-card > p {
    color: var(--text-secondary);
}

[data-theme="light"] .offer-card-link {
    color: var(--brand-primary);
}

[data-theme="light"] .text-gradient-light {
    background: linear-gradient(135deg, #2563eb 0%, #7c3aed 40%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="light"] .btn-light {
    background: var(--surface-secondary);
    color: var(--text-primary);
    border-color: var(--border-default);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

[data-theme="light"] .btn-light:hover {
    background: var(--surface-tertiary);
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Dark Theme Component Overrides
   ========================================================================== */

[data-theme="dark"] body,
[data-theme="dark"] {
    color-scheme: dark;
}

[data-theme="dark"] .hero-bg::before {
    background:
        radial-gradient(ellipse 80% 50% at 50% -20%, rgba(37, 99, 235, 0.25), transparent),
        radial-gradient(ellipse 60% 40% at 100% 50%, rgba(16, 185, 129, 0.15), transparent);
}

[data-theme="dark"] .hero-grid {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
}

[data-theme="dark"] .feature-card {
    background: var(--surface-secondary);
    border-color: var(--border-default);
}

[data-theme="dark"] .feature-card:hover {
    border-color: rgba(37, 99, 235, 0.4);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3), 0 4px 6px -4px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .platform-item {
    background: var(--surface-secondary);
    border-color: var(--border-default);
}

[data-theme="dark"] .platform-item:hover {
    border-color: rgba(37, 99, 235, 0.3);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .impact-card {
    background: var(--surface-secondary);
    border-color: var(--border-default);
}

[data-theme="dark"] .impact-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="dark"] .hotel-card {
    background: var(--surface-secondary);
    border-color: var(--border-default);
}

[data-theme="dark"] .hotel-card-info,
[data-theme="dark"] .hotel-card-footer {
    background: transparent;
}

[data-theme="dark"] .hotel-card-name {
    color: var(--text-primary);
}

[data-theme="dark"] .hotel-card-divider {
    background: var(--border-default);
}

[data-theme="dark"] .hotel-room-name {
    color: var(--text-primary);
}

[data-theme="dark"] .hotel-room-price {
    color: var(--text-primary);
}

[data-theme="dark"] .integration-card {
    background: var(--surface-secondary);
    border-color: var(--border-default);
}

[data-theme="dark"] .integration-card:hover {
    border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="dark"] .integration-card-count {
    color: var(--text-primary);
}

[data-theme="dark"] .badge {
    background: rgba(255, 255, 255, 0.06);
    color: var(--text-secondary);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .badge-primary {
    background: rgba(37, 99, 235, 0.15);
    color: #60a5fa;
    border-color: rgba(37, 99, 235, 0.3);
}

[data-theme="dark"] .badge-success {
    background: rgba(16, 185, 129, 0.15);
    color: #34d399;
    border-color: rgba(16, 185, 129, 0.3);
}

[data-theme="dark"] .badge-dark {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.8);
    border-color: rgba(255, 255, 255, 0.12);
}

[data-theme="dark"] .btn-secondary {
    background: var(--surface-secondary);
    color: var(--text-primary);
    border-color: var(--border-default);
}

[data-theme="dark"] .btn-secondary:hover {
    background: var(--surface-tertiary);
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .btn-ghost-dark {
    color: var(--text-primary);
    border-color: var(--border-default);
}

[data-theme="dark"] .btn-ghost-dark:hover {
    background: rgba(255, 255, 255, 0.08);
    color: white;
    border-color: rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .btn-outline {
    color: #60a5fa;
    border-color: rgba(37, 99, 235, 0.4);
}

[data-theme="dark"] .btn-outline:hover {
    background: rgba(37, 99, 235, 0.15);
}

[data-theme="dark"] .card {
    background: var(--surface-secondary);
    border-color: var(--border-default);
}

[data-theme="dark"] .card:hover {
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .ecosystem-section::before {
    background: radial-gradient(ellipse 500px at 100% 0, rgba(37, 99, 235, 0.12), transparent);
}

[data-theme="dark"] .hub-ring {
    border-color: rgba(255, 255, 255, 0.06);
}

[data-theme="dark"] .hub-center {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.2), rgba(16, 185, 129, 0.15));
    border-color: rgba(37, 99, 235, 0.3);
    color: white;
}

[data-theme="dark"] .hub-node {
    background: var(--surface-secondary);
    border-color: var(--border-default);
    color: var(--text-primary);
}

[data-theme="dark"] .hub-dot {
    background: rgba(37, 99, 235, 0.4);
}

[data-theme="dark"] .highlight-dot {
    background: var(--brand-primary);
}

[data-theme="dark"] .metric-value {
    color: var(--text-primary);
}

[data-theme="dark"] .impact-card-value {
    color: var(--brand-primary);
}

[data-theme="dark"] .lang-switch {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .lang-switch a {
    color: rgba(255, 255, 255, 0.5);
}

[data-theme="dark"] .lang-switch a:hover {
    color: white;
}

[data-theme="dark"] .lang-switch a.active {
    background: rgba(255, 255, 255, 0.12);
    color: white;
    box-shadow: none;
}

[data-theme="dark"] .text-gradient {
    background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 50%, #34d399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

[data-theme="dark"] .form-control {
    background: var(--surface-secondary);
    border-color: var(--border-default);
    color: var(--text-primary);
}

[data-theme="dark"] .form-control::placeholder {
    color: var(--text-muted);
}

[data-theme="dark"] .calendly-wrapper {
    background: var(--surface-secondary);
    border-color: var(--border-default);
}

[data-theme="dark"] .contact-section {
    background: var(--surface-primary);
}

/* ==========================================================================
   v2 — Adragent / Agency-First positioning
   New sections: capability-strip, stack, adragent-showcase,
                 command-center, ai-infra, terminal-card
   ========================================================================== */

/* ---- Pulse dot (used inside badges) ---- */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-accent);
    box-shadow: 0 0 0 0 rgba(var(--brand-accent-rgb), 0.6);
    animation: pulse-ring 2s infinite;
    display: inline-block;
}

@keyframes pulse-ring {
    0%   { box-shadow: 0 0 0 0 rgba(var(--brand-accent-rgb), 0.6); }
    70%  { box-shadow: 0 0 0 8px rgba(var(--brand-accent-rgb), 0); }
    100% { box-shadow: 0 0 0 0 rgba(var(--brand-accent-rgb), 0); }
}

/* ---- Capability strip (replaces metrics) ---- */
.capability-strip {
    border-top: 1px solid var(--border-default);
    border-bottom: 1px solid var(--border-default);
    background: var(--surface-secondary);
    padding: var(--space-6) 0;
}

.capability-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
}

.capability-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-2);
}

.capability-icon {
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-primary);
    background: rgba(var(--brand-primary-rgb), 0.08);
    border-radius: var(--radius);
    flex-shrink: 0;
}

.capability-icon svg {
    width: 18px;
    height: 18px;
}

.capability-label {
    font-family: var(--font-mono);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

@media (max-width: 768px) {
    .capability-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-4);
    }
    .capability-item {
        justify-content: flex-start;
    }
}

/* ---- Stack section (industry layered diagram) ---- */
.stack-section {
    background: var(--surface-primary);
}

.stack-diagram {
    max-width: 880px;
    margin: 0 auto;
    margin-top: var(--space-12);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
}

.stack-layer {
    background: var(--surface-secondary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 1.5);
    padding: var(--space-5) var(--space-6);
    transition: all var(--transition-base);
}

.stack-layer-1 { background: linear-gradient(135deg, rgba(16, 185, 129, 0.08), rgba(16, 185, 129, 0.02)); border-color: rgba(16, 185, 129, 0.25); }
.stack-layer-2 { background: linear-gradient(135deg, rgba(37, 99, 235, 0.08), rgba(37, 99, 235, 0.02)); border-color: rgba(37, 99, 235, 0.25); }
.stack-layer-3 {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.10), rgba(124, 58, 237, 0.02));
    border-color: rgba(124, 58, 237, 0.4);
}
.stack-layer-4 { background: linear-gradient(135deg, rgba(220, 38, 38, 0.06), rgba(220, 38, 38, 0.02)); border-color: rgba(220, 38, 38, 0.25); }
.stack-layer-5 {
    background: var(--surface-tertiary);
    border-color: var(--border-default);
}

.stack-layer-active {
    box-shadow: 0 0 0 2px rgba(124, 58, 237, 0.5),
                0 12px 32px -8px rgba(124, 58, 237, 0.25);
    transform: scale(1.015);
}

.stack-layer-head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    margin-bottom: var(--space-2);
    flex-wrap: wrap;
}

.stack-layer-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px var(--space-2);
    border-radius: var(--radius);
    background: rgba(0, 0, 0, 0.06);
    color: var(--text-primary);
}

.stack-layer-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: -0.01em;
}

.stack-layer-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.stack-layer-desc strong {
    color: var(--text-primary);
}

.stack-arrow {
    align-self: center;
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-2) 0;
    position: relative;
}

.stack-arrow::before,
.stack-arrow::after {
    content: '';
    width: 1px;
    height: 12px;
    background: var(--border-default);
}

.stack-arrow span {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 2px var(--space-3);
    border-radius: 999px;
    background: var(--surface-tertiary);
    border: 1px solid var(--border-default);
}

.stack-callouts {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.stack-callout {
    padding: var(--space-6);
    background: var(--surface-secondary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 1.5);
}

.stack-callout h4 {
    font-size: 1.05rem;
    margin-bottom: var(--space-2);
}

.stack-callout p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .stack-callouts {
        grid-template-columns: 1fr;
    }
}

/* ---- Adragent section (high-level pillars) ---- */
.adragent-section {
    background: var(--surface-secondary);
}

.adragent-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-6);
    margin-top: var(--space-12);
}

.adragent-pillar {
    padding: var(--space-8);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 1.5);
    text-align: center;
    transition: all var(--transition-base);
}

.adragent-pillar:hover {
    transform: translateY(-2px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lg);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-4);
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.12), rgba(124, 58, 237, 0.08));
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.pillar-icon svg {
    width: 28px;
    height: 28px;
}

.adragent-pillar h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-2);
}

.adragent-pillar p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .adragent-pillars {
        grid-template-columns: 1fr;
    }
}

/* ---- Adragent showcase (chat demo) ---- */
.adragent-showcase {
    background: linear-gradient(180deg, var(--surface-primary) 0%, var(--surface-secondary) 100%);
}

.adragent-demo {
    max-width: 880px;
    margin: var(--space-12) auto 0;
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.adragent-demo-head {
    display: flex;
    align-items: center;
    gap: var(--space-3);
    padding: var(--space-3) var(--space-5);
    background: var(--surface-secondary);
    border-bottom: 1px solid var(--border-default);
}

.adragent-demo-dots {
    display: flex;
    gap: 6px;
    align-items: center;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
}

.dot-r { background: #ff5f56; }
.dot-y { background: #ffbd2e; }
.dot-g { background: #27c93f; }

.adragent-demo-title {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-secondary);
    flex: 1;
    text-align: center;
}

.adragent-demo-channel {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--brand-accent);
    padding: 2px var(--space-2);
    border-radius: var(--radius);
    background: rgba(var(--brand-accent-rgb), 0.1);
    border: 1px solid rgba(var(--brand-accent-rgb), 0.3);
}

.adragent-demo-body {
    padding: var(--space-6) var(--space-5);
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

.msg {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.msg-user .msg-bubble {
    background: rgba(var(--brand-primary-rgb), 0.06);
    border: 1px solid rgba(var(--brand-primary-rgb), 0.2);
}

.msg-bubble-agent {
    background: var(--surface-secondary);
    border: 1px solid var(--border-default);
}

.msg-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--surface-tertiary);
    color: var(--text-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-weight: 600;
    font-size: 0.8rem;
    flex-shrink: 0;
    border: 1px solid var(--border-default);
}

.msg-avatar-agent {
    background: linear-gradient(135deg, var(--brand-primary), #7c3aed);
    color: white;
    border-color: transparent;
    font-size: 0.95rem;
}

.msg-bubble {
    padding: var(--space-4);
    border-radius: calc(var(--radius) * 1.5);
    flex: 1;
    min-width: 0;
}

.msg-meta {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: var(--space-2);
}

.msg-text {
    color: var(--text-primary);
    font-size: 0.95rem;
    line-height: 1.55;
}

.msg-text code {
    font-family: var(--font-mono);
    font-size: 0.85em;
    padding: 1px 6px;
    background: rgba(0, 0, 0, 0.06);
    border-radius: 4px;
    color: var(--brand-primary);
}

.parse-step {
    display: flex;
    align-items: center;
    gap: var(--space-2);
    padding: var(--space-1) 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.parse-step-icon {
    color: var(--brand-accent);
    font-weight: 700;
    width: 16px;
    flex-shrink: 0;
}

.msg-preview {
    padding: var(--space-3);
}

.rule-card {
    padding: var(--space-4);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius);
    margin-bottom: var(--space-3);
}

.rule-card:last-of-type {
    margin-bottom: var(--space-4);
}

.rule-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: var(--space-3);
    padding-bottom: var(--space-2);
    border-bottom: 1px dashed var(--border-default);
}

.rule-card-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.rule-card-tag {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--brand-primary);
    padding: 2px var(--space-2);
    background: rgba(var(--brand-primary-rgb), 0.08);
    border-radius: var(--radius);
}

.rule-card-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-1) 0;
    font-size: 0.85rem;
}

.rule-card-row span {
    color: var(--text-muted);
    font-family: var(--font-mono);
    font-size: 0.78rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.rule-card-row strong {
    color: var(--text-primary);
    font-weight: 500;
}

.rule-discount {
    color: var(--brand-accent) !important;
    font-weight: 700 !important;
    font-family: var(--font-mono);
}

.msg-actions {
    display: flex;
    gap: var(--space-2);
    flex-wrap: wrap;
    margin-top: var(--space-3);
    padding-top: var(--space-3);
    border-top: 1px solid var(--border-default);
}

.msg-actions .btn {
    pointer-events: none;
}

.adragent-demo-foot {
    padding: var(--space-3) var(--space-5);
    background: var(--surface-secondary);
    border-top: 1px solid var(--border-default);
    text-align: center;
}

.foot-label {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

@media (max-width: 768px) {
    .adragent-demo-body {
        padding: var(--space-4) var(--space-3);
    }
    .msg-bubble {
        padding: var(--space-3);
    }
    .rule-card-row {
        flex-direction: column;
        gap: 2px;
    }
}

/* ---- Command center (channels) ---- */
.command-center {
    background: var(--surface-primary);
}

.channel-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-5);
    margin-top: var(--space-10);
    margin-bottom: var(--space-12);
}

.channel-card {
    padding: var(--space-6);
    background: var(--surface-primary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 1.5);
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.channel-card:hover {
    transform: translateY(-2px);
    border-color: var(--brand-primary);
    box-shadow: var(--shadow-lg);
}

.channel-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, rgba(var(--brand-primary-rgb), 0.12), rgba(124, 58, 237, 0.08));
    color: var(--brand-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-2);
}

.channel-icon svg {
    width: 22px;
    height: 22px;
}

.channel-card h3 {
    font-size: 1.15rem;
    margin: 0;
}

.channel-card p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-secondary);
    flex: 1;
}

.channel-example {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    padding: var(--space-2) var(--space-3);
    background: var(--surface-tertiary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius);
    color: var(--text-secondary);
    word-break: break-word;
    display: block;
    margin-top: auto;
}

.command-flow {
    display: flex;
    align-items: stretch;
    gap: var(--space-2);
    padding: var(--space-6);
    background: var(--surface-secondary);
    border: 1px solid var(--border-default);
    border-radius: calc(var(--radius) * 1.5);
}

.flow-step {
    flex: 1;
    padding: var(--space-3);
    display: flex;
    flex-direction: column;
    gap: var(--space-2);
}

.flow-step-num {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--brand-primary);
    font-weight: 600;
    letter-spacing: 0.08em;
}

.flow-step h4 {
    font-size: 0.95rem;
    margin: 0;
}

.flow-step p {
    font-size: 0.825rem;
    line-height: 1.5;
    color: var(--text-secondary);
    margin: 0;
}

.flow-arrow {
    display: flex;
    align-items: center;
    color: var(--text-muted);
    font-size: 1.2rem;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .channel-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .command-flow {
        flex-direction: column;
    }
    .flow-arrow {
        transform: rotate(90deg);
        align-self: center;
    }
}

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

/* ---- AI infra section + terminal card ---- */
.ai-infra-section {
    background: var(--surface-secondary);
}

.ai-infra-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-12);
    align-items: center;
}

.ai-infra-text h2 {
    margin-bottom: var(--space-5);
}

.ai-infra-lead {
    font-size: 1.05rem;
    line-height: 1.65;
    color: var(--text-secondary);
    margin-bottom: var(--space-6);
}

.ai-infra-points {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

.ai-infra-point {
    display: flex;
    gap: var(--space-3);
    align-items: flex-start;
}

.ai-infra-point > div {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.55;
}

.ai-infra-point strong {
    color: var(--text-primary);
}

.ai-infra-tick {
    color: var(--brand-accent);
    font-weight: 700;
    font-family: var(--font-mono);
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: rgba(var(--brand-accent-rgb), 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    margin-top: 2px;
}

/* Terminal card */
.terminal-card {
    background: #0d1117;
    border: 1px solid #1f2937;
    border-radius: calc(var(--radius) * 1.5);
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

.terminal-head {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: var(--space-3) var(--space-4);
    background: #161b22;
    border-bottom: 1px solid #1f2937;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    color: #8b949e;
    margin-left: var(--space-2);
}

.terminal-body {
    padding: var(--space-5);
    font-family: var(--font-mono);
    font-size: 0.85rem;
    line-height: 1.7;
    color: #c9d1d9;
}

.term-line {
    white-space: pre-wrap;
    word-break: break-word;
}

.term-prompt {
    color: #58a6ff;
    margin-right: 6px;
}

.term-arg {
    color: #ffa657;
}

.term-out {
    color: #8b949e;
    padding-left: var(--space-3);
}

.term-success {
    color: #3fb950;
}

.term-cursor {
    margin-top: var(--space-2);
}

.cursor {
    display: inline-block;
    width: 8px;
    background: #58a6ff;
    height: 1em;
    vertical-align: text-bottom;
    animation: blink 1s steps(2) infinite;
}

@keyframes blink {
    50% { opacity: 0; }
}

@media (max-width: 900px) {
    .ai-infra-grid {
        grid-template-columns: 1fr;
        gap: var(--space-8);
    }
}

/* ---- Footer tagline ---- */
.footer-tagline {
    font-size: 0.875rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin-top: var(--space-3);
    max-width: 280px;
}

/* ---- Dark theme overrides for new sections ---- */
[data-theme="dark"] .stack-layer-num {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .msg-text code,
[data-theme="dark"] .stack-layer-num {
    background: rgba(255, 255, 255, 0.08);
}

[data-theme="dark"] .rule-card {
    background: var(--surface-tertiary);
}

[data-theme="dark"] .channel-example {
    background: rgba(255, 255, 255, 0.04);
}

[data-theme="dark"] .stack-layer-3 {
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.18), rgba(124, 58, 237, 0.04));
}

/* ==========================================================================
   v3 — Hero presence: bigger display type, ambient motion, channel constellation
   ========================================================================== */

/* Bigger, more dramatic display type — sized to fit two lines */
.hero {
    min-height: 64vh;
}

.hero-content {
    max-width: 880px;
    padding: var(--space-6) 0;
}

.hero-title {
    font-size: clamp(2.75rem, 5.5vw, 4.5rem);
    letter-spacing: -0.04em;
}

.hero-description {
    font-size: 1.2rem;
    max-width: 660px;
}

/* Animated gradient orbs in hero background (in addition to ::before static gradient) */
.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        radial-gradient(circle at 22% 32%, rgba(var(--brand-primary-rgb), 0.18), transparent 45%),
        radial-gradient(circle at 78% 68%, rgba(124, 58, 237, 0.15), transparent 45%),
        radial-gradient(circle at 50% 95%, rgba(var(--brand-accent-rgb), 0.10), transparent 50%);
    animation: orb-drift 22s ease-in-out infinite;
}

@keyframes orb-drift {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33%     { transform: translate(30px, -25px) scale(1.04); }
    66%     { transform: translate(-25px, 22px) scale(0.97); }
}

/* Channel constellation (live, breathing chip cluster) */
.hero-constellation {
    margin-top: var(--space-6);
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    max-width: 720px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.5s both;
}

.constellation-chip {
    font-family: var(--font-mono);
    font-size: 0.78rem;
    font-weight: 500;
    padding: 0.45rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--border-default);
    background: var(--surface-secondary);
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    position: relative;
    animation: chip-float 6s ease-in-out infinite;
    transition: border-color var(--transition-base),
                color var(--transition-base),
                background var(--transition-base);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.constellation-chip:nth-child(2n) { animation-delay: -1.5s; }
.constellation-chip:nth-child(3n) { animation-delay: -3s; }
.constellation-chip:nth-child(5n) { animation-delay: -2s; }
.constellation-chip:nth-child(7n) { animation-delay: -4.5s; }

.constellation-chip:hover {
    border-color: rgba(var(--brand-primary-rgb), 0.4);
    color: var(--text-primary);
}

.constellation-chip.is-active {
    color: var(--brand-primary);
    border-color: rgba(var(--brand-primary-rgb), 0.55);
    background: rgba(var(--brand-primary-rgb), 0.10);
    padding-left: 1.65rem;
    box-shadow: 0 0 28px -4px rgba(var(--brand-primary-rgb), 0.4);
}

.constellation-chip.is-active::before {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--brand-accent);
    border-radius: 50%;
    top: 50%;
    left: 0.7rem;
    transform: translateY(-50%);
    box-shadow: 0 0 0 0 rgba(var(--brand-accent-rgb), 0.6);
    animation: pulse-ring 2.4s infinite;
}

@keyframes chip-float {
    0%, 100% { transform: translateY(0); }
    50%     { transform: translateY(-3px); }
}

[data-theme="dark"] .constellation-chip {
    background: rgba(255, 255, 255, 0.03);
    color: rgba(255, 255, 255, 0.65);
}

[data-theme="dark"] .constellation-chip.is-active {
    background: rgba(96, 165, 250, 0.12);
    color: #60a5fa;
    border-color: rgba(96, 165, 250, 0.5);
    box-shadow: 0 0 32px -4px rgba(96, 165, 250, 0.45);
}

/* Capability strip v2: subtle accent line + hover lift */
.capability-strip {
    position: relative;
}

.capability-strip::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(var(--brand-primary-rgb), 0.5), transparent);
}

.capability-item {
    cursor: default;
    border-radius: var(--radius);
    transition: transform var(--transition-base);
}

.capability-item .capability-icon {
    transition: background var(--transition-base),
                color var(--transition-base),
                box-shadow var(--transition-base);
}

.capability-item:hover {
    transform: translateY(-2px);
}

.capability-item:hover .capability-icon {
    background: rgba(var(--brand-primary-rgb), 0.18);
    color: var(--brand-primary);
    box-shadow: 0 8px 20px -4px rgba(var(--brand-primary-rgb), 0.45);
}

[data-theme="dark"] .capability-item:hover .capability-icon {
    background: rgba(96, 165, 250, 0.18);
    color: #60a5fa;
    box-shadow: 0 8px 20px -4px rgba(96, 165, 250, 0.5);
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-section {
        display: none;
    }

    body {
        font-size: 12pt;
    }
}
