/*
=============================================
THE COLLECTIVE - COMPLETE STYLESHEET
=============================================
Includes styles for:
- Base/Variables
- Navigation
- Hero Section
- Features
- Pricing
- AI Agents
- FAQ
- Footer
- Auth Pages (Login/Signup)
- Dashboard
- Utilities & Animations
- Responsive Design
=============================================
*/

/* ============================================= */
/* 1. CSS VARIABLES */
/* ============================================= */
:root {
    /* Brand Colors */
    --primary: #6366f1;
    --primary-light: #818cf8;
    --primary-dark: #4f46e5;
    
    /* Accent Colors */
    --accent-gold: #fbbf24;
    --accent-green: #22c55e;
    --accent-red: #ef4444;
    --accent-blue: #3b82f6;
    --accent-orange: #f97316;
    --accent-purple: #a855f7;
    
    /* Tier Colors */
    --bronze: #cd7f32;
    --silver: #c0c0c0;
    --gold: #ffd700;
    --platinum: #e5e4e2;
    
    /* Neutrals */
    --bg-dark: #0a0a0f;
    --bg-card: #12121a;
    --bg-card-hover: #1a1a25;
    --border: rgba(255, 255, 255, 0.08);
    --border-light: rgba(255, 255, 255, 0.15);
    
    /* Text Colors */
    --text-primary: #ffffff;
    --text-secondary: #a1a1aa;
    --text-muted: #71717a;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 4px;
    --space-sm: 8px;
    --space-md: 16px;
    --space-lg: 24px;
    --space-xl: 32px;
    --space-2xl: 48px;
    --space-3xl: 64px;
    --space-4xl: 96px;
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(99, 102, 241, 0.3);
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-base: 250ms ease;
    --transition-slow: 350ms ease;
}

/* ============================================= */
/* 2. RESET & BASE STYLES */
/* ============================================= */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-family);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

button {
    font-family: inherit;
    font-size: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

.hidden {
    display: none !important;
}

/* ============================================= */
/* 3. LAYOUT COMPONENTS */
/* ============================================= */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

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

.section-tag {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-light);
    margin-bottom: var(--space-md);
}

.section-title {
    font-size: clamp(2rem, 5vw, 2.75rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--space-md);
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================= */
/* 4. BUTTONS */
/* ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-lg);
    font-weight: 600;
    font-size: 0.9375rem;
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    white-space: nowrap;
}

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

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-light);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.25);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
}

.btn-ghost:hover {
    color: var(--text-primary);
}

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

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

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1rem;
}

.btn-small {
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8125rem;
}

.btn-full {
    width: 100%;
}

.btn-danger {
    color: var(--accent-red);
    border-color: rgba(239, 68, 68, 0.3);
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--accent-red);
}

.btn-arrow {
    width: 18px;
    height: 18px;
    transition: transform var(--transition-fast);
}

.btn:hover .btn-arrow {
    transform: translateX(4px);
}

/* ============================================= */
/* 5. NAVIGATION */
/* ============================================= */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.navbar-minimal {
    position: absolute;
    background: transparent;
    border-bottom: none;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-lg);
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-weight: 700;
    font-size: 1.125rem;
}

.logo-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.logo-text {
    letter-spacing: 1px;
}

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

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

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

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: var(--space-sm);
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: all var(--transition-fast);
}

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

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.5;
    animation: float 20s ease-in-out infinite;
}

.orb-1 {
    width: 600px;
    height: 600px;
    background: var(--primary);
    top: -200px;
    right: -200px;
}

.orb-2 {
    width: 400px;
    height: 400px;
    background: #8b5cf6;
    bottom: -100px;
    left: -100px;
    animation-delay: -7s;
}

.orb-3 {
    width: 300px;
    height: 300px;
    background: #06b6d4;
    top: 50%;
    left: 50%;
    animation-delay: -14s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-30px, 30px) scale(0.95); }
    75% { transform: translate(40px, 40px) scale(1.05); }
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
}

