/* ============================================
   ALIDORO — Premium Dark Construction Platform
   Brand: #09090B bg, #10B981 emerald accent
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    --bg: #09090B;
    --bg-card: rgba(255,255,255,0.03);
    --bg-card-hover: rgba(255,255,255,0.06);
    --bg-card-solid: #111113;
    --border: rgba(255,255,255,0.06);
    --border-hover: rgba(255,255,255,0.12);
    --text: #FAFAFA;
    --text-secondary: #A1A1AA;
    --text-muted: #71717A;
    --emerald: #10B981;
    --emerald-dark: #059669;
    --emerald-glow: rgba(16,185,129,0.15);
    --emerald-glow-strong: rgba(16,185,129,0.25);
    --red: #EF4444;
    --red-glow: rgba(239,68,68,0.15);
    --yellow: #F59E0B;
    --yellow-glow: rgba(245,158,11,0.15);
    --blue: #3B82F6;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-sm: 8px;
    --shadow: 0 1px 3px rgba(0,0,0,0.3), 0 1px 2px rgba(0,0,0,0.2);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.4);
    --glass: saturate(180%) blur(20px);
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
}

a { color: var(--emerald); text-decoration: none; transition: color 0.2s; }
a:hover { color: #34D399; }

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ---- LAYOUT ---- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; }

/* ---- APP LAYOUT ---- */
.app-layout { display: flex; min-height: 100vh; }

.sidebar {
    width: 260px;
    background: rgba(255,255,255,0.02);
    border-right: 1px solid var(--border);
    padding: 24px 16px;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
    display: flex;
    flex-direction: column;
}

.sidebar-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    padding: 0 8px 24px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 24px;
}

.sidebar-logo span { color: var(--emerald); }

.sidebar-nav { flex: 1; display: flex; flex-direction: column; gap: 2px; }

.sidebar-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.15s;
}

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

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

.sidebar-section {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    padding: 16px 12px 8px;
}

.sidebar-footer {
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: auto;
}

.sidebar-user {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 8px;
}

.sidebar-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--emerald-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    color: var(--emerald);
}

.sidebar-user-info { flex: 1; min-width: 0; }
.sidebar-user-name { font-size: 0.8125rem; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sidebar-user-email { font-size: 0.6875rem; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.main-content {
    flex: 1;
    margin-left: 260px;
    padding: 32px 40px;
    min-height: 100vh;
}

/* ---- PAGE HEADER ---- */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 32px;
}

.page-title { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.page-subtitle { color: var(--text-secondary); font-size: 0.875rem; margin-top: 4px; }

/* ---- CARDS ---- */
.card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    transition: border-color 0.2s, background 0.2s;
}

.card:hover { border-color: var(--border-hover); }
.card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.card-title { font-size: 1rem; font-weight: 600; }

/* ---- STAT CARDS ---- */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 32px; }

.stat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    backdrop-filter: var(--glass);
}

