/* RivalWatch - Premium Editorial Design System */
/* Aesthetic: Precision Intelligence - Clean, sophisticated, confident */

/* ============================================
   CSS CUSTOM PROPERTIES
   ============================================ */
:root {
    /* Color Palette - Refined monochrome with warm accent */
    --color-ink: #0a0a0a;
    --color-ink-light: #1a1a1a;
    --color-ink-muted: #404040;
    --color-ink-subtle: #737373;
    --color-surface: #ffffff;
    --color-surface-elevated: #fafafa;
    --color-surface-muted: #f5f5f5;
    --color-border: #e5e5e5;
    --color-border-subtle: #f0f0f0;

    /* Accent - Warm coral/orange for energy */
    --color-accent: #e85d04;
    --color-accent-light: #f77f00;
    --color-accent-subtle: #fff4ed;

    /* Success/Error */
    --color-success: #059669;
    --color-error: #dc2626;

    /* Typography Scale */
    --font-display: 'Instrument Serif', Georgia, serif;
    --font-body: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'Geist Mono', 'SF Mono', Consolas, monospace;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    --space-4xl: 6rem;
    --space-5xl: 8rem;

    /* Animation */
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);

    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.05);
    --shadow-lg: 0 12px 40px rgba(0,0,0,0.08);
    --shadow-xl: 0 24px 60px rgba(0,0,0,0.12);

    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
}

/* ============================================
   BASE STYLES
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-body);
    color: var(--color-ink);
    background: var(--color-surface);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--color-accent);
    color: white;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.font-display {
    font-family: var(--font-display);
}

.font-body {
    font-family: var(--font-body);
}

.text-balance {
    text-wrap: balance;
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all 0.4s var(--ease-out-expo);
}

.nav-wrapper.scrolled {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid var(--color-border-subtle);
}

.nav-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: var(--space-lg) var(--space-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 102;
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-ink);
    text-decoration: none;
    letter-spacing: -0.02em;
    transition: opacity 0.2s;
}

.nav-logo:hover {
    opacity: 0.7;
}

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

.nav-link {
    font-size: 0.9375rem;
    color: var(--color-ink-muted);
    text-decoration: none;
    transition: color 0.2s;
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--color-ink);
    transition: width 0.3s var(--ease-out-expo);
}

.nav-link:hover::after {
    width: 100%;
}

/* Mobile Navigation - HIDDEN BY DEFAULT */
.mobile-menu-toggle {
    display: none !important;
}

.mobile-menu {
    display: none !important;
}

.mobile-menu-inner {
    display: none !important;
}

.mobile-nav-items {
    display: none !important;
}

.mobile-nav-link {
    display: none !important;
}

/* Mobile ONLY: show mobile elements */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }

    .mobile-menu-toggle {
        display: block !important;
        background: none;
        border: none;
        color: var(--color-ink);
        cursor: pointer;
        padding: var(--space-xs);
        z-index: 102;
    }

    .mobile-menu {
        display: none !important;
        position: fixed;
        inset: 0;
        background: white;
        z-index: 101;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: var(--space-2xl);
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s var(--ease-out-expo);
    }

    .mobile-menu.active {
        display: flex !important;
        opacity: 1;
        pointer-events: auto;
    }

    .mobile-menu-inner {
        display: block !important;
    }

    .mobile-menu.active .mobile-nav-items {
        display: flex !important;
        flex-direction: column;
        align-items: center;
        gap: var(--space-xl);
        width: 100%;
        max-width: 400px;
    }

    .mobile-menu.active .mobile-nav-link {
        display: block !important;
        font-family: var(--font-display);
        font-size: 2rem;
        color: var(--color-ink);
        text-decoration: none;
        transition: color 0.2s;
    }

    .mobile-menu.active .mobile-nav-link:hover {
        color: var(--color-accent);
    }

    .nav-inner {
        padding: var(--space-md) var(--space-lg);
    }
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: 0.75rem 1.5rem;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    text-decoration: none;
    border-radius: var(--radius-full);
    transition: all 0.3s var(--ease-out-expo);
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: var(--color-ink);
    color: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.btn-primary:hover {
    background: var(--color-ink-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--color-ink);
    border: 1px solid var(--color-border);
}

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

.btn-accent {
    background: var(--color-accent);
    color: white;
    box-shadow: 0 4px 16px rgba(232, 93, 4, 0.3);
}

.btn-accent:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(232, 93, 4, 0.4);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--color-ink);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.btn-glass:hover {
    background: white;
    box-shadow: var(--shadow-lg);
}

/* Button shimmer effect */
.btn-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,0.2),
        transparent
    );
    transition: left 0.5s var(--ease-out-expo);
}

.btn-shimmer:hover::before {
    left: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding: var(--space-5xl) var(--space-xl) var(--space-4xl);
    overflow: hidden;
}

/* Animated gradient background */
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
    overflow: hidden;
}

.hero-gradient {
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(232, 93, 4, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(232, 93, 4, 0.06) 0%, transparent 50%),
        radial-gradient(ellipse 50% 60% at 50% 20%, rgba(0, 0, 0, 0.02) 0%, transparent 50%);
    animation: gradient-drift 20s ease-in-out infinite alternate;
}

