/* =================================
   CSS RESET & ROOT VARIABLES
   ================================= */

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

/* =================================
   THEME VARIABLES
   ================================= */

/* Dark Theme (Default) */
:root {
    --primary: #0090e0;
    --primary-light: #00d4ff;
    --primary-dark: #0a3088;
    --secondary: #00bcd4;
    --accent: #ff0088;
    --bg-dark: #0a0e1a;
    --bg-darker: #060912;
    --bg-card: #111827;
    --bg-card-hover: rgba(255, 255, 255, 0.05);
    --text: #ffffff;
    --text-muted: #94a3b8;
    --success: #00cc6a;
    --warning: #ffaa00;
    --danger: #ff4444;
    --border-color: rgba(255, 255, 255, 0.05);
    --border-color-hover: rgba(255, 255, 255, 0.1);
    --shadow-color: rgba(0, 0, 0, 0.4);
    --gradient-bg-opacity: 0.08;
    --noise-opacity: 0.03;
}

/* Light Theme */
[data-theme="light"] {
    --primary: #0077c0;
    --primary-light: #00b8e6;
    --primary-dark: #083080;
    --secondary: #009db3;
    --accent: #cc0066;
    --bg-dark: #F9FAFB;
    --bg-darker: #F3F4F6;
    --bg-card: #ffffff;
    --bg-card-hover: rgba(0, 0, 0, 0.02);
    --text: #111827;
    --text-muted: #6B7280;
    --success: #00a855;
    --warning: #d97706;
    --danger: #dc2626;
    --border-color: rgba(0, 0, 0, 0.08);
    --border-color-hover: rgba(0, 0, 0, 0.15);
    --shadow-color: rgba(0, 0, 0, 0.1);
    --gradient-bg-opacity: 0.04;
    --noise-opacity: 0.015;
}

/* Smooth theme transitions */
body,
body::before,
.container,
nav,
.logo,
.nav-links a,
.cta-button,
.secondary-button,
.waitlist-button,
.hero h1,
.hero p,
.stats,
.stat-value,
.stat-label,
.section-tag,
.section-title,
.section-description,
.feature-card,
.feature-title,
.feature-description,
.strategy-card,
.strategy-tag,
.strategy-name,
.strategy-desc,
.pricing-card,
.pricing-name,
.pricing-price,
.pricing-description,
.pricing-features,
.demo-container,
.demo-content,
.code-block,
.cta-section,
footer,
.footer-brand,
.footer-description,
.footer-links a,
.footer-bottom,
.waitlist-card,
.waitlist-title,
.waitlist-subtitle,
.form-group input,
.form-group label {
    transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

/* =================================
   BASE STYLES
   ================================= */

body {
    font-family: 'Outfit', sans-serif;
    background: var(--bg-dark);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Animated gradient background */
body::before {
    content: '';
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 50%, rgba(0, 144, 224, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 212, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 0, 136, 0.05) 0%, transparent 50%);
    animation: gradientShift 20s ease infinite;
    pointer-events: none;
    z-index: 0;
}

@keyframes gradientShift {

    0%,
    100% {
        transform: translate(0, 0) rotate(0deg);
    }

    33% {
        transform: translate(5%, 5%) rotate(120deg);
    }

    66% {
        transform: translate(-5%, 5%) rotate(240deg);
    }
}

/* Noise texture overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
}

/* =================================
   LAYOUT & CONTAINER
   ================================= */

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}

/* =================================
   NAVIGATION
   ================================= */

