@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
    --primary: #20a8d8;
    --primary-dark: #1a8ab3;
    --dark: #0f0f0f;
    --dark-soft: #1a1a1a;
    --light: #fafafa;
    --white: #ffffff;
    --gray-100: #f4f4f5;
    --gray-200: #e4e4e7;
    --gray-400: #a1a1aa;
    --gray-500: #71717a;
    --gray-600: #52525b;
    --text: #18181b;
    --text-muted: #71717a;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

::selection {
    background: var(--primary);
    color: var(--white);
}

/* =====================================================
   TYPOGRAPHY
   ===================================================== */
.mono {
    font-family: 'JetBrains Mono', monospace;
}

h1, h2, h3 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
}

.hero-headline {
    font-size: clamp(2.5rem, 8vw, 6rem);
}

.section-headline {
    font-size: clamp(2rem, 5vw, 3.5rem);
}

.subhead {
    font-size: clamp(1.1rem, 2vw, 1.4rem);
    font-weight: 400;
    line-height: 1.6;
    color: var(--text-muted);
}

.eyebrow {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--primary);
}

/* =====================================================
   LAYOUT
   ===================================================== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

section {
    padding: 120px 0;
}

section.compact {
    padding: 80px 0;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s ease;
}

/* Header on dark hero (before scroll) */
.header .nav-links a {
    color: var(--white);
}

.header .nav-links a:hover {
    color: var(--primary);
}

.header .btn-ghost {
    color: var(--white);
}

.header .btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Header after scrolling (light background) */
.header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 14px 0;
}

.header.scrolled .nav-links a {
    color: var(--text);
}

.header.scrolled .nav-links a:hover {
    color: var(--primary);
}

.header.scrolled .btn-ghost {
    color: var(--text);
}

.header.scrolled .btn-ghost:hover {
    background: var(--gray-100);
}

/* Logo swap - show light logo on dark hero, dark logo after scroll */
.logo-light {
    display: block;
}

.logo-dark {
    display: none;
}

.header.scrolled .logo-light {
    display: none;
}

.header.scrolled .logo-dark {
    display: block;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.2s ease;
}

.nav-links a:hover {
    color: var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-greeting {
    font-size: 14px;
    color: var(--white);
    transition: color 0.3s ease;
}

.header.scrolled .nav-greeting {
    color: var(--text-muted);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-primary {
    background: var(--dark);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 168, 216, 0.3);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
}

.btn-ghost:hover {
    background: var(--gray-100);
}

.btn-outline-primary {
    background: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline-primary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(32, 168, 216, 0.3);
}

/* Light variant for dark backgrounds */
.btn-outline-light {
    background: transparent;
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--dark);
    border-color: var(--white);
    transform: translateY(-2px);
}

.btn-white {
    background: var(--white);
    color: var(--dark);
}

.btn-white:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn-arrow::after {
    content: ' →';
    margin-left: 4px;
    transition: margin-left 0.2s;
}

.btn-arrow:hover::after {
    margin-left: 8px;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--white);
}

.header.scrolled .mobile-menu-btn {
    color: var(--text);
}

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    padding-bottom: 80px;
    background: linear-gradient(
        135deg,
        var(--dark) 0%,
        var(--dark-soft) 50%,
        #1a3a4a 100%
    );
    overflow: visible; /* Allow video to break out */
}

/* Hero background image with left-to-right fade */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 40%;
    height: 100%;
    background-image: url('../img/img1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    pointer-events: none;

    /* Fade from visible (left) to transparent (right) */
    -webkit-mask-image: linear-gradient(to right, black 0%, transparent 70%);
    -webkit-mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-image: linear-gradient(to right, black 0%, transparent 70%);
    mask-size: 100% 100%;
    mask-repeat: no-repeat;
}

.hero-content {
    max-width: 900px;
    position: relative;
    z-index: 1;
}