.stat-label { font-size: 0.75rem; font-weight: 500; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 8px; }
.stat-value { font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.stat-value.emerald { color: var(--emerald); }
.stat-value.red { color: var(--red); }
.stat-value.yellow { color: var(--yellow); }
.stat-sub { font-size: 0.75rem; color: var(--text-muted); margin-top: 4px; }

/* ---- BUDGET BAR ---- */
.budget-bar-container { margin-bottom: 32px; }

.budget-bar-labels { display: flex; justify-content: space-between; margin-bottom: 8px; font-size: 0.8125rem; }
.budget-bar-labels span:first-child { color: var(--text-secondary); }

.budget-bar {
    height: 12px;
    background: rgba(255,255,255,0.06);
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.budget-bar-fill {
    height: 100%;
    border-radius: 6px;
    transition: width 0.8s ease;
    background: linear-gradient(90deg, var(--emerald), #34D399);
}

.budget-bar-fill.warning { background: linear-gradient(90deg, var(--yellow), #FBBF24); }
.budget-bar-fill.danger { background: linear-gradient(90deg, var(--red), #F87171); }

/* ---- TABLES ---- */
.table-container { overflow-x: auto; }

table { width: 100%; border-collapse: collapse; }
th { text-align: left; padding: 12px 16px; font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: var(--text-muted); border-bottom: 1px solid var(--border); }
td { padding: 14px 16px; border-bottom: 1px solid var(--border); font-size: 0.875rem; }
tr:hover td { background: rgba(255,255,255,0.02); }

/* ---- BADGES ---- */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.badge-pending { background: var(--yellow-glow); color: var(--yellow); }
.badge-approved { background: var(--emerald-glow); color: var(--emerald); }
.badge-paid { background: rgba(59,130,246,0.15); color: var(--blue); }
.badge-rejected { background: var(--red-glow); color: var(--red); }
.badge-flagged { background: var(--red-glow); color: var(--red); }

.badge-severity-high { background: var(--red-glow); color: var(--red); }
.badge-severity-medium { background: var(--yellow-glow); color: var(--yellow); }
.badge-severity-low { background: rgba(59,130,246,0.15); color: var(--blue); }

/* ---- BUTTONS ---- */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn-primary {
    background: var(--emerald);
    color: #fff;
    box-shadow: 0 0 20px var(--emerald-glow-strong);
}
.btn-primary:hover { background: #34D399; color: #fff; transform: translateY(-1px); }

.btn-secondary {
    background: rgba(255,255,255,0.06);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: var(--border-hover); }

.btn-danger { background: var(--red-glow); color: var(--red); }
.btn-danger:hover { background: rgba(239,68,68,0.25); }

.btn-sm { padding: 6px 14px; font-size: 0.8125rem; }
.btn-ghost { background: transparent; color: var(--text-secondary); }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.05); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 20px; }

.form-label {
    display: block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 10px 14px;
    background: rgba(255,255,255,0.04);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: inherit;
    font-size: 0.875rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--emerald);
    box-shadow: 0 0 0 3px var(--emerald-glow);
}

.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select { cursor: pointer; }
.form-select option { background: var(--bg); color: var(--text); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.form-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--emerald);
}

/* ---- RED FLAGS ---- */
.flag-card {
    background: var(--red-glow);
    border: 1px solid rgba(239,68,68,0.2);
    border-radius: var(--radius);
    padding: 16px 20px;
    margin-bottom: 12px;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.flag-icon { color: var(--red); flex-shrink: 0; margin-top: 2px; }

.flag-content { flex: 1; }
.flag-title { font-size: 0.875rem; font-weight: 600; margin-bottom: 4px; }
.flag-desc { font-size: 0.8125rem; color: var(--text-secondary); }

.flag-card.severity-medium {
    background: var(--yellow-glow);
    border-color: rgba(245,158,11,0.2);
}
.flag-card.severity-medium .flag-icon { color: var(--yellow); }

.flag-card.severity-low {
    background: rgba(59,130,246,0.08);
    border-color: rgba(59,130,246,0.15);
}
.flag-card.severity-low .flag-icon { color: var(--blue); }

/* ---- COMMENT THREAD ---- */
.comment { padding: 16px 0; border-bottom: 1px solid var(--border); }
.comment:last-child { border-bottom: none; }
.comment-header { display: flex; justify-content: space-between; margin-bottom: 8px; }
.comment-author { font-weight: 600; font-size: 0.875rem; }
.comment-date { font-size: 0.75rem; color: var(--text-muted); }
.comment-body { font-size: 0.875rem; color: var(--text-secondary); }

/* ---- FILTERS ---- */
.filters {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.filters .form-select, .filters .form-input {
    width: auto;
    min-width: 160px;
}

/* ---- FLASH MESSAGES ---- */
.flash {
    padding: 12px 20px;
    border-radius: var(--radius-sm);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.flash-success { background: var(--emerald-glow); color: var(--emerald); border: 1px solid rgba(16,185,129,0.2); }
.flash-error { background: var(--red-glow); color: var(--red); border: 1px solid rgba(239,68,68,0.2); }

/* ---- BUDGET CHART BARS ---- */
.budget-row { display: flex; align-items: center; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--border); }
.budget-row:last-child { border-bottom: none; }
.budget-category-name { width: 180px; font-size: 0.875rem; font-weight: 500; flex-shrink: 0; }
.budget-chart-bar { flex: 1; height: 24px; background: rgba(255,255,255,0.04); border-radius: 4px; position: relative; overflow: hidden; }
.budget-chart-fill { height: 100%; border-radius: 4px; transition: width 0.6s ease; position: absolute; left: 0; top: 0; }
.budget-chart-fill.ok { background: linear-gradient(90deg, var(--emerald), #34D399); }
.budget-chart-fill.warn { background: linear-gradient(90deg, var(--yellow), #FBBF24); }
.budget-chart-fill.over { background: linear-gradient(90deg, var(--red), #F87171); }
.budget-amounts { width: 240px; text-align: right; font-size: 0.8125rem; flex-shrink: 0; }
.budget-amounts .actual { font-weight: 600; }
.budget-amounts .budgeted { color: var(--text-muted); }
.budget-pct { width: 60px; text-align: right; font-size: 0.8125rem; font-weight: 600; flex-shrink: 0; }

/* ---- INVOICE DETAIL ---- */
.invoice-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; margin-bottom: 24px; }
.invoice-meta-item { }
.invoice-meta-label { font-size: 0.75rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.invoice-meta-value { font-size: 1rem; font-weight: 600; margin-top: 4px; }

.invoice-actions { display: flex; gap: 12px; margin-top: 24px; }

/* ---- EMPTY STATE ---- */
.empty-state { text-align: center; padding: 60px 20px; color: var(--text-muted); }
.empty-state svg { width: 48px; height: 48px; margin-bottom: 16px; opacity: 0.5; }
.empty-state h3 { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 8px; }

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
    .sidebar { display: none; }
    .main-content { margin-left: 0; padding: 20px 16px; }
    .form-row, .form-row-3 { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .budget-row { flex-wrap: wrap; }
    .budget-category-name { width: 100%; }
    .budget-amounts { width: 100%; text-align: left; }
    .invoice-meta { grid-template-columns: 1fr; }
}


/* ====================
   LANDING PAGE STYLES
   ==================== */

.landing-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    transition: all 0.3s;
    background: rgba(9,9,11,0.8);
    backdrop-filter: var(--glass);
    -webkit-backdrop-filter: var(--glass);
    border-bottom: 1px solid transparent;
}

.landing-nav.scrolled { border-bottom-color: var(--border); }

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

.landing-logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
}
.landing-logo span { color: var(--emerald); }

.landing-nav-links { display: flex; align-items: center; gap: 32px; }
.landing-nav-links a { color: var(--text-secondary); font-size: 0.875rem; font-weight: 500; }
.landing-nav-links a:hover { color: var(--text); }

.landing-nav-cta { display: flex; align-items: center; gap: 16px; }

/* Hero */
.hero {
    padding: 180px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.4;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--emerald-glow);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 20px;
    font-size: 0.8125rem;
    font-weight: 500;
    color: var(--emerald);
    margin-bottom: 24px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin-bottom: 24px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero h1 .accent { color: var(--emerald); }

.hero-sub {
    font-size: 1.125rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-cta { display: flex; align-items: center; justify-content: center; gap: 16px; flex-wrap: wrap; }

.hero-cta .btn-primary {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius);
}

.hero-cta .btn-secondary {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius);
}

/* Stats strip */
.stats-strip {
    padding: 60px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    background: rgba(255,255,255,0.01);
}

.stats-strip-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: center;
}

.stats-strip-item h3 {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--emerald);
    letter-spacing: -0.03em;
}

.stats-strip-item p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Features */
.features-section { padding: 120px 0; }
.section-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--emerald);
    margin-bottom: 12px;
    text-align: center;
}
.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    text-align: center;
    margin-bottom: 16px;
}
.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    max-width: 560px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
    transition: all 0.3s;
    backdrop-filter: var(--glass);
}

.feature-card:hover {
    border-color: rgba(16,185,129,0.3);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--emerald-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--emerald);
}

.feature-card h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
.feature-card p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; }

/* How it works */
.how-section { padding: 120px 0; background: rgba(255,255,255,0.01); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; margin-top: 60px; }

.step { text-align: center; }
.step-number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--emerald-glow);
    border: 2px solid rgba(16,185,129,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald);
    margin: 0 auto 20px;
}
.step h3 { font-size: 1.125rem; font-weight: 600; margin-bottom: 10px; }
.step p { font-size: 0.875rem; color: var(--text-secondary); line-height: 1.7; max-width: 280px; margin: 0 auto; }