nav {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.logo span {
    font-size: 1.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.logo-icon {
    height: 34px;
    width: auto;
    object-fit: contain;
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    font-size: 0.95rem;
}

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

.cta-button {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    padding: 0.75rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.95rem;
    box-shadow: 0 0 30px rgba(0, 144, 224, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0, 144, 224, 0.4);
}

/* Theme Toggle Button */
.theme-toggle {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 50px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.theme-toggle:hover {
    border-color: var(--primary);
    background: var(--bg-card-hover);
    transform: scale(1.05);
}

.theme-toggle:active {
    transform: scale(0.95);
}

.theme-toggle .icon {
    font-size: 1.25rem;
    transition: transform 0.4s ease, opacity 0.3s ease;
    position: absolute;
}

.theme-toggle .sun-icon {
    opacity: 0;
    transform: rotate(-90deg) scale(0);
}

.theme-toggle .moon-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

/* Light mode icon states */
[data-theme="light"] .theme-toggle .sun-icon {
    opacity: 1;
    transform: rotate(0deg) scale(1);
}

[data-theme="light"] .theme-toggle .moon-icon {
    opacity: 0;
    transform: rotate(90deg) scale(0);
}

/* Light Mode Specific Adjustments */
[data-theme="light"] body::before {
    background: radial-gradient(circle at 20% 50%, rgba(0, 119, 192, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 184, 230, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(204, 0, 102, 0.03) 0%, transparent 50%);
}

[data-theme="light"] body::after {
    opacity: var(--noise-opacity);
}

[data-theme="light"] .cta-button {
    color: #ffffff;
}

[data-theme="light"] .feature-card::before {
    background: linear-gradient(135deg, rgba(0, 119, 192, 0.03), rgba(0, 184, 230, 0.03));
}

[data-theme="light"] .code-block {
    background: #1e293b;
    color: #e2e8f0;
}

[data-theme="light"] .demo-header {
    background: rgba(0, 0, 0, 0.05);
}

[data-theme="light"] .pricing-card.featured {
    background: linear-gradient(135deg, rgba(0, 119, 192, 0.08), rgba(0, 184, 230, 0.08));
}

[data-theme="light"] .waitlist-button {
    color: #1f2937;
}

[data-theme="light"] .submit-button {
    color: #1f2937;
}

/* =================================
   HERO SECTION
   ================================= */

.hero {
    padding: 6rem 0 8rem;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease;
}

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

.hero p {
    font-size: 1.35rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 3rem;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 0.8s ease 0.4s both;
    flex-wrap: wrap;
}

.secondary-button {
    background: var(--bg-card);
    color: var(--text);
    padding: 0.75rem 2rem;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.secondary-button:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
}

/* Waitlist Button - Orange/Yellow Pill Style */
.waitlist-button {
    background: linear-gradient(135deg, #ff9500, #ffcc00);
    color: var(--bg-dark);
    padding: 0.75rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 25px rgba(255, 149, 0, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
}

.waitlist-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 40px rgba(255, 149, 0, 0.5);
}

@keyframes pulseGlow {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(255, 149, 0, 0.4);
    }

    50% {
        box-shadow: 0 0 35px rgba(255, 204, 0, 0.6);
    }
}

/* =================================
   WAITLIST PAGE STYLES
   ================================= */

.waitlist-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.waitlist-card {
    background: var(--bg-card);
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 4rem 3rem;
    max-width: 520px;
    width: 100%;
    text-align: center;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.4);
    animation: fadeInUp 0.6s ease;
}

.waitlist-logo {
    font-size: 2rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

.waitlist-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.waitlist-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}

.waitlist-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    text-align: left;
}

.form-group label {
    display: block;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.form-group input {
    width: 100%;
    padding: 1rem 1.25rem;
    background: var(--bg-darker);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: var(--text);
    font-size: 1rem;
    font-family: 'Outfit', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 144, 224, 0.1);
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.6;
}

.form-group input.error {
    border-color: var(--danger);
    box-shadow: 0 0 0 3px rgba(255, 68, 68, 0.1);
}

.error-message {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    display: none;
}

.error-message.visible {
    display: block;
}

.submit-button {
    background: linear-gradient(135deg, #ff9500, #ffcc00);
    color: var(--bg-dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(255, 149, 0, 0.3);
    margin-top: 0.5rem;
}

.submit-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(255, 149, 0, 0.4);
}

.submit-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.waitlist-features {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.waitlist-features p {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.back-link {
    margin-top: 2rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

/* Success State */
.success-message {
    display: none;
    text-align: center;
    padding: 2rem 0;
}

.success-message.visible {
    display: block;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: bounceIn 0.6s ease;
}

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

.success-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    line-height: 1.7;
}

@keyframes bounceIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Mobile adjustments for waitlist */
@media (max-width: 768px) {
    .waitlist-card {
        padding: 3rem 2rem;
    }

    .waitlist-title {
        font-size: 2rem;
    }
}

/* =================================
   STATS BAR
   ================================= */

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 5rem 0;
    padding: 3rem;
    background: var(--bg-card);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

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

/* =================================
   SECTIONS
   ================================= */

.section {
    padding: 6rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 144, 224, 0.1);
    color: var(--primary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 144, 224, 0.2);
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto;
}

/* =================================
   FEATURE GRID
   ================================= */

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

.feature-card {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0, 144, 224, 0.05), rgba(0, 212, 255, 0.05));
    opacity: 0;
    transition: opacity 0.4s ease;
}

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

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 20px 60px rgba(0, 144, 224, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
    position: relative;
    z-index: 1;
}

/* =================================
   STRATEGY LIBRARY
   ================================= */

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

.strategy-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.strategy-card:hover {
    border-color: var(--secondary);
    transform: translateY(-4px);
}

.strategy-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.strategy-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 136, 255, 0.1);
    color: var(--secondary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.survivor-tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background: rgba(0, 144, 224, 0.1);
    color: var(--primary);
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    border: 1px solid rgba(0, 144, 224, 0.2);
}

.strategy-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.strategy-desc {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.strategy-badges {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    font-family: 'JetBrains Mono', monospace;
}

.badge-stress {
    background: rgba(255, 68, 68, 0.1);
    color: var(--danger);
    border: 1px solid rgba(255, 68, 68, 0.2);
}

.badge-walk {
    background: rgba(0, 136, 255, 0.1);
    color: var(--secondary);
    border: 1px solid rgba(0, 136, 255, 0.2);
}

.strategy-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.metric {
    font-size: 0.85rem;
}

.metric-label {
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.metric-value {
    font-weight: 700;
    font-size: 1.1rem;
}

.positive {
    color: var(--success);
}

.neutral {
    color: var(--warning);
}

/* =================================
   DEMO SECTIONS
   ================================= */

.demo-container {
    background: var(--bg-card);
    border-radius: 24px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

.demo-header {
    padding: 1.5rem 2rem;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.demo-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--text-muted);
}

.demo-dot.red {
    background: #ff5f56;
}

.demo-dot.yellow {
    background: #ffbd2e;
}

.demo-dot.green {
    background: #27c93f;
}

.demo-content {
    padding: 3rem;
}

.code-block {
    background: var(--bg-darker);
    padding: 2rem;
    border-radius: 16px;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.code-line {
    margin: 0.5rem 0;
}

.code-comment {
    color: #6b7280;
}

.code-keyword {
    color: #ff0088;
}

.code-function {
    color: #0088ff;
}

.code-string {
    color: #0090e0;
}

.code-number {
    color: #ffaa00;
}

/* =================================
   PRICING SECTION
   ================================= */

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-card {
    background: var(--bg-card);
    padding: 3rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card.featured {
    border-color: var(--primary);
    background: linear-gradient(135deg, rgba(0, 144, 224, 0.05), rgba(0, 212, 255, 0.05));
    transform: scale(1.05);
}

.pricing-badge {
    position: absolute;
    top: -12px;
    right: 2rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--bg-dark);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
}

.pricing-name {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

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

.pricing-description {
    color: var(--text-muted);
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.pricing-features li {
    padding: 0.75rem 0;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.pricing-features li::before {
    content: '✓';
    color: var(--primary);
    font-weight: 700;
    flex-shrink: 0;
}

/* =================================
   CTA SECTION
   ================================= */

.cta-section {
    background: linear-gradient(135deg, rgba(0, 144, 224, 0.1), rgba(0, 212, 255, 0.1));
    border: 1px solid rgba(0, 144, 224, 0.2);
    border-radius: 32px;
    padding: 5rem 3rem;
    text-align: center;
    margin: 6rem 0;
}

.cta-section h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
}

.cta-section p {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* =================================
   FOOTER
   ================================= */

footer {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding: 4rem 0 2rem;
    margin-top: 8rem;
}

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

.footer-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-brand span {
    font-size: 1.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-icon {
    height: 28px;
    width: auto;
    object-fit: contain;
}

.footer-description {
    color: var(--text-muted);
    line-height: 1.7;
}

.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text);
}

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

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

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* =================================
   THE ENGINE - PIPELINE SECTION
   ================================= */

/* =================================
   VERTICAL FUNNEL
   ================================= */

.funnel-wrapper {
    margin-top: 4rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

/* Individual funnel bar */
.funnel-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 90px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 0 1.5rem;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.funnel-bar:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

/* Bar color variants */
.funnel-bar--enter {
    background: linear-gradient(135deg, rgba(0, 144, 224, 0.10) 0%, rgba(0, 212, 255, 0.06) 100%);
}

.funnel-bar--kill-1 {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.06) 0%, rgba(255, 68, 68, 0.03) 100%);
}

.funnel-bar--kill-2 {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.09) 0%, rgba(255, 68, 68, 0.04) 100%);
}

.funnel-bar--kill-3 {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.12) 0%, rgba(255, 68, 68, 0.06) 100%);
}

.funnel-bar--kill-4 {
    background: linear-gradient(135deg, rgba(255, 68, 68, 0.15) 0%, rgba(255, 68, 68, 0.08) 100%);
}

.funnel-bar--survivor {
    background: linear-gradient(135deg, rgba(0, 255, 136, 0.12) 0%, rgba(0, 255, 170, 0.06) 100%);
    border: 1px solid rgba(0, 255, 136, 0.25);
}

/* Left side: icon + text */
.funnel-bar__left {
    display: flex;
    align-items: center;
    gap: 14px;
    min-width: 0;
}

.funnel-bar__icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    flex-shrink: 0;
}