@keyframes gradient-drift {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(3%, 3%) rotate(2deg); }
}

/* Subtle grid pattern */
.hero-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,0,0,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,0,0,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 0%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 0%, transparent 70%);
}

/* Floating orbs */
.hero-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    opacity: 0.5;
    animation: orb-float 15s ease-in-out infinite;
}

.hero-orb-1 {
    width: 400px;
    height: 400px;
    background: var(--color-accent-subtle);
    top: 10%;
    right: 10%;
    animation-delay: 0s;
}

.hero-orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(232, 93, 4, 0.1);
    bottom: 20%;
    left: 5%;
    animation-delay: -5s;
}

.hero-orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(0, 0, 0, 0.03);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

@keyframes orb-float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(20px, -30px) scale(1.05); }
    66% { transform: translate(-15px, 15px) scale(0.95); }
}

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

/* Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 0.5rem 1rem;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    color: var(--color-ink-muted);
    margin-bottom: var(--space-xl);
    animation: fade-up 0.8s var(--ease-out-expo) both;
}

.hero-badge-dot {
    width: 8px;
    height: 8px;
    background: var(--color-accent);
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.2); opacity: 0.7; }
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 400;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-ink);
    margin-bottom: var(--space-lg);
    animation: fade-up 0.8s var(--ease-out-expo) 0.1s both;
}

.hero-title-accent {
    color: var(--color-accent);
    position: relative;
    display: inline-block;
}

/* Animated underline */
.hero-title-accent::after {
    content: '';
    position: absolute;
    bottom: 0.1em;
    left: 0;
    width: 100%;
    height: 0.08em;
    background: var(--color-accent);
    opacity: 0.3;
    transform: scaleX(0);
    transform-origin: left;
    animation: underline-grow 1s var(--ease-out-expo) 0.8s forwards;
}

@keyframes underline-grow {
    to { transform: scaleX(1); }
}

.hero-description {
    font-size: clamp(1.125rem, 2vw, 1.375rem);
    color: var(--color-ink-subtle);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    line-height: 1.7;
    animation: fade-up 0.8s var(--ease-out-expo) 0.2s both;
}

.hero-price {
    font-family: var(--font-display);
    font-size: 1.75rem;
    color: var(--color-ink);
    margin-bottom: var(--space-2xl);
    animation: fade-up 0.8s var(--ease-out-expo) 0.3s both;
}

.hero-price-amount {
    color: var(--color-accent);
}

/* Demo Form */
.demo-card {
    max-width: 560px;
    margin: 0 auto;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--color-border-subtle);
    animation: fade-up 0.8s var(--ease-out-expo) 0.4s both;
    position: relative;
}

.demo-card::before {
    content: '';
    position: absolute;
    inset: -1px;
    border-radius: var(--radius-xl);
    padding: 1px;
    background: linear-gradient(135deg, rgba(232, 93, 4, 0.2), transparent 50%);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.demo-title {
    font-size: 1rem;
    font-weight: 500;
    color: var(--color-ink);
    margin-bottom: var(--space-lg);
}

.demo-form {
    display: flex;
    gap: var(--space-md);
}

.demo-input {
    flex: 1;
    padding: 1rem 1.25rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-ink);
    background: var(--color-surface-muted);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    outline: none;
    transition: all 0.3s var(--ease-out-expo);
}

.demo-input::placeholder {
    color: var(--color-ink-subtle);
}

.demo-input:focus {
    background: white;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px var(--color-accent-subtle);
}

.demo-submit {
    padding: 1rem 2rem;
    background: var(--color-ink);
    color: white;
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s var(--ease-out-expo);
    white-space: nowrap;
}

.demo-submit:hover {
    background: var(--color-accent);
    transform: translateY(-2px);
}

.demo-loading {
    display: none;
    align-items: center;
    gap: var(--space-sm);
    margin-top: var(--space-md);
    color: var(--color-ink-subtle);
    font-size: 0.875rem;
}

.demo-loading.active {
    display: flex;
}

.loading-spinner {
    width: 16px;
    height: 16px;
    border: 2px solid var(--color-border);
    border-top-color: var(--color-accent);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.section {
    padding: var(--space-5xl) var(--space-xl);
    position: relative;
}

.section-muted {
    background: var(--color-surface-elevated);
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto var(--space-4xl);
}

.section-eyebrow {
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent);
    margin-bottom: var(--space-md);
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 400;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--color-ink);
    margin-bottom: var(--space-lg);
}

.section-description {
    font-size: 1.125rem;
    color: var(--color-ink-subtle);
    line-height: 1.7;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.feature-card {
    padding: var(--space-2xl);
    background: white;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-subtle);
    transition: all 0.4s var(--ease-out-expo);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s var(--ease-out-expo);
}

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

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-surface-muted);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    color: var(--color-ink);
    transition: all 0.3s var(--ease-out-expo);
}

.feature-card:hover .feature-icon {
    background: var(--color-accent);
    color: white;
}

.feature-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: var(--space-sm);
}

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