.trust-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    border-radius: var(--radius-full);
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--accent-green);
    margin-bottom: var(--space-xl);
}

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

@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.5); }
}

.hero-title {
    font-size: clamp(2.5rem, 7vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-light), #a855f7, #06b6d4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: var(--space-3xl);
}

.hero-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-xl);
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

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

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

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* ============================================= */
/* 7. FEATURES SECTION */
/* ============================================= */
.features {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 100%);
}

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

.feature-card {
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

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

.feature-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-light);
}

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

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

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

.billing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    margin-bottom: var(--space-3xl);
}

.billing-option {
    font-size: 0.9375rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
    cursor: pointer;
}

.billing-option.active {
    color: var(--text-primary);
    font-weight: 600;
}

.save-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-left: var(--space-xs);
}

.toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
}

.toggle-switch.small {
    width: 44px;
    height: 24px;
}

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

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: all var(--transition-base);
}

.toggle-slider::before {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    left: 3px;
    top: 3px;
    background: var(--primary);
    border-radius: 50%;
    transition: transform var(--transition-base);
}

.toggle-switch.small .toggle-slider::before {
    width: 16px;
    height: 16px;
}

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

.toggle-switch.small input:checked + .toggle-slider::before {
    transform: translateX(20px);
}

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

.pricing-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

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

.pricing-card.popular {
    border-color: var(--primary);
    background: linear-gradient(180deg, rgba(99, 102, 241, 0.05) 0%, var(--bg-card) 100%);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: var(--space-xs) var(--space-md);
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    white-space: nowrap;
}

.card-header {
    margin-bottom: var(--space-lg);
}

.tier-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.tier-badge.bronze {
    background: linear-gradient(135deg, rgba(205, 127, 50, 0.2), rgba(205, 127, 50, 0.1));
    color: var(--bronze);
}

.tier-badge.silver {
    background: linear-gradient(135deg, rgba(192, 192, 192, 0.2), rgba(192, 192, 192, 0.1));
    color: var(--silver);
}

.tier-badge.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    color: var(--gold);
}

.tier-badge.platinum {
    background: linear-gradient(135deg, rgba(229, 228, 226, 0.2), rgba(229, 228, 226, 0.1));
    color: var(--platinum);
}

.tier-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.tier-description {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.card-price {
    display: flex;
    align-items: baseline;
    margin-bottom: var(--space-xs);
}

.currency {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.amount {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
}

.period {
    font-size: 1rem;
    color: var(--text-muted);
    margin-left: var(--space-xs);
}

.annual-note {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.feature-list {
    margin-bottom: var(--space-xl);
}

.feature-list li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-sm) 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.feature-list li.included {
    color: var(--text-primary);
}

.feature-list li.not-included {
    color: var(--text-muted);
}

.check-icon, .x-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    stroke-width: 2.5;
    fill: none;
}

.check-icon {
    stroke: var(--accent-green);
}

.x-icon {
    stroke: var(--text-muted);
}

/* ============================================= */
/* 9. AI AGENTS SECTION */
/* ============================================= */
.ai-agents {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
}

.agent-showcase {
    margin-bottom: var(--space-3xl);
}

.showcase-title {
    font-size: 1.25rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: var(--space-xl);
    color: var(--text-secondary);
}

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

.agent-type-card {
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-base);
}

.agent-type-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.agent-type-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
}

.agent-type-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-light);
}

.agent-type-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.agent-type-card p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Agent Pricing Grid */
.agent-pricing-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    align-items: start;
}

.agent-card {
    position: relative;
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    transition: all var(--transition-base);
}

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

.agent-card.popular {
    border-color: var(--accent-green);
    background: linear-gradient(180deg, rgba(34, 197, 94, 0.05) 0%, var(--bg-card) 100%);
}

.agent-card-header {
    margin-bottom: var(--space-lg);
}

.agent-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-sm);
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    margin-bottom: var(--space-sm);
}

.agent-badge.starter {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
}

.agent-badge.professional {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}