/* Breaking video placeholder - extends past hero */
.hero-video-break {
    margin-top: 60px;
    position: relative;
    z-index: 2;
    margin-bottom: -200px; /* Push into next section */
}

.hero-video-break .video-placeholder {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    background: var(--white);
    border: 2px dashed var(--gray-400);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.hero-video-break .video-placeholder:hover {
    border-color: var(--primary);
    box-shadow: 0 25px 80px rgba(32, 168, 216, 0.35);
    transform: scale(1.02);
}

.hero-video-break .placeholder-icon {
    font-size: 4rem;
    margin-bottom: 16px;
    width: 80px;
    height: 80px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.hero-video-break .video-placeholder:hover .placeholder-icon {
    transform: scale(1.1);
}

.hero-video-break .placeholder-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}

/* Video Container */
.hero-video-break .video-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    position: relative;
    background: var(--dark);
}

.hero-video-break video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Unmute Button */
.video-unmute-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    border: none;
    border-radius: 8px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: inherit;
    font-size: 14px;
    font-weight: 500;
    transition: background 0.2s ease, transform 0.2s ease;
    backdrop-filter: blur(8px);
}

.video-unmute-btn:hover {
    background: rgba(0, 0, 0, 0.85);
    transform: scale(1.05);
}

.video-unmute-btn.hidden {
    display: none;
}

.unmute-icon {
    font-size: 18px;
}

.hero-eyebrow {
    margin-bottom: 24px;
}

.hero-headline {
    margin-bottom: 24px;
    color: var(--white);
}

.highlight {
    color: var(--primary);
}

.hero-sub {
    margin-bottom: 40px;
    max-width: 700px;
    color: var(--gray-200);
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-disclaimer {
    margin-top: 24px;
    font-size: 13px;
    color: var(--gray-500);
}

.hero-disclaimer .mono {
    color: var(--gray-400);
}

/* Feature Image Placeholders */
.placeholder-icon {
    font-size: 2rem;
    margin-bottom: 8px;
    opacity: 0.7;
}

.placeholder-label {
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.feature-image-placeholder {
    width: 100%;
    height: 160px;
    background: var(--gray-100);
    border: 2px dashed var(--gray-300);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray-500);
    margin-bottom: 20px;
    transition: border-color 0.2s ease, background 0.2s ease;
}

.feature-card:hover .feature-image-placeholder {
    border-color: var(--primary);
    background: var(--gray-200);
}

.feature-image-placeholder .placeholder-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.feature-image-placeholder .placeholder-label {
    font-size: 0.8rem;
}

/* =====================================================
   ANTI-HERO (The jab section)
   ===================================================== */
.anti-section {
    background: var(--dark);
    color: var(--white);
    text-align: center;
    padding-top: 160px; /* Extra space for breaking video from hero */
    padding-bottom: 80px;
}

.anti-content {
    max-width: 700px;
    margin: 0 auto;
}

.anti-headline {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 24px;
}

.anti-subtext {
    font-size: 1.1rem;
    color: var(--gray-400);
    line-height: 1.7;
}

.anti-subtext .accent {
    color: var(--primary);
    font-weight: 500;
}

/* =====================================================
   FEATURES
   ===================================================== */
.features-section {
    background: var(--white);
}

.features-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 80px;
}

.features-header .eyebrow {
    margin-bottom: 16px;
}

.features-header h2 {
    margin-bottom: 16px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 48px;
}

.feature-card {
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
}

.feature-number {
    font-family: 'JetBrains Mono', monospace;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.4s ease, opacity 0.4s ease;
}

.feature-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.feature-list {
    list-style: none;
    margin-top: 20px;
}

.feature-list li {
    font-size: 0.95rem;
    color: var(--text-muted);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.feature-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-family: 'JetBrains Mono', monospace;
    font-size: 12px;
}

/* =====================================================
   ADD-ON MODULES SECTION
   ===================================================== */
.addons-section {
    background: var(--dark);
    color: var(--white);
}

.addons-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 60px;
}