/* ============================================
   HOW IT WORKS SECTION
   ============================================ */
.steps-container {
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: var(--space-2xl);
    padding: var(--space-2xl) 0;
    position: relative;
}

.step:not(:last-child) {
    border-bottom: 1px solid var(--color-border-subtle);
}

.step-number {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--color-ink);
    color: white;
    font-family: var(--font-display);
    font-size: 1.5rem;
    border-radius: var(--radius-lg);
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.step-number::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--color-accent);
    transform: translateY(100%);
    transition: transform 0.4s var(--ease-out-expo);
}

.step-number span {
    position: relative;
    z-index: 1;
}

.step:hover .step-number::after {
    transform: translateY(0);
}

.step-content {
    flex: 1;
    padding-top: var(--space-sm);
}

.step-title {
    font-size: 1.375rem;
    font-weight: 600;
    color: var(--color-ink);
    margin-bottom: var(--space-sm);
}

.step-description {
    font-size: 1rem;
    color: var(--color-ink-subtle);
    line-height: 1.7;
    max-width: 500px;
}

@media (max-width: 640px) {
    .step {
        flex-direction: column;
        gap: var(--space-lg);
    }

    .step-number {
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* ============================================
   COMPARISON TABLE
   ============================================ */
.comparison-wrapper {
    max-width: 800px;
    margin: 0 auto;
    overflow: hidden;
}

.comparison-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.comparison-table th,
.comparison-table td {
    padding: var(--space-lg) var(--space-xl);
    text-align: center;
}

.comparison-table th:first-child,
.comparison-table td:first-child {
    text-align: left;
}

.comparison-header-us {
    background: var(--color-ink);
    color: white;
    font-weight: 600;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.comparison-header-them {
    color: var(--color-ink-subtle);
    font-weight: 500;
}

.comparison-table tbody tr {
    transition: background 0.2s;
}

.comparison-table tbody tr:hover {
    background: var(--color-surface-muted);
}

.comparison-table tbody td {
    border-bottom: 1px solid var(--color-border-subtle);
}

.comparison-us {
    background: var(--color-surface-elevated);
    font-weight: 600;
    color: var(--color-ink);
}

.comparison-price-us {
    color: var(--color-accent);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.comparison-check {
    color: var(--color-success);
}

.comparison-x {
    color: var(--color-error);
    opacity: 0.5;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq-list {
    max-width: 700px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all 0.3s var(--ease-out-expo);
}

.faq-item:hover {
    border-color: var(--color-border);
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: var(--space-xl);
    font-size: 1.0625rem;
    font-weight: 600;
    color: var(--color-ink);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--space-md);
}

.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-ink-subtle);
    transition: transform 0.3s var(--ease-out-expo);
    flex-shrink: 0;
}

.faq-item.open .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--space-xl) var(--space-xl);
    font-size: 1rem;
    color: var(--color-ink-subtle);
    line-height: 1.7;
    display: none;
}

.faq-item.open .faq-answer {
    display: block;
    animation: fade-in 0.3s var(--ease-out-expo);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
    background: var(--color-ink);
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 60% at 20% 80%, rgba(232, 93, 4, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse 40% 50% at 80% 20%, rgba(232, 93, 4, 0.1) 0%, transparent 50%);
}

.cta-content {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: var(--space-5xl) var(--space-xl);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: var(--space-xl);
}

@media (min-width: 768px) {
    .cta-content {
        flex-direction: row;
        text-align: left;
        justify-content: space-between;
    }
}

.cta-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 400;
    color: white;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.cta-text p {
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: var(--space-sm);
}

.cta-btn {
    background: white;
    color: var(--color-ink);
    padding: 1rem 2rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.3s var(--ease-out-expo);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.3);
}

.cta-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border-subtle);
    padding: var(--space-2xl) var(--space-xl);
}

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

.footer-logo {
    font-family: var(--font-display);
    font-size: 1.25rem;
    color: var(--color-ink);
    text-decoration: none;
}

.footer-text {
    font-size: 0.875rem;
    color: var(--color-ink-subtle);
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
@keyframes fade-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-out-expo);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   HTMX INDICATORS
   ============================================ */
.htmx-indicator {
    display: none;
}

.htmx-request .htmx-indicator,
.htmx-request.htmx-indicator {
    display: flex;
}

/* ============================================
   UTILITIES
   ============================================ */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-xl);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
    .no-print {
        display: none !important;
    }

    .prose {
        max-width: none;
    }

    .hero-bg,
    .hero-orb {
        display: none;
    }
}

/* ============================================
   REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }
}

/* ============================================
   ORDER FORM SECTION - Build Your Report
   ============================================ */
.hero-trust-signal {
    font-size: 0.875rem;
    color: var(--color-ink-subtle);
    margin-top: var(--space-md);
    animation: fade-up 0.8s var(--ease-out-expo) 0.3s both;
}

.order-section {
    padding: 5rem 1.5rem;
    background: linear-gradient(180deg, #fafafa 0%, #f0f0f0 100%);
    position: relative;
}

.order-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--color-border), transparent);
}

.order-container {
    max-width: 580px;
    margin: 0 auto;
}