.agent-badge.enterprise {
    background: rgba(251, 191, 36, 0.15);
    color: var(--accent-gold);
}

.agent-badge.managed {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

.agent-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.agent-tagline {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.agent-price {
    display: flex;
    align-items: baseline;
    margin-bottom: var(--space-lg);
}

.agent-currency {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.agent-amount {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
}

.agent-term {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-left: var(--space-xs);
}

.agent-features {
    margin-bottom: var(--space-lg);
}

.agent-features li {
    display: flex;
    align-items: flex-start;
    gap: var(--space-sm);
    padding: var(--space-xs) 0;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.agent-ideal {
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    font-size: 0.8125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-md);
}

/* Maintenance Note */
.maintenance-note {
    font-size: 0.8125rem;
    color: var(--accent-gold);
    margin-bottom: var(--space-lg);
}

/* Ownership Note */
.ownership-note {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: var(--space-lg);
}

.ownership-note svg {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.ownership-note.ownership-yours {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
}

.ownership-note.ownership-yours svg {
    stroke: var(--accent-green);
}

/* Pricing Notice */
.pricing-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    background: rgba(251, 191, 36, 0.1);
    border: 1px solid rgba(251, 191, 36, 0.3);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-2xl);
    text-align: center;
}

.pricing-notice svg {
    width: 20px;
    height: 20px;
    stroke: var(--accent-gold);
    flex-shrink: 0;
}

.pricing-notice p {
    font-size: 0.9375rem;
    color: var(--text-primary);
}

/* Custom Price Display */
.price-custom {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--text-primary);
}

/* Agent Types Section */
.agent-types-section {
    padding: var(--space-4xl) 0;
    background: var(--bg-card);
}

/* Signals Section Adjustments */
.signals-section {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--bg-card) 50%, var(--bg-dark) 100%);
}

.signals-grid {
    max-width: 1000px;
    margin: 0 auto;
}

/* Custom Agent CTA */
.custom-agent-cta {
    margin-top: var(--space-3xl);
}

.custom-cta-content {
    text-align: center;
    padding: var(--space-2xl);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.custom-cta-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.custom-cta-content p {
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================= */
/* 10. FAQ SECTION */
/* ============================================= */
.faq {
    padding: var(--space-4xl) 0;
    background: var(--bg-card);
}

.faq-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

.faq-item {
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--space-lg);
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-icon {
    width: 20px;
    height: 20px;
    stroke: var(--text-muted);
    stroke-width: 2;
    fill: none;
    transition: transform var(--transition-base);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height var(--transition-base);
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding: 0 var(--space-lg) var(--space-lg);
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ============================================= */
/* 11. CTA SECTION */
/* ============================================= */
.cta-section {
    padding: var(--space-4xl) 0;
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    padding: var(--space-3xl);
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.cta-subtitle {
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

.cta-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

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

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: var(--space-3xl);
    margin-bottom: var(--space-3xl);
}

.footer-brand .logo {
    margin-bottom: var(--space-md);
}

.footer-tagline {
    color: var(--text-muted);
    font-size: 0.9375rem;
    max-width: 280px;
}

.footer-links h4 {
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

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

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

.footer-bottom {
    padding-top: var(--space-xl);
    border-top: 1px solid var(--border);
    text-align: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: var(--space-sm);
}

.disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto;
}

/* ============================================= */
/* 13. AUTH PAGES (Login/Signup) */
/* ============================================= */
.auth-page {
    min-height: 100vh;
}

.auth-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: var(--space-4xl) var(--space-lg);
    position: relative;
}

.auth-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 0;
}

.auth-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
}

.auth-card-wide {
    max-width: 520px;
}

.auth-header {
    text-align: center;
    margin-bottom: var(--space-xl);
}

.auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.9375rem;
}

/* Social Login Buttons */
.social-login {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.btn-social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    width: 100%;
    padding: var(--space-md);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-weight: 500;
    transition: all var(--transition-fast);
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-light);
}