/* Pricing */
.pricing-section { padding: 120px 0; }

.pricing-card {
    max-width: 480px;
    margin: 0 auto;
    background: var(--bg-card);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: var(--radius-lg);
    padding: 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--emerald), transparent);
}

.pricing-label { font-size: 0.8125rem; color: var(--emerald); font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 8px; }

.pricing-amount {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.04em;
    margin-bottom: 4px;
}
.pricing-amount span { font-size: 1.25rem; color: var(--text-muted); font-weight: 400; }
.pricing-period { color: var(--text-muted); font-size: 0.875rem; margin-bottom: 32px; }

.pricing-features { text-align: left; margin-bottom: 32px; }
.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border);
}
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li svg { color: var(--emerald); flex-shrink: 0; }

.pricing-card .btn-primary { width: 100%; justify-content: center; padding: 14px; font-size: 1rem; }

/* Testimonials */
.testimonials-section { padding: 120px 0; background: rgba(255,255,255,0.01); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }

.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin-top: 60px; }

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

.testimonial-stars { color: var(--emerald); margin-bottom: 16px; font-size: 1.125rem; }
.testimonial-text { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; font-style: italic; }
.testimonial-author { font-weight: 600; font-size: 0.875rem; }
.testimonial-role { font-size: 0.8125rem; color: var(--text-muted); }

