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

/* Font Loading - Ensure Neue Haas Grotesk Display Pro fallbacks work */
@font-face {
    font-family: 'NHaasGroteskDSPro-55Rg';
    src: local('NHaasGroteskDSPro-55Rg'),
         local('Neue Haas Grotesk Display Pro'),
         local('Helvetica Neue'),
         local('HelveticaNeue'),
         local('Helvetica'),
         local('Arial');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Grotesk Display Pro';
    src: local('NHaasGroteskDSPro-55Rg'),
         local('Neue Haas Grotesk Display Pro'),
         local('Helvetica Neue'),
         local('HelveticaNeue'),
         local('Helvetica'),
         local('Arial');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* Ensure Inter-Light font is available for SVGs */
@font-face {
    font-family: 'Inter-Light';
    src: local('Inter-Light'),
         local('Inter Light'),
         local('Inter'),
         local('Helvetica Neue'),
         local('Arial');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: local('Inter'),
         local('Inter Regular'),
         local('Helvetica Neue'),
         local('Arial');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Color Palette - Modern Clean Design */
    --primary-coral: #FF7A7A;
    --primary-blue: #74C7EC;
    --light-coral: #FFB3B3;
    --text-primary: #2c3e50;
    --text-secondary: #718096;
    --text-light: #a0aec0;
    --background-white: #ffffff;
    --background-light: #f8fafc;
    --border-light: #e2e8f0;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-brand: 'Neue Haas Grotesk Display Pro', 'Space Grotesk', 'Helvetica Neue', Arial, sans-serif;

    /* Spacing */
    --header-height: 80px;
    --section-padding: 2rem;
    --border-radius: 12px;
    --shadow-soft: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

body {
    font-family: var(--font-primary);
    background-color: var(--background-white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-light);
}

.navbar {
    height: var(--header-height);
}

.nav-container {
    max-width: 100%;
    margin: 0;
    padding: 0 0.5rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Brand */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: 0.5rem;
}

.brand-logo-img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.brand-svg {
    height: 40px;
    width: auto;
    /* Ensure SVG text uses fallback fonts if original isn't available */
    font-family: 'Neue Haas Grotesk Display Pro', 'NHaasGroteskDSPro-55Rg', 'Helvetica Neue', 'Arial', sans-serif;
}

/* Right side wrapper for navigation and user menu */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-right: 0.5rem;
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

/* Individual Navigation Tab Styling */

/* About Navigation */
.nav-about {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-height: 20px;
    padding: 0;
    margin: 0;
}

.nav-about img {
    height: 14px;
    width: auto;
    transition: opacity 0.2s ease;
    display: block;
    opacity: 1;
}

.nav-about:hover img {
    opacity: 0.8;
}

/* Documentation Navigation */
.nav-documentation {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-height: 20px;
    padding: 0;
    margin: 0;
}

.nav-documentation img {
    height: 14px;
    width: auto;
    transition: opacity 0.2s ease;
    display: block;
    opacity: 1;
}

.nav-documentation:hover img {
    opacity: 0.8;
}

/* Active Navigation States */
.nav-about.active,
.nav-documentation.active,
.nav-services.active,
.nav-partner.active {
    position: relative;
}

.nav-about.active::after,
.nav-documentation.active::after,
.nav-services.active::after,
.nav-partner.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-coral);
    border-radius: 1px;
}

/* Playground Navigation */
.nav-playground {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-height: 20px;
    padding: 0;
    margin: 0;
}

.nav-playground img,
#playground-nav-img {
    height: 14px;
    width: auto;
    transition: opacity 0.2s ease;
    display: block;
    opacity: 1;
    visibility: visible;
}

.nav-playground:hover img,
.nav-playground:hover #playground-nav-img {
    opacity: 0.8;
}

/* Extra specific targeting for playground image */
img[src*="playground--18.svg"],
img[alt="Playground"],
a[href="#playground"] img {
    height: 14px !important;
    width: auto !important;
    display: inline-block !important;
    opacity: 1 !important;
    visibility: visible !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Force cache refresh for playground navigation */
#playground-nav-img {
    content: url("public/playground--18.svg?force=1") !important;
    height: 14px !important;
    width: auto !important;
    display: block !important;
    opacity: 1 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Services Navigation */
.nav-services {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-height: 20px;
    padding: 0;
    margin: 0;
}

.nav-services img {
    height: 14px;
    width: auto;
    transition: opacity 0.2s ease;
    display: block;
    opacity: 1;
}

.nav-services:hover img {
    opacity: 0.8;
}

/* Partner Navigation */
.nav-partner {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    min-height: 20px;
    padding: 0;
    margin: 0;
}

.nav-partner img {
    height: 14px;
    width: auto;
    transition: opacity 0.2s ease;
    display: block;
    opacity: 1;
}

.nav-partner:hover img {
    opacity: 0.8;
}

.contact-btn {
    background: var(--primary-coral);
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin: 0;
}

.contact-btn:hover {
    background: #ff6b6b;
    transform: translateY(-1px);
}

/* User Menu */
.user-menu {
    display: flex;
    align-items: center;
}

.user-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.user-btn:hover {
    background: var(--background-light);
    color: var(--text-primary);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 20px;
    height: 2px;
    background: var(--text-primary);
    transition: 0.3s;
}

/* Main Content */
.main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* Hero Section */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    overflow: hidden;
    background: #FFFFFF;
}

.hero-container {
    max-width: 100%;
    margin: 0;
    padding: 0 1rem 0 5rem;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-title {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 100;
    line-height: 1.1;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 400;
    font-style: italic;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.4;
}

.hero-description {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
    max-width: 540px;
}

.learn-more-btn {
    background: var(--primary-coral);
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.learn-more-btn:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-artwork {
    width: 230%;
    height: 230%;
    object-fit: contain;
    object-position: center;
    max-width: 1200px;
}

/* Tagline Section */
.tagline-section {
    padding: 8rem 2rem 4rem;
    background: #FFFFFF;
    text-align: center;
}

.tagline-container {
    max-width: 1200px;
    margin: 0 auto;
}

.tagline-text {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 100;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.tagline-subtitle {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto;
}

.tagline-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    text-align: center;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.tagline-feature-item {
    padding: 2rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.tagline-feature-item:hover {
    border-color: var(--primary-coral);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(255, 122, 122, 0.15);
}

.tagline-feature-item h4 {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-coral);
    margin-bottom: 0.75rem;
}

.tagline-feature-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

@media (max-width: 900px) {
    .tagline-features-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

/* Infrastructure Stack Section */
.infrastructure-section {
    padding: 3rem 2rem;
    background: var(--background-white);
}

.infrastructure-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
}

.infrastructure-layer {
    margin-top: 3rem;
    padding: 1.5rem;
    background: var(--background-white);
    border-radius: var(--border-radius);
    position: relative;
    border: 1px solid var(--border-light);
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1),
        0 2px 4px -1px rgba(0, 0, 0, 0.06),
        0 10px 15px -3px rgba(0, 0, 0, 0.08);
}

/* Flowchart connector - vertical line between layers */
.infrastructure-layer:not(:first-child)::before {
    content: '';
    position: absolute;
    top: -2rem;
    left: 50%;
    transform: translateX(-50%);
    width: 3px;
    height: 2rem;
    background: linear-gradient(to bottom, var(--primary-coral), var(--primary-coral));
    z-index: 1;
}

/* Flowchart connector - arrow/dot at the connection point */
.infrastructure-layer:not(:first-child)::after {
    content: '';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: var(--primary-coral);
    border-radius: 50%;
    border: 3px solid var(--background-white);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

/* Layer number indicator */
.infrastructure-layer-title {
    display: inline-block;
    font-size: clamp(0.9rem, 2vw, 1.2rem);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    background: var(--background-white);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border-left: 4px solid var(--primary-coral);
    position: relative;
}

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

.infrastructure-item {
    background: var(--background-white);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-light);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.infrastructure-item:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.infrastructure-item h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.infrastructure-item .feature-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.infrastructure-item .feature-list li {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    padding-left: 1rem;
    position: relative;
    margin-bottom: 0.25rem;
}

.infrastructure-item .feature-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-coral);
}

.infrastructure-desc {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

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

    .infrastructure-layer {
        padding: 1rem;
        margin-top: 1.5rem;
    }

    .infrastructure-layer:not(:first-child)::before {
        height: 1.5rem;
        top: -1.5rem;
    }

    .infrastructure-layer:not(:first-child)::after {
        top: -0.4rem;
        width: 10px;
        height: 10px;
    }
}

/* Infrastructure Slider Styles */
.infrastructure-slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    margin-top: 1.5rem;
}