.addons-header .eyebrow {
    margin-bottom: 16px;
}

.addons-header h2 {
    margin-bottom: 16px;
    color: var(--white);
}

.addons-header .subhead {
    color: var(--gray-400);
}

.addons-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.addon-card {
    background: var(--dark-soft);
    padding: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.addon-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 8px 32px rgba(32, 168, 216, 0.15);
}

.addon-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.addon-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
}

.addon-price {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    background: rgba(32, 168, 216, 0.15);
    padding: 6px 12px;
    border-radius: 4px;
}

.addon-desc {
    font-size: 1rem;
    color: var(--gray-400);
    line-height: 1.7;
    margin-bottom: 20px;
}

.addon-card .feature-list li {
    color: var(--gray-400);
}

.addon-card .feature-list li::before {
    color: var(--primary);
}

@media (max-width: 768px) {
    .addons-grid {
        grid-template-columns: 1fr;
    }
}

/* =====================================================
   INDUSTRIES SECTION
   ===================================================== */
.industries-section {
    background: var(--white);
}

.industries-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.industries-content .eyebrow {
    margin-bottom: 16px;
}

.industries-content h2 {
    margin-bottom: 48px;
}

.industries-list {
    text-align: left;
}

.industry-item {
    padding: 24px 0;
    border-bottom: 1px solid var(--gray-200);
}

.industry-item:last-child {
    border-bottom: none;
}

.industry-name {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.industry-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* =====================================================
   MODULAR SECTION
   ===================================================== */
.modular-section {
    background: var(--gray-100);
}

.modular-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
    min-width: 0;
}

.modular-content > * {
    min-width: 0;
}

.modular-text .eyebrow {
    margin-bottom: 16px;
    color: var(--primary);
}

.modular-text h2 {
    margin-bottom: 20px;
}

.modular-text p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.modular-pricing {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
}

.pricing-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid var(--gray-200);
    transition: padding-left 0.2s ease;
}

.pricing-row:hover {
    padding-left: 8px;
}

.pricing-row:last-child {
    border-bottom: none;
}

.pricing-name {
    font-weight: 600;
}

.pricing-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 14px;
    color: var(--text-muted);
}

.pricing-value.included {
    color: var(--primary);
    font-weight: 600;
}

.pricing-row-more {
    opacity: 0.6;
    font-style: italic;
    border-bottom: none;
}

/* Compact Pricing (under description) */
.modular-pricing-compact {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.pricing-item {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    padding: 16px 20px;
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 120px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-item:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 12px rgba(32, 168, 216, 0.1);
}

.pricing-item .pricing-name {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text);
}

.pricing-item .pricing-value {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-muted);
}

.pricing-item .pricing-value.included {
    color: var(--primary);
}

/* Browser Mockup */
.browser-mockup {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--gray-200);
}

.browser-bar {
    background: linear-gradient(to bottom, var(--gray-100), var(--gray-200));
    padding: 10px 0 10px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--gray-300);
}

/* Navigation buttons - back, forward, refresh */
.browser-bar::before {
    content: '\2190 \2192 \21BB';
    font-size: 14px;
    color: var(--gray-500);
    letter-spacing: 10px;
    margin-right: 4px;
}

.browser-controls {
    display: flex;
    gap: 0;
    order: 2;
}

.browser-controls span {
    width: 40px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: default;
    transition: background-color 0.1s ease;
    position: relative;
}

.browser-controls span:hover {
    background: var(--gray-200);
}

/* Minimize - horizontal line */
.browser-controls span:nth-child(1)::before {
    content: '';
    width: 10px;
    height: 1px;
    background: var(--gray-600);
}

/* Maximize - square outline */
.browser-controls span:nth-child(2)::before {
    content: '';
    width: 9px;
    height: 9px;
    border: 1px solid var(--gray-600);
}

/* Close - X shape */
.browser-controls span:nth-child(3)::before,
.browser-controls span:nth-child(3)::after {
    content: '';
    position: absolute;
    width: 12px;
    height: 1px;
    background: var(--gray-600);
}

