/* =============================================
   SAVRA - MODERN PROFESSIONAL THEME
   Clean, Minimal, No Gradients
   ============================================= */

:root {
    /* Clean Color Palette */
    --bg-primary: #09090b;
    --bg-secondary: #0f0f12;
    --bg-card: #18181b;
    --bg-card-hover: #1f1f23;
    --bg-elevated: #27272a;
    
    /* Accent Color - Single Solid */
    --accent: #6366f1;
    --accent-hover: #818cf8;
    --accent-muted: rgba(99, 102, 241, 0.1);
    --accent-border: rgba(99, 102, 241, 0.3);
    
    /* Text Colors */
    --text-primary: #fafafa;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Status Colors */
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;
    
    /* Borders */
    --border-default: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-2xl: 5rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.25s ease;
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Mobile touch optimization */
a, button {
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Subtle grid pattern background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: -1;
}

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

.container-narrow {
    max-width: 900px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.125rem; }

p {
    color: var(--text-secondary);
}

a {
    color: inherit;
    text-decoration: none;
}

/* =============================================
   NAVIGATION
   ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: var(--space-sm) 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-default);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-family: 'Nunito', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
}

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

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

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

.nav-cta {
    padding: 0.5rem 1.25rem !important;
    background: var(--accent);
    border-radius: var(--radius-full);
    color: white !important;
    font-weight: 600 !important;
    transition: var(--transition-normal) !important;
}

.nav-cta:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition-fast);
}

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

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

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

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 0 80px;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: center;
}

.hero-content {
    max-width: 540px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 14px;
    background: var(--accent-muted);
    border: 1px solid var(--accent-border);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero h1 {
    margin-bottom: var(--space-md);
}

.hero-content > p {
    font-size: 1.125rem;
    margin-bottom: var(--space-lg);
}

.hero-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
}

/* Form Styles */
.form-group {
    display: flex;
    gap: var(--space-sm);
    flex-wrap: wrap;
}

.form-input {
    flex: 1;
    min-width: 240px;
    padding: 0.875rem 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: var(--transition-fast);
}

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

.form-input:focus {
    outline: none;
    border-color: var(--accent);
    background: var(--bg-card-hover);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0.875rem 1.75rem;
    font-size: 0.95rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
}

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

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border-default);
}

.btn-secondary:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
}

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

.btn-outline:hover {
    background: var(--accent-muted);
}

/* Success/Error Messages */
.success-message {
    display: none;
    align-items: center;
    gap: 12px;
    padding: 1rem;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-md);
    color: var(--success);
    margin-top: var(--space-md);
}

.success-message.show {
    display: flex;
}

.success-message svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.error-message {
    display: none;
    padding: 1rem;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    color: var(--error);
    margin-top: var(--space-md);
}

/* Waitlist Counter */
.waitlist-counter {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-xl);
    padding: var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
}

.waitlist-counter span {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent);
}

.waitlist-counter p {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* =============================================
   INTERACTIVE PHONE MOCKUP
   ============================================= */
.hero-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.phone-container {
    position: relative;
}

.phone-mockup {
    position: relative;
    width: 280px;
    height: 580px;
    background: #1a1a1e;
    border-radius: 40px;
    padding: 10px;
    box-shadow: 
        0 50px 100px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

/* Side buttons */
.phone-mockup::before {
    content: '';
    position: absolute;
    right: -2px;
    top: 120px;
    width: 3px;
    height: 60px;
    background: #2a2a2e;
    border-radius: 0 2px 2px 0;
}

.phone-mockup::after {
    content: '';
    position: absolute;
    left: -2px;
    top: 100px;
    width: 3px;
    height: 30px;
    background: #2a2a2e;
    border-radius: 2px 0 0 2px;
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

/* Dynamic Island */
.phone-notch {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 28px;
    background: #000;
    border-radius: 20px;
    z-index: 10;
}

/* Screenshot Carousel */
.phone-slides {
    width: 100%;
    height: 100%;
    position: relative;
}

.phone-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.phone-slide.active {
    opacity: 1;
}

.phone-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 32px;
}

/* Phone Navigation */
.phone-nav-wrapper {
    margin-top: var(--space-lg);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
}

.phone-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.phone-dot {
    width: 8px;
    height: 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border-default);
    border-radius: 50%;
    cursor: pointer;
    transition: var(--transition-fast);
}

.phone-dot.active {
    background: var(--accent);
    border-color: var(--accent);
    width: 24px;
    border-radius: 4px;
}

.phone-dot:hover:not(.active) {
    background: var(--bg-card-hover);
}

.phone-labels {
    display: flex;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.phone-label {
    font-size: 0.7rem;
    padding: 4px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--transition-fast);
}

.phone-label.active {
    background: var(--accent-muted);
    border-color: var(--accent-border);
    color: var(--accent);
}

.phone-label:hover:not(.active) {
    background: var(--bg-card-hover);
    color: var(--text-secondary);
}

/* =============================================
   SECTIONS
   ============================================= */
.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto var(--space-2xl);
}

.section-header h2 {
    margin-bottom: var(--space-sm);
}

/* User Types Section */
.user-types {
    padding: var(--space-2xl) 0;
}

/* Tab Switcher */
.tab-switcher {
    display: flex;
    justify-content: center;
    gap: 4px;
    margin-bottom: var(--space-xl);
    padding: 4px;
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-full);
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.tab-btn {
    padding: 10px 24px;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition-fast);
}

.tab-btn.active {
    background: var(--accent);
    color: white;
}

.tab-btn:hover:not(.active) {
    color: var(--text-primary);
}

/* Tab Content */
.tab-content {
    display: none;
    animation: fadeIn 0.4s ease;
}

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

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

.user-type-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-2xl);
    align-items: start;
}

.user-type-badge {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-full);
    color: var(--success);
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

.user-type-badge.premium {
    background: var(--accent-muted);
    border-color: var(--accent-border);
    color: var(--accent);
}

.user-type-info h3 {
    margin-bottom: var(--space-sm);
}

.user-type-info > p {
    margin-bottom: var(--space-lg);
}

/* Feature List */
.feature-list {
    list-style: none;
}

.feature-list-item {
    display: flex;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.feature-list-icon {
    width: 22px;
    height: 22px;
    background: rgba(34, 197, 94, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.feature-list-icon svg {
    width: 12px;
    height: 12px;
    stroke: var(--success);
    stroke-width: 3;
    fill: none;
}

.feature-list-item p {
    font-size: 0.95rem;
}

.feature-list-item strong {
    color: var(--text-primary);
}

/* Feature Cards Grid */
.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-md);
}

.feature-card-mini {
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
}

.feature-card-mini:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-hover);
    transform: translateY(-4px);
}

.feature-card-mini-icon {
    width: 44px;
    height: 44px;
    background: var(--accent-muted);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--space-sm);
}

.feature-card-mini-icon svg {
    width: 22px;
    height: 22px;
    stroke: var(--accent);
    stroke-width: 1.5;
    fill: none;
}

.feature-card-mini h4 {
    margin-bottom: 4px;
}

.feature-card-mini p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* =============================================
   HOW IT WORKS
   ============================================= */
.how-it-works {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
}

.step {
    text-align: center;
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

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

.step:hover {
    border-color: var(--accent-border);
}

.step-number {
    width: 48px;
    height: 48px;
    background: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 auto var(--space-md);
}

.step h4 {
    margin-bottom: var(--space-xs);
}

.step p {
    font-size: 0.9rem;
}

/* =============================================
   PRICING
   ============================================= */
.pricing {
    padding: var(--space-2xl) 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.pricing-card {
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    transition: var(--transition-normal);
    opacity: 0;
    transform: translateY(20px);
}

.pricing-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.pricing-card.featured {
    border-color: var(--accent);
    position: relative;
}

.pricing-card.featured::before {
    content: 'POPULAR';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    padding: 4px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: var(--radius-full);
}

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

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 4px;
}

.pricing-card .text-muted {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: var(--space-lg);
}

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

.pricing-features {
    list-style: none;
    margin-bottom: var(--space-lg);
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-default);
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features svg {
    width: 16px;
    height: 16px;
    stroke: var(--success);
    stroke-width: 3;
    fill: none;
    flex-shrink: 0;
}

.pricing-card .btn {
    width: 100%;
}

/* Pricing Category Title */
.pricing-category-title {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    margin-top: var(--space-xl);
}

.pricing-category-title:first-of-type {
    margin-top: 0;
}

/* 2-column pricing grid */
.pricing-grid-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 800px;
    margin: 0 auto var(--space-xl);
}

/* Price annual text */
.price-annual {
    font-size: 0.85rem;
    color: var(--accent);
    margin-top: -0.75rem;
    margin-bottom: var(--space-md);
}

/* Price note */
.price-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: var(--space-sm);
    text-align: center;
}

/* Pricing disclaimer */
.pricing-disclaimer {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-top: var(--space-xl);
}

/* =============================================
   CTA SECTION
   ============================================= */
.cta-section {
    padding: var(--space-2xl) 0;
    background: var(--bg-secondary);
}

.cta-box {
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-xl);
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
}

.cta-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.cta-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.cta-box h2 {
    margin-bottom: var(--space-sm);
}

.cta-box > p {
    margin-bottom: var(--space-lg);
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.cta-form {
    max-width: 480px;
    margin: 0 auto;
    justify-content: center;
}

/* =============================================
   LICENSE SECTION
   ============================================= */
.license-section {
    padding: var(--space-xl) 0;
}

.license-box {
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-lg);
    opacity: 0;
    transform: translateY(20px);
}

.license-box.visible {
    opacity: 1;
    transform: translateY(0);
}

.license-box h3 {
    font-size: 1.1rem;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.license-content {
    margin-bottom: var(--space-md);
}

.license-content p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.license-content p:last-child {
    margin-bottom: 0;
}

.license-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.license-content a:hover {
    color: var(--accent-hover);
}

.license-notice {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: var(--space-sm);
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: var(--radius-md);
    color: #f59e0b;
    font-size: 0.8rem;
    font-weight: 500;
}

.license-notice svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    padding: var(--space-xl) 0;
    border-top: 1px solid var(--border-default);
}

.footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-md);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.footer-brand span {
    color: var(--text-muted);
    font-size: 0.875rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
}

.footer-links a {
    color: var(--text-secondary);
    font-size: 0.875rem;
    transition: var(--transition-fast);
}

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

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.footer-emails {
    display: flex;
    flex-direction: column;
    gap: 4px;
    text-align: right;
}

.footer-emails a {
    color: var(--accent);
    font-size: 0.85rem;
    transition: var(--transition-fast);
}

.footer-emails a:hover {
    color: var(--accent-hover);
}

/* =============================================
   LEGAL PAGES
   ============================================= */
.legal-page {
    padding: 100px 0 var(--space-2xl);
}

.document-header {
    text-align: center;
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-xl);
    border-bottom: 1px solid var(--border-default);
}

.document-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.document-header h1 {
    font-size: 2rem;
    margin-bottom: var(--space-sm);
}

.document-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-sm);
}

.document-meta {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.compliance-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-md);
}

.compliance-badge {
    padding: 4px 10px;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-sm);
    font-size: 0.7rem;
    color: var(--success);
}

.document-warning {
    max-width: 700px;
    margin: var(--space-lg) auto 0;
    padding: var(--space-md);
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: var(--radius-md);
    color: var(--error);
    font-size: 0.85rem;
    font-weight: 500;
}

.legal-content {
    max-width: 800px;
    margin: 0 auto;
}

.legal-section {
    margin-bottom: var(--space-xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--border-default);
}

.legal-section:last-child {
    border-bottom: none;
}

.legal-section h2 {
    font-size: 1.25rem;
    color: var(--accent);
    margin-bottom: var(--space-md);
}

.legal-section h3 {
    font-size: 1rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-section p {
    margin-bottom: var(--space-sm);
    font-size: 0.95rem;
}

.legal-section ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.legal-section li {
    margin-bottom: var(--space-xs);
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Tables */
.table-container {
    overflow-x: auto;
    margin: var(--space-md) 0;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}

.legal-table th,
.legal-table td {
    padding: 10px 12px;
    text-align: left;
    border: 1px solid var(--border-default);
}

.legal-table th {
    background: var(--bg-card);
    color: var(--text-primary);
    font-weight: 600;
}

.legal-table td {
    background: var(--bg-secondary);
    color: var(--text-secondary);
}

/* Notice Boxes */
.notice-box {
    padding: var(--space-md);
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
    font-size: 0.9rem;
}

.notice-box strong {
    display: block;
    margin-bottom: var(--space-xs);
}

.notice-box p {
    margin-bottom: 0;
}

.notice-important {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--warning);
}

.notice-critical {
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: var(--error);
}

.notice-info {
    background: var(--accent-muted);
    border: 1px solid var(--accent-border);
    color: var(--accent);
}

/* License Text Box (for full license text) */
.license-text-box {
    padding: var(--space-md);
    background: var(--bg-primary);
    border: 1px solid var(--border-default);
    border-radius: var(--radius-md);
    margin: var(--space-md) 0;
    font-family: 'Courier New', Courier, monospace;
    font-size: 0.8rem;
    line-height: 1.7;
    color: var(--text-secondary);
}

.license-text-box p {
    margin-bottom: var(--space-sm);
}

.license-text-box p:last-child {
    margin-bottom: 0;
}

.document-end {
    text-align: center;
    padding-top: var(--space-xl);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.step:nth-child(1) { transition-delay: 0.1s; }
.step:nth-child(2) { transition-delay: 0.2s; }
.step:nth-child(3) { transition-delay: 0.3s; }
.step:nth-child(4) { transition-delay: 0.4s; }

.pricing-card:nth-child(1) { transition-delay: 0.1s; }
.pricing-card:nth-child(2) { transition-delay: 0.2s; }
.pricing-card:nth-child(3) { transition-delay: 0.3s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-visual {
        order: -1;
        margin-bottom: var(--space-lg);
    }
    
    .phone-mockup {
        width: 280px;
        height: 580px;
    }
    
    .user-type-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .pricing-grid-2 {
        grid-template-columns: 1fr;
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    /* Base typography adjustments */
    h1 {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 280px;
        height: 100vh;
        background: var(--bg-primary);
        flex-direction: column;
        justify-content: center;
        padding: var(--space-xl);
        transition: var(--transition-normal);
        border-left: 1px solid var(--border-default);
    }
    
    .nav-links.active {
        right: 0;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    /* Hero Section - Mobile Optimized */
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero .container {
        gap: var(--space-md);
        padding: 0 16px;
    }
    
    /* PHONE MOCKUP - LARGE AND PROMINENT ON MOBILE */
    .hero-visual {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .phone-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .phone-mockup {
        width: 300px;
        height: 620px;
        border-radius: 40px;
        padding: 10px;
    }
    
    .phone-screen {
        width: 100%;
        height: 100%;
        border-radius: 32px;
    }
    
    .phone-slides {
        width: 100%;
        height: 100%;
    }
    
    .phone-slide {
        width: 100%;
        height: 100%;
    }
    
    .phone-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 32px;
    }
    
    .phone-notch {
        width: 100px;
        height: 28px;
        top: 10px;
    }
    
    .phone-nav-wrapper {
        margin-top: var(--space-md);
    }
    
    .phone-dots {
        gap: 10px;
    }
    
    .phone-dot {
        width: 10px;
        height: 10px;
    }
    
    .phone-dot.active {
        width: 28px;
    }
    
    .phone-labels {
        gap: 12px;
    }
    
    .phone-label {
        font-size: 0.8rem;
        padding: 6px 14px;
    }
    
    /* Hero Content */
    .hero-content > p {
        font-size: 1rem;
    }
    
    .hero-badge {
        font-size: 0.75rem;
        padding: 5px 12px;
    }
    
    /* Form */
    .form-group {
        flex-direction: column;
    }
    
    .form-input {
        min-width: 100%;
        padding: 1rem;
        font-size: 1rem;
    }
    
    .btn {
        width: 100%;
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Waitlist Counter */
    .waitlist-counter {
        flex-direction: column;
        text-align: center;
        padding: var(--space-md);
    }
    
    .waitlist-counter > span {
        font-size: 2rem;
    }
    
    /* Features Section */
    .tab-switcher {
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        border-radius: var(--radius-lg);
    }
    
    .tab-btn {
        flex: 1;
        padding: 12px 8px;
        font-size: 0.85rem;
        white-space: nowrap;
    }
    
    .feature-cards-grid {
        grid-template-columns: 1fr;
        gap: var(--space-sm);
    }
    
    .feature-card-mini {
        padding: var(--space-md);
    }
    
    .feature-list-item p {
        font-size: 0.9rem;
    }
    
    /* Steps */
    .steps-container {
        grid-template-columns: 1fr;
        gap: var(--space-md);
    }
    
    .step {
        padding: var(--space-md);
    }
    
    .step-number {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    /* Pricing */
    .pricing-category-title {
        font-size: 1.1rem;
    }
    
    .pricing-card {
        padding: var(--space-lg);
    }
    
    .price {
        font-size: 2rem;
    }
    
    /* CTA Section */
    .cta-box {
        padding: var(--space-lg);
    }
    
    .cta-form {
        flex-direction: column;
    }
    
    /* License Section */
    .license-box {
        padding: var(--space-md);
    }
    
    .license-notice {
        font-size: 0.75rem;
    }
    
    /* Footer */
    .footer {
        padding: var(--space-lg) 0;
    }
    
    .footer .container {
        flex-direction: column;
        text-align: center;
        gap: var(--space-md);
    }
    
    .footer-brand {
        flex-direction: column;
        gap: var(--space-xs);
    }
    
    .footer-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: var(--space-sm);
    }
    
    .footer-links a {
        font-size: 0.85rem;
    }
    
    .footer-contact {
        align-items: center;
    }
    
    .footer-emails {
        text-align: center;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }
    
    .footer-emails a {
        font-size: 0.9rem;
    }
    
    /* Section spacing */
    section {
        padding: var(--space-xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--space-lg);
    }
    
    .section-header p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    /* Even smaller screens */
    h1 {
        font-size: 1.6rem;
    }
    
    h2 {
        font-size: 1.25rem;
    }
    
    .hero .container {
        padding: 0 12px;
    }
    
    /* Phone - slightly smaller but still prominent */
    .phone-mockup {
        width: 280px;
        height: 580px;
        border-radius: 36px;
        padding: 8px;
    }
    
    .phone-screen {
        width: 100%;
        height: 100%;
        border-radius: 30px;
    }
    
    .phone-slides {
        width: 100%;
        height: 100%;
    }
    
    .phone-slide {
        width: 100%;
        height: 100%;
    }
    
    .phone-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 30px;
    }
    
    .phone-notch {
        width: 90px;
        height: 24px;
        border-radius: 16px;
        top: 8px;
    }
    
    /* Hide labels on very small screens, keep dots */
    .phone-labels {
        display: none;
    }
    
    .phone-dots {
        gap: 12px;
    }
    
    .phone-dot {
        width: 12px;
        height: 12px;
    }
    
    .phone-dot.active {
        width: 32px;
        border-radius: 6px;
    }
    
    /* Tabs stack vertically on small screens */
    .tab-switcher {
        flex-direction: column;
        gap: var(--space-xs);
        width: 100%;
        max-width: 280px;
        margin: 0 auto var(--space-lg);
        border-radius: var(--radius-md);
    }
    
    .tab-btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 0.9rem;
    }
    
    /* Spacing adjustments */
    .container {
        padding: 0 var(--space-sm);
    }
    
    .hero {
        padding: 70px 0 30px;
    }
    
    .hero .container {
        gap: var(--space-md);
    }
    
    .hero-content > p {
        font-size: 0.95rem;
    }
    
    .waitlist-counter > span {
        font-size: 1.75rem;
    }
    
    /* Feature cards 2 column on smallest */
    .feature-cards-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-xs);
    }
    
    .feature-card-mini {
        padding: var(--space-sm);
    }
    
    .feature-card-mini h4 {
        font-size: 0.85rem;
    }
    
    .feature-card-mini p {
        font-size: 0.75rem;
    }
    
    .feature-card-mini-icon {
        width: 36px;
        height: 36px;
    }
    
    .feature-card-mini-icon svg {
        width: 18px;
        height: 18px;
    }
}

/* =============================================
   LEGAL PAGES - RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .legal-page {
        padding-top: 80px;
    }
    
    .document-header {
        padding: var(--space-lg) 0;
    }
    
    .document-header h1 {
        font-size: 1.75rem;
    }
    
    .document-subtitle {
        font-size: 1rem;
    }
    
    .document-meta {
        font-size: 0.8rem;
    }
    
    .legal-section h2 {
        font-size: 1.1rem;
    }
    
    .legal-section h3 {
        font-size: 0.95rem;
    }
    
    .legal-section p,
    .legal-section li {
        font-size: 0.9rem;
    }
    
    .legal-table {
        font-size: 0.75rem;
    }
    
    .legal-table th,
    .legal-table td {
        padding: 8px 10px;
    }
    
    .notice-box {
        font-size: 0.85rem;
        padding: var(--space-sm);
    }
    
    .license-text-box {
        font-size: 0.7rem;
        padding: var(--space-sm);
    }
}
