/* CWAI Global Styles - Standalone CSS for all pages */
/* This file is served directly from public/css/global.css */

/* ============================================
   CSS Custom Properties (Variables)
   ============================================ */
:root {
    --bg: #0A0A0B;
    --panel: #141417;
    --border: #26262b;
    --accent: #F9941E;
    --accent-soft: rgba(168, 85, 247, 0.12);
    --text: #EDEDED;
    --muted: #8b8b93;
    --accent-purple: #A855F7;
    --accent-orange: #F97316;
    --accent-red: #EF4444;
    --success: #34D399;
    --warning: #FBBF24;
    --info: #60A5FA;
}

/* ============================================
   Base Reset & Typography
   ============================================ */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.6;
    font-feature-settings: 'cv11', 'ss01';
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   Container & Layout
   ============================================ */
.container {
    max-width: 95%;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   Navigation
   ============================================ */
.nav {
    display: flex;
    align-items: center;
    height: 60px;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    background: rgba(10, 10, 11, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 100;
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.brand {
    font-weight: 800;
    font-size: 18px;
    letter-spacing: -0.5px;
    flex-shrink: 0;
}

.brand span {
    color: var(--accent);
}

.nav-links {
    display: flex;
    gap: 22px;
    align-items: center;
}

.nav-links a {
    color: var(--muted);
    font-size: 14px;
    font-weight: 500;
    transition: color 0.15s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--accent);
    border-radius: 1px;
    transform: scaleX(0);
    transition: transform 0.2s ease;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    transform: scaleX(1);
}

.nav-links a.nav-active {
    color: var(--text);
}

.nav-links a.nav-active::after {
    transform: scaleX(1);
    background: var(--accent);
}

/* Hamburger Button */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    flex-shrink: 0;
}

.nav-hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s ease;
    transform-origin: center;
}

.nav-hamburger.open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.nav-hamburger.open span:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}

.nav-hamburger.open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav Overlay */
.nav-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    z-index: 90;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.nav-mobile-overlay.open {
    opacity: 1;
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    border: none;
    cursor: pointer;
    padding: 9px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.12s, box-shadow 0.15s;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px var(--accent-soft);
}

.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.btn-primary {
    background: var(--accent);
    color: #fff;
}

.btn-secondary {
    background: rgba(38, 38, 43, 0.5);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: rgba(168, 85, 247, 0.1);
}

.btn-ghost {
    background: transparent;
    border: 1px solid var(--border);
    color: var(--text);
}

.btn-ghost:hover {
    border-color: var(--accent);
}

.btn-large {
    min-width: 280px;
    padding: 14px 32px;
    font-size: 16px;
}

/* ============================================
   Cards
   ============================================ */
.card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 24px;
}

/* ============================================
   Utility Classes
   ============================================ */
.muted {
    color: var(--muted);
}

.grid {
    display: grid;
    gap: 18px;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--accent-soft);
    color: var(--accent);
    font-size: 12px;
    font-weight: 600;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: #A855F7;
    margin-bottom: 20px;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    margin: 0 0 16px;
    letter-spacing: -1px;
    line-height: 1.1;
}