.slider-dot {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: var(--background-white);
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-dot:hover {
    border-color: var(--primary-coral);
    color: var(--primary-coral);
}

.slider-dot.active {
    background: var(--primary-coral);
    border-color: var(--primary-coral);
    color: white;
    box-shadow: 0 2px 8px rgba(255, 122, 122, 0.4);
}

.infrastructure-slider {
    position: relative;
    overflow: hidden;
    border-radius: var(--border-radius);
    width: 100%;
}

.infrastructure-slides {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.infrastructure-slides .infrastructure-layer {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    margin-top: 0;
    box-sizing: border-box;
}

/* Hide flowchart connectors in slider mode */
.infrastructure-slides .infrastructure-layer::before,
.infrastructure-slides .infrastructure-layer::after {
    display: none;
}

.infrastructure-slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.slider-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid var(--border-light);
    background: var(--background-white);
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    border-color: var(--primary-coral);
    color: var(--primary-coral);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.slider-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.slider-arrow:disabled:hover {
    border-color: var(--border-light);
    color: var(--text-secondary);
    box-shadow: none;
}

/* Slide indicator text */
.slide-indicator {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .infrastructure-slider-nav {
        gap: 0.5rem;
    }

    .slider-dot {
        width: 32px;
        height: 32px;
        font-size: 0.75rem;
    }

    .slider-arrow {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
}

/* Formula Section */
.formula-section {
    padding: 8rem 2rem 4rem;
    background: #FFFFFF;
}

.formula-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.formula-container {
    text-align: center;
    display: inline-block;
}

.formula-text {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 100;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 0.25rem;
}

.formula-subtitle {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.4;
    text-align: center;
}

.formula-values {
    display: flex;
    flex-direction: row;
    gap: 2rem;
    align-items: center;
}

.formula-values-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.formula-values-label {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    min-width: 40px;
}

.formula-boxes {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.formula-box {
    width: 36px;
    height: 44px;
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-primary);
}

.formula-separator {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-secondary);
}

@media (max-width: 768px) {
    .formula-content {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .formula-container {
        text-align: center;
    }

    .formula-values {
        flex-direction: column;
        gap: 1rem;
    }
}

/* Tick Cosmos Button */
.tick-cosmos-btn {
    background: var(--primary-coral);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1rem;
}

.tick-cosmos-btn:hover {
    background: #ff6b6b;
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

/* Tick Modal */
.tick-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tick-modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.tick-modal-content {
    background: white;
    border-radius: 16px;
    width: 90%;
    max-width: 400px;
    max-height: 90vh;
    overflow-y: auto;
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.tick-modal-overlay.active .tick-modal-content {
    transform: translateY(0);
}

.tick-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.tick-modal-header h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.tick-modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.tick-modal-close:hover {
    color: var(--text-primary);
}

.tick-modal-body {
    padding: 1.5rem;
}

.tick-form-group {
    margin-bottom: 1rem;
}

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

.tick-form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    color: var(--text-primary);
    background: white;
    box-sizing: border-box;
}

.tick-form-group input:focus {
    outline: none;
    border-color: var(--primary-coral);
}

.tick-form-actions {
    margin-top: 1.5rem;
}

.tick-btn-submit {
    width: 100%;
    background: var(--primary-coral);
    color: white;
    border: none;
    padding: 0.875rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.tick-btn-submit:hover {
    background: #ff6b6b;
}

.tick-btn-submit:disabled {
    background: var(--text-secondary);
    cursor: not-allowed;
}

.tick-form-note {
    margin-top: 1rem;
    font-size: 0.875rem;
    text-align: center;
}

/* Value Propositions Section */
.value-props {
    padding: 4rem 2rem;
    background: var(--background-light);
}

.value-props-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.value-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.value-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.value-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.value-card-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: var(--primary-coral);
    margin-bottom: 1rem;
}

.value-card-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* CTA Section */
/* Personalized Timestamps Section */
.personalized-section {
    padding: 4rem 2rem;
    background: #FFFFFF;
}

.personalized-container {
    max-width: 1000px;
    margin: 0 auto;
}

.personalized-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.personalized-header {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

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

.personalized-title {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 100;
    color: var(--text-primary);
    line-height: 1.1;
    text-align: center;
    margin: 0;
}

.personalized-subtitle {
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.4;
    text-align: center;
    margin: 0;
}

@media (max-width: 900px) {
    .personalized-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .personalized-header {
        align-items: center;
        text-align: center;
    }

    .personalized-title,
    .personalized-subtitle {
        text-align: center;
    }

    .timestamp-display {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .timestamp-response {
        max-height: 200px;
    }

    .timestamp-explanation {
        min-height: 250px;
    }
}

/* Timestamp Display */
.timestamp-display {
    display: flex;
    gap: 1rem;
    text-align: left;
}

.timestamp-response {
    flex: 1;
    background: #1e1e1e;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem;
    max-height: 320px;
    overflow-y: auto;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.65rem;
    line-height: 1.5;
}

.response-line {
    padding: 2px 6px;
    border-radius: 3px;
    transition: background-color 0.2s ease;
}

.response-line.indent-1 { padding-left: 1rem; }
.response-line.indent-2 { padding-left: 2rem; }
.response-line.indent-3 { padding-left: 3rem; }

.response-line.clickable {
    cursor: pointer;
    position: relative;
}

.response-line.clickable:hover {
    background: rgba(255, 255, 255, 0.08);
}

.response-line.clickable.active {
    background: rgba(99, 102, 241, 0.2);
    border-left: 3px solid var(--primary-coral, #FF6B6B);
}

.click-hint {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: opacity 0.2s ease;
}

.response-line.clickable:hover .click-hint {
    opacity: 1;
}

.json-bracket { color: #ffd700; }
.json-key { color: #9cdcfe; }
.json-colon { color: #ffffff; margin: 0 4px; }
.json-comma { color: #ffffff; }
.json-value-bool { color: #569cd6; }
.json-value-string { color: #ce9178; }
.json-value-number { color: #b5cea8; }

/* Explanation Panel */
.timestamp-explanation {
    flex: 1;
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.explanation-content {
    width: 100%;
}

.explanation-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-height: 160px;
    color: var(--text-secondary);
    text-align: center;
}

.placeholder-icon {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    opacity: 0.5;
}

.explanation-placeholder p {
    font-size: 0.8rem;
    max-width: 180px;
}

.explanation-header {
    margin-bottom: 0.75rem;
}

.explanation-header h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.explanation-header .coord-type {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.explanation-meaning {
    margin-bottom: 0.75rem;
}

.explanation-meaning h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.explanation-meaning p {
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

.explanation-visual {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    padding: 0.75rem;
    margin-bottom: 0.75rem;
}

.explanation-visual h4 {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.visual-diagram {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.65rem;
    color: var(--text-secondary);
    white-space: pre;
    line-height: 1.3;
}

.explanation-value {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem;
    background: rgba(99, 102, 241, 0.08);
    border-radius: 5px;
}

.value-label {
    font-size: 0.7rem;
    color: var(--text-secondary);
}

.value-number {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-blue, #3B82F6);
}

.value-interpretation {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-left: auto;
}

/* Timestamp Slider Navigation */
.timestamp-slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.timestamp-dot {
    padding: 0.35rem 0.9rem;
    border-radius: 16px;
    border: 1.5px solid var(--border-light);
    background: var(--background-white);
    color: var(--text-secondary);
    font-size: 0.75rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.timestamp-dot:hover {
    border-color: var(--primary-coral);
    color: var(--primary-coral);
}

.timestamp-dot.active {
    background: var(--primary-coral);
    border-color: var(--primary-coral);
    color: white;
    box-shadow: 0 2px 6px rgba(255, 122, 122, 0.4);
}

/* Timestamp Slider Container */
.timestamp-slider {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.timestamp-slides {
    display: flex;
    transition: transform 0.4s ease-in-out;
    width: 100%;
}

.timestamp-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    flex-grow: 0;
    box-sizing: border-box;
}

/* Ensure timestamp-display inside slides takes full width properly */
.timestamp-slide .timestamp-display {
    width: 100%;
    max-width: 900px;
    margin-top: 0;
    margin-left: auto;
    margin-right: auto;
    padding: 0 0.5rem;
    box-sizing: border-box;
}

/* Timestamp Slider Controls */
.timestamp-slider-controls {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1rem;
}

.timestamp-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border-light);
    background: var(--background-white);
    color: var(--text-secondary);
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.timestamp-arrow:hover {
    border-color: var(--primary-coral);
    color: var(--primary-coral);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.timestamp-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.timestamp-arrow:disabled:hover {
    border-color: var(--border-light);
    color: var(--text-secondary);
    box-shadow: none;
}

/* Responsive */
@media (max-width: 768px) {
    .timestamp-display {
        grid-template-columns: 1fr;
    }

    .timestamp-response {
        font-size: 0.75rem;
    }

    .response-line.indent-1 { padding-left: 1rem; }
    .response-line.indent-2 { padding-left: 2rem; }
    .response-line.indent-3 { padding-left: 3rem; }

    .timestamp-slider-nav {
        justify-content: center;
        gap: 0.5rem;
    }

    .timestamp-dot {
        padding: 0.4rem 1rem;
        font-size: 0.8rem;
    }

    .timestamp-arrow {
        width: 38px;
        height: 38px;
        font-size: 1rem;
    }
}

/* XR Planetarium Section */
.xr-planetarium-section {
    padding: 5rem 2rem;
    background: #FFFFFF;
    text-align: center;
}

.xr-planetarium-container {
    max-width: 1200px;
    margin: 0 auto;
}

.xr-planetarium-title {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 100;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1rem;
}

.xr-planetarium-subtitle {
    font-size: clamp(0.85rem, 1.5vw, 1rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.4;
    max-width: 700px;
    margin: 0 auto 2.5rem;
}

/* XR Dimensions Grid */
.xr-dimensions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.xr-dimension-card {
    background: #FFFFFF;
    border-radius: 12px;
    padding: 1.25rem;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.xr-dimension-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.xr-dimension-icon {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

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

.xr-dimension-desc {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

.xr-dimension-visual {
    height: 80px;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: visible;
}

.xr-dimension-tag {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 500;
    color: var(--primary-coral);
    background: rgba(255, 107, 107, 0.1);
    padding: 0.25rem 0.6rem;
    border-radius: 12px;
}

/* Timeline Visual - Improved */
.timeline-visual {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.timeline-scale {
    display: flex;
    justify-content: space-between;
    font-size: 0.5rem;
    color: var(--text-secondary);
    margin-bottom: 4px;
    padding: 0 2px;
}

.timeline-track {
    position: relative;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #e0e0e0, var(--primary-coral), #e0e0e0);
    border-radius: 2px;
}

.timeline-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.timeline-marker .marker-dot {
    width: 8px;
    height: 8px;
    background: var(--primary-coral);
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.timeline-marker.active .marker-dot {
    background: #3B82F6;
    width: 10px;
    height: 10px;
    box-shadow: 0 0 6px rgba(59, 130, 246, 0.5);
}

.timeline-marker .marker-label {
    position: absolute;
    top: 12px;
    font-size: 0.45rem;
    color: var(--text-secondary);
    text-align: center;
    line-height: 1.2;
    white-space: nowrap;
}

/* Bars Visual - Improved */
.bars-visual {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.bar-row {
    display: flex;
    align-items: center;
    gap: 6px;
}

.bar-name {
    font-size: 0.5rem;
    color: var(--text-secondary);
    min-width: 38px;
    text-align: right;
}

.bar-track {
    flex: 1;
    height: 6px;
    background: #e8e8e8;
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-coral), #FF8C8C);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.bar-value {
    font-size: 0.5rem;
    color: var(--text-primary);
    font-weight: 500;
    min-width: 32px;
    text-align: left;
}

/* Station Visual - Improved Y-Axis */
.station-visual {
    width: 100%;
    height: 100%;
    display: flex;
    position: relative;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.03) 0%, rgba(88, 28, 135, 0.03) 100%);
    border-radius: 6px;
    padding: 4px;
}

.station-axis {
    position: absolute;
    left: 8px;
    top: 5%;
    bottom: 5%;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-coral), #e0e0e0);
    border-radius: 1px;
}

.station-axis .axis-label {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.5rem;
    font-weight: 600;
    color: var(--primary-coral);
}

.station-points {
    position: relative;
    flex: 1;
    margin-left: 16px;
    height: 100%;
}

.station-point {
    position: absolute;
    left: 0;
    display: flex;
    align-items: center;
    gap: 4px;
    transform: translateY(50%);
}

.station-point .point-dot {
    width: 6px;
    height: 6px;
    background: var(--primary-coral);
    border-radius: 50%;
    border: 1px solid white;
    box-shadow: 0 1px 2px rgba(0,0,0,0.15);
}

.station-point .point-label {
    font-size: 0.45rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

/* Network Visual - SVG-based */
.network-visual {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.network-svg {
    width: 100%;
    height: 100%;
}

.network-svg .network-line {
    stroke: rgba(255, 107, 107, 0.4);
    stroke-width: 1.5;
    stroke-linecap: round;
}

.network-svg .network-node-svg {
    fill: var(--primary-coral);
    stroke: white;
    stroke-width: 1.5;
}

.network-svg .node-label {
    font-size: 5px;
    fill: var(--text-secondary);
    text-anchor: middle;
    font-weight: 500;
}

.network-svg .edge-label {
    font-size: 4px;
    fill: var(--text-primary);
    text-anchor: middle;
    font-weight: 500;
}

/* XR Video Row */
.xr-video-row {
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.xr-video-container {
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.xr-video {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
}

/* Video Fullscreen Button */
.video-fullscreen-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 32px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s ease, background 0.2s ease;
    z-index: 10;
}

.video-fullscreen-btn svg {
    width: 18px;
    height: 18px;
    color: white;
}

.xr-video-container:hover .video-fullscreen-btn,
.bms-video-container:hover .video-fullscreen-btn {
    opacity: 1;
}

.video-fullscreen-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

@media (max-width: 600px) {
    .xr-video-container {
        border-radius: 8px;
    }

    .xr-video {
        border-radius: 8px;
    }
}

/* XR Use Cases */
.xr-usecases {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.xr-usecase {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 20px;
    transition: background 0.2s ease;
}

.xr-usecase:hover {
    background: rgba(59, 130, 246, 0.15);
}

.usecase-icon {
    font-size: 1rem;
}

.usecase-text {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-primary);
}

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

@media (max-width: 600px) {
    .xr-dimensions-grid {
        grid-template-columns: 1fr;
    }

    .xr-usecases {
        gap: 1rem;
    }

    .xr-usecase {
        padding: 0.4rem 0.8rem;
    }
}

/* BMS Section - 3D Timestamps X AI */
.bms-section {
    padding: 4rem 2rem;
    background: #FFFFFF;
}

.bms-container {
    max-width: 1000px;
    margin: 0 auto;
}

.bms-layout {
    display: flex;
    align-items: center;
    gap: 3rem;
}

.bms-header {
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bms-title {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 100;
    color: var(--text-primary);
    line-height: 1.1;
    text-align: center;
}

.bms-subtitle {
    font-size: clamp(0.75rem, 1.2vw, 0.9rem);
    font-weight: 400;
    color: var(--text-secondary);
    line-height: 1.4;
    text-align: center;
}

.bms-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* BMS Slider Navigation */
.bms-slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.bms-dot {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    color: var(--text-secondary);
    font-size: 0.8rem;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bms-dot:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}

.bms-dot.active {
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    color: white;
}

/* BMS Slider */
.bms-slider {
    flex: 1;
    overflow: hidden;
    position: relative;
}

.bms-slides {
    display: flex;
    transition: transform 0.5s ease;
    height: 100%;
}

.bms-slide {
    min-width: 100%;
    display: none;
    height: 100%;
}

.bms-slide.active {
    display: block;
}

.bms-slide-content {
    display: flex;
    gap: 1rem;
    height: 100%;
}

/* BMS Video Container */
.bms-video-container {
    width: 100%;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.bms-video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 12px;
}

/* BMS Response Panel */
.bms-response-panel {
    flex: 1;
    background: #1e1e1e;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 0.75rem;
    height: 320px;
    overflow-y: auto;
}

.bms-response-code {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.65rem;
}

.bms-code-line {
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: block;
}

.bms-code-line:hover {
    background: rgba(255, 107, 107, 0.15);
}

.bms-code-line.active {
    background: rgba(255, 107, 107, 0.25);
    border-left: 2px solid var(--primary-coral);
}

.bms-key {
    color: #9CDCFE;
}

.bms-value-string {
    color: #CE9178;
}

.bms-value-num {
    color: #B5CEA8;
}

/* BMS Explanation Panel */
.bms-explanation-panel {
    flex: 1;
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 1rem;
    min-height: 320px;
    display: flex;
    flex-direction: column;
}

.bms-explanation-content {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.bms-explanation-header {
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
}

.bms-explanation-category {
    font-size: 0.6rem;
    font-weight: 600;
    color: var(--primary-coral);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bms-explanation-field {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-primary);
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
}

.bms-explanation-text {
    font-size: 0.7rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.bms-explanation-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100px;
}

.bms-explanation-analogy {
    font-size: 0.65rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: auto;
    padding-top: 0.75rem;
    border-top: 1px solid var(--border-light);
}

/* BMS Orb Animation */
.bms-orb {
    position: relative;
    width: 70px;
    height: 70px;
}

.bms-orb-core {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 35px;
    height: 35px;
    background: radial-gradient(circle at 30% 30%, #FF6B6B, #FF3333, #CC0000);
    border-radius: 50%;
    box-shadow: 0 0 20px rgba(255, 107, 107, 0.6),
                0 0 40px rgba(255, 107, 107, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.2);
    animation: bms-pulse 2s ease-in-out infinite;
}

.bms-orb-aura {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.3) 0%, rgba(255, 107, 107, 0.1) 40%, transparent 70%);
    border-radius: 50%;
    animation: bms-aura 3s ease-in-out infinite;
}

@keyframes bms-pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        box-shadow: 0 0 20px rgba(255, 107, 107, 0.6),
                    0 0 40px rgba(255, 107, 107, 0.3),
                    inset 0 0 10px rgba(255, 255, 255, 0.2);
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        box-shadow: 0 0 30px rgba(255, 107, 107, 0.8),
                    0 0 60px rgba(255, 107, 107, 0.4),
                    inset 0 0 15px rgba(255, 255, 255, 0.3);
    }
}

@keyframes bms-aura {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.5;
    }
}

/* BMS Field-Specific Visual Styles */

/* Identity Visual - Color swatch with label */
.bms-visual-identity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.bms-visual-identity .visual-label {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.75rem;
    color: var(--text-secondary);
}

.visual-color-swatch {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.4);
}

/* Density Visual - Particle field */
.bms-visual-density {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.density-particles {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
}

.density-particles.dense {
    background: radial-gradient(circle, rgba(200, 200, 220, 0.9) 0%, rgba(150, 150, 180, 0.6) 50%, transparent 70%);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.3);
}

.density-particles.sparse {
    background: radial-gradient(circle, rgba(200, 200, 220, 0.3) 0%, rgba(150, 150, 180, 0.1) 50%, transparent 70%);
}

.visual-scale {
    font-size: 0.65rem;
    color: var(--text-light);
}

.visual-label {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

/* Spatial Axis Visuals */
.bms-visual-spatial {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.spatial-axis {
    width: 100%;
    max-width: 120px;
    height: 8px;
    background: linear-gradient(90deg, #1a1a2e, #4a4a6e);
    border-radius: 4px;
    position: relative;
}

.spatial-axis.x {
    background: linear-gradient(90deg, #2a2a4e, #FF6B6B);
}

.spatial-axis.y {
    background: linear-gradient(90deg, #2a2a4e, #4CAF50);
}

.spatial-axis.z {
    background: linear-gradient(90deg, #2a2a4e, #2196F3);
}

.axis-marker {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 12px;
    height: 12px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

/* Stage Progress Visual */
.bms-visual-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.stage-progress {
    height: 12px;
    background: linear-gradient(90deg, #4CAF50, #8BC34A, #CDDC39);
    border-radius: 6px;
    max-width: 120px;
    box-shadow: 0 0 10px rgba(76, 175, 80, 0.4);
}

/* Rhythm Pulse Visual */
.bms-visual-rhythm {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rhythm-pulse {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: radial-gradient(circle, #FF9800 0%, #FF5722 50%, transparent 70%);
    animation: rhythm-beat 0.8s ease-in-out infinite;
}

@keyframes rhythm-beat {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Rotation Spinner Visual */
.bms-visual-rotation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.rotation-spinner {
    width: 60px;
    height: 60px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    border-top-color: #9C27B0;
    border-radius: 50%;
    animation: rotation-spin 2s linear infinite;
}

@keyframes rotation-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Cohesive Orb Visual */
.bms-visual-cohesive {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.cohesive-orb {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #E91E63, #9C27B0);
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.5);
    animation: cohesive-float 3s ease-in-out infinite;
}

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

/* Aura Rings Visual */
.bms-visual-aura {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.aura-rings {
    position: relative;
    width: 70px;
    height: 70px;
}

.aura-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid;
    animation: aura-expand 2s ease-out infinite;
}

.aura-ring.inner {
    width: 30px;
    height: 30px;
    border-color: rgba(255, 215, 0, 0.8);
    animation-delay: 0s;
}

.aura-ring.middle {
    width: 45px;
    height: 45px;
    border-color: rgba(255, 215, 0, 0.5);
    animation-delay: 0.3s;
}

.aura-ring.outer {
    width: 60px;
    height: 60px;
    border-color: rgba(255, 215, 0, 0.3);
    animation-delay: 0.6s;
}

@keyframes aura-expand {
    0% { transform: translate(-50%, -50%) scale(0.8); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0; }
}

/* Harmony Pulse Visual */
.bms-visual-harmony {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.harmony-pulse {
    display: flex;
    gap: 4px;
    align-items: center;
}

.harmony-bar {
    width: 6px;
    background: linear-gradient(180deg, #00BCD4, #009688);
    border-radius: 3px;
    animation: harmony-wave 1s ease-in-out infinite;
}

.harmony-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.harmony-bar:nth-child(2) { height: 35px; animation-delay: 0.1s; }
.harmony-bar:nth-child(3) { height: 50px; animation-delay: 0.2s; }
.harmony-bar:nth-child(4) { height: 35px; animation-delay: 0.3s; }
.harmony-bar:nth-child(5) { height: 20px; animation-delay: 0.4s; }

@keyframes harmony-wave {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(0.6); }
}

/* Frequency Waves Visual */
.bms-visual-frequency {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.frequency-waves {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.wave-line {
    height: 3px;
    background: linear-gradient(90deg, transparent, #3F51B5, transparent);
    border-radius: 2px;
    animation: wave-flow 1.5s ease-in-out infinite;
}

.wave-line:nth-child(1) { width: 60px; animation-delay: 0s; }
.wave-line:nth-child(2) { width: 80px; animation-delay: 0.2s; }
.wave-line:nth-child(3) { width: 100px; animation-delay: 0.4s; }
.wave-line:nth-child(4) { width: 80px; animation-delay: 0.6s; }
.wave-line:nth-child(5) { width: 60px; animation-delay: 0.8s; }

@keyframes wave-flow {
    0%, 100% { opacity: 0.4; transform: scaleX(0.9); }
    50% { opacity: 1; transform: scaleX(1); }
}

/* Stability Core Visual */
.bms-visual-stability {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.stability-core {
    width: 50px;
    height: 50px;
    background: radial-gradient(circle, #607D8B 0%, #455A64 60%, #37474F 100%);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(96, 125, 139, 0.5);
}

/* Momentum Arrow Visual */
.bms-visual-momentum {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.momentum-arrow {
    width: 80px;
    height: 20px;
    background: linear-gradient(90deg, #795548, #FF5722, #FF9800);
    clip-path: polygon(0 50%, 70% 50%, 70% 0, 100% 50%, 70% 100%, 70% 50%, 0 50%);
    animation: momentum-pulse 1s ease-in-out infinite;
}

@keyframes momentum-pulse {
    0%, 100% { transform: translateX(0); opacity: 0.8; }
    50% { transform: translateX(5px); opacity: 1; }
}

/* Sector Grid Visual */
.bms-visual-sector {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.sector-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    width: 60px;
    height: 60px;
}

.sector-cell {
    background: rgba(33, 150, 243, 0.2);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sector-cell.active {
    background: rgba(33, 150, 243, 0.8);
    box-shadow: 0 0 8px rgba(33, 150, 243, 0.6);
}

/* Quadrant Display Visual */
.bms-visual-quadrant {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.quadrant-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
}

.quadrant-cell {
    background: rgba(156, 39, 176, 0.2);
}

.quadrant-cell.active {
    background: rgba(156, 39, 176, 0.8);
}

/* Layer Stack Visual */
.bms-visual-layer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.layer-stack {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.layer-bar {
    height: 8px;
    border-radius: 4px;
    background: linear-gradient(90deg, #673AB7, #9C27B0);
}

.layer-bar:nth-child(1) { width: 80px; opacity: 1; }
.layer-bar:nth-child(2) { width: 65px; opacity: 0.8; }
.layer-bar:nth-child(3) { width: 50px; opacity: 0.6; }
.layer-bar:nth-child(4) { width: 35px; opacity: 0.4; }

/* Zone Map Visual */
.bms-visual-zone {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.zone-map {
    position: relative;
    width: 70px;
    height: 70px;
}

.zone-region {
    position: absolute;
    border-radius: 50%;
    border: 2px solid;
}

.zone-region.core {
    width: 25px;
    height: 25px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: #F44336;
    background: rgba(244, 67, 54, 0.3);
}

.zone-region.mid {
    width: 45px;
    height: 45px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: #FF9800;
    background: rgba(255, 152, 0, 0.2);
}

.zone-region.outer {
    width: 65px;
    height: 65px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-color: #4CAF50;
    background: rgba(76, 175, 80, 0.1);
}

/* Range Slider Visual */
.bms-visual-range {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
}

.range-slider {
    width: 100%;
    max-width: 120px;
    height: 8px;
    background: linear-gradient(90deg, #2196F3 0%, #03A9F4 50%, #00BCD4 100%);
    border-radius: 4px;
    position: relative;
}

.range-slider::after {
    content: '';
    position: absolute;
    right: 10%;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
    background: #ffffff;
    border-radius: 50%;
    box-shadow: 0 0 6px rgba(255, 255, 255, 0.8);
}

/* Tier Levels Visual */
.bms-visual-tier {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.tier-levels {
    display: flex;
    gap: 4px;
    align-items: flex-end;
}

.tier-block {
    width: 12px;
    background: linear-gradient(180deg, #FFC107, #FF9800);
    border-radius: 2px;
}

.tier-block:nth-child(1) { height: 15px; opacity: 0.4; }
.tier-block:nth-child(2) { height: 25px; opacity: 0.6; }
.tier-block:nth-child(3) { height: 35px; opacity: 0.8; }
.tier-block:nth-child(4) { height: 45px; opacity: 1; }
.tier-block:nth-child(5) { height: 55px; opacity: 1; box-shadow: 0 0 10px rgba(255, 193, 7, 0.6); }

/* Intensity Glow Visual */
.bms-visual-intensity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.intensity-glow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: radial-gradient(circle, #FFEB3B 0%, #FFC107 40%, #FF9800 70%, transparent 100%);
    box-shadow: 0 0 30px rgba(255, 235, 59, 0.8);
    animation: intensity-flare 1.5s ease-in-out infinite;
}

@keyframes intensity-flare {
    0%, 100% { transform: scale(1); box-shadow: 0 0 30px rgba(255, 235, 59, 0.8); }
    50% { transform: scale(1.1); box-shadow: 0 0 50px rgba(255, 235, 59, 1); }
}

/* Magnitude Scale Visual */
.bms-visual-magnitude {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.magnitude-scale {
    display: flex;
    gap: 3px;
}

.magnitude-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #E91E63;
}

.magnitude-dot.filled {
    box-shadow: 0 0 6px rgba(233, 30, 99, 0.8);
}

.magnitude-dot.empty {
    background: rgba(233, 30, 99, 0.2);
}

/* Depth Layers Visual */
.bms-visual-depth {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.depth-layers {
    position: relative;
    width: 70px;
    height: 50px;
}

.depth-plane {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) perspective(100px) rotateX(45deg);
    border-radius: 4px;
    background: linear-gradient(180deg, #1E88E5, #1565C0);
}

.depth-plane:nth-child(1) { width: 60px; height: 30px; bottom: 0; opacity: 1; }
.depth-plane:nth-child(2) { width: 50px; height: 25px; bottom: 8px; opacity: 0.7; }
.depth-plane:nth-child(3) { width: 40px; height: 20px; bottom: 16px; opacity: 0.4; }

/* Aspect Visual - Badge with sub-label */
.bms-visual-aspect {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.visual-badge {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.visual-sub {
    font-size: 0.6rem;
    color: var(--text-light);
}

/* Color Visual - Large swatch with hex */
.bms-visual-color {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.visual-color-large {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 0 25px currentColor;
}

.visual-hex {
    font-family: 'SF Mono', 'Monaco', 'Consolas', monospace;
    font-size: 0.7rem;
    color: var(--text-secondary);
}

/* Brightness Visual - Glowing orb */
.bms-visual-brightness {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.brightness-glow {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    animation: brightness-pulse 2s ease-in-out infinite;
}

.brightness-glow.bright {
    background: radial-gradient(circle, #FFFFFF 0%, #FFEB3B 30%, #FFC107 60%, transparent 80%);
    box-shadow: 0 0 40px rgba(255, 235, 59, 0.9), 0 0 80px rgba(255, 193, 7, 0.5);
}

.brightness-glow.dim {
    background: radial-gradient(circle, #9E9E9E 0%, #616161 40%, #424242 70%, transparent 90%);
    box-shadow: 0 0 15px rgba(158, 158, 158, 0.4);
}

@keyframes brightness-pulse {
    0%, 100% { transform: scale(1); filter: brightness(1); }
    50% { transform: scale(1.05); filter: brightness(1.2); }
}

/* Visibility Visual - Layered transparency */
.bms-visual-visibility {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.visibility-layers {
    width: 60px;
    height: 60px;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
}

.visibility-layers.clear {
    background: linear-gradient(135deg,
        rgba(255, 255, 255, 0.9) 0%,
        rgba(100, 181, 246, 0.7) 50%,
        rgba(255, 255, 255, 0.9) 100%);
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.5);
}

.visibility-layers.foggy {
    background: linear-gradient(135deg,
        rgba(189, 189, 189, 0.9) 0%,
        rgba(158, 158, 158, 0.7) 50%,
        rgba(189, 189, 189, 0.9) 100%);
    filter: blur(1px);
}

/* Wobble Visual - Wave motion */
.bms-visual-wobble {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.wobble-wave {
    width: 80px;
    height: 40px;
    position: relative;
    overflow: hidden;
}

.wobble-wave::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 100%;
    background: repeating-linear-gradient(90deg,
        transparent 0%,
        rgba(33, 150, 243, 0.5) 25%,
        transparent 50%);
    animation: wobble-flow 2s ease-in-out infinite;
}

@keyframes wobble-flow {
    0%, 100% { transform: translateX(0) scaleY(1); }
    25% { transform: translateX(-10px) scaleY(1.2); }
    50% { transform: translateX(0) scaleY(0.8); }
    75% { transform: translateX(10px) scaleY(1.1); }
}

/* Vertical Bias Visual */
.bms-visual-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.vertical-indicator {
    width: 20px;
    height: 60px;
    background: linear-gradient(180deg, #4CAF50 0%, #FFEB3B 50%, #F44336 100%);
    border-radius: 10px;
    position: relative;
}

.vertical-indicator::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 6px;
    background: white;
    border-radius: 3px;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

.vertical-indicator.up::after { top: 10%; }
.vertical-indicator.neutral::after { top: 47%; }
.vertical-indicator.down::after { top: 84%; }

/* Solidity Visual */
.bms-visual-solidity {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.solidity-form {
    width: 50px;
    height: 50px;
    border-radius: 8px;
}

.solidity-form.solid {
    background: linear-gradient(135deg, #78909C 0%, #455A64 50%, #37474F 100%);
    box-shadow: 0 4px 15px rgba(69, 90, 100, 0.6),
                inset 0 2px 4px rgba(255, 255, 255, 0.2);
}

.solidity-form.liquid {
    background: linear-gradient(135deg, #42A5F5 0%, #1E88E5 50%, #1565C0 100%);
    border-radius: 50%;
    animation: liquid-morph 3s ease-in-out infinite;
}

@keyframes liquid-morph {
    0%, 100% { border-radius: 50%; }
    25% { border-radius: 40% 60% 60% 40%; }
    50% { border-radius: 60% 40% 40% 60%; }
    75% { border-radius: 45% 55% 55% 45%; }
}

.solidity-form.gas {
    background: radial-gradient(circle, rgba(156, 39, 176, 0.4) 0%, transparent 70%);
    animation: gas-expand 2s ease-in-out infinite;
}

@keyframes gas-expand {
    0%, 100% { transform: scale(1); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 0.4; }
}

/* Extent Visual - Size indicator */
.bms-visual-extent {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.extent-size {
    border-radius: 50%;
    background: linear-gradient(135deg, #7E57C2, #5E35B1);
    box-shadow: 0 0 20px rgba(126, 87, 194, 0.5);
    animation: extent-breathe 2s ease-in-out infinite;
}

.extent-size.small { width: 30px; height: 30px; }
.extent-size.medium { width: 45px; height: 45px; }
.extent-size.large { width: 65px; height: 65px; }

@keyframes extent-breathe {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.08); }
}

/* Interaction Depth Visual */
.bms-visual-interaction {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.interaction-ripple {
    width: 70px;
    height: 70px;
    position: relative;
}

.interaction-ripple::before,
.interaction-ripple::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid #26A69A;
    animation: ripple-expand 2s ease-out infinite;
}

.interaction-ripple::before {
    width: 20px;
    height: 20px;
    animation-delay: 0s;
}

.interaction-ripple::after {
    width: 20px;
    height: 20px;
    animation-delay: 0.5s;
}

.interaction-ripple.deep::before,
.interaction-ripple.deep::after {
    border-color: #00796B;
}

.interaction-ripple.moderate::before,
.interaction-ripple.moderate::after {
    border-color: #26A69A;
}

@keyframes ripple-expand {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
    100% { transform: translate(-50%, -50%) scale(3); opacity: 0; }
}

/* Responsiveness Visual */
.bms-visual-response {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.response-speed {
    width: 60px;
    height: 30px;
    position: relative;
    overflow: hidden;
}

.response-speed::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    background: #FF5722;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 0 10px rgba(255, 87, 34, 0.8);
}

.response-speed.quick::before {
    animation: response-dash 0.6s ease-in-out infinite;
}

.response-speed.slow::before {
    animation: response-dash 2s ease-in-out infinite;
}

@keyframes response-dash {
    0%, 100% { left: 0; }
    50% { left: calc(100% - 20px); }
}

/* Magnetic Pull Visual */
.bms-visual-magnetic {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.magnetic-field {
    width: 70px;
    height: 70px;
    position: relative;
}

.magnetic-field::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25px;
    height: 25px;
    background: radial-gradient(circle, #E91E63, #880E4F);
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(233, 30, 99, 0.7);
}

.magnetic-field::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 2px dashed rgba(233, 30, 99, 0.5);
    border-radius: 50%;
    animation: magnetic-orbit 3s linear infinite;
}

.magnetic-field.strong::after {
    animation-duration: 1.5s;
    border-color: rgba(233, 30, 99, 0.8);
}

.magnetic-field.mild::after {
    animation-duration: 4s;
    border-color: rgba(233, 30, 99, 0.4);
}

@keyframes magnetic-orbit {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Harmony Glow Visual - Override with coral/orange gradient */
.bms-visual-harmony .harmony-bar {
    background: linear-gradient(180deg, #FF6B6B, #FF8E53);
}

/* Rotation Spinner with speed variants */
.rotation-spinner.fast {
    animation-duration: 0.8s;
    border-top-color: #E91E63;
}

.rotation-spinner.slow {
    animation-duration: 4s;
    border-top-color: #9C27B0;
}

/* Cohesive Orb variants */
.cohesive-orb.tight {
    box-shadow: 0 0 20px rgba(233, 30, 99, 0.7);
}

.cohesive-orb.loose {
    box-shadow: 0 0 40px rgba(233, 30, 99, 0.3);
    animation: cohesive-scatter 2s ease-in-out infinite;
}

@keyframes cohesive-scatter {
    0%, 100% { transform: translateY(0) scale(1); }
    25% { transform: translateY(-3px) scale(1.02); }
    50% { transform: translateY(0) scale(0.98); }
    75% { transform: translateY(3px) scale(1.01); }
}

/* Aura Rings variants */
.aura-rings.wide .aura-ring {
    animation-duration: 3s;
}

.aura-rings.narrow .aura-ring {
    animation-duration: 1.5s;
}

/* BMS Responsive */
@media (max-width: 900px) {
    .bms-layout {
        flex-direction: column;
        align-items: stretch;
    }

    .bms-header {
        align-items: center;
        text-align: center;
    }

    .bms-title,
    .bms-subtitle {
        text-align: center;
    }

    .bms-content {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .bms-response-panel {
        height: 200px;
    }

    .bms-explanation-panel {
        min-height: 250px;
    }

    .bms-slide-content {
        flex-direction: column;
    }

    .bms-video-container {
        height: 200px;
    }
}

.cta-section {
    padding: 4rem 2rem;
    background: var(--primary-blue);
    text-align: center;
}

.cta-container {
    max-width: 800px;
    margin: 0 auto;
}

.cta-title {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: 600;
    color: white;
    margin-bottom: 1rem;
}

.cta-description {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
}

.cta-btn {
    background: white;
    color: var(--primary-blue);
    border: none;
    padding: 14px 32px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Page Hero Section (for subpages) */
.page-hero {
    padding: 4rem 2rem 2rem;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-coral) 100%);
    color: white;
    text-align: center;
}

.page-hero-container {
    max-width: 1200px;
    margin: 0 auto;
}

.page-hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.page-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    opacity: 0.95;
}

/* Content Sections */
.content-section {
    padding: 4rem 2rem;
}

.content-section.alt-bg {
    background: var(--background-light);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 100;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.section-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-text.large {
    font-size: 1.2rem;
    line-height: 1.9;
}

.section-text.emphasis {
    font-weight: 600;
    color: var(--primary-coral);
    font-size: 1.3rem;
}

.subsection-title {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
}

.feature-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--primary-coral);
    font-weight: bold;
}

.feature-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

/* Layer Grid for About Page */
.layer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.layer-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary-coral);
}

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

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

/* Architecture Section */
.architecture-section {
    margin-bottom: 3rem;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.calendar-item {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.calendar-item strong {
    font-size: 1.1rem;
    color: var(--text-primary);
}

.calendar-item span {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

/* Vision Quote */
.vision-quote {
    margin: 0;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.05) 0%, rgba(255, 107, 107, 0.02) 100%);
    border-left: 4px solid var(--primary-coral);
    border-radius: 0 12px 12px 0;
}

.vision-quote p {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-primary);
    margin-bottom: 1rem;
    font-style: italic;
}

.vision-quote p:last-of-type {
    margin-bottom: 1.5rem;
}

.vision-quote cite {
    display: block;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    color: var(--primary-coral);
}

/* Footer */
.footer {
    background: var(--text-primary);
    color: white;
    padding: 2rem;
    text-align: center;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s ease;
}

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

.footer-text {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Documentation Specific Styles */
.docs-nav-section {
    padding: 3rem 2rem;
    background: white;
}

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

.docs-nav-card {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: var(--border-radius);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.docs-nav-card:hover {
    border-color: var(--primary-coral);
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.docs-nav-card h3 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.docs-nav-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
}

.code-block {
    background: #1e1e1e;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
    overflow-x: auto;
}

.code-block pre {
    margin: 0;
    color: #d4d4d4;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.5;
}

.code-block code {
    color: #d4d4d4;
}

.architecture-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.doc-card {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border-top: 3px solid var(--primary-blue);
}

.doc-card h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.doc-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

.calendar-docs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.calendar-doc-card {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary-coral);
}

.calendar-doc-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.calendar-domain {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-blue);
    background: rgba(116, 199, 236, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    margin-bottom: 0.75rem;
}

.calendar-doc-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.endpoint-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 2rem;
}

.endpoint-card {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
    border-left: 4px solid var(--primary-blue);
}

.endpoint-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.http-method {
    background: var(--primary-coral);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
}

.endpoint-card code {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    color: var(--text-primary);
}

.endpoint-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.6;
}

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

.integration-card {
    padding: 1.5rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease;
}

.integration-card:hover {
    transform: translateY(-4px);
}

.integration-card h4 {
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.integration-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.use-case-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.use-case-card {
    padding: 2rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--primary-blue);
}

.use-case-card h4 {
    font-size: 1.2rem;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.use-case-card p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Services Page Specific Styles */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-tier-card {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border-top: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
    position: relative;
}

.service-tier-card.featured {
    border-top-color: var(--primary-coral);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    transform: scale(1.02);
}

.service-tier-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.tier-badge {
    display: inline-block;
    background: var(--primary-blue);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tier-badge.featured {
    background: var(--primary-coral);
}

.tier-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.tier-description {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-light);
}

.tier-features-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
}

.tier-features {
    list-style: none;
    padding-left: 0;
    margin-bottom: 1.5rem;
}

.tier-features li {
    padding: 0.6rem 0 0.6rem 1.75rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.tier-features li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--primary-coral);
    font-weight: bold;
    font-size: 1.1rem;
}

.tier-cta-btn {
    width: 100%;
    background: var(--primary-blue);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 1.5rem;
}

.tier-cta-btn.featured {
    background: var(--primary-coral);
}

.tier-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

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

.use-case-item {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 8px;
    border-left: 3px solid var(--primary-coral);
}

.use-case-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.use-case-item p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Application Scale Section */
.application-scale {
    margin-top: 2.5rem;
}

.scale-section {
    margin-bottom: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.scale-section:last-child {
    margin-bottom: 0;
}

.scale-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-coral);
    margin-bottom: 0.5rem;
}

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

.scale-section .use-cases-grid {
    margin-top: 0;
}

/* Service Categories Section */
.service-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-category-card {
    padding: 2.5rem;
    background: var(--background-light);
    border-radius: 16px;
    text-align: center;
    border: 1px solid var(--border-light);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.service-category-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
}

.category-icon {
    color: var(--primary-coral);
    margin-bottom: 1.5rem;
}

.service-category-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.service-category-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.service-label {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-coral);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

/* API Hierarchy Section */
.api-hierarchy {
    margin-top: 2.5rem;
}

.api-tier {
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
}

.api-tier-primary {
    background: linear-gradient(135deg, rgba(255, 122, 122, 0.1) 0%, rgba(255, 122, 122, 0.05) 100%);
    border: 2px solid var(--primary-coral);
}

.api-tier-secondary {
    background: var(--background-light);
    border: 1px solid var(--border-light);
}

.tier-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.tier-badge {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    background: var(--primary-coral);
    color: white;
}

.api-tier-secondary .tier-badge {
    background: var(--text-secondary);
}

.tier-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.api-tier p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.endpoint-preview {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 8px;
    border: 1px solid var(--border-light);
}

.endpoint-preview code {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.api-tier-connector {
    text-align: center;
    padding: 1.5rem 0;
    position: relative;
}

.api-tier-connector::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary-coral), var(--border-light));
    transform: translateX(-50%);
}

.api-tier-connector span {
    position: relative;
    background: white;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.api-tier-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
}

/* Output Categories Grid */
.output-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

.output-card {
    padding: 1.5rem;
    background: var(--background-light);
    border-radius: 12px;
    border-left: 3px solid var(--primary-coral);
}

.output-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.output-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

/* Source Cards */
.source-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.source-card {
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
}

.source-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    background: var(--primary-coral);
    color: white;
    margin-bottom: 1rem;
}

.source-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.source-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* Intelligence Sections */
.intelligence-header {
    margin-bottom: 2.5rem;
}

.intelligence-badge {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    margin-bottom: 1.25rem;
}

.intelligence-badge.macro {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: white;
}

.intelligence-badge.micro {
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: white;
}

.intelligence-badge.coordinate {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
}

.intelligence-badge.bms {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    color: white;
}

.intelligence-badge.platform {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    color: white;
}

.intelligence-badge.io {
    background: linear-gradient(135deg, #14b8a6, #06b6d4);
    color: white;
}

/* Output Grid Compact - for Vortex/SIPS outputs */
.output-heading {
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    margin-top: 0;
}

.output-grid-compact {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.output-item {
    padding: 1rem 1.25rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
    border-left: 3px solid var(--primary-coral);
}

.alt-bg .output-item {
    background: var(--background-light);
}

.output-name {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.output-desc {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.4;
}

/* Signal Outputs */
.signal-outputs {
    margin-top: 1.5rem;
}

.signal-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.signal-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    background: white;
    color: var(--text-primary);
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.alt-bg .signal-tag {
    background: var(--background-light);
}

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

.output-block {
    display: flex;
    gap: 1.25rem;
    padding: 1.75rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.alt-bg .output-block {
    background: var(--background-light);
}

.output-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border-radius: 10px;
    color: var(--primary-coral);
}

.alt-bg .output-icon {
    background: white;
}

.output-content h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.output-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

.elements-showcase {
    padding: 1.5rem 2rem;
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
}

.alt-bg .elements-showcase {
    background: var(--background-light);
}

.elements-showcase h4 {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.element-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.element-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 0.4rem 0.9rem;
    background: var(--background-light);
    color: var(--text-primary);
    border-radius: 20px;
    border: 1px solid var(--border-light);
}

.alt-bg .element-tag {
    background: white;
}

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

.spec-card {
    padding: 2rem;
    background: white;
    border-radius: 8px;
    box-shadow: var(--shadow-soft);
}

.spec-card h4 {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.spec-list {
    list-style: none;
    padding-left: 0;
}

.spec-list li {
    padding: 0.5rem 0 0.5rem 1.5rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.spec-list li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-blue);
    font-weight: bold;
    font-size: 1.2rem;
}

/* Lumina I/O Widget */
.lumina-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 300px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border: 1px solid var(--border-light);
}

.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-light);
    background: var(--background-light);
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.widget-title {
    font-weight: 600;
    font-size: 14px;
    color: var(--text-primary);
}

.widget-minimize {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 4px 8px;
    border-radius: 4px;
    transition: background 0.2s ease;
}

.widget-minimize:hover {
    background: var(--background-white);
}

.widget-body {
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-messages {
    max-height: 250px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-right: 4px;
}

.widget-messages::-webkit-scrollbar {
    width: 4px;
}

.widget-messages::-webkit-scrollbar-track {
    background: var(--background-light);
    border-radius: 2px;
}

.widget-messages::-webkit-scrollbar-thumb {
    background: var(--border-light);
    border-radius: 2px;
}

.widget-welcome {
    background: var(--background-light);
    padding: 12px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.5;
}

.widget-welcome p {
    margin: 0;
}

.widget-message {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    max-width: 90%;
    word-wrap: break-word;
}

.widget-message h4, .widget-message h5 {
    margin: 8px 0 4px 0;
    font-size: 13px;
}

.widget-message li {
    margin-left: 16px;
}

.widget-message-user {
    background: var(--primary-coral);
    color: white;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

.widget-message-ai {
    background: var(--background-light);
    color: var(--text-primary);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.widget-typing {
    display: flex;
    gap: 4px;
    padding: 12px;
    align-self: flex-start;
}

.widget-typing span {
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: widgetTyping 1.4s infinite ease-in-out;
}

.widget-typing span:nth-child(1) { animation-delay: 0s; }
.widget-typing span:nth-child(2) { animation-delay: 0.2s; }
.widget-typing span:nth-child(3) { animation-delay: 0.4s; }

@keyframes widgetTyping {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.4;
    }
    30% {
        transform: translateY(-4px);
        opacity: 1;
    }
}

.widget-input-container {
    display: flex;
    gap: 8px;
    align-items: center;
}

.widget-input {
    flex: 1;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 12px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.2s ease;
}

.widget-input:focus {
    border-color: var(--primary-coral);
}

.widget-send-btn {
    background: var(--primary-coral);
    color: white;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.widget-send-btn:hover {
    background: #ff6b6b;
}

/* About Page Specific Styles */
.about-hero {
    background: #FFFFFF;
    padding: 6rem 0;
}

.about-hero-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 4rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-hero-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.about-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    letter-spacing: -0.01em;
}

.about-hero-visual {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
}

.about-artwork {
    max-width: 600px;
    width: 100%;
    height: auto;
}

.about-hero-right {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-right: 2rem;
}

.about-hero-who-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 400;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    letter-spacing: -0.01em;
}

.about-hero-who-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 500px;
}

.about-section {
    padding: 5rem 0;
}

.about-section.alt-bg {
    background: var(--background-light);
}

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

.about-section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.about-section-text {
    font-size: 1.15rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* About Intro Grid */
.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-intro-visual {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
}

.about-artwork {
    width: 100%;
    height: auto;
    display: block;
}

.about-intro-content {
    padding: 1rem 0;
}

.about-intro-content .section-title {
    margin-bottom: 1.5rem;
}

.about-intro-content .section-text {
    margin-bottom: 1rem;
}

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

    .about-intro-visual {
        order: -1;
    }
}

/* Team Section */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 4rem;
    margin-top: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.team-member {
    text-align: center;
}

.team-photo-wrapper {
    width: 180px;
    height: 180px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-coral), var(--primary-blue));
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
}

.team-photo-wrapper img {
    border-radius: 50%;
}

.team-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    color: transparent;
    font-size: 0;
}

.team-name {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.team-role {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.team-designation {
    font-size: 0.9rem;
    color: var(--primary-coral);
    font-weight: 400;
    font-style: italic;
}

/* Calendars Section */
.calendars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.calendar-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
    text-align: center;
}

.calendar-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.calendar-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1.5rem;
    color: var(--primary-coral);
    display: flex;
    align-items: center;
    justify-content: center;
}

.calendar-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        gap: 1rem;
        padding: 2rem;
        border-bottom: 1px solid var(--border-light);
        box-shadow: var(--shadow-soft);
    }

    .nav-menu.active {
        display: flex;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .user-menu {
        order: -1;
    }

    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

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

    .hero-visual {
        height: 600px;
        order: -1;
    }

    .homepage-artwork {
        max-width: 100%;
        height: auto;
    }

    .lumina-widget {
        width: calc(100% - 2rem);
        margin: 0 1rem;
        right: 0;
        left: 0;
    }

    .team-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

    .about-artwork {
        max-width: 100%;
    }

    .about-hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0 2rem;
    }

    .about-hero-title {
        text-align: center;
    }

    .about-hero-left {
        align-items: center;
    }

    .about-hero-visual {
        justify-content: center;
    }

    .about-hero-right {
        padding-right: 0;
        text-align: center;
    }

    .about-hero-who-text {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 4rem);
    }

    .lumina-widget {
        bottom: 1rem;
        width: calc(100% - 1rem);
    }
}

/* Smooth transitions */
* {
    transition: all 0.2s ease;
}

/* Focus states */
button:focus-visible,
input:focus-visible {
    outline: 2px solid var(--primary-coral);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--light-coral);
    color: white;
}

/* Documentation Tables */
.table-responsive {
    overflow-x: auto;
    margin: 1.5rem 0;
}

.docs-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.docs-table th,
.docs-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
}

.docs-table th {
    background: var(--background-light);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.9rem;
}

.docs-table td {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.docs-table td code {
    background: var(--background-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--primary-coral);
}

.docs-table tbody tr:hover {
    background: var(--background-light);
}

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

/* HTTP Method Badges */
.http-method.post {
    background: #10b981;
}

.http-method.get {
    background: #3b82f6;
}

/* Documentation Card Lists */
.doc-card ul {
    list-style: none;
    padding: 0;
    margin: 0.5rem 0 0 0;
}

.doc-card ul li {
    padding: 0.25rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Ordered list styling for documentation */
ol.feature-list {
    padding-left: 1.5rem;
}

ol.feature-list li {
    margin-bottom: 0.75rem;
}

/* ========================================
   SERVICES PAGE - BMS SIGNAL STYLES
   ======================================== */

/* Signal Cards Grid */
.signals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.signal-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.signal-card:hover {
    border-color: var(--primary-coral);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.signal-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.signal-header h4 {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.signal-badge {
    background: var(--primary-coral);
    color: white;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.signal-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Signal Calculation Display */
.signal-calculation {
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 12px;
    text-align: center;
}

.calculation-formula {
    margin: 0;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-family: 'Space Grotesk', monospace;
}

.calculation-formula strong {
    color: var(--primary-coral);
    font-size: 1.4rem;
}

/* Architecture Grid */
.architecture-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.architecture-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: all 0.2s ease;
}

.architecture-card:hover {
    border-color: var(--primary-coral);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.arch-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--background-light);
    border-radius: 50%;
    color: var(--primary-coral);
}

.architecture-card h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
}

.architecture-card p {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.arch-endpoint {
    display: inline-block;
    background: var(--background-light);
    padding: 0.4rem 0.8rem;
    border-radius: 6px;
    font-family: 'Space Grotesk', monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Pipeline Steps */
.pipeline-steps {
    margin-top: 2rem;
}

.pipeline-step {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid var(--border-light);
}

.pipeline-step:last-child {
    border-bottom: none;
}

.step-number {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: var(--primary-coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 600;
}

.step-content h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

/* Endpoint Grid */
.endpoint-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.endpoint-card-large {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.endpoint-card-large:hover {
    border-color: var(--primary-coral);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.endpoint-card-large .endpoint-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.endpoint-card-large .endpoint-header code {
    font-family: 'Space Grotesk', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.endpoint-card-large p {
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.endpoint-params {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.endpoint-params span {
    background: var(--background-light);
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Space Grotesk', monospace;
    color: var(--text-secondary);
}

/* Platform Highlights Grid */
.platform-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.highlight-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.2s ease;
}

.highlight-card:hover {
    border-color: var(--primary-coral);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.highlight-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #fff5f3 0%, #ffeee9 100%);
    border-radius: 50%;
    color: var(--primary-coral);
}

.highlight-card h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.highlight-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Archetypes Grid */
.archetypes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-top: 2rem;
}

.archetype-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    padding: 1.5rem;
    transition: all 0.2s ease;
}

.archetype-item:hover {
    border-color: var(--primary-coral);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.archetype-item h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-coral);
}

.archetype-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Performance Metrics */
.performance-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 2rem;
    margin-top: 2.5rem;
    text-align: center;
}

.metric-item {
    padding: 1.5rem;
}

.metric-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-coral);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.metric-label {
    display: block;
    font-size: 0.95rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Temporal OS Platform Section */
.temporal-os-section {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, #f8fafc 0%, #fff 100%);
}

.temporal-os-container {
    max-width: 1200px;
    margin: 0 auto;
}

.temporal-os-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.temporal-os-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.temporal-os-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.temporal-os-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.temporal-os-card:hover {
    border-color: var(--primary-coral);
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(255, 122, 122, 0.15);
}

.temporal-os-card h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--primary-coral);
}

.temporal-os-card p {
    margin: 0;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.temporal-os-metrics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 2.5rem;
    max-width: 800px;
    margin: 0 auto;
}

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

.metric-value {
    display: block;
    font-size: 2.25rem;
    font-weight: 700;
    color: var(--primary-coral);
    line-height: 1.2;
}

.metric-label {
    display: block;
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-top: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Nine Calendar Systems Section */
.calendars-section {
    padding: 5rem 2rem;
    background: white;
}

.calendars-container {
    max-width: 1200px;
    margin: 0 auto;
}

.calendars-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.calendars-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.calendars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
}

.calendar-card {
    background: var(--background-light);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.calendar-card:hover {
    border-color: var(--primary-coral);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(255, 122, 122, 0.12);
}

.calendar-card .calendar-domain {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--primary-coral);
    background: rgba(255, 122, 122, 0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    margin-bottom: 0.75rem;
}

.calendar-card h4 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.calendar-card p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Homepage Features Section */
.features-section {
    padding: 4rem 2rem;
    background: var(--background-light);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2.5rem;
}

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

.feature-item {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 12px;
    padding: 1.75rem;
    transition: all 0.2s ease;
}

.feature-item:hover {
    border-color: var(--primary-coral);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.feature-item h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.feature-item p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .signals-grid {
        grid-template-columns: 1fr;
    }

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

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

    .pipeline-step {
        flex-direction: column;
        gap: 1rem;
    }

    .step-number {
        width: 40px;
        height: 40px;
        min-width: 40px;
        font-size: 1rem;
    }
}

/* ========================================
   CONTACT MODAL STYLES
   ======================================== */

.contact-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.contact-modal-overlay.active {
    display: flex;
    opacity: 1;
}

.contact-modal-content {
    background: white;
    border-radius: 16px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.contact-modal-overlay.active .contact-modal-content {
    transform: translateY(0);
}

.contact-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border-light);
}

.contact-modal-header h2 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
}

.contact-modal-close {
    width: 36px;
    height: 36px;
    border: none;
    background: var(--background-light);
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
}

.contact-modal-close:hover {
    background: var(--primary-coral);
    color: white;
}

.contact-modal-body {
    padding: 2rem;
}

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

.contact-form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}

.contact-form-group input,
.contact-form-group textarea,
.contact-form-group select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    transition: all 0.2s ease;
    background: white;
}

.contact-form-group input:focus,
.contact-form-group textarea:focus,
.contact-form-group select:focus {
    outline: none;
    border-color: var(--primary-coral);
    box-shadow: 0 0 0 3px rgba(255, 107, 107, 0.1);
}

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

.contact-form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-light);
}

.contact-btn-cancel {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-light);
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-btn-cancel:hover {
    background: var(--background-light);
}

.contact-btn-submit {
    padding: 0.75rem 1.5rem;
    background: var(--primary-coral);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
}

.contact-btn-submit:hover {
    background: #e55a5a;
}

.contact-btn-submit:disabled {
    background: #ccc;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .contact-modal-content {
        margin: 0.5rem;
        max-height: calc(100vh - 1rem);
    }

    .contact-modal-header {
        padding: 1rem 1.5rem;
    }

    .contact-modal-body {
        padding: 1.5rem;
    }

    .contact-form-actions {
        flex-direction: column;
    }

    .contact-form-actions button {
        width: 100%;
    }
}

/* ========================================
   FOUR PILLARS OF TEMPORAL INTELLIGENCE
   ======================================== */

/* Pillars Section Container */
.pillars-section .content-container {
    overflow: hidden;
}

/* Pillar Slider Navigation */
.pillar-slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.pillar-dot {
    padding: 0.6rem 1.2rem;
    background: transparent;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.pillar-dot:hover {
    background: var(--bg-subtle);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.pillar-dot.active {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

/* Pillar Slider Container */
.pillar-slider {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    width: 100%;
    max-height: 500px;
}

.pillar-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
    height: 500px;
}

.pillar-slide {
    min-width: 100%;
    width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    height: 100%;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--primary-blue) transparent;
}

.pillar-slide::-webkit-scrollbar {
    width: 6px;
}

.pillar-slide::-webkit-scrollbar-track {
    background: transparent;
}

.pillar-slide::-webkit-scrollbar-thumb {
    background: var(--primary-blue);
    border-radius: 3px;
}

.pillar-slide::-webkit-scrollbar-thumb:hover {
    background: var(--primary-coral);
}

/* Pillar Slider Arrow Controls */
.pillar-slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1.5rem;
}

.pillar-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid var(--border-light);
    background: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    box-shadow: var(--shadow-soft);
}

.pillar-arrow:hover:not(:disabled) {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
    color: white;
}

.pillar-arrow:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.pillar-arrow svg {
    width: 20px;
    height: 20px;
}

/* Pillar Section Base */
.pillar-section {
    margin-top: 0;
    padding: 2.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    border-left: 4px solid var(--primary-blue);
}

.pillar-slide .pillar-section {
    margin-top: 0;
    margin-bottom: 0;
    width: 100%;
    box-sizing: border-box;
}

.pillar-section.pillar-highlight {
    border-left-color: var(--primary-coral);
    background: linear-gradient(135deg, #fff 0%, #fff5f3 100%);
}

.pillar-subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-coral);
    margin-bottom: 1rem;
    margin-top: 0;
}

.pillar-detail-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: 2rem;
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

/* Data Sources */
.data-sources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.data-source-item {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.data-source-item h5 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

/* Coordinate Transformation Flow */
.coordinate-transformation {
    margin: 1.5rem 0;
}

.transformation-flow {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border-radius: 16px;
    margin: 1.5rem 0;
}

.transformation-step {
    background: rgba(255, 255, 255, 0.1);
    padding: 1.5rem 2rem;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    backdrop-filter: blur(10px);
}

.transformation-step strong {
    display: block;
    color: var(--primary-coral);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.transformation-step ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.transformation-step ul li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    padding: 0.3rem 0;
    padding-left: 1.25rem;
    position: relative;
}

.transformation-step ul li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-coral);
}

.transformation-arrow {
    color: var(--primary-coral);
    font-size: 1.5rem;
    font-weight: bold;
    padding: 0.5rem 0;
}

/* Dual Systems */
.dual-systems {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.system-item {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.system-item h6 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Framework Options */
.framework-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.framework-option {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.framework-option:hover {
    border-color: var(--primary-coral);
    box-shadow: 0 4px 12px rgba(255, 122, 122, 0.1);
}

.framework-option h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-coral);
    margin-bottom: 0.75rem;
}

.framework-option p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* Calendar List */
.calendar-list {
    list-style: decimal;
    padding-left: 1.5rem;
    margin: 1rem 0;
}

.calendar-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    padding: 0.25rem 0;
    line-height: 1.5;
}

/* Derived Analyses */
.derived-analyses {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.analysis-item {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.analysis-item h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

/* Math Transformations */
.math-transformations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.transformation-group {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.transformation-group h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

/* Metrics Grid */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 1.5rem 0;
}

.metrics-item {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.metrics-item h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
}

/* Compact Feature List */
.feature-list.compact li {
    padding: 0.35rem 0 0.35rem 1.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* API Levels */
.api-levels {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin: 1.5rem 0;
}

.api-level {
    background: var(--background-light);
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
}

.api-level > p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1.25rem;
}

.api-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.api-item {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    transition: all 0.2s ease;
}

.api-item:hover {
    border-color: var(--primary-coral);
    box-shadow: 0 4px 12px rgba(255, 122, 122, 0.1);
}

.api-item h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.api-item h6 code {
    background: var(--background-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--primary-coral);
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

.use-case {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
    padding-top: 0.5rem;
    border-top: 1px solid var(--border-light);
}

/* SDK Grid */
.sdk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.25rem;
    margin: 1.5rem 0;
}

.sdk-item {
    background: var(--background-light);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-light);
}

.sdk-item h6 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.sdk-item h6 code {
    background: white;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--primary-coral);
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

/* Progression List */
.progression-list {
    counter-reset: progression;
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.progression-list li {
    counter-increment: progression;
    position: relative;
    padding: 1rem 1rem 1rem 3.5rem;
    margin-bottom: 0.75rem;
    background: var(--background-light);
    border-radius: 10px;
    border: 1px solid var(--border-light);
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.progression-list li::before {
    content: counter(progression);
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 28px;
    height: 28px;
    background: var(--primary-coral);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Highlight Text */
.highlight-text {
    background: linear-gradient(135deg, rgba(255, 122, 122, 0.1) 0%, rgba(116, 199, 236, 0.1) 100%);
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--primary-coral);
    margin-top: 2rem;
}

/* Code styling in pillars */
.pillar-section code {
    background: var(--background-light);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
    color: var(--primary-coral);
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
}

/* Responsive adjustments for pillars */
@media (max-width: 768px) {
    .pillar-slider {
        max-height: 450px;
    }

    .pillar-slides {
        height: 450px;
    }

    .pillar-slider-nav {
        gap: 0.4rem;
    }

    .pillar-dot {
        padding: 0.5rem 0.8rem;
        font-size: 0.75rem;
    }

    .pillar-section {
        padding: 1.5rem;
        margin-top: 0;
    }

    .pillar-slider-controls {
        margin-top: 1rem;
    }

    .pillar-arrow {
        width: 38px;
        height: 38px;
    }

    .transformation-flow {
        padding: 1.5rem 1rem;
    }

    .transformation-step {
        padding: 1.25rem;
    }

    .data-sources,
    .dual-systems,
    .framework-options,
    .derived-analyses,
    .math-transformations,
    .metrics-grid,
    .api-items,
    .sdk-grid {
        grid-template-columns: 1fr;
    }

    .api-level {
        padding: 1.5rem;
    }

    .progression-list li {
        padding-left: 3rem;
    }
}

/* ==========================================
   FAQ SECTION STYLES - Accordion Style
   ========================================== */

.faq-section {
    background: var(--background-light);
    padding: 5rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 3rem auto 0;
}

.faq-item {
    background: white;
    border-radius: 12px;
    box-shadow: var(--shadow-soft);
    border: 1px solid var(--border-light);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.faq-item.active {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(116, 199, 236, 0.15);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-number {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-coral);
    min-width: 28px;
}

.faq-text {
    flex: 1;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
}

.faq-icon {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: transform 0.3s ease, color 0.3s ease;
}

.faq-icon svg {
    width: 100%;
    height: 100%;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem 4rem;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-soft);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.faq-cta p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.btn-secondary {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-2px);
}

/* FAQ Responsive */
@media (max-width: 768px) {
    .faq-section {
        padding: 3rem 0;
    }

    .faq-accordion {
        margin-top: 2rem;
    }

    .faq-question {
        padding: 1rem 1.25rem;
        gap: 0.75rem;
    }

    .faq-number {
        font-size: 0.85rem;
        min-width: 24px;
    }

    .faq-text {
        font-size: 0.95rem;
    }

    .faq-icon {
        width: 20px;
        height: 20px;
    }

    .faq-answer p {
        padding: 0 1.25rem 1.25rem 3rem;
        font-size: 0.9rem;
    }

    .faq-cta {
        padding: 1.5rem;
        margin-top: 2rem;
    }
}

/* ==========================================
   HOW IT WORKS - 3 STEPS SECTION
   ========================================== */

.how-it-works-simple {
    background: white;
    padding: 5rem 0;
}

.how-it-works-simple .section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.steps-horizontal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
}

.step {
    flex: 1;
    max-width: 300px;
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.step-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: var(--primary-blue);
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background: var(--primary-coral);
    color: white;
    border-radius: 50%;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

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

.step-arrow {
    width: 40px;
    height: 40px;
    color: var(--primary-coral);
    flex-shrink: 0;
}

.step-arrow svg {
    width: 100%;
    height: 100%;
}

.try-demo-cta {
    text-align: center;
    margin-top: 3rem;
}

.btn-primary-large {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--primary-coral) 0%, #ff6b6b 100%);
    color: white;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 122, 122, 0.3);
}

.btn-primary-large:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 122, 122, 0.4);
}

/* How It Works Responsive */
@media (max-width: 900px) {
    .steps-horizontal {
        flex-direction: column;
        gap: 1rem;
    }

    .step {
        max-width: 100%;
        width: 100%;
    }

    .step-arrow {
        transform: rotate(90deg);
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 768px) {
    .how-it-works-simple {
        padding: 3rem 0;
    }

    .how-it-works-simple .section-title {
        margin-bottom: 2rem;
    }

    .step {
        padding: 1.5rem 1.25rem;
    }

    .step-icon {
        width: 48px;
        height: 48px;
    }

    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }

    .step h3 {
        font-size: 1rem;
    }

    .step p {
        font-size: 0.9rem;
    }

    .try-demo-cta {
        margin-top: 2rem;
    }

    .btn-primary-large {
        padding: 0.875rem 2rem;
        font-size: 0.95rem;
    }
}

/* ==========================================
   BMS EXPLAINER SECTION
   ========================================== */

.bms-explainer {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-light);
}

.bms-explainer h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: center;
    margin-bottom: 0.75rem;
}

.bms-intro {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    text-align: center;
    max-width: 650px;
    margin: 0 auto 2rem;
}

.bms-value-props {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.value-prop {
    text-align: center;
    padding: 1rem;
    flex: 0 1 200px;
}

.value-prop-icon {
    width: 36px;
    height: 36px;
    margin: 0 auto 0.75rem;
    color: var(--primary-blue);
}

.value-prop-icon svg {
    width: 100%;
    height: 100%;
}

.value-prop h4 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.value-prop p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* BMS Explainer Responsive */
@media (max-width: 768px) {
    .bms-explainer {
        margin-top: 2rem;
        padding-top: 1.5rem;
    }

    .bms-explainer h3 {
        font-size: 1.1rem;
    }

    .bms-intro {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .bms-value-props {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .value-prop {
        flex: none;
        width: 100%;
        max-width: 280px;
        padding: 0.75rem;
    }

    .value-prop-icon {
        width: 32px;
        height: 32px;
    }

    .value-prop h4 {
        font-size: 0.9rem;
    }

    .value-prop p {
        font-size: 0.8rem;
    }
}

/* ==========================================
   QUICK COMPARISON SECTION
   ========================================== */

.quick-comparison {
    background: white;
    padding: 5rem 0;
}

.comparison-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.comparison-heading {
    flex: 0 0 300px;
    text-align: left;
}

.comparison-heading h2 {
    font-size: clamp(1rem, 4vw, 2rem);
    font-weight: 100;
    color: var(--text-primary);
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.comparison-heading p {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.comparison-content {
    flex: 1;
}

.comparison-grid {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 2rem;
}

.comparison-item {
    flex: 1;
    max-width: 320px;
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-soft);
    text-align: center;
}

.comparison-item.highlight {
    border-color: var(--primary-blue);
    box-shadow: 0 8px 24px rgba(116, 199, 236, 0.15);
}

.comparison-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
}

.comparison-icon.negative {
    color: #e74c3c;
}

.comparison-icon.positive {
    color: #27ae60;
}

.comparison-icon svg {
    width: 100%;
    height: 100%;
}

.comparison-item h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.comparison-item ul {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.comparison-item ul li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    padding: 0.5rem 0;
    border-bottom: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.comparison-item ul li:last-child {
    border-bottom: none;
}

.comparison-item ul li::before {
    content: "•";
    color: var(--text-muted);
}

.comparison-item.highlight ul li::before {
    content: "✓";
    color: var(--primary-blue);
    font-weight: 600;
}

.vs-divider {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-muted);
    padding: 1rem;
    flex-shrink: 0;
}

/* Quick Comparison Responsive */
@media (max-width: 992px) {
    .comparison-layout {
        flex-direction: column;
        gap: 2rem;
    }

    .comparison-heading {
        flex: none;
        text-align: center;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .quick-comparison {
        padding: 3rem 0;
    }

    .comparison-grid {
        flex-direction: column;
        gap: 1rem;
    }

    .comparison-item {
        max-width: 100%;
        width: 100%;
        padding: 1.5rem;
    }

    .vs-divider {
        padding: 0.5rem;
        font-size: 1rem;
    }

    .comparison-icon {
        width: 40px;
        height: 40px;
    }

    .comparison-item h4 {
        font-size: 1rem;
    }

    .comparison-item ul li {
        font-size: 0.85rem;
    }
}