.btn-discord {
    color: #5865F2;
}

/* Auth Divider */
.auth-divider {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.auth-divider::before,
.auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.auth-divider span {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

/* Form Styles */
.auth-form {
    display: flex;
    flex-direction: column;
    gap: var(--space-md);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
}

.form-label-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-link {
    font-size: 0.8125rem;
    color: var(--primary-light);
}

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

.form-input {
    width: 100%;
    padding: var(--space-md);
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all var(--transition-fast);
}

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

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

/* Password Input */
.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: var(--space-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    padding: var(--space-xs);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
}

.password-toggle:hover {
    color: var(--text-secondary);
}

/* Password Strength */
.password-strength {
    margin-top: var(--space-sm);
}

.strength-bar {
    height: 4px;
    background: var(--bg-dark);
    border-radius: var(--radius-full);
    overflow: hidden;
    margin-bottom: var(--space-xs);
}

.strength-fill {
    height: 100%;
    width: 0;
    transition: all var(--transition-base);
}

.strength-text {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

.checkbox-input {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    border: 1px solid var(--border-light);
    border-radius: var(--radius-sm);
    background: var(--bg-dark);
    position: relative;
    transition: all var(--transition-fast);
    margin-top: 2px;
}

.checkbox-input:checked + .checkbox-custom {
    background: var(--primary);
    border-color: var(--primary);
}

.checkbox-input:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* Plan Selection */
.plan-selection {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-sm);
}

.plan-option {
    cursor: pointer;
}

.plan-option input {
    display: none;
}

.plan-option-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md);
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition-fast);
}

.plan-option input:checked + .plan-option-content {
    border-color: var(--primary);
    background: rgba(99, 102, 241, 0.1);
}

.plan-option-icon {
    font-size: 1.5rem;
    margin-bottom: var(--space-xs);
}

.plan-option-text strong {
    display: block;
    font-size: 0.875rem;
}

.plan-option-text small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Auth Footer */
.auth-footer {
    text-align: center;
    margin-top: var(--space-xl);
    padding-top: var(--space-lg);
    border-top: 1px solid var(--border);
}

.auth-footer p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.auth-link {
    color: var(--primary-light);
    font-weight: 500;
}

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

/* Trust Indicators */
.auth-trust {
    display: flex;
    justify-content: center;
    gap: var(--space-xl);
    margin-top: var(--space-xl);
    flex-wrap: wrap;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.trust-item svg {
    width: 16px;
    height: 16px;
    stroke: var(--text-muted);
}

/* ============================================= */
/* 14. DASHBOARD */
/* ============================================= */
.dashboard-page {
    background: var(--bg-dark);
}

.dashboard-nav {
    position: fixed;
    background: var(--bg-card);
}

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

.notification-btn {
    position: relative;
    padding: var(--space-sm);
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

.notification-btn:hover {
    color: var(--text-primary);
}

.notification-btn svg {
    width: 20px;
    height: 20px;
}

.notification-badge {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    background: var(--accent-red);
    color: white;
    font-size: 10px;
    font-weight: 600;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-menu-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm);
    border-radius: var(--radius-md);
    transition: background var(--transition-fast);
}

.user-menu-btn:hover {
    background: rgba(255, 255, 255, 0.05);
}

.user-avatar {
    width: 36px;
    height: 36px;
    background: var(--primary);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.user-name {
    font-weight: 500;
}

.dropdown-arrow {
    width: 16px;
    height: 16px;
    color: var(--text-muted);
}

.user-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--space-sm);
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all var(--transition-fast);
    z-index: 100;
}

.user-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    color: var(--text-secondary);
    transition: all var(--transition-fast);
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.dropdown-item svg {
    width: 18px;
    height: 18px;
}

.dropdown-divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-xs) 0;
}

.dropdown-logout {
    color: var(--accent-red);
}

/* Dashboard Layout */
.dashboard-layout {
    display: flex;
    padding-top: 68px;
    min-height: 100vh;
}