/* FAQ */
.faq-section { padding: 120px 0; }
.faq-grid { max-width: 700px; margin: 0 auto; }

.faq-item { border-bottom: 1px solid var(--border); }
.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text);
    font-family: inherit;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
}
.faq-question:hover { color: var(--emerald); }
.faq-question svg { transition: transform 0.3s; flex-shrink: 0; margin-left: 16px; }
.faq-question.open svg { transform: rotate(45deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 0 20px; font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; }

/* CTA */
.cta-section { padding: 120px 0; text-align: center; position: relative; }
.cta-section::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--emerald-glow) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0.3;
}
.cta-section h2 { font-size: 2.5rem; font-weight: 800; letter-spacing: -0.03em; margin-bottom: 16px; }
.cta-section p { font-size: 1.125rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 500px; margin-left: auto; margin-right: auto; }

/* Footer */
.landing-footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.landing-footer a { color: var(--text-muted); }
.landing-footer a:hover { color: var(--emerald); }

/* ---- AUTH PAGES ---- */
.auth-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

.auth-card {
    width: 100%;
    max-width: 480px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 48px;
    backdrop-filter: var(--glass);
}

.auth-header { text-align: center; margin-bottom: 32px; }
.auth-header .landing-logo { display: inline-block; margin-bottom: 24px; font-size: 1.75rem; }
.auth-header h1 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.auth-header p { font-size: 0.875rem; color: var(--text-secondary); }

.auth-footer { text-align: center; margin-top: 24px; font-size: 0.875rem; color: var(--text-secondary); }

/* ---- UTILITY ---- */
.text-emerald { color: var(--emerald); }
.text-red { color: var(--red); }
.text-yellow { color: var(--yellow); }
.text-muted { color: var(--text-muted); }
.text-right { text-align: right; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.gap-2 { gap: 8px; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.6s ease both; }
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }
