/* Hide scrollbars like mobile */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Hide scrollbar for Firefox */
    scrollbar-width: none;
    /* Hide scrollbar for IE and Edge Legacy */
    -ms-overflow-style: none;
}

/* Hide scrollbars for webkit browsers (Chrome, Safari, Edge) */
*::-webkit-scrollbar {
    display: none;
}

:root {
    --primary: #3b82f6;
    --primary-dark: #2563eb;
    --secondary: #8b5cf6;
    --success: #10b981;
    --danger: #ef4444;
    --dark: #1e293b;
    --gray: #64748b;
    --light-gray: #f1f5f9;
    --white: #ffffff;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background: var(--white);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark);
    cursor: pointer;
}

.logo-accent {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--gray);
    font-weight: 500;
    transition: color 0.3s;
}

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

.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

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

.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* Main Tabs */
.main-tabs {
    position: fixed;
    top: 73px;
    width: 100%;
    background: var(--white);
    border-bottom: 2px solid var(--light-gray);
    z-index: 999;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 2rem;
    overflow-x: auto;
}

.main-tab {
    padding: 1.25rem 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-size: 1rem;
    white-space: nowrap;
}

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

.main-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.tab-content {
    display: none;
    padding-top: 145px;
    min-height: 100vh;
}

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

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dark);
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 3rem;
}

/* What is FCM Styles */
.fcm-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 3rem;
    align-items: start;
}

.fcm-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.fcm-content p {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.fcm-benefits {
    list-style: none;
    margin-top: 2rem;
}

.fcm-benefits li {
    padding: 1rem;
    background: var(--light-gray);
    border-radius: 8px;
    margin-bottom: 1rem;
    display: flex;
    align-items: start;
    gap: 1rem;
}

.fcm-benefits li::before {
    content: '\2713';
    color: var(--success);
    font-weight: bold;
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Network Visualization */
.network-container {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8eef5 100%);
    border-radius: 16px;
    padding: 2rem;
    min-height: 500px;
    position: relative;
}

.network-canvas {
    width: 100%;
    height: 500px;
    position: relative;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

svg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.network-node {
    position: absolute;
    width: 100px;
    height: 100px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
     font-size: 0.8rem;
    text-align: center;
    padding: 0.5rem;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.3);
    transition: all 0.3s;
     z-index: 10;
     cursor: pointer;
}

.network-node:hover {
    transform: scale(1.15);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.6);
    z-index: 20;
}

.legend {
    margin-top: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    display: flex;
    gap: 2rem;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.legend-line {
    width: 40px;
    height: 4px;
    border-radius: 2px;
}

.legend-line.positive {
    background: var(--primary);
}

.legend-line.negative {
    background: var(--danger);
}

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

.feature-card {
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.feature-card p {
    color: var(--gray);
}

/* Use Cases */
.use-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.use-case-card {
    padding: 2.5rem;
    background: linear-gradient(135deg, var(--light-gray) 0%, white 100%);
    border-radius: 16px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
}

.use-case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-left-width: 6px;
}

.use-case-card::after {
    content: '\1F449 Click to see example';
    position: absolute;
    bottom: 1rem;
    right: 1.5rem;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s;
}

.use-case-card:hover::after {
    opacity: 1;
}

/* Use Case Demo Modal */
.use-case-demo-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    padding: 2rem;
    overflow-y: auto;
}

.use-case-demo-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-content {
    background: white;
    border-radius: 20px;
    max-width: 1400px;
    width: 100%;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    animation: slideIn 0.3s ease-out;
}

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

.demo-header {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2.5rem;
    border-radius: 20px 20px 0 0;
    position: relative;
}

.demo-close-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
}

.demo-close-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: rotate(90deg);
}

.demo-body {
    padding: 2.5rem;
}

.demo-section {
    margin-bottom: 3rem;
}