.order-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.05),
        0 20px 50px -12px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.order-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-light));
}

.order-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2rem;
    font-weight: 400;
    color: #0a0a0a;
    margin-bottom: 2rem;
    text-align: center;
    letter-spacing: -0.02em;
}

.order-form {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.form-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0a0a0a;
    letter-spacing: -0.01em;
}

.form-input {
    padding: 0.875rem 1rem;
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1rem;
    color: #0a0a0a;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 10px;
    outline: none;
    transition: all 0.25s ease;
    width: 100%;
    box-sizing: border-box;
}

.form-input:focus {
    background: #ffffff;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 4px rgba(232, 93, 4, 0.1);
}

.form-input::placeholder {
    color: #737373;
}

/* Competitor inputs */
.competitor-input-row {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.competitor-input-row .form-input {
    flex: 1;
}

.btn-remove-competitor {
    width: 44px;
    height: 44px;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    border: none;
    border-radius: 10px;
    color: #737373;
    font-size: 1.5rem;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-remove-competitor:hover {
    background: #dc2626;
    color: #ffffff;
}

.btn-add-competitor {
    background: transparent;
    border: 2px dashed #e5e5e5;
    border-radius: 10px;
    padding: 0.75rem 1rem;
    color: #737373;
    font-size: 0.875rem;
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
    margin-top: 0.25rem;
}

.btn-add-competitor:hover:not(:disabled) {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: rgba(232, 93, 4, 0.04);
}

.btn-add-competitor:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.competitor-count {
    opacity: 0.7;
    margin-left: 0.25rem;
}

/* Modules grid - THE KEY FIX */
.modules-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.625rem !important;
}

@media (max-width: 520px) {
    .modules-grid {
        grid-template-columns: 1fr !important;
    }
}

.module-checkbox {
    position: relative;
    cursor: pointer;
    display: block;
}

.module-checkbox input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    cursor: pointer;
}

.module-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.875rem 1rem;
    background: #f5f5f5;
    border: 2px solid transparent;
    border-radius: 10px;
    transition: all 0.2s ease;
    min-height: 48px;
}

.module-checkbox:hover .module-content {
    border-color: #e5e5e5;
    background: #f0f0f0;
}

.module-checkbox input:checked + .module-content {
    background: #fff4ed;
    border-color: var(--color-accent);
}

.module-name {
    font-size: 0.875rem;
    color: #0a0a0a;
    font-weight: 500;
}

.module-price {
    font-size: 0.75rem;
    color: #737373;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.05);
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
}

.module-checkbox input:checked + .module-content .module-price {
    color: #ffffff;
    background: var(--color-accent);
}

/* Pricing toggle */
.pricing-toggle {
    display: flex;
    background: #f5f5f5;
    border-radius: 50px;
    padding: 4px;
    gap: 4px;
}

.toggle-btn {
    flex: 1;
    padding: 0.75rem 1.25rem;
    background: transparent;
    border: none;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: #737373;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
}

.toggle-btn:hover {
    color: #404040;
}

.toggle-btn.active {
    background: #ffffff;
    color: #0a0a0a;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Price display */
.price-display {
    text-align: center;
    padding: 1.75rem 0;
    margin: 0.5rem 0;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
    background: linear-gradient(180deg, transparent, rgba(232, 93, 4, 0.02), transparent);
}

.price-amount {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 3.5rem;
    color: #0a0a0a;
    line-height: 1;
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

#price-value {
    color: var(--color-accent);
}

#price-period {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 1.125rem;
    color: #737373;
    font-weight: 400;
}

.price-note {
    font-size: 0.875rem;
    color: #737373;
    margin-top: 0.75rem;
}

/* Submit button */
.btn-full {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
}

.btn-accent {
    background: linear-gradient(180deg, var(--color-accent) 0%, #d45500 100%);
    color: #ffffff;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 4px 12px rgba(232, 93, 4, 0.25);
}

.btn-accent:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(232, 93, 4, 0.35);
}

.btn-accent:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.form-footer {
    text-align: center;
    font-size: 0.8125rem;
    color: #737373;
    margin-top: 0.5rem;
}

/* ============================================
   WHAT YOU GET SECTION - Value Props
   ============================================ */
.section {
    padding: 5rem 1.5rem;
    position: relative;
}

.section-muted {
    background: #0a0a0a;
}

.section-muted .section-header {
    margin-bottom: 3.5rem;
}

.section-muted .section-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 400;
    color: #ffffff;
    text-align: center;
    letter-spacing: -0.02em;
}

.value-grid {
    display: grid !important;
    grid-template-columns: repeat(4, 1fr) !important;
    gap: 2rem !important;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (max-width: 1024px) {
    .value-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1.5rem !important;
    }
}

@media (max-width: 600px) {
    .value-grid {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        max-width: 400px;
    }
}

.value-item {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.value-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(232, 93, 4, 0.3);
    transform: translateY(-4px);
}

.value-item h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 400;
    color: #ffffff;
    margin-bottom: 0.75rem;
    letter-spacing: -0.01em;
}