.section-title span {
    background: linear-gradient(135deg, #A855F7 0%, #F97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 18px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* ============================================
   Form Elements
   ============================================ */
input, select, textarea {
    width: 100%;
    background: #0f0f12;
    border: 1px solid var(--border);
    color: var(--text);
    padding: 11px 13px;
    border-radius: 9px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.15s;
    font-family: inherit;
}

input:focus, select:focus, textarea:focus {
    border-color: var(--accent);
}

label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 6px;
}

.field {
    margin-bottom: 16px;
}

.alert {
    padding: 11px 14px;
    border-radius: 9px;
    font-size: 14px;
    margin-bottom: 16px;
}

.alert-error {
    background: rgba(239, 68, 68, 0.12);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.alert-success {
    background: rgba(34, 197, 94, 0.12);
    color: #86efac;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

/* ============================================
   Tables
   ============================================ */
table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

th, td {
    text-align: left;
    padding: 12px 10px;
    border-bottom: 1px solid var(--border);
}

th {
    color: var(--muted);
    font-weight: 500;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

/* ============================================
   Animation Keyframes
   ============================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes countUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ============================================
   Animation Classes
   ============================================ */
.animate-fade-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

.animate-scale-in {
    animation: scaleIn 0.4s ease-out forwards;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out forwards;
}

/* Initial state for animated elements */
[data-animate]:not([data-animate="stagger"]):not([data-animate="count-up"]) {
    opacity: 0;
    transform: translateY(20px);
}

/* Stagger animation for grid children */
[data-animate="stagger"] > * {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

[data-animate="stagger"] > *:nth-child(1) { transition-delay: 0ms; }
[data-animate="stagger"] > *:nth-child(2) { transition-delay: 50ms; }
[data-animate="stagger"] > *:nth-child(3) { transition-delay: 100ms; }
[data-animate="stagger"] > *:nth-child(4) { transition-delay: 150ms; }
[data-animate="stagger"] > *:nth-child(5) { transition-delay: 200ms; }
[data-animate="stagger"] > *:nth-child(6) { transition-delay: 250ms; }
[data-animate="stagger"] > *:nth-child(7) { transition-delay: 300ms; }
[data-animate="stagger"] > *:nth-child(8) { transition-delay: 350ms; }

/* ============================================
   Hero Section
   ============================================ */
.hero-section {
    position: relative;
    padding: 120px 0 80px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08) 0%, rgba(239, 68, 68, 0.05) 100%);
}

.gradient-mesh {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(168, 85, 247, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(249, 148, 30, 0.1) 0%, transparent 50%);
    animation: pulse 8s ease-in-out infinite;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
}

.float-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(60px);
    animation: float 6s ease-in-out infinite;
}

.float-orb-1 {
    width: 300px;
    height: 300px;
    background: rgba(168, 85, 247, 0.2);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.float-orb-2 {
    width: 200px;
    height: 200px;
    background: rgba(249, 148, 30, 0.15);
    top: 60%;
    right: 10%;
    animation-delay: 2s;
}

.float-orb-3 {
    width: 250px;
    height: 250px;
    background: rgba(239, 68, 68, 0.1);
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 999px;
    font-size: 13px;
    margin-bottom: 32px;
}

.badge-dot {
    width: 6px;
    height: 6px;
    background: #A855F7;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 24px;
    letter-spacing: -1.5px;
}

.hero-title span {
    background: linear-gradient(135deg, #A855F7 0%, #F97316 50%, #EF4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--muted);
    max-width: 700px;
    margin: 0 0 40px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.hero-ctas .btn-primary {
    min-width: 200px;
    justify-content: center;
    gap: 12px;
}

.hero-social-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    flex-wrap: wrap;
}

.social-stats {
    display: flex;
    align-items: center;
    gap: 32px;
}

.stat {
    text-align: center;
}

.stat-value {
    font-size: 36px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

.trusted-by {
    text-align: center;
    margin-top: 24px;
}

.trusted-label {
    display: block;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 16px;
}

.trusted-logos {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.logo-placeholder {
    padding: 8px 16px;
    background: rgba(38, 38, 43, 0.5);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
}

/* ============================================
   Features Section
   ============================================ */
.features-section {
    padding: 100px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #A855F7;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
}

.feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}

.feature-content p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.feature-highlight {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #A855F7, #F97316);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-highlight {
    transform: scaleX(1);
}

.features-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-top: 48px;
    flex-wrap: wrap;
}

.features-stats .stat-item {
    text-align: center;
}

.features-stats .stat-number {
    font-size: 36px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.features-stats .stat-divider {
    width: 1px;
    height: 50px;
    background: var(--border);
}

/* ============================================
   Media Section
   ============================================ */
.media-section {
    padding: 100px 0;
}

.media-header {
    text-align: center;
    margin-bottom: 48px;
}

.media-showcase {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 24px;
    margin-top: 40px;
}

.media-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border);
    padding-bottom: 16px;
}

.media-tab {
    background: transparent;
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
}

.media-tab:hover {
    background: rgba(38, 38, 43, 0.5);
    color: var(--text);
}

.media-tab.active {
    background: rgba(168, 85, 247, 0.1);
    color: #A855F7;
}

.media-panels {
    min-height: 500px;
}

.media-panel {
    display: none;
}

.media-panel.active {
    display: block;
}

/* Code Editor Mockup */
.code-editor-mockup {
    background: #0d0d10;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.editor-header {
    background: #15151a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.window-controls {
    display: flex;
    gap: 6px;
}

.control {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.control.close { background: #FF5F57; }
.control.minimize { background: #FEBC2E; }
.control.maximize { background: #28C840; }

.editor-tabs {
    display: flex;
    gap: 4px;
    margin-left: 16px;
}

.tab {
    font-size: 13px;
    padding: 4px 12px;
    background: rgba(38, 38, 43, 0.5);
    border-radius: 6px;
}

.tab.active {
    background: rgba(168, 85, 247, 0.1);
    color: #A855F7;
}

.tab-overflow {
    font-size: 12px;
    padding: 4px 8px;
}

.editor-content {
    padding: 20px;
    overflow-x: auto;
}

.line-numbers {
    display: flex;
    gap: 16px;
    color: #3f3f46;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    margin-bottom: 16px;
    user-select: none;
}

.code-content {
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 14px;
    line-height: 1.8;
}

.kw { color: #F472B6; }
.imp { color: #60A5FA; }
.cls { color: #A78BFA; }
.str { color: #34D399; }
.op { color: #9CA3AF; }
.fn { color: #FBBF24; }
.arg { color: #60A5FA; }
.type { color: #60A5FA; }

.ai-suggestion {
    background: rgba(168, 85, 247, 0.1);
    border-left: 3px solid #A855F7;
    padding: 16px;
    border-radius: 0 8px 8px 0;
    margin-top: 16px;
}

.suggestion-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(168, 85, 247, 0.2);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #A855F7;
    margin-bottom: 12px;
}

.terminal-output {
    background: #0d0d10;
    border-radius: 12px;
    padding: 16px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
}

.terminal-header {
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 12px;
}

.terminal-lines {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.line {
    display: flex;
    gap: 8px;
}

.line.success { color: #34D399; }
.line.info { color: #60A5FA; }
.line.warning { color: #FBBF24; }

/* Terminal Full */
.terminal-full {
    background: #0d0d10;
    border-radius: 12px;
    overflow: hidden;
}

.terminal-header {
    background: #15151a;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border);
}

.terminal-tabs {
    display: flex;
    gap: 4px;
    margin-left: 16px;
}

.terminal-content {
    padding: 16px;
}

.terminal-line {
    padding: 4px 0;
}

.terminal-output-animated {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}

.terminal-prompt-line {
    display: flex;
    align-items: center;
    gap: 8px;
}

.cursor-blink {
    animation: pulse 1s ease-in-out infinite;
}

/* Analytics Dashboard */
.analytics-dashboard {
    height: 100%;
}

.analytics-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.analytics-header h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    background: rgba(52, 211, 153, 0.1);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    color: #34D399;
}

.live-badge::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #34D399;
    border-radius: 50%;
    animation: pulse 1s ease-in-out infinite;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.metric-card {
    background: rgba(38, 38, 43, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 20px;
}

.metric-icon {
    width: 40px;
    height: 40px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
    color: #A855F7;
}

.metric-icon svg {
    width: 20px;
    height: 20px;
}

.metric-content {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 4px;
}

.metric-label {
    font-size: 12px;
    color: var(--muted);
}

.model-breakdown h4 {
    font-size: 14px;
    font-weight: 600;
    margin: 0 0 16px;
}

.model-bars {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.model-bar {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.model-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.model-name {
    font-weight: 500;
}

.model-pct {
    color: var(--muted);
}

.bar-track {
    height: 6px;
    background: var(--border);
    border-radius: 3px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #A855F7, #F97316);
    border-radius: 3px;
    transition: width 0.5s ease-out;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials-section {
    padding: 100px 0;
    background: rgba(38, 38, 43, 0.3);
}

.testimonials-carousel {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 24px;
}

.testimonial-card {
    flex: 0 0 100%;
    scroll-snap-align: start;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
}

.testimonial-rating {
    display: flex;
    gap: 2px;
    margin-bottom: 20px;
}

.star {
    color: #FBBF24;
    font-size: 20px;
}

.testimonial-card blockquote {
    font-size: 18px;
    line-height: 1.6;
    margin: 0 0 24px;
}

.testimonial-card blockquote strong {
    color: var(--text);
}

.testimonial-card footer {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #A855F7, #F97316);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    color: white;
}

.author-info cite {
    font-style: normal;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.author-info span {
    font-size: 13px;
    color: var(--muted);
}

.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    margin-top: 32px;
}

.carousel-btn {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.carousel-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: white;
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.carousel-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--border);
    border: none;
    cursor: pointer;
    transition: all 0.2s;
}

.dot.active {
    background: #A855F7;
}

/* ============================================
   FAQ Section
   ============================================ */
.faq-section {
    padding: 100px 0;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.faq-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
}

.faq-item summary {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-weight: 600;
    transition: background 0.2s;
    list-style: none;
}

.faq-item summary::-webkit-details-marker {
    display: none;
}

.faq-item summary:hover {
    background: rgba(38, 38, 43, 0.5);
}

.faq-chevron {
    transition: transform 0.2s;
}

.faq-item[open] .faq-chevron {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 20px 20px;
    color: var(--muted);
    line-height: 1.6;
}

.faq-answer code {
    background: rgba(38, 38, 43, 0.5);
    padding: 2px 6px;
    border-radius: 4px;
    font-family: 'Monaco', 'Menlo', monospace;
    font-size: 13px;
}

/* ============================================
   Final CTA Section
   ============================================ */
.final-cta-section {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.final-cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.15) 0%, rgba(249, 148, 30, 0.1) 100%);
}

.cta-gradient {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.2) 0%, rgba(249, 148, 30, 0.1) 100%);
    animation: pulse 8s ease-in-out infinite;
}

.cta-grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
}

.final-cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.final-cta-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.1;
}

.final-cta-subtitle {
    font-size: 20px;
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto 40px;
}

.final-cta-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-bottom: 40px;
}

.cta-trust {
    font-size: 14px;
    color: var(--muted);
}

.cta-benefits {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-benefits .benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted);
}

.cta-benefits .benefit svg {
    width: 20px;
    height: 20px;
    color: #34D399;
}

/* ============================================
   Accent Gradient Utility
   ============================================ */
.accent-gradient {
    background: linear-gradient(135deg, #A855F7 0%, #F97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   About / Inner Page Hero Styles
   ============================================ */
.page-hero {
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(168, 85, 247, 0.08) 0%, transparent 100%);
}

.page-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
}

.contact-hero {
    padding: 120px 0 80px;
}

.page-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.page-hero-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(168, 85, 247, 0.1);
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #A855F7;
    margin-bottom: 24px;
}

.page-hero-title {
    font-size: 56px;
    font-weight: 800;
    margin: 0 0 20px;
    line-height: 1.1;
}

.page-hero-subtitle {
    font-size: 20px;
    color: var(--muted);
    line-height: 1.6;
}

.mission-section {
    padding: 80px 0;
}

.mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.mission-content {
    padding-right: 40px;
}

.mission-text p {
    margin-bottom: 16px;
    line-height: 1.8;
    font-size: 16px;
}

.mission-visual {
    position: relative;
}

.mission-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 32px;
}

.stat-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 13px;
    color: var(--muted);
}

.values-section {
    padding: 80px 0;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.value-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s;
}

.value-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

.value-icon {
    width: 48px;
    height: 48px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #A855F7;
}

.value-icon svg {
    width: 24px;
    height: 24px;
}

.value-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
}

.value-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.team-section {
    padding: 80px 0;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
}

.team-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

.team-avatar {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #A855F7, #F97316);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: white;
    margin: 0 auto 16px;
}

.team-info h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 4px;
}

.team-role {
    font-size: 13px;
    color: var(--muted);
    display: block;
    margin-bottom: 12px;
}

.team-bio {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
}

.backers-section {
    padding: 80px 0;
}

.backers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.backer-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.backer-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

.backer-logo {
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 8px;
    display: block;
}

.backer-stage {
    font-size: 13px;
    color: var(--muted);
}

.page-cta-section {
    padding: 100px 0;
}

.page-cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.page-cta-title {
    font-size: 48px;
    font-weight: 800;
    margin: 0 0 16px;
    line-height: 1.1;
}

.page-cta-subtitle {
    font-size: 18px;
    color: var(--muted);
    margin: 0 0 32px;
}

/* ============================================
   Careers Page Styles
   ============================================ */
.why-section {
    padding: 80px 0;
    background: rgba(38, 38, 43, 0.2);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.why-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-icon {
    width: 56px;
    height: 56px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #A855F7;
}

.why-icon svg {
    width: 28px;
    height: 28px;
}

.why-card h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 12px;
}

.why-card p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.roles-section {
    padding: 100px 0;
}

.roles-grid {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(2, 1fr);
}

.role-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.role-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.role-card.featured {
    border-color: #A855F7;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05) 0%, rgba(38, 38, 43, 0.8) 100%);
}

.role-badge {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #A855F7;
    margin-bottom: 16px;
}

.role-header {
    margin-bottom: 16px;
}

.role-header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.role-type {
    font-size: 13px;
    color: var(--muted);
}

.role-description {
    margin-bottom: 20px;
}

.role-description p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 16px;
}

.role-description p:last-child {
    margin-bottom: 0;
}

.role-requirements {
    list-style: none;
    padding: 0;
    margin: 0 0 20px;
}

.role-requirements li {
    padding: 8px 0;
    color: var(--muted);
    font-size: 14px;
    border-bottom: 1px solid var(--border);
}

.role-requirements li:last-child {
    border-bottom: none;
}

.role-requirements li::before {
    content: '•';
    color: #A855F7;
    margin-right: 12px;
    font-weight: bold;
}

.roles-cta {
    text-align: center;
    max-width: 600px;
    margin: 48px auto 0;
    padding: 24px;
    background: rgba(38, 38, 43, 0.5);
    border: 1px solid var(--border);
    border-radius: 12px;
}

.roles-cta p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.roles-cta a {
    color: #A855F7;
    font-weight: 600;
    text-decoration: none;
}

.roles-cta a:hover {
    text-decoration: underline;
}

.process-section {
    padding: 100px 0;
}

.process-steps {
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.process-step {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    position: relative;
    overflow: hidden;
}

.process-step:hover {
    border-color: rgba(168, 85, 247, 0.3);
}

.step-number {
    font-size: 48px;
    font-weight: 800;
    color: rgba(168, 85, 247, 0.4);
    line-height: 1;
    margin-bottom: 16px;
    font-variant-numeric: tabular-nums;
}

.step-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 8px;
}

.step-content p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

.benefits-section {
    padding: 100px 0;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.benefit-item {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: #A855F7;
}

.benefit-icon svg {
    width: 24px;
    height: 24px;
}

.benefit-item h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}

.benefit-item p {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0;
}

/* ============================================
   Blog Page Styles
   ============================================ */
.featured-post-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 40px;
    transition: border-color 0.3s, box-shadow 0.3s;
    position: relative;
    overflow: hidden;
}

.featured-post-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, #A855F7, #F97316);
}

.featured-post-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.4);
}

.featured-post-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.featured-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    background: rgba(168, 85, 247, 0.2);
    border: 1px solid rgba(168, 85, 247, 0.3);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
    color: #A855F7;
}

.featured-post-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(38, 38, 43, 0.8);
    border: 1px solid var(--border);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 500;
    color: var(--muted);
}