.browser-controls span:nth-child(3)::before {
    transform: rotate(45deg);
}

.browser-controls span:nth-child(3)::after {
    transform: rotate(-45deg);
}

.browser-controls span:nth-child(3):hover {
    background: #c42b1c;
}

.browser-controls span:nth-child(3):hover::before,
.browser-controls span:nth-child(3):hover::after {
    background: white;
}

.browser-url {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    color: var(--gray-600);
    background: var(--white);
    padding: 6px 16px;
    border-radius: 6px;
    flex: 1;
    text-align: center;
    border: 1px solid var(--gray-300);
    box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.05);
}

.browser-url::before {
    content: '🔒 ';
    font-size: 10px;
}

.browser-content {
    aspect-ratio: 16 / 10;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--gray-200) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.browser-content img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}

.browser-content .screenshot-placeholder {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* =====================================================
   PRICE CALLOUT
   ===================================================== */
.price-section {
    background: var(--white);
    text-align: center;
}

.price-content {
    max-width: 500px;
    margin: 0 auto;
}

.price-main {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 8px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.price-main:hover {
    transform: scale(1.02);
}

.price-currency {
    font-size: 0.35em;
    font-weight: 600;
    vertical-align: super;
    margin-left: 4px;
    opacity: 0.7;
}

.price-context {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 8px;
}

.price-per-user {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    color: var(--gray-500);
    margin-bottom: 32px;
}

.price-quip {
    font-size: 1.1rem;
    color: var(--text-muted);
    font-style: italic;
    margin-bottom: 40px;
}

/* =====================================================
   FINAL CTA
   ===================================================== */
.cta-section {
    background: var(--dark);
    color: var(--white);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-headline {
    margin-bottom: 16px;
}

.cta-sub {
    font-size: 1.1rem;
    color: var(--gray-400);
    margin-bottom: 40px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--dark-soft);
    color: var(--white);
    padding: 60px 0 40px;
}

.footer-grid {
    display: flex;
    justify-content: space-between;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand {
    max-width: 260px;
}

.footer-brand img {
    height: 28px;
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--gray-500);
    line-height: 1.6;
}

.footer-links-wrap {
    display: flex;
    gap: 60px;
}

.footer-col h5 {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 14px;
    color: var(--gray-400);
    text-decoration: none;
    transition: color 0.2s, transform 0.2s;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--white);
    transform: translateX(4px);
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    font-size: 13px;
    color: var(--gray-500);
}

.footer-bottom a {
    color: var(--primary);
    text-decoration: none;
}

/* =====================================================
   ANIMATIONS
   ===================================================== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }

/* =====================================================
   HERO MOTTO
   ===================================================== */
.hero-motto {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
    letter-spacing: 0.02em;
}

.hero-no-catch {
    margin-top: 16px;
    font-size: 14px;
    color: var(--gray-400);
}

/* CTA Motto */
.cta-motto {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 32px;
}

/* Footer Motto */
.footer-motto {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--primary);
    margin-top: 8px;
}

/* =====================================================
   CONTACT SECTION
   ===================================================== */
.contact-section {
    background: var(--gray-100);
    padding: 100px 0;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-text .eyebrow {
    margin-bottom: 16px;
}

.contact-text h2 {
    margin-bottom: 20px;
}

.contact-text .subhead {
    margin-bottom: 24px;
}

.contact-demo-note {
    font-size: 0.95rem;
    color: var(--text-muted);
    font-style: italic;
}

/* Contact Form Styles */
.contact-form {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.contact-form .contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.contact-form .contact-form-field {
    margin-bottom: 20px;
}

.contact-form .contact-form-field label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text);
}

.contact-form .contact-form-field .optional {
    font-weight: 400;
    color: var(--text-muted);
}