/* Sidebar */
.dashboard-sidebar {
    width: 260px;
    background: var(--bg-card);
    border-right: 1px solid var(--border);
    position: fixed;
    top: 68px;
    bottom: 0;
    left: 0;
    display: flex;
    flex-direction: column;
    padding: var(--space-lg);
}

.sidebar-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.sidebar-link {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md);
    color: var(--text-secondary);
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.sidebar-link:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.sidebar-link.active {
    background: rgba(99, 102, 241, 0.1);
    color: var(--primary-light);
}

.sidebar-link svg {
    width: 20px;
    height: 20px;
}

.sidebar-divider {
    height: 1px;
    background: var(--border);
    margin: var(--space-md) 0;
}

.sidebar-plan {
    padding: var(--space-md);
    background: var(--bg-dark);
    border-radius: var(--radius-md);
    text-align: center;
}

.plan-badge-small {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    font-size: 0.8125rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    margin-bottom: var(--space-sm);
}

.plan-badge-small.gold {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2), rgba(255, 215, 0, 0.1));
    color: var(--gold);
}

.upgrade-link {
    font-size: 0.75rem;
    color: var(--text-muted);
}

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

/* Dashboard Main Content */
.dashboard-main {
    flex: 1;
    margin-left: 260px;
    padding: var(--space-xl);
}

.dashboard-section {
    display: none;
}

.dashboard-section.active {
    display: block;
}

.section-title-bar {
    margin-bottom: var(--space-xl);
}

.dashboard-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.dashboard-subtitle {
    color: var(--text-secondary);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.stat-card {
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

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

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

.stat-card-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
}

.stat-card-icon svg {
    width: 20px;
    height: 20px;
}

.stat-card-icon.green {
    background: rgba(34, 197, 94, 0.1);
    color: var(--accent-green);
}

.stat-card-icon.purple {
    background: rgba(168, 85, 247, 0.1);
    color: var(--accent-purple);
}

.stat-card-icon.blue {
    background: rgba(59, 130, 246, 0.1);
    color: var(--accent-blue);
}

.stat-card-icon.orange {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-orange);
}

.stat-card-value {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.stat-card-change {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-size: 0.8125rem;
}

.stat-card-change.positive {
    color: var(--accent-green);
}

.stat-card-change.negative {
    color: var(--accent-red);
}

.stat-card-change.neutral {
    color: var(--text-muted);
}

.stat-card-change svg {
    width: 16px;
    height: 16px;
}

/* Dashboard Cards */
.dashboard-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

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

.card-title {
    font-size: 1.125rem;
    font-weight: 600;
}

.card-link {
    font-size: 0.875rem;
    color: var(--primary-light);
}

/* Signals Table */
.signals-table {
    overflow-x: auto;
}

.signals-table table {
    width: 100%;
    border-collapse: collapse;
}

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

.signals-table th {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.signals-table td {
    font-size: 0.9375rem;
}

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

.asset-icon {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 600;
}

.asset-icon.btc {
    background: rgba(247, 147, 26, 0.2);
    color: #f7931a;
}

.asset-icon.eth {
    background: rgba(98, 126, 234, 0.2);
    color: #627eea;
}

.asset-icon.sol {
    background: rgba(0, 255, 163, 0.2);
    color: #00ffa3;
}

.asset-icon.xrp {
    background: rgba(35, 41, 47, 0.4);
    color: #fff;
}

.signal-type {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
}

.signal-type.long {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}

.signal-type.short {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

.signal-status {
    display: inline-block;
    padding: 2px 8px;
    font-size: 0.75rem;
    font-weight: 500;
    border-radius: var(--radius-sm);
}

.signal-status.active {
    background: rgba(59, 130, 246, 0.15);
    color: var(--accent-blue);
}

.signal-status.hit {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}

.signal-status.stopped {
    background: rgba(239, 68, 68, 0.15);
    color: var(--accent-red);
}

/* Agent Overview Cards */
.agents-overview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-lg);
}

.agent-overview-card {
    padding: var(--space-lg);
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.agent-overview-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--space-md);
}

.agent-overview-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
}

.agent-overview-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-light);
}

.agent-status-badge {
    padding: 2px 8px;
    font-size: 0.6875rem;
    font-weight: 600;
    border-radius: var(--radius-full);
    text-transform: uppercase;
}

.agent-status-badge.online {
    background: rgba(34, 197, 94, 0.15);
    color: var(--accent-green);
}

.agent-status-badge.offline {
    background: rgba(113, 113, 122, 0.15);
    color: var(--text-muted);
}

.agent-overview-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.agent-overview-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: var(--space-md);
}

.agent-overview-stats {
    display: flex;
    gap: var(--space-lg);
}

.agent-mini-stat {
    display: flex;
    flex-direction: column;
}

.mini-stat-value {
    font-size: 1.25rem;
    font-weight: 700;
}

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

.agent-add-card {
    display: flex;
    align-items: center;
    justify-content: center;
    border-style: dashed;
}

.agent-add-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-sm);
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

.agent-add-link:hover {
    color: var(--primary-light);
}

.agent-add-link svg {
    width: 40px;
    height: 40px;
}

/* Filter Controls */
.signals-filters {
    display: flex;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    flex-wrap: wrap;
}

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

.filter-group label {
    font-size: 0.875rem;
    color: var(--text-muted);
}

.filter-select {
    padding: var(--space-sm) var(--space-md);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-size: 0.875rem;
}

/* Agent Management Cards */
.agents-management-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.agent-management-card {
    padding: var(--space-xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.agent-mgmt-header {
    display: flex;
    align-items: flex-start;
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.agent-mgmt-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
}

.agent-mgmt-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--primary-light);
}

.agent-mgmt-info {
    flex: 1;
}

.agent-mgmt-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--space-xs);
}

.agent-type-label {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.agent-mgmt-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-md);
    margin-bottom: var(--space-lg);
}

.mgmt-stat {
    text-align: center;
    padding: var(--space-md);
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

.mgmt-stat-value {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

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

.agent-mgmt-integrations {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
}

.integration-badge {
    padding: var(--space-xs) var(--space-sm);
    background: rgba(99, 102, 241, 0.1);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    color: var(--primary-light);
}

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

.agent-add-large {
    display: flex;
    align-items: center;
    justify-content: center;
    border-style: dashed;
    min-height: 300px;
}

.agent-add-content {
    text-align: center;
    color: var(--text-muted);
}

.agent-add-content:hover {
    color: var(--text-primary);
}

.agent-add-icon {
    margin-bottom: var(--space-md);
}

.agent-add-icon svg {
    width: 48px;
    height: 48px;
    stroke: var(--primary-light);
}

.agent-add-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.agent-add-content p {
    margin-bottom: var(--space-lg);
    max-width: 200px;
}

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: var(--space-lg);
}

.settings-card {
    padding: var(--space-xl);
}

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

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

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

.notification-toggle {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

.notification-info strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
}

.notification-info small {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

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

.connected-account {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

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

.account-status {
    font-size: 0.8125rem;
}

.account-status.connected {
    color: var(--accent-green);
}

.danger-zone {
    border-color: rgba(239, 68, 68, 0.3);
}

.danger-zone .settings-card-title {
    color: var(--accent-red);
}

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

.danger-action {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-md);
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

.danger-info strong {
    display: block;
    font-size: 0.9375rem;
    margin-bottom: var(--space-xs);
}

.danger-info small {
    color: var(--text-muted);
    font-size: 0.8125rem;
}

/* ============================================= */
/* 15. LEGAL PAGES (Privacy, Terms) */
/* ============================================= */
.legal-page .navbar {
    position: relative;
    background: var(--bg-card);
}

.legal-header {
    padding: var(--space-4xl) 0 var(--space-2xl);
    background: linear-gradient(180deg, var(--bg-card) 0%, var(--bg-dark) 100%);
    text-align: center;
}

.legal-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.legal-updated {
    color: var(--text-muted);
    font-size: 0.9375rem;
}

.legal-content {
    padding: var(--space-3xl) 0;
}

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

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

.legal-section h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    color: var(--text-primary);
}

.legal-section h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    color: var(--text-primary);
}

.legal-section p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

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

.legal-section li {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-sm);
    position: relative;
}

.legal-section li::before {
    content: "•";
    color: var(--primary);
    position: absolute;
    left: -var(--space-md);
}

.legal-section .contact-info {
    padding: var(--space-lg);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
}

.legal-section .contact-info p {
    margin-bottom: var(--space-sm);
}

/* ============================================= */
/* 16. ABOUT PAGE */
/* ============================================= */
.about-hero {
    position: relative;
    padding: calc(var(--space-4xl) + 68px) 0 var(--space-3xl);
    overflow: hidden;
}

.about-hero-content {
    max-width: 700px;
    text-align: center;
    margin: 0 auto;
}

.about-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.about-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Mission Section */
.about-mission {
    padding: var(--space-4xl) 0;
    background: var(--bg-card);
}

.mission-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: var(--space-3xl);
    align-items: center;
}

.mission-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-lg);
}

.mission-statement {
    font-size: 1.25rem;
    color: var(--primary-light);
    font-weight: 500;
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

.mission-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: var(--space-md);
}

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

.mission-stat {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.mission-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-light);
    margin-bottom: var(--space-xs);
}

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

/* Story Section */
.about-story {
    padding: var(--space-4xl) 0;
}

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

.story-content h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: var(--space-xl);
    text-align: center;
}

.story-text p {
    color: var(--text-secondary);
    line-height: 1.9;
    margin-bottom: var(--space-lg);
    font-size: 1.0625rem;
}

/* Values Section */
.about-values {
    padding: var(--space-4xl) 0;
    background: var(--bg-card);
}

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

.value-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

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

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
}

.value-icon svg {
    width: 28px;
    height: 28px;
    stroke: var(--primary-light);
}

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

.value-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Services Section */
.about-services {
    padding: var(--space-4xl) 0;
}

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

.service-block {
    padding: var(--space-2xl);
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    text-align: center;
}

.service-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--space-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
}

.service-icon-large svg {
    width: 40px;
    height: 40px;
    stroke: var(--primary-light);
}

.service-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
}

.service-block > p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: var(--space-lg);
}

.service-features {
    text-align: left;
    margin-bottom: var(--space-xl);
    padding: var(--space-lg);
    background: var(--bg-dark);
    border-radius: var(--radius-md);
}

.service-features li {
    padding: var(--space-sm) 0;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}

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

/* ============================================= */
/* 17. CONTACT PAGE */
/* ============================================= */
.contact-hero {
    position: relative;
    padding: calc(var(--space-4xl) + 68px) 0 var(--space-3xl);
    overflow: hidden;
}

.contact-hero-content {
    max-width: 600px;
    text-align: center;
    margin: 0 auto;
}

.contact-hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 3.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--space-lg);
}

.contact-hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

.contact-content {
    padding: var(--space-3xl) 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--space-3xl);
}

/* Contact Form */
.contact-form-container {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl);
}

.contact-form-container h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--space-sm);
}

.form-intro {
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23a1a1aa' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 48px;
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

/* Contact Info */
.contact-info-container {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.contact-info-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

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

.contact-method {
    display: flex;
    gap: var(--space-md);
    padding: var(--space-md) 0;
    border-bottom: 1px solid var(--border);
}

.contact-method:last-of-type {
    border-bottom: none;
}

.contact-method-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-md);
    flex-shrink: 0;
}

.contact-method-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--primary-light);
    fill: none;
}

.contact-method-icon svg[fill="currentColor"] {
    fill: var(--primary-light);
    stroke: none;
}

.contact-method-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    margin-bottom: 2px;
}

.contact-method-info p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-method-info a {
    font-size: 0.9375rem;
    color: var(--primary-light);
}