.value-item p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Mobile responsiveness for order section */
@media (max-width: 640px) {
    .order-section {
        padding: 3rem 1rem;
    }

    .order-card {
        padding: 1.75rem 1.25rem;
        border-radius: 16px;
    }

    .order-title {
        font-size: 1.625rem;
        margin-bottom: 1.5rem;
    }

    .order-form {
        gap: 1.5rem;
    }

    .price-amount {
        font-size: 2.75rem;
    }

    .section {
        padding: 3.5rem 1rem;
    }

    .value-item {
        padding: 1.5rem 1.25rem;
    }
}

/* ============================================
   ORDER CONFIRMATION
   ============================================ */
.confirmation-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl) var(--space-xl);
}

.confirmation-card {
    max-width: 500px;
    width: 100%;
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-3xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.confirmation-icon {
    width: 64px;
    height: 64px;
    background: var(--color-success);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin: 0 auto var(--space-xl);
}

.confirmation-title {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--color-ink);
    margin-bottom: var(--space-sm);
}

.confirmation-subtitle {
    color: var(--color-ink-subtle);
    margin-bottom: var(--space-2xl);
}

.confirmation-details {
    background: var(--color-surface-muted);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-xl);
    text-align: left;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-subtle);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    color: var(--color-ink-subtle);
    font-size: 0.875rem;
}

.detail-value {
    color: var(--color-ink);
    font-weight: 500;
    font-size: 0.875rem;
}

.confirmation-note {
    font-size: 0.875rem;
    color: var(--color-ink-subtle);
    margin-bottom: var(--space-xl);
}

.confirmation-actions {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
}

/* ============================================
   ADMIN STYLES
   ============================================ */
.admin-login-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-xl);
}

.admin-login-card {
    max-width: 400px;
    width: 100%;
    background: white;
    padding: var(--space-2xl);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    text-align: center;
}

.admin-login-card h1 {
    font-family: var(--font-display);
    margin-bottom: var(--space-xl);
}

.admin-login-card form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.error-message {
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: var(--space-sm);
}

.admin-section {
    padding: var(--space-4xl) var(--space-xl);
    max-width: 1400px;
    margin: 0 auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
    gap: var(--space-md);
}

.admin-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
}

.admin-filters {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.filter-btn {
    padding: var(--space-sm) var(--space-md);
    background: var(--color-surface-muted);
    border: 1px solid transparent;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.2s;
}

.filter-btn:hover {
    border-color: var(--color-border);
}

.filter-btn.active {
    background: var(--color-ink);
    color: white;
}

.orders-table-container {
    overflow-x: auto;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.875rem;
}

.orders-table th,
.orders-table td {
    padding: var(--space-md);
    text-align: left;
    border-bottom: 1px solid var(--color-border-subtle);
}

.orders-table th {
    font-weight: 600;
    color: var(--color-ink-subtle);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.orders-table tr:hover {
    background: var(--color-surface-muted);
}

.orders-table tr.overdue {
    background: #fef2f2;
}

.overdue-text {
    color: var(--color-error);
    font-weight: 600;
}

.truncate {
    max-width: 150px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.status-badge {
    display: inline-block;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: capitalize;
}

.status-pending { background: #fef3c7; color: #92400e; }
.status-paid { background: #dbeafe; color: #1e40af; }
.status-in_progress { background: #e0e7ff; color: #3730a3; }
.status-completed { background: #d1fae5; color: #065f46; }
.status-delivered { background: #f3f4f6; color: #374151; }

.btn-sm {
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
}

.loading, .empty {
    text-align: center;
    color: var(--color-ink-subtle);
    padding: var(--space-2xl) !important;
}

/* ============================================
   ADMIN WORKSPACE
   ============================================ */
.workspace-section {
    padding: var(--space-3xl) var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.workspace-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.workspace-info h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
}

.workspace-info p {
    color: var(--color-ink-subtle);
    font-size: 0.875rem;
}

.workspace-meta {
    margin-top: var(--space-sm);
}

.workspace-actions {
    display: flex;
    gap: var(--space-sm);
}

.workspace-progress {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-2xl);
    padding: var(--space-md);
    background: var(--color-surface-muted);
    border-radius: var(--radius-md);
}

.progress-bar {
    flex: 1;
    height: 8px;
    background: var(--color-border);
    border-radius: var(--radius-full);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: var(--color-success);
    transition: width 0.3s ease;
}

#progress-text {
    font-size: 0.875rem;
    color: var(--color-ink-subtle);
    white-space: nowrap;
}

.workspace-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-3xl);
}

.competitor-section {
    background: white;
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
    box-shadow: var(--shadow-md);
}

.competitor-name {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-md);
    border-bottom: 2px solid var(--color-border-subtle);
}

.module-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--color-border-subtle);
}

.module-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.module-header {
    margin-bottom: var(--space-md);
}

.module-checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
    font-weight: 600;
}

.module-checkbox-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--color-success);
}

.form-textarea {
    width: 100%;
    min-height: 120px;
    padding: var(--space-md);
    font-family: var(--font-body);
    font-size: 0.9375rem;
    color: var(--color-ink);
    background: var(--color-surface-muted);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    resize: vertical;
    outline: none;
    transition: all 0.2s;
}

.form-textarea:focus {
    background: white;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-subtle);
}

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

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

.swot-quadrant label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--color-ink-subtle);
    margin-bottom: var(--space-xs);
}

.swot-quadrant .form-textarea {
    min-height: 100px;
}

/* ============================================
   REPORT PREVIEW
   ============================================ */
.report-preview-section {
    padding: var(--space-3xl) var(--space-xl);
    max-width: 1200px;
    margin: 0 auto;
}

.preview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: var(--space-xl);
    margin-bottom: var(--space-xl);
    flex-wrap: wrap;
}

.preview-info h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
}

.preview-info p {
    color: var(--color-ink-subtle);
    font-size: 0.875rem;
}

.preview-meta {
    margin-top: var(--space-sm);
}

.preview-actions {
    display: flex;
    gap: var(--space-sm);
}

.report-frame-container {
    background: white;
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    border: 1px solid var(--color-border-subtle);
}

.report-frame {
    width: 100%;
    height: 80vh;
    border: none;
}

/* ============================================
   CUSTOMER DASHBOARD
   ============================================ */
.dashboard-section {
    padding: var(--space-4xl) var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.dashboard-header {
    margin-bottom: var(--space-2xl);
}

.dashboard-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
}

.reports-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.report-card {
    background: white;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.2s;
}

.report-card:hover {
    border-color: var(--color-border);
    box-shadow: var(--shadow-md);
}

.report-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-md);
}

.report-date {
    font-size: 0.875rem;
    color: var(--color-ink-subtle);
}

.report-card-body h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.report-industry {
    color: var(--color-ink-subtle);
    font-size: 0.875rem;
}

.report-modules {
    color: var(--color-ink-subtle);
    font-size: 0.75rem;
    margin-top: var(--space-xs);
}

.report-card-actions {
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border-subtle);
    display: flex;
    gap: var(--space-sm);
    align-items: center;
}

.pending-text {
    font-size: 0.875rem;
    color: var(--color-ink-subtle);
}

.empty-state {
    text-align: center;
    padding: var(--space-4xl) var(--space-xl);
}

.empty-state h2 {
    font-family: var(--font-display);
    margin-bottom: var(--space-sm);
}

.empty-state p {
    color: var(--color-ink-subtle);
    margin-bottom: var(--space-xl);
}

/* Report view */
.report-view-section {
    padding: var(--space-3xl) var(--space-xl);
    max-width: 900px;
    margin: 0 auto;
}

.report-view-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-2xl);
}

.report-view-header h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
}

.report-view-meta {
    color: var(--color-ink-subtle);
    font-size: 0.875rem;
    margin-top: var(--space-xs);
}

.report-view-content {
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

/* Push Update Page */
.push-update-section {
    padding: var(--space-4xl) var(--space-xl);
    max-width: 600px;
    margin: 0 auto;
}

.push-update-section h1 {
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin-bottom: var(--space-xs);
}

.push-update-section .subtitle {
    color: var(--color-ink-subtle);
    margin-bottom: var(--space-2xl);
}

.update-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.form-select {
    width: 100%;
    padding: 0.875rem 1rem;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-ink);
    background: var(--color-surface-muted);
    border: 1px solid transparent;
    border-radius: var(--radius-md);
    outline: none;
}

.form-select:focus {
    background: white;
    border-color: var(--color-accent);
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    cursor: pointer;
}

.checkbox-label input {
    width: 18px;
    height: 18px;
}

/* Updates section in customer dashboard */
.updates-section {
    margin-bottom: var(--space-2xl);
}

.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-ink-subtle);
    margin-bottom: var(--space-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.update-card {
    background: white;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-md);
    padding: var(--space-lg);
    border-left: 3px solid var(--color-ink-subtle);
}

.update-card.importance-important {
    border-left-color: #d97706;
    background: #fffbeb;
}

.update-card.importance-critical {
    border-left-color: #dc2626;
    background: #fef2f2;
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--space-xs);
}

.update-type {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--color-ink-subtle);
}

.update-date {
    font-size: 0.75rem;
    color: var(--color-ink-subtle);
}

.update-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.update-competitor {
    font-size: 0.875rem;
    color: var(--color-ink-subtle);
    margin-bottom: var(--space-sm);
}

.update-content {
    font-size: 0.875rem;
    color: var(--color-ink-muted);
    line-height: 1.5;
}

.reports-section {
    margin-bottom: var(--space-2xl);
}

.subscription-section {
    padding: var(--space-lg);
    background: var(--color-surface-muted);
    border-radius: var(--radius-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ============================================
   GLOBAL MOBILE RESPONSIVENESS
   ============================================ */
@media (max-width: 768px) {
    /* Hero mobile adjustments */
    .hero {
        min-height: auto;
        padding: 7rem 1rem 3rem;
    }

    .hero-content {
        padding: 0 0.5rem;
    }

    .hero-title {
        font-size: clamp(2rem, 10vw, 3rem);
        line-height: 1.1;
    }

    .hero-description {
        font-size: 1rem;
        padding: 0 0.5rem;
    }

    /* Navigation mobile */
    .nav-inner {
        padding: 1rem;
    }

    .nav-logo {
        font-size: 1.25rem;
    }

    /* Footer mobile */
    .footer {
        padding: 1.5rem 1rem;
    }

    .footer-inner {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    /* General sections */
    .section {
        padding: 3rem 1rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    /* Features grid mobile */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    /* Steps mobile */
    .steps-container {
        padding: 0 0.5rem;
    }

    /* Comparison table mobile */
    .comparison-wrapper {
        margin: 0 -0.5rem;
        width: calc(100% + 1rem);
    }

    .comparison-table th,
    .comparison-table td {
        padding: 0.75rem 0.5rem;
        font-size: 0.8125rem;
    }

    /* FAQ mobile */
    .faq-question {
        padding: 1rem;
        font-size: 0.9375rem;
    }

    .faq-answer {
        padding: 0 1rem 1rem;
        font-size: 0.875rem;
    }

    /* CTA section mobile */
    .cta-content {
        padding: 3rem 1rem;
    }

    .cta-text h2 {
        font-size: 1.5rem;
    }

    /* Admin tables mobile */
    .admin-section {
        padding: 2rem 1rem;
    }

    .admin-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .orders-table {
        font-size: 0.75rem;
    }

    .orders-table th,
    .orders-table td {
        padding: 0.5rem 0.25rem;
    }

    /* Workspace mobile */
    .workspace-section {
        padding: 2rem 1rem;
    }

    .workspace-header {
        flex-direction: column;
    }

    .workspace-actions {
        width: 100%;
        flex-wrap: wrap;
    }

    .workspace-actions .btn {
        flex: 1;
        min-width: 120px;
        justify-content: center;
    }

    /* Dashboard mobile */
    .dashboard-section {
        padding: 2rem 1rem;
    }

    .report-card {
        padding: 1rem;
    }

    .report-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }

    .report-card-actions {
        flex-wrap: wrap;
    }
}

/* ============================================
   PRICING PAGE
   ============================================ */
.pricing-hero {
    padding: 8rem 1.5rem 4rem;
    background: linear-gradient(180deg, #ffffff 0%, #fafafa 100%);
    text-align: center;
}

.pricing-hero-content {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-title {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 400;
    color: #0a0a0a;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 1.25rem;
}

.pricing-subtitle {
    font-size: 1.25rem;
    color: #737373;
    line-height: 1.6;
    max-width: 550px;
    margin: 0 auto 1rem;
}

.pricing-trust {
    font-size: 0.875rem;
    color: var(--color-accent);
    font-weight: 500;
}

.pricing-section {
    padding: 4rem 1.5rem 6rem;
    background: #ffffff;
}

.pricing-container {
    max-width: 900px;
    margin: 0 auto;
}

/* How It Works */
.pricing-explainer {
    margin-bottom: 4rem;
}

.pricing-explainer h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.75rem;
    color: #0a0a0a;
    margin-bottom: 2rem;
    text-align: center;
}

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

@media (max-width: 700px) {
    .pricing-steps {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.pricing-step {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.step-num {
    width: 40px;
    height: 40px;
    min-width: 40px;
    background: #0a0a0a;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.125rem;
}

.step-text h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #0a0a0a;
    margin-bottom: 0.25rem;
}

.step-text p {
    font-size: 0.875rem;
    color: #737373;
    line-height: 1.5;
}

/* Modules Table */
.modules-pricing {
    margin-bottom: 4rem;
}

.modules-pricing h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.75rem;
    color: #0a0a0a;
    margin-bottom: 0.75rem;
    text-align: center;
}

.modules-intro {
    text-align: center;
    color: #737373;
    margin-bottom: 2rem;
}

.modules-table {
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    overflow: hidden;
}

.module-row {
    display: grid;
    grid-template-columns: 1fr 2fr auto;
    gap: 1rem;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.module-row:last-child {
    border-bottom: none;
}

.module-row.module-header {
    background: #fafafa;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #737373;
}

.module-row.module-total {
    background: #0a0a0a;
    color: #ffffff;
}

.module-row.module-total .module-col-desc {
    color: rgba(255, 255, 255, 0.7);
}

.module-col-name {
    font-weight: 500;
    color: #0a0a0a;
}

.module-row.module-total .module-col-name {
    color: #ffffff;
}

.module-col-desc {
    font-size: 0.875rem;
    color: #737373;
}

.module-col-price {
    text-align: right;
}

.price-tag {
    display: inline-block;
    background: #f5f5f5;
    padding: 0.375rem 0.75rem;
    border-radius: 6px;
    font-weight: 600;
    font-size: 0.875rem;
    color: #0a0a0a;
}

.price-tag.accent {
    background: var(--color-accent);
    color: #ffffff;
}

@media (max-width: 600px) {
    .module-row {
        grid-template-columns: 1fr auto;
        gap: 0.5rem;
    }

    .module-col-desc {
        display: none;
    }

    .module-row.module-header .module-col-desc {
        display: none;
    }
}

/* Multiplier Cards */
.multiplier-section {
    margin-bottom: 4rem;
}

.multiplier-section h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.75rem;
    color: #0a0a0a;
    margin-bottom: 0.75rem;
    text-align: center;
}

.multiplier-intro {
    text-align: center;
    color: #737373;
    margin-bottom: 2rem;
}

.multiplier-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

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

@media (max-width: 400px) {
    .multiplier-cards {
        grid-template-columns: 1fr;
    }
}

.multiplier-card {
    background: #fafafa;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    text-align: center;
    position: relative;
    transition: all 0.2s ease;
}

.multiplier-card:hover {
    border-color: #d5d5d5;
    transform: translateY(-2px);
}

.multiplier-card.popular {
    background: #fff4ed;
    border-color: var(--color-accent);
}

.mult-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.6875rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    white-space: nowrap;
}

.mult-count {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 2.5rem;
    color: #0a0a0a;
    line-height: 1;
}

.mult-label {
    font-size: 0.8125rem;
    color: #737373;
    margin-bottom: 0.75rem;
}

.mult-value {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--color-accent);
}

.mult-example {
    font-size: 0.75rem;
    color: #737373;
    margin-top: 0.25rem;
}

/* Plans Grid */
.plans-section {
    margin-bottom: 4rem;
}

.plans-section h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.75rem;
    color: #0a0a0a;
    margin-bottom: 2rem;
    text-align: center;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

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

.plan-card {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 16px;
    padding: 2rem;
    position: relative;
    transition: all 0.2s ease;
}

.plan-card:hover {
    border-color: #d5d5d5;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
}

.plan-card.featured {
    border: 2px solid var(--color-accent);
    background: linear-gradient(180deg, #fff4ed 0%, #ffffff 100%);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-accent);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.375rem 1rem;
    border-radius: 20px;
}

.plan-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #f0f0f0;
}

.plan-header h3 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.5rem;
    color: #0a0a0a;
    margin-bottom: 0.5rem;
}

.plan-price {
    display: flex;
    flex-direction: column;
}

.price-mult {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.price-period {
    font-size: 0.875rem;
    color: #737373;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem 0;
}

.plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    color: #404040;
}

.plan-features li.feature-disabled {
    color: #a3a3a3;
}

.check-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: #059669;
    margin-top: 2px;
}

.x-icon {
    width: 18px;
    height: 18px;
    min-width: 18px;
    color: #dc2626;
    opacity: 0.5;
    margin-top: 2px;
}

.plan-example {
    background: #f5f5f5;
    padding: 0.875rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    color: #737373;
}

.plan-example strong {
    color: #0a0a0a;
}

.example-label {
    opacity: 0.7;
}

/* Pricing CTA */
.pricing-cta {
    background: #0a0a0a;
    border-radius: 20px;
    padding: 3.5rem 2rem;
    text-align: center;
    margin-bottom: 4rem;
}

.pricing-cta h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: clamp(1.5rem, 4vw, 2rem);
    color: #ffffff;
    margin-bottom: 0.5rem;
}

.pricing-cta > p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 1.5rem;
}

.pricing-cta .btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.0625rem;
}

.pricing-minimums {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.4);
    margin-top: 1rem;
}

/* Pricing FAQ */
.pricing-faq {
    max-width: 700px;
    margin: 0 auto;
}

.pricing-faq h2 {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.75rem;
    color: #0a0a0a;
    margin-bottom: 1.5rem;
    text-align: center;
}

/* Small mobile devices */
@media (max-width: 380px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .order-card {
        padding: 1.25rem 1rem;
    }

    .order-title {
        font-size: 1.375rem;
    }

    .price-amount {
        font-size: 2.25rem;
    }

    .btn {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .modules-grid {
        gap: 0.5rem !important;
    }

    .module-content {
        padding: 0.75rem;
    }

    .module-name {
        font-size: 0.8125rem;
    }
}

/* ============================================
   SETTINGS PAGE
   ============================================ */
.settings-section {
    padding: var(--space-4xl) var(--space-xl);
    max-width: 700px;
    margin: 0 auto;
}

.settings-header {
    margin-bottom: var(--space-2xl);
}

.settings-header h1 {
    font-family: var(--font-display);
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.settings-card {
    background: white;
    border: 1px solid var(--color-border-subtle);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-lg);
}

.settings-card h2 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-lg);
}

.settings-card.settings-danger {
    border-color: #fecaca;
}

.settings-card.settings-danger h2 {
    color: #dc2626;
}

.settings-info {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.settings-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border-subtle);
}

.settings-info-row:last-child {
    border-bottom: none;
}

.settings-info-row dt {
    font-size: 0.875rem;
    color: var(--color-ink-subtle);
}

.settings-info-row dd {
    font-weight: 500;
}

.settings-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.btn-danger {
    background-color: #dc2626;
    color: white;
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    transition: all 0.2s;
}

.btn-danger:hover {
    background-color: #b91c1c;
}

@media (max-width: 640px) {
    .settings-section {
        padding: 2rem 1rem;
    }

    .settings-card {
        padding: 1rem;
    }

    .settings-info-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
}