.demo-section h3 {
    color: var(--dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

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

.comparison-card {
    background: var(--light-gray);
    border-radius: 12px;
    padding: 1.5rem;
    border: 2px solid transparent;
    transition: all 0.3s;
}

.comparison-card:hover {
    border-color: var(--primary);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.comparison-card h4 {
    color: var(--dark);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.network-preview {
    width: 100%;
    height: 300px;
    background: white;
    border-radius: 8px;
    margin-bottom: 1rem;
    border: 1px solid #e2e8f0;
}

.insight-list {
    list-style: none;
    padding: 0;
}

.insight-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #e2e8f0;
    display: flex;
    align-items: start;
    gap: 0.5rem;
}

.insight-list li:last-child {
    border-bottom: none;
}

.insight-icon {
    flex-shrink: 0;
    margin-top: 0.15rem;
}

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

.stat-box {
    background: white;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--primary);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--gray);
    display: block;
    margin-top: 0.25rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-top: 2rem;
}

.cta-box h3 {
    color: white;
    margin-bottom: 1rem;
}

.cta-box .btn {
    background: white;
    color: var(--primary);
    font-weight: 600;
}

.cta-box .btn:hover {
    transform: scale(1.05);
}

.use-case-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.use-case-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.use-case-card p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.use-case-example {
    font-style: italic;
    color: var(--primary);
    font-size: 0.95rem;
}

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

.pricing-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    position: relative;
    border: 2px solid var(--light-gray);
}

.pricing-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.pricing-card.featured {
    border: 3px solid var(--primary);
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: var(--white);
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.875rem;
}

.pricing-card h3 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.pricing-card .price {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary);
    margin: 1rem 0;
}

.pricing-card .price span {
    font-size: 1.25rem;
    color: var(--gray);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin: 2rem 0;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--light-gray);
    color: var(--gray);
}

.pricing-features li::before {
    content: '\2713';
    color: var(--success);
    font-weight: bold;
    margin-right: 0.5rem;
}

.pricing-features li.unavailable {
    opacity: 0.5;
}

.pricing-features li.unavailable::before {
    content: '\2013';
    color: var(--gray);
}

/* Pricing Sub-Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
    flex-wrap: wrap;
}

.pricing-tab {
    background: white;
    border: 2px solid var(--light-gray);
    padding: 0.875rem 1.75rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--gray);
}

.pricing-tab:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.pricing-tab.active {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.pricing-tab-content {
    margin-top: 2rem;
    display: none;
}

.pricing-tab-content.active {
    display: block;
}

/* Demo specific */
.demo-tabs {
    display: flex;
    gap: 1rem;
    margin: 2rem 0;
    border-bottom: 2px solid var(--light-gray);
}

.demo-tab {
    padding: 1rem 2rem;
    border: none;
    background: transparent;
    cursor: pointer;
    font-weight: 600;
    color: var(--gray);
    transition: all 0.3s;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
}

.demo-tab.active {
    color: var(--primary);
    border-bottom-color: var(--primary);
}

.demo-content-inner {
    display: none;
    padding: 2rem 0;
}

.demo-content-inner.active {
    display: block;
}

.model-info {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
}

.concept-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.concept-tag {
    padding: 0.75rem 1rem;
    background: var(--primary);
    color: white;
    border-radius: 8px;
    text-align: center;
    font-weight: 500;
    transition: all 0.3s;
}

.concept-tag:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

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

.footer p {
    opacity: 0.8;
}

/* Workflow Section Styles */
.workflow-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.workflow-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.workflow-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.workflow-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.workflow-icon {
    font-size: 3rem;
    margin: 1rem 0;
}

.workflow-card h3 {
    font-size: 1.25rem;
    color: var(--dark);
    margin-bottom: 0.75rem;
}

.workflow-card p {
    color: var(--gray);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.workflow-link {
    display: inline-block;
    color: var(--primary);
    font-weight: 600;
    text-decoration: none;
    transition: color 0.3s;
}

.workflow-link:hover {
    color: var(--primary-dark);
}

/* Hamburger Menu Styles */
.hamburger-menu {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.hamburger-menu span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 3px;
    transition: all 0.3s;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Responsive */
@media (max-width: 968px) {
    .fcm-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .main-tabs {
        justify-content: flex-start;
    }

    .main-tab {
        padding: 1rem 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }
}

/* ===================================
   MOBILE RESPONSIVENESS
   =================================== */

/* Tablets and smaller (768px) */
@media (max-width: 768px) {
    /* Typography */
    .section-title {
        font-size: 2rem !important;
    }

    .section-subtitle {
        font-size: 1rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }

    h3 {
        font-size: 1.25rem !important;
    }

    /* Layout spacing */
    .content-section {
        padding: 2rem 1rem !important;
    }

    .tab-content {
        padding-top: 120px !important;
    }

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

    .nav-links {
        gap: 0.75rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .btn {
        padding: 0.65rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Main tabs */
    .main-tabs {
        padding: 0 1rem;
        gap: 0.25rem;
    }

    .main-tab {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
    }

    /* Grids to 2 columns */
    .features-grid,
    .use-cases-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    .pricing-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem;
    }

    /* Workflow grid to 2 columns (third card spans both) */
    .workflow-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .workflow-card:last-child {
        grid-column: 1 / -1;
        max-width: 400px;
        margin: 0 auto;
    }

    /* Cards */
    .feature-card,
    .use-case-card,
    .pricing-card {
        padding: 1.5rem;
    }

    .pricing-card.featured {
        transform: none;
    }

    /* Network visualization */
    .network-canvas {
        height: 400px !important;
    }
}

/* Mobile phones (480px) */
@media (max-width: 480px) {
    /* Typography - smaller */
    .section-title {
        font-size: 1.75rem !important;
        line-height: 1.3;
    }

    .section-subtitle {
        font-size: 0.95rem !important;
    }

    /* Hero waitlist section */
    #tab-waitlist .section-title {
        font-size: 2rem !important;
    }

    /* Spacing */
    .content-section {
        padding: 1.5rem 1rem !important;
    }

    .complete-solution-section {
        padding: 2.5rem 1rem !important;
    }

    /* Navigation - hamburger menu needed */
    .nav-links {
        display: none;
    }

    .logo {
        font-size: 1.25rem;
    }

    /* Main tabs - reduce further */
    .main-tabs {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0.5rem;
    }

    .main-tabs::-webkit-scrollbar {
        display: none;
    }

    .main-tab {
        padding: 0.85rem 1rem;
        font-size: 0.85rem;
        white-space: nowrap;
    }

    /* All grids to single column */
    .features-grid,
    .use-cases-grid,
    .pricing-grid,
    .workflow-grid,
    .fcm-grid,
    .comparison-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    /* Center the FCM example network on mobile */
    .fcm-grid .network-container {
        margin: 0 auto;
        min-height: 420px;
    }

    .fcm-grid .network-canvas {
        height: 380px !important;
    }

    .workflow-card:last-child {
        grid-column: auto;
        max-width: none;
    }

    /* Cards */
    .feature-card,
    .use-case-card,
    .pricing-card,
    .workflow-card {
        padding: 1.25rem;
    }

    /* Forms */
    input[type="email"],
    input[type="text"],
    textarea,
    select {
        font-size: 16px !important;
        min-height: 44px;
    }

    button,
    .btn {
        min-height: 44px;
        font-size: 1rem !important;
    }

    /* Pricing billing toggle */
    .billing-toggle-container {
        font-size: 0.9rem;
    }

    /* Network visualization */
    .network-canvas {
        height: 300px !important;
    }

    /* Demo tabs */
    .demo-tabs {
        flex-direction: column;
        gap: 0.5rem;
    }

    .demo-tab {
        width: 100%;
        text-align: center;
    }

    /* Pricing tabs */
    .pricing-tabs {
        flex-wrap: wrap;
        gap: 0.5rem;
    }

    .pricing-tab {
        flex: 1 1 45%;
        min-width: 140px;
    }

    /* Hamburger menu display */
    .hamburger-menu {
        display: flex;
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        gap: 1rem;
        z-index: 999;
    }

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

    .nav-links a,
    .nav-links .btn {
        width: 100%;
        text-align: center;
    }
}

/* Small phones (360px) */
@media (max-width: 360px) {
    .section-title {
        font-size: 1.5rem !important;
    }

    .logo {
        font-size: 1.1rem;
    }

    .main-tab {
        padding: 0.75rem 0.85rem;
        font-size: 0.8rem;
    }

    .workflow-icon {
        font-size: 2.5rem;
    }

    .feature-icon {
        font-size: 2.5rem;
    }
}

/* Landscape phones */
@media (max-width: 768px) and (orientation: landscape) {
    .tab-content {
        padding-top: 100px !important;
    }

    .network-canvas {
        height: 250px !important;
    }
}

/* =========================================================================
   Utility Classes (added for CSP compliance - no inline styles)
   ========================================================================= */

.hidden {
    display: none !important;
}

body.modal-open {
    overflow: hidden;
}

/* Billing toggle label states */
.billing-label-active {
    font-weight: bold;
    color: var(--primary);
}

.billing-label-inactive {
    font-weight: normal;
    color: var(--gray);
}

/* Contact form message states */
.contact-msg {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    margin-top: 1rem;
    font-size: 0.95rem;
}

.contact-msg.hidden {
    display: none !important;
}

.contact-msg-success {
    background: #d4edda;
    color: #155724;
}

.contact-msg-error {
    background: #f8d7da;
    color: #721c24;
}

/* Demo use-case modal template styles */
.demo-heading-icon {
    font-size: 1.5rem;
}

.demo-challenge-text {
    font-size: 1.1rem;
    color: var(--gray);
    line-height: 1.8;
}

.stat-box-secondary {
    border-color: var(--secondary);
}

.stat-box-success {
    border-color: var(--success);
}

.cta-description {
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* ===================================
   CSP-COMPLIANT SEMANTIC CLASSES
   Replacing ALL inline style="" attributes
   =================================== */

/* Hero Section (Waitlist Tab) */
.hero-section {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    padding: 4rem 2rem;
}

.hero-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--gray);
}

.mental-model-link {
    color: var(--primary);
    text-decoration: underline;
    cursor: pointer;
}

/* Problem-Agitate-Solution Card */
.problem-card {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    padding: 2.5rem;
    border-radius: 16px;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    border: 1px solid #bae6fd;
}

.problem-card-title {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.problem-card-body {
    text-align: left;
    color: #0c4a6e;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.problem-card-body p {
    margin-bottom: 1rem;
}

.problem-card-body p:last-child {
    margin: 0;
}

.solution-highlight {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.solution-highlight p {
    margin: 0;
    color: white;
    font-weight: 600;
    font-size: 1.15rem;
    text-align: center;
}

/* Waitlist Form Area */
.waitlist-form-container {
    background: var(--light-gray);
    padding: 2.5rem;
    border-radius: 16px;
    max-width: 600px;
    margin: 0 auto 3rem;
}

.waitlist-form-title {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.waitlist-form-desc {
    font-size: 0.95rem;
    color: var(--gray);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

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

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

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--dark);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
}

.form-textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #cbd5e1;
    border-radius: 8px;
    font-size: 1rem;
    resize: vertical;
}

.form-submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 1rem;
}

/* Waitlist Success */
.waitlist-success {
    text-align: center;
    padding: 2rem;
}

.waitlist-success-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.waitlist-success h3 {
    color: var(--success);
    margin-bottom: 0.5rem;
}

.waitlist-position-text {
    margin-top: 1rem;
    font-weight: 600;
    color: var(--dark);
}

/* Waitlist Error */
.waitlist-error {
    padding: 1rem;
    background: #fee;
    border-radius: 8px;
    color: var(--danger);
    text-align: center;
}

/* Choose Your Path Section */
.path-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.path-section-title {
    text-align: center;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: var(--dark);
}

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

.path-card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.path-card-featured {
    border: 2px solid var(--primary);
}

.path-card-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.path-card h4 {
    margin-bottom: 0.75rem;
    color: var(--dark);
}

.path-card p {
    color: var(--gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

/* Beta Benefits Banner */
.beta-banner {
    text-align: center;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.beta-banner p {
    margin: 0;
    color: var(--gray);
}

/* Quick FAQ Preview */
.faq-preview-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.faq-preview-container {
    max-width: 700px;
    margin: 0 auto;
}

.faq-preview-card {
    background: white;
    padding: 1.25rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 0.75rem;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.faq-preview-card:last-child {
    margin-bottom: 1rem;
}

.faq-preview-card h4 {
    color: var(--primary);
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.faq-preview-card p {
    color: var(--gray);
    line-height: 1.6;
    margin: 0;
    font-size: 0.95rem;
}

.faq-view-all {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

/* Complete FCM Solution Section */
.complete-solution-section {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    padding: 4rem 2rem;
    margin-bottom: 3rem;
}

.solution-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.solution-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.solution-subtitle {
    text-align: center;
    color: var(--gray);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.solution-cta-banner {
    text-align: center;
    margin-top: 2.5rem;
    padding: 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    border: 2px solid var(--primary);
}

.solution-cta-primary {
    margin: 0;
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.solution-cta-secondary {
    margin: 0.5rem 0 0 0;
    color: var(--gray);
}

/* Demo Network Section */
.network-container-tall {
    min-height: 600px;
}

.network-canvas-tall {
    height: 600px;
}

.network-title {
    text-align: center;
    margin-bottom: 1rem;
    color: var(--dark);
}

.network-title-lg {
    text-align: center;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

/* Demo description text */
.demo-desc {
    margin: 1rem 0;
    color: var(--gray);
}

/* Info box (reusable light-gray background) */
.info-box {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Demo Insight Cards */
.insight-cards-container {
    margin: 2rem 0;
}

.insight-card {
    padding: 1.5rem;
    color: white;
    border-radius: 12px;
    margin-bottom: 1.5rem;
}

.insight-card:last-child {
    margin-bottom: 0;
}

.insight-card-drivers {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
}

.insight-card-loops {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
}

.insight-card-intervention {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.insight-card-risk {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.insight-card h4 {
    color: white;
    margin-bottom: 0.5rem;
}

.insight-card p {
    margin: 0;
}

/* Impact Scenario Box */
.impact-scenario {
    padding: 2rem;
    border: 3px solid var(--primary);
    border-radius: 12px;
    background: white;
    margin-top: 2rem;
}

.impact-scenario h4 {
    color: var(--primary);
}

.impact-scenario p {
    margin-top: 1rem;
    color: var(--gray);
}

/* Features Stage Headers */
.stage-header {
    margin-top: 3rem;
}

.stage-header-lg {
    margin-top: 4rem;
}

.stage-title {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-align: center;
}

.stage-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 2rem;
}

.stage-subtitle-sm {
    text-align: center;
    color: var(--gray);
    margin-bottom: 1.5rem;
}

/* Key Insight Callout */
.insight-callout {
    max-width: 800px;
    margin: 0 auto 2.5rem;
    padding: 1.75rem 2rem;
    background: linear-gradient(135deg, #eff6ff 0%, #dbeafe 100%);
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    box-shadow: 0 2px 8px rgba(59, 130, 246, 0.1);
}

.insight-callout-quote {
    margin: 0;
    font-size: 1.15rem;
    font-style: italic;
    color: var(--dark);
    font-weight: 500;
    line-height: 1.6;
    text-align: center;
}

.insight-callout-desc {
    margin: 1rem 0 0 0;
    font-size: 0.95rem;
    color: var(--gray);
    text-align: center;
    line-height: 1.6;
}

/* FAQ Item Styling */
.faq-item {
    background: white;
    padding: 1.5rem 2rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-item h3 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.faq-item p {
    color: var(--gray);
    line-height: 1.7;
    margin: 0;
}

.faq-container {
    max-width: 900px;
    margin: 3rem auto;
}

/* FAQ CTA */
.faq-cta {
    text-align: center;
    margin-top: 3rem;
    padding: 2rem;
    background: var(--light-gray);
    border-radius: 16px;
}

.faq-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.faq-cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

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

.faq-email-link:hover {
    text-decoration: underline;
}

/* Pricing Description */
.pricing-desc {
    text-align: center;
    color: var(--gray);
    max-width: 800px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Billing Toggle */
.billing-toggle-container {
    text-align: center;
    margin: 2rem 0;
}

.billing-switch {
    position: relative;
    display: inline-block;
    width: 60px;
    height: 30px;
    margin: 0 1rem;
    vertical-align: middle;
}

.billing-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.billing-slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #cbd5e1;
    transition: 0.3s ease;
    border-radius: 30px;
}

.billing-slider:before {
    position: absolute;
    content: "";
    height: 22px;
    width: 22px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    transition: 0.3s ease;
    border-radius: 50%;
}

.billing-switch input:checked + .billing-slider {
    background-color: var(--primary);
}

.billing-switch input:checked + .billing-slider:before {
    transform: translateX(30px);
}

.billing-option {
    vertical-align: middle;
}

.annual-save {
    color: var(--success);
    font-weight: bold;
}

/* Price display spans (toggled by JS) */
.monthly-price,
.annual-price {
    display: inline;
}

/* Pricing card description */
.pricing-card-desc {
    color: var(--gray);
    margin-bottom: 1rem;
}

.pricing-card-desc-bold {
    color: var(--gray);
    margin-bottom: 1rem;
    font-weight: 600;
}

/* Savings Badge (additional selector for non-hidden state) */
.savings-badge {
    color: var(--success);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Pricing Badge Success */
.pricing-badge-success {
    background: var(--success);
}

/* Pricing Note */
.pricing-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--light-gray);
    border-radius: 12px;
}

.pricing-note p {
    color: var(--gray);
    margin: 0;
}

/* Pricing sub-tab description */
.pricing-subtab-title {
    text-align: center;
    margin-bottom: 1rem;
}

.pricing-subtab-desc {
    text-align: center;
    color: var(--gray);
    max-width: 700px;
    margin: 0 auto 3rem;
}

/* Workshop price range span */
.price-range-sep {
    font-size: 1rem;
}

/* Bundle savings/regular price box */
.bundle-regular-price {
    text-align: center;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--light-gray);
    border-radius: 8px;
    font-size: 0.9rem;
}

/* Pricing card small text */
.pricing-card-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--gray);
    margin-top: 0.5rem;
}

/* Feature Comparison Table */
.comparison-section {
    margin-top: 4rem;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.comparison-table thead tr {
    background: var(--primary);
    color: white;
}

.comparison-table th {
    padding: 1rem;
    text-align: left;
}

.comparison-table th:not(:first-child) {
    text-align: center;
}

.comparison-table td {
    padding: 1rem;
}

.comparison-table td:not(:first-child) {
    text-align: center;
}

.comparison-table td:first-child {
    font-weight: 600;
}

.comparison-table tr {
    border-bottom: 1px solid var(--light-gray);
}

.comparison-table tr:nth-child(even) {
    background: var(--light-gray);
}

/* Pricing FAQ */
.pricing-faq {
    margin-top: 4rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-faq .faq-item {
    margin-bottom: 2rem;
    box-shadow: none;
    padding: 0;
    background: none;
    border-radius: 0;
}

.pricing-faq .faq-item h3 {
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.pricing-faq .faq-item p {
    color: var(--gray);
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 2rem;
}

.contact-container {
    max-width: 600px;
    margin: 0 auto;
}

.contact-title {
    color: white;
    text-align: center;
    font-size: 36px;
    margin-bottom: 1rem;
}

.contact-subtitle {
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    margin-bottom: 2rem;
}

.contact-form {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.contact-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #1e293b;
}

.contact-input {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
}

.contact-textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
}

.contact-submit-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
}

/* Footer links */
.footer-email {
    color: white;
}

.footer-links {
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-link {
    color: white;
    text-decoration: none;
    margin: 0 0.75rem;
}

/* Demo Modal Title/Subtitle */
.demo-modal-title {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.demo-modal-subtitle {
    opacity: 0.9;
    font-size: 1.1rem;
}

/* Insights description text */
.insights-desc {
    color: var(--gray);
    margin-bottom: 1.5rem;
    font-style: italic;
}

/* Relationship example box */
.relationship-example {
    background: var(--light-gray);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 2rem;
}

/* Button margin-top helper */
.btn-mt-2 {
    margin-top: 2rem;
}

/* Full-width button */
.btn-full {
    width: 100%;
}

/* Inline-block full-width link button */
.btn-link-full {
    width: 100%;
    display: inline-block;
    text-decoration: none;
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
}

/* Scroll to waitlist button in path card */
.btn-scroll-waitlist {
    width: 100%;
}

/* Detail description text */
.detail {
    font-size: 0.95rem;
    color: var(--gray);
    margin-top: 0.5rem;
    line-height: 1.6;
}

/* Overflow wrapper for table */
.table-wrapper {
    overflow-x: auto;
}

/* Utility Classes */
.text-left {
    text-align: left;
}

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

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

.text-danger {
    color: #ef4444;
}

.text-line-through {
    text-decoration: line-through;
}

.mt-1 {
    margin-top: 1rem;
}