.featured-post-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 16px;
    line-height: 1.3;
}

.featured-post-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.featured-post-title a:hover {
    color: #A855F7;
}

.featured-post-excerpt {
    font-size: 16px;
    color: var(--muted);
    line-height: 1.7;
    margin: 0 0 24px;
}

.featured-post-author {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
}

.read-time {
    font-size: 13px;
    color: var(--muted);
}

.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.post-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.post-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.post-card-content {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.post-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    font-size: 13px;
    color: var(--muted);
}

.post-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

.post-title {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 12px;
    line-height: 1.4;
}

.post-title a {
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
}

.post-title a:hover {
    color: #A855F7;
}

.post-excerpt {
    font-size: 14px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 20px;
    flex: 1;
}

.post-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
}

.author-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.author-name {
    font-size: 13px;
    font-weight: 600;
    color: var(--text);
}

.author-role {
    font-size: 12px;
    color: var(--muted);
}

.newsletter-cta {
    margin-top: 64px;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.08), rgba(249, 148, 30, 0.05));
    border: 1px solid rgba(168, 85, 247, 0.2);
    border-radius: 20px;
    padding: 48px;
    text-align: center;
}

.newsletter-content h3 {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 12px;
}

.newsletter-content p {
    color: var(--muted);
    margin: 0 0 24px;
    font-size: 16px;
}