.contact-form .contact-form-field input,
.contact-form .contact-form-field textarea {
    width: 100%;
    padding: 12px 16px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid var(--gray-200);
    border-radius: 6px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .contact-form-field input:focus,
.contact-form .contact-form-field textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(32, 168, 216, 0.15);
}

.contact-form .contact-form-field textarea {
    resize: vertical;
    min-height: 100px;
}

.contact-form .checkbox-group {
    margin-bottom: 24px;
}

.contact-form .checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
}

.contact-form .checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.contact-form .form-note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.contact-form .form-note a {
    color: var(--text-muted);
    text-decoration: underline;
}

.grecaptcha-badge {
    visibility: hidden !important;
}

.contact-form .form-success {
    text-align: center;
    padding: 40px 20px;
}

.contact-form .form-success p {
    font-size: 1.1rem;
    color: var(--primary);
    font-weight: 600;
}

@media (max-width: 768px) {
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-form .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 24px;
    }
}

/* =====================================================
   AUTH MODAL
   ===================================================== */
.auth-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.auth-modal.active {
    opacity: 1;
    visibility: visible;
}

.auth-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
}

.auth-modal-content {
    position: relative;
    background: var(--white);
    width: 100%;
    max-width: 420px;
    margin: 20px;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.auth-modal.active .auth-modal-content {
    transform: translateY(0);
}

.auth-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 32px;
    height: 32px;
    border: none;
    background: var(--gray-100);
    border-radius: 50%;
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.auth-modal-close:hover {
    background: var(--gray-200);
}

.auth-modal-header {
    text-align: center;
    margin-bottom: 24px;
}

.auth-logo {
    height: 36px;
    margin-bottom: 8px;
}

.auth-tagline {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--primary);
    font-weight: 600;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    background: var(--gray-100);
    padding: 4px;
    border-radius: 8px;
}

.auth-tab {
    flex: 1;
    padding: 10px 16px;
    border: none;
    background: transparent;
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.auth-tab:hover {
    color: var(--text);
}

.auth-tab.active {
    background: var(--white);
    color: var(--text);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Auth Forms */
.auth-form {
    margin-bottom: 20px;
}

.auth-field {
    margin-bottom: 16px;
}

.auth-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 6px;
    color: var(--text);
}

.auth-field input {
    width: 100%;
    padding: 12px 14px;
    font-family: inherit;
    font-size: 15px;
    border: 1px solid var(--gray-200);
    border-radius: 8px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-field input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(32, 168, 216, 0.15);
}

.auth-password-wrapper {
    position: relative;
}

.auth-password-wrapper input {
    padding-right: 44px;
}

.auth-password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    background: none;
    color: var(--gray-400);
    cursor: pointer;
    padding: 4px;
}

.auth-password-toggle:hover {
    color: var(--text);
}

.auth-submit {
    width: 100%;
    padding: 14px 20px;
    background: var(--dark);
    color: var(--white);
    border: none;
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
}

.auth-submit:hover:not(:disabled) {
    background: var(--primary);
    transform: translateY(-1px);
}