.contact-method-info a:hover {
    color: var(--primary);
}

/* Response Time Card */
.response-time-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
}

.response-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
}

.response-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent-green);
}

.response-time-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-md);
}

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

.response-list li {
    display: flex;
    justify-content: space-between;
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--border);
    font-size: 0.875rem;
}

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

.response-type {
    color: var(--text-secondary);
}

.response-time {
    color: var(--accent-green);
    font-weight: 500;
}

/* FAQ Teaser */
.faq-teaser-card {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1) 0%, rgba(168, 85, 247, 0.1) 100%);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
}

.faq-teaser-card h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
}

.faq-teaser-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
}

/* Additional Contact Section */
.contact-additional {
    padding: var(--space-3xl) 0;
    background: var(--bg-card);
}

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

.additional-card {
    text-align: center;
    padding: var(--space-xl);
    background: var(--bg-dark);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.additional-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto var(--space-md);
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(99, 102, 241, 0.1);
    border-radius: var(--radius-lg);
}

.additional-icon svg {
    width: 32px;
    height: 32px;
    stroke: var(--primary-light);
}

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

.additional-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

/* ============================================= */
/* 18. RESPONSIVE DESIGN */
/* ============================================= */
@media (max-width: 1200px) {
    .pricing-grid,
    .agent-pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .agents-management-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .agent-types-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .dashboard-sidebar {
        width: 220px;
    }
    
    .dashboard-main {
        margin-left: 220px;
    }
    
    .agents-overview-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-comparison {
        grid-template-columns: 1fr;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .additional-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links,
    .nav-auth {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: var(--space-lg);
    }
    
    .stat-divider {
        display: none;
    }
    
    .features-grid,
    .agent-types-grid {
        grid-template-columns: 1fr;
    }
    
    .pricing-grid,
    .agent-pricing-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .plan-selection {
        grid-template-columns: 1fr;
    }
    
    .dashboard-sidebar {
        display: none;
    }
    
    .dashboard-main {
        margin-left: 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .agents-overview-grid {
        grid-template-columns: 1fr;
    }
    
    .signals-filters {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    :root {
        --space-lg: 16px;
        --space-xl: 24px;
        --space-2xl: 32px;
        --space-3xl: 48px;
        --space-4xl: 64px;
    }
    
    .hero-cta {
        flex-direction: column;
    }
    
    .btn-large {
        width: 100%;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .auth-trust {
        flex-direction: column;
        align-items: center;
    }
    
    .agent-mgmt-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================= */
/* MOBILE MENU STYLES */
/* ============================================= */

/* Dark overlay behind menu */
.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1001;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Slide-out menu panel */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 350px;
    height: 100vh;
    background: var(--bg-card);
    z-index: 1002;
    transition: right 0.25s ease;
    display: flex;
    flex-direction: column;
    border-left: 1px solid var(--border);
}

.mobile-menu.active {
    right: 0;
}

/* Menu header with logo and close button */
.mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 24px;
    border-bottom: 1px solid var(--border);
}

.mobile-menu-close {
    background: none;
    border: none;
    padding: 8px;
    cursor: pointer;
}

.mobile-menu-close svg {
    width: 24px;
    height: 24px;
    stroke: var(--text-primary);
}

.mobile-menu-close:hover svg {
    stroke: var(--primary);
}

/* Menu links */
.mobile-menu-links {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
}

.mobile-menu-links li {
    margin-bottom: 8px;
}

.mobile-menu-links a {
    display: block;
    padding: 12px 16px;
    font-size: 1rem;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.15s ease;
}

.mobile-menu-links a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* Login/Signup buttons at bottom */
.mobile-menu-auth {
    padding: 24px;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Make sure hamburger button shows on mobile for auth pages too */
.navbar-minimal .mobile-menu-btn {
    display: none;
}

@media (max-width: 768px) {
    .navbar-minimal .mobile-menu-btn {
        display: flex;
    }
}