.newsletter-content .newsletter-form {
    max-width: 420px;
    margin: 0 auto;
}

/* ============================================
   Contact Page Styles
   ============================================ */
.contact-info-section {
    padding: 80px 0 40px;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.contact-info-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s ease;
}

.contact-info-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.contact-info-icon {
    width: 48px;
    height: 48px;
    background: rgba(168, 85, 247, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: #A855F7;
}

.contact-info-icon svg {
    width: 24px;
    height: 24px;
}

.contact-info-card h3 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 8px;
}

.contact-info-card p {
    font-size: 13px;
    color: var(--muted);
    line-height: 1.6;
    margin: 0 0 12px;
}

.contact-info-link {
    font-size: 13px;
    font-weight: 600;
    color: #A855F7;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-info-link:hover {
    color: var(--accent-orange);
}

.contact-info-highlight {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--success);
}

.contact-main-section {
    padding: 40px 0 80px;
}

.contact-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
    align-items: start;
}

.contact-form-wrapper {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
}

.contact-form-header {
    margin-bottom: 32px;
}

.contact-form-title {
    font-size: 28px;
    font-weight: 700;
    margin: 0 0 8px;
}

.contact-form-subtitle {
    color: var(--muted);
    font-size: 15px;
    margin: 0;
}

.contact-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.required {
    color: #EF4444;
    font-size: 12px;
}