.auth-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.auth-error {
    display: none;
    background: #fef2f2;
    color: #dc2626;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.auth-success {
    display: none;
    background: #f0fdf4;
    color: #16a34a;
    padding: 12px 14px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.auth-links {
    text-align: center;
    margin-top: 16px;
}

.auth-links a {
    font-size: 14px;
    color: var(--primary);
    text-decoration: none;
}

.auth-links a:hover {
    text-decoration: underline;
}

.auth-footer {
    text-align: center;
    font-size: 13px;
    color: var(--text-muted);
    margin: 0;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.auth-footer a {
    color: var(--primary);
    text-decoration: none;
}

.auth-forgot-intro {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 20px;
    text-align: center;
}

/* Mobile Auth Modal */
@media (max-width: 480px) {
    .auth-modal-content {
        max-width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        padding: 24px;
        display: flex;
        flex-direction: column;
    }

    .auth-form {
        flex: 1;
    }

    .auth-modal-close {
        top: 12px;
        right: 12px;
    }
}

/* =====================================================
   LEGAL PAGES (Terms of Use, Privacy Policy)
   ===================================================== */
.legal-content p {
    margin-bottom: 1em;
    line-height: 1.7;
    font-size: 15px;
    color: var(--text);
}

.legal-content strong {
    font-weight: 600;
}

.legal-content em {
    font-style: italic;
}

.legal-content ol,
.legal-content ul {
    margin-bottom: 1em;
    padding-left: 24px;
    line-height: 1.7;
    font-size: 15px;
    color: var(--text);
}

.legal-content a {
    color: var(--primary);
    text-decoration: none;
}

.legal-content a:hover {
    text-decoration: underline;
}

.legal-content .text-center {
    text-align: center;
}

.legal-page-section {
    padding-top: 140px;
    padding-bottom: 80px;
}

.legal-page-section .section-headline {
    margin-bottom: 40px;
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 900px) {
    .features-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .modular-content {
        grid-template-columns: 1fr;
        gap: 48px;
        max-width: 100%;
    }

    .footer-grid {
        flex-direction: column;
        gap: 40px;
    }

    .footer-links-wrap {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    section {
        padding: 80px 0;
    }

    .nav {
        flex-wrap: wrap;
    }

    .nav-links,
    .nav-actions {
        display: none;
        width: 100%;
        flex-direction: column;
        padding: 12px 0;
    }

    .nav-links {
        gap: 0;
    }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 16px;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-actions {
        gap: 10px;
        padding-bottom: 16px;
    }

    .nav-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .nav.mobile-open .nav-links,
    .nav.mobile-open .nav-actions {
        display: flex;
    }

    /* Solid background on header when mobile menu is open */
    .header:has(.nav.mobile-open) {
        background: var(--dark);
    }

    .header.scrolled:has(.nav.mobile-open) {
        background: var(--white);
    }

    /* Separator between nav links and action buttons */
    .nav.mobile-open .nav-links {
        padding: 16px 0 8px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .header.scrolled .nav.mobile-open .nav-links {
        border-bottom-color: var(--gray-200);
    }

    .nav.mobile-open .nav-actions {
        padding: 12px 0 8px;
    }

    /* Mobile menu button overrides — make CTA prominent */
    .nav.mobile-open .btn-outline-primary {
        background: var(--primary);
        color: var(--white);
        border-color: var(--primary);
    }

    .nav.mobile-open .btn-ghost {
        background: rgba(255, 255, 255, 0.1);
        color: var(--white);
    }

    /* After scroll (white header) button overrides */
    .header.scrolled .nav.mobile-open .btn-outline-primary {
        background: var(--primary);
        color: var(--white);
    }

    .header.scrolled .nav.mobile-open .btn-ghost {
        background: var(--gray-100);
        color: var(--text);
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero {
        min-height: auto;
        padding: 140px 0 60px;
    }

    .hero::before {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .hero-actions .btn {
        width: 100%;
        justify-content: center;
    }

    .hero-video-break {
        margin-bottom: -150px;
    }

    .hero-video-break .video-placeholder:hover {
        transform: scale(1.01);
    }

    .hero-video-break .placeholder-icon {
        width: 60px;
        height: 60px;
        font-size: 2.5rem;
    }

    .video-unmute-btn {
        bottom: 12px;
        right: 12px;
        padding: 8px 12px;
        font-size: 13px;
    }

    .unmute-label {
        display: none;
    }

    .anti-section {
        padding-top: 280px;
    }

    .modular-pricing {
        padding: 24px;
    }

    .footer-links-wrap {
        flex-wrap: wrap;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    section {
        padding: 60px 0;
    }

    .hero {
        padding: 120px 0 40px;
    }

    .hero-video-break {
        margin-bottom: -120px;
    }

    .hero-video-break .video-placeholder {
        border-radius: 12px;
    }

    .anti-section {
        padding-top: 220px;
    }
}