.funnel-bar__text {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.funnel-bar__title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text);
    white-space: nowrap;
}

.funnel-bar__subtitle {
    font-size: 11px;
    font-family: 'JetBrains Mono', monospace;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Right side: kill badge + count */
.funnel-bar__right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
}

.funnel-bar__kill-badge {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--danger);
    background: rgba(255, 68, 68, 0.10);
    border: 1px solid rgba(255, 68, 68, 0.25);
    border-radius: 20px;
    padding: 4px 12px;
    white-space: nowrap;
}

.funnel-bar__count {
    font-size: 32px;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    line-height: 1;
}

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

.funnel-bar__count--kill {
    color: var(--danger);
}

.funnel-bar__count--survivor {
    color: var(--primary);
}

/* Connector lines between bars */
.funnel-connector {
    width: 2px;
    height: 28px;
    flex-shrink: 0;
}

.funnel-connector--red {
    background: linear-gradient(180deg, rgba(255, 68, 68, 0.5), rgba(255, 68, 68, 0.15));
}

.funnel-connector--green {
    background: linear-gradient(180deg, rgba(0, 255, 136, 0.5), rgba(0, 255, 136, 0.15));
}


.engine-quote {
    text-align: center;
    font-size: 1.35rem;
    font-weight: 600;
    font-style: italic;
    color: var(--text);
    margin: 4rem auto 1.5rem;
    max-width: 650px;
    line-height: 1.6;
    position: relative;
    padding: 2rem 3rem;
}

.engine-quote::before {
    content: '"';
    position: absolute;
    top: -0.25rem;
    left: 0.5rem;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
    font-family: Georgia, serif;
}

.engine-tech {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.engine-tech span {
    color: var(--text);
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

/* =================================
   QUANT-AS-A-SERVICE / SERVICES
   ================================= */

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.service-stage-ref {
    display: flex;
    gap: 0.5rem;
    margin-top: 1.25rem;
    flex-wrap: wrap;
}

.badge {
    padding: 0.3rem 0.75rem;
    border-radius: 6px;
    font-size: 0.65rem;
    font-weight: 700;
    font-family: 'JetBrains Mono', monospace;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.badge-stress {
    background: rgba(255, 68, 68, 0.12);
    color: var(--danger);
    border: 1px solid rgba(255, 68, 68, 0.25);
}

.badge-walk {
    background: rgba(0, 136, 255, 0.12);
    color: var(--secondary);
    border: 1px solid rgba(0, 136, 255, 0.25);
}

/* =================================
   ENTERPRISE BANNER
   ================================= */

.enterprise-banner {
    background: linear-gradient(135deg, rgba(0, 144, 224, 0.06), rgba(0, 212, 255, 0.06));
    border-top: 1px solid rgba(0, 144, 224, 0.15);
    border-bottom: 1px solid rgba(0, 136, 255, 0.15);
    padding: 5rem 2rem;
    margin: 4rem 0;
}

.enterprise-content {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

.enterprise-text {
    flex: 1;
}

.enterprise-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.enterprise-desc {
    color: var(--text-muted);
    line-height: 1.7;
    font-size: 1.05rem;
}

.enterprise-cta {
    text-align: center;
    flex-shrink: 0;
}

.enterprise-note {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* =================================
   ANIMATIONS
   ================================= */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease forwards;
}

.fade-in:nth-child(1) {
    animation-delay: 0.1s;
}

.fade-in:nth-child(2) {
    animation-delay: 0.2s;
}

.fade-in:nth-child(3) {
    animation-delay: 0.3s;
}

.fade-in:nth-child(4) {
    animation-delay: 0.4s;
}

.fade-in:nth-child(5) {
    animation-delay: 0.5s;
}

.fade-in:nth-child(6) {
    animation-delay: 0.6s;
}

/* =================================
   SOCIAL LINKS
   ================================= */

.social-links a {
    color: var(--text-muted);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    color: var(--primary);
    transform: translateY(-3px);
    filter: drop-shadow(0 0 8px rgba(0, 144, 224, 0.4));
}

/* =================================
   VIBRATE ANIMATION
   ================================= */

@keyframes vibrate {
    0% {
        transform: translate(0);
    }

    10% {
        transform: translate(-2px, -2px);
    }

    20% {
        transform: translate(2px, -2px);
    }

    30% {
        transform: translate(-2px, 2px);
    }

    40% {
        transform: translate(2px, 2px);
    }

    50% {
        transform: translate(-2px, -2px);
    }

    60% {
        transform: translate(2px, -2px);
    }

    70% {
        transform: translate(-2px, 2px);
    }

    80% {
        transform: translate(2px, 2px);
    }

    90% {
        transform: translate(0);
    }

    100% {
        transform: translate(0);
    }
}

.vibrate-button {
    animation: vibrate 3s linear infinite;
    display: inline-block;
}

.vibrate-button:hover {
    animation-duration: 0.3s;
}

/* =================================
   RESPONSIVE DESIGN
   ================================= */

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero-cta {
        flex-direction: column;
    }

    .features-grid,
    .strategy-grid,
    .pricing-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }

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

    .demo-content {
        padding: 2rem 1.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    /* Funnel responsive */
    .funnel-bar {
        width: 100% !important;
        height: 72px;
        padding: 0 1rem;
    }

    .funnel-bar__subtitle {
        display: none;
    }

    .funnel-bar__kill-badge {
        font-size: 9px;
        padding: 3px 8px;
    }

    .funnel-bar__count {
        font-size: 24px;
    }

    .funnel-bar__icon {
        width: 30px;
        height: 30px;
        font-size: 0.95rem;
    }

    .funnel-bar__title {
        font-size: 13px;
    }

    .funnel-connector {
        height: 18px;
    }

    .engine-quote {
        font-size: 1.1rem;
        padding: 1.5rem;
    }

    /* Services responsive */
    .services-grid {
        grid-template-columns: 1fr;
    }

    /* Enterprise responsive */
    .enterprise-content {
        flex-direction: column;
        text-align: center;
    }

    .enterprise-title {
        font-size: 1.6rem;
    }
}