.field-error {
    display: block;
    color: #fca5a5;
    font-size: 12px;
    margin-top: 4px;
}

.contact-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.contact-privacy-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted);
    margin: 0;
}

.contact-privacy-note a {
    color: #A855F7;
    text-decoration: underline;
}

.btn-contact-submit {
    min-width: 160px;
    justify-content: center;
}

.contact-faq {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 32px;
    position: sticky;
    top: 80px;
}

.contact-faq-title {
    font-size: 20px;
    font-weight: 700;
    margin: 0 0 8px;
}

.contact-faq-subtitle {
    font-size: 13px;
    color: var(--muted);
    margin: 0 0 24px;
    line-height: 1.5;
}

.contact-faq-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.contact-faq-list .faq-item summary {
    padding: 14px 16px;
    font-size: 13px;
}

.contact-faq-list .faq-answer {
    padding: 0 16px 14px;
    font-size: 13px;
}

.contact-faq-cta {
    text-align: center;
    padding-top: 16px;
    border-top: 1px solid var(--border);
}

.contact-faq-cta p {
    font-size: 13px;
    color: var(--muted);
    margin: 0;
}

/* ============================================
   Legal Pages (Privacy & Terms)
   ============================================ */
.legal-content-section {
    padding: 60px 0 80px;
}

.legal-content {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 64px;
    align-items: start;
}

.legal-toc {
    position: sticky;
    top: 80px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 24px;
}

.legal-toc h3 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--muted);
    margin: 0 0 16px;
}

.legal-toc ol {
    list-style: none;
    padding: 0;
    margin: 0;
    counter-reset: toc-counter;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.legal-toc li {
    counter-increment: toc-counter;
}

.legal-toc a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    color: var(--muted);
    text-decoration: none;
    transition: all 0.15s;
}

.legal-toc a::before {
    content: counter(toc-counter, decimal-leading-zero);
    font-size: 11px;
    font-weight: 600;
    color: rgba(168, 85, 247, 0.5);
    flex-shrink: 0;
}

.legal-toc a:hover {
    background: rgba(168, 85, 247, 0.08);
    color: var(--text);
}

.legal-article {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border);
}

.legal-article:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.legal-article h2 {
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 16px;
    color: var(--text);
    scroll-margin-top: 80px;
}

.legal-article h3 {
    font-size: 15px;
    font-weight: 600;
    margin: 24px 0 10px;
    color: var(--text);
}

.legal-article p {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin: 0 0 14px;
}

.legal-article ul,
.legal-article ol {
    padding-left: 20px;
    margin: 0 0 16px;
}

.legal-article li {
    font-size: 15px;
    color: var(--muted);
    line-height: 1.8;
    margin-bottom: 6px;
}

.legal-article a {
    color: #A855F7;
    text-decoration: underline;
    transition: color 0.15s;
}

.legal-article a:hover {
    color: var(--accent-orange);
}

.legal-article strong {
    color: var(--text);
    font-weight: 600;
}

.legal-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
    margin: 16px 0 24px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border);
}

.legal-table thead {
    background: rgba(38, 38, 43, 0.8);
}

.legal-table th {
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
}

.legal-table td {
    padding: 12px 16px;
    font-size: 14px;
    color: var(--muted);
    border-bottom: 1px solid var(--border);
    vertical-align: top;
}

.legal-table tbody tr:last-child td {
    border-bottom: none;
}

.legal-table tbody tr:nth-child(even) {
    background: rgba(20, 20, 23, 0.5);
}

.callout {
    border-radius: 12px;
    padding: 16px 20px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.7;
}

.callout-info {
    background: rgba(96, 165, 250, 0.08);
    border: 1px solid rgba(96, 165, 250, 0.2);
    color: var(--muted);
}

.callout-info strong {
    color: #60A5FA;
}

.callout-warning {
    background: rgba(251, 191, 36, 0.08);
    border: 1px solid rgba(251, 191, 36, 0.2);
    color: var(--muted);
}

.callout-warning strong {
    color: #FBBF24;
}

/* ============================================
   Footer
   ============================================ */
.site-footer {
    margin-top: 80px;
    padding: 60px 0 30px;
    border-top: 1px solid var(--border);
    background: var(--panel);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr) 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 280px;
}

.footer-logo {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: -0.5px;
    display: inline-block;
    margin-bottom: 12px;
}

.footer-logo span {
    color: var(--accent);
}

.footer-tagline {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
}

.footer-nav h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin: 0 0 16px;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 10px;
}

.footer-nav a {
    color: var(--muted);
    font-size: 14px;
    transition: color 0.15s;
}

.footer-nav a:hover {
    color: var(--accent);
}

.footer-newsletter h4 {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text);
    margin: 0 0 12px;
}

.footer-newsletter p {
    color: var(--muted);
    font-size: 13px;
    margin: 0 0 16px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 8px;
}

.newsletter-form input {
    flex: 1;
    padding: 10px 12px;
    font-size: 13px;
}

.newsletter-form .btn {
    padding: 10px 16px;
    font-size: 13px;
    white-space: nowrap;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid var(--border);
    flex-wrap: wrap;
    gap: 20px;
}

.footer-social {
    display: flex;
    gap: 16px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--muted);
    transition: all 0.2s;
}

.footer-social a:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: #000;
    transform: translateY(-2px);
}

.footer-social svg {
    width: 20px;
    height: 20px;
}

.copyright {
    color: var(--muted);
    font-size: 13px;
}

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 44px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .mission-grid {
        grid-template-columns: 1fr;
    }
    
    .mission-content {
        padding-right: 0;
        margin-bottom: 32px;
    }
    
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .backers-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .why-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .roles-grid {
        grid-template-columns: 1fr;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .analytics-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Legal Pages */
    .legal-content {
        grid-template-columns: 200px 1fr;
        gap: 40px;
    }

    /* Blog */
    .posts-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Contact */
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-faq {
        position: static;
    }
}

@media (max-width: 768px) {
    /* Mobile Nav */
    .nav-hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(10, 10, 11, 0.98);
        flex-direction: column;
        align-items: flex-start;
        padding: 24px 20px;
        gap: 4px;
        z-index: 95;
        overflow-y: auto;
        border-top: 1px solid var(--border);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        font-size: 16px;
        padding: 12px 16px;
        width: 100%;
        border-radius: 8px;
        border-bottom: none;
    }

    .nav-links a::after {
        display: none;
    }

    .nav-links a:hover,
    .nav-links a.nav-active {
        background: rgba(168, 85, 247, 0.08);
        color: var(--text);
    }

    .nav-mobile-overlay {
        display: block;
    }

    .hero-section,
    .features-section,
    .media-section,
    .testimonials-section,
    .faq-section,
    .final-cta-section,
    .page-hero,
    .mission-section,
    .values-section,
    .team-section,
    .backers-section,
    .page-cta-section,
    .why-section,
    .roles-section,
    .process-section,
    .benefits-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 15px;
    }
    
    .features-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .backers-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .hero-ctas .btn-primary,
    .hero-ctas .btn-secondary {
        width: 100%;
        justify-content: center;
    }
    
    .hero-social-proof {
        flex-direction: column;
        gap: 24px;
    }
    
    .social-stats {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-benefits {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
    
    .page-hero-title {
        font-size: 36px;
    }
    
    .page-hero-subtitle {
        font-size: 16px;
    }
    
    .mission-stats {
        grid-template-columns: 1fr 1fr;
    }
    
    .why-grid,
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: 1fr;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }

    /* Legal Pages Mobile */
    .legal-content {
        grid-template-columns: 1fr;
    }

    .legal-toc {
        position: static;
    }

    /* Blog Mobile */
    .posts-grid {
        grid-template-columns: 1fr;
    }

    /* Contact Mobile */
    .contact-info-grid {
        grid-template-columns: 1fr 1fr;
    }

    .contact-form-wrapper {
        padding: 28px 20px;
    }

    .contact-form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-footer {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-contact-submit {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 16px;
    }
    
    .nav-links {
        gap: 16px;
    }
    
    .nav-links a {
        font-size: 13px;
    }
    
    .btn {
        padding: 8px 14px;
        font-size: 13px;
    }
    
    .hero-title {
        font-size: 30px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .page-hero-title {
        font-size: 28px;
    }
    
    .final-cta-title {
        font-size: 32px;
    }
    
    .page-cta-title {
        font-size: 32px;
    }
    
    .stat-value {
        font-size: 28px;
    }
    
    .features-stats .stat-number {
        font-size: 28px;
    }
    
    .stat-divider {
        display: none;
    }
    
    .features-stats .stat-divider {
        display: none;
    }
    
    .mission-stats {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Pricing Page Toggle Styles
   ============================================ */
.billing-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
    justify-content: center;
}

.toggle-label {
    font-size: 14px;
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}

.toggle-label.active {
    color: var(--text);
}

.toggle-switch {
    position: relative;
    display: inline-block;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.toggle-switch input {
    opacity: 0;
    width: 0;
    height: 0;
    position: absolute;
}

.toggle-slider {
    position: absolute;
    inset: 0;
    background: var(--border);
    border-radius: 999px;
    transition: background 0.3s;
}

.toggle-slider::before {
    content: '';
    position: absolute;
    left: 3px;
    top: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--muted);
    transition: transform 0.3s, background 0.3s;
}

.toggle-switch input:checked + .toggle-slider {
    background: rgba(168, 85, 247, 0.3);
}

.toggle-switch input:checked + .toggle-slider::before {
    transform: translateX(20px);
    background: #A855F7;
}

.save-badge {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(52, 211, 153, 0.15);
    border: 1px solid rgba(52, 211, 153, 0.3);
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    color: #34D399;
    margin-left: 4px;
    vertical-align: middle;
    transition: opacity 0.3s;
}

/* Pricing card price animation reset */
.pricing-card-price .price {
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* ============================================
   Extra small screens (< 480px)
   ============================================ */
@media (max-width: 480px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .newsletter-cta {
        padding: 28px 20px;
    }

    .page-hero-title,
    .hero-title {
        font-size: 26px;
    }

    .contact-form-wrapper {
        padding: 20px 16px;
    }
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .nav,
    .site-footer,
    .btn,
    .carousel-controls,
    .media-tabs {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero-section,
    .features-section,
    .testimonials-section,
    .faq-section,
    .final-cta-section {
        page-break-inside: avoid;
    }
}