/* Dpunk — Futuristic UI */
:root {
    --bg: #06060b;
    --bg-card: rgba(255, 255, 255, 0.03);
    --bg-card-hover: rgba(255, 255, 255, 0.06);
    --border: rgba(255, 255, 255, 0.08);
    --border-glow: rgba(0, 240, 255, 0.3);
    --text: #e8e8f0;
    --text-muted: #8888a0;
    --cyan: #00f0ff;
    --purple: #7b2ff7;
    --pink: #ff2d95;
    --green: #00ff88;
    --yellow: #ffd000;
    --red: #ff4466;
    --gradient: linear-gradient(135deg, var(--cyan), var(--purple));
    --radius: 16px;
    --radius-sm: 10px;
    --font: 'Inter', system-ui, sans-serif;
    --font-display: 'Orbitron', monospace;
    --nav-h: 64px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; color-scheme: dark; }

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background effects */
.bg-orbs {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.35;
    animation: float 20s ease-in-out infinite;
}
.orb-1 {
    width: 600px; height: 600px;
    background: var(--cyan);
    top: -200px; right: -100px;
}
.orb-2 {
    width: 500px; height: 500px;
    background: var(--purple);
    bottom: -150px; left: -100px;
    animation-delay: -7s;
}
.orb-3 {
    width: 300px; height: 300px;
    background: var(--pink);
    top: 50%; left: 50%;
    animation-delay: -14s;
}
@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -40px) scale(1.05); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
}

.grid-overlay {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.02) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse at center, black 20%, transparent 70%);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    height: var(--nav-h);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    background: rgba(6, 6, 11, 0.7);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}
.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: var(--text);
}
.logo-icon {
    color: var(--cyan);
    font-size: 1.4rem;
    filter: drop-shadow(0 0 8px var(--cyan));
}
.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.15em;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color var(--transition);
    position: relative;
}
.nav-link:hover { color: var(--cyan); }
.nav-link-active {
    color: var(--cyan) !important;
}
.nav-link-active::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    border-radius: 1px;
}
.nav-link-muted { opacity: 0.6; }
.nav-user {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.avatar-sm {
    width: 28px; height: 28px;
    border-radius: 50%;
    border: 2px solid var(--border-glow);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--text);
    transition: var(--transition);
}

/* Main */
.main {
    position: relative;
    z-index: 1;
    padding-top: var(--nav-h);
    min-height: calc(100vh - 200px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.65rem 1.4rem;
    border-radius: var(--radius-sm);
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--gradient);
    color: #000;
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 240, 255, 0.3);
}
.btn-glow {
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.2);
}
.btn-ghost {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-ghost:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}
.btn-google {
    background: rgba(255,255,255,0.05);
    color: var(--text);
    border: 1px solid var(--border);
}
.btn-google:hover { background: rgba(255,255,255,0.1); }
.btn-danger {
    background: rgba(255, 68, 102, 0.15);
    color: var(--red);
    border: 1px solid rgba(255, 68, 102, 0.3);
}
.btn-sm { padding: 0.4rem 0.9rem; font-size: 0.8rem; }
.btn-lg { padding: 0.85rem 2rem; font-size: 1rem; }
.btn-block { width: 100%; }

/* Glass card */
.glass-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
    padding: 2rem;
    transition: all var(--transition);
}
.glass-card:hover {
    border-color: rgba(0, 240, 255, 0.15);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 6rem 2rem 4rem;
    min-height: 85vh;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 255, 136, 0.08);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--green);
    margin-bottom: 1.5rem;
}
.pulse-dot {
    width: 8px; height: 8px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}
.hero-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}
.gradient-text {
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 480px;
    margin-bottom: 2.5rem;
    line-height: 1.7;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* Pipeline visual */
.visual-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}
.visual-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid var(--border);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }
.visual-title {
    margin-left: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-muted);
    font-family: monospace;
}
.visual-body { padding: 1.5rem; }
.pipeline-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    opacity: 0.4;
    transition: opacity var(--transition);
}
.pipeline-step.active { opacity: 1; }
.step-icon { font-size: 1.3rem; }
.step-label { font-size: 0.85rem; margin-bottom: 0.3rem; }
.step-bar {
    height: 3px;
    background: rgba(255,255,255,0.08);
    border-radius: 2px;
    overflow: hidden;
}
.step-fill {
    height: 100%;
    width: 0%;
    background: var(--gradient);
    border-radius: 2px;
    transition: width 2s ease;
}

/* Features */
.features {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}
.section-title {
    font-family: var(--font-display);
    font-size: 1.8rem;
    text-align: center;
    margin-bottom: 3rem;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}
.feature-card {
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all var(--transition);
}
.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: 0 12px 40px rgba(0, 240, 255, 0.08);
}
.feature-icon { font-size: 2rem; margin-bottom: 1rem; }
.feature-card h3 { font-size: 1.1rem; margin-bottom: 0.5rem; }
.feature-card p { color: var(--text-muted); font-size: 0.9rem; }

/* CTA */
.cta-section {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 2rem 6rem;
}
.cta-card {
    text-align: center;
    padding: 3rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    backdrop-filter: blur(12px);
}
.cta-card h2 { font-family: var(--font-display); margin-bottom: 0.75rem; }
.cta-card p { color: var(--text-muted); margin-bottom: 2rem; }

/* Page header */
.page-header {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 2rem 1.5rem;
}
.page-header-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}
.page-title {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
}
.page-subtitle { color: var(--text-muted); margin-top: 0.25rem; }

/* Auth */
.auth-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - var(--nav-h) - 100px);
    padding: 2rem;
}
.auth-card { width: 100%; max-width: 420px; }
.auth-title {
    font-family: var(--font-display);
    font-size: 1.6rem;
    margin-bottom: 0.25rem;
}
.auth-subtitle { color: var(--text-muted); margin-bottom: 2rem; font-size: 0.9rem; }
.auth-form { display: flex; flex-direction: column; gap: 1rem; }
.auth-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin: 1.5rem 0;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.auth-divider::before, .auth-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}
.auth-footer {
    text-align: center;
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.auth-footer a { color: var(--cyan); text-decoration: none; }

/* Forms */
.form-group { margin-bottom: 1rem; }
.form-label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.4rem;
    color: var(--text-muted);
}
.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 0.7rem 1rem;
    background: rgba(14, 14, 22, 0.92);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-family: var(--font);
    font-size: 0.9rem;
    transition: border-color var(--transition), box-shadow var(--transition);
    outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}
.form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding-right: 2.5rem;
    background-color: rgba(14, 14, 22, 0.95);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%2300f0ff' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    color-scheme: dark;
}
.form-select option,
.form-select optgroup {
    background-color: #12121c;
    color: #e8e8f0;
}
.form-select option:checked,
.form-select option:hover {
    background-color: #1a1a28;
    color: var(--cyan);
}
.form-textarea { resize: vertical; min-height: 80px; }
.form-error { color: var(--red); font-size: 0.8rem; margin-top: 0.25rem; display: block; }
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--text-muted);
    cursor: pointer;
}
.form-checkboxes { display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0; }
.form-section { margin-bottom: 2rem; }
.form-section-title {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}
.form-section-hint { font-weight: 400; color: var(--text-muted); font-size: 0.85rem; }
.form-row { display: flex; gap: 1rem; }
.form-row-2 > .form-group { flex: 1; }
.form-actions { display: flex; gap: 1rem; margin-top: 1.5rem; }
.create-form { max-width: 720px; margin: 0 auto 4rem; padding: 2rem; }

/* Upload zone */
.upload-zone {
    position: relative;
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 3rem 2rem;
    text-align: center;
    transition: all var(--transition);
    cursor: pointer;
}
.upload-zone:hover, .upload-zone.dragover {
    border-color: var(--cyan);
    background: rgba(0, 240, 255, 0.03);
}
.upload-zone input[type="file"] {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
}
.upload-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.upload-link { color: var(--cyan); }
.upload-hint { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.5rem; }
.upload-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-weight: 500;
}
.upload-clear {
    background: none;
    border: none;
    color: var(--red);
    font-size: 1.2rem;
    cursor: pointer;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}
.project-card {
    text-decoration: none;
    color: inherit;
    padding: 1.5rem;
    display: block;
}
.project-card:hover {
    transform: translateY(-3px);
    border-color: var(--border-glow);
}
.project-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}
.project-card h3 { font-size: 1.1rem; }
.project-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: var(--text-muted);
}
.project-file {
    margin-top: 0.75rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Status badges */
.status-badge {
    display: inline-block;
    padding: 0.2rem 0.7rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.status-lg { font-size: 0.85rem; padding: 0.35rem 1rem; }
.status-uploading, .status-queued, .status-pending { background: rgba(255, 208, 0, 0.12); color: var(--yellow); }
.status-running { background: rgba(0, 240, 255, 0.12); color: var(--cyan); }
.status-done { background: rgba(0, 255, 136, 0.12); color: var(--green); }
.status-error { background: rgba(255, 68, 102, 0.12); color: var(--red); }

/* Detail */
.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}
.detail-card h3 { margin-bottom: 1.5rem; font-size: 1rem; }
.detail-list { display: grid; grid-template-columns: auto 1fr; gap: 0.5rem 1.5rem; font-size: 0.9rem; }
.detail-list dt { color: var(--text-muted); }
.detail-list code { font-size: 0.8rem; word-break: break-all; }
.text-error { color: var(--red); }
.back-link {
    display: inline-block;
    margin: 0 2rem 4rem;
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
}
.back-link:hover { color: var(--cyan); }

/* Progress ring */
.progress-ring-container {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}
.progress-ring { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-ring-bg {
    fill: none;
    stroke: rgba(255,255,255,0.06);
    stroke-width: 6;
}
.progress-ring-fill {
    fill: none;
    stroke: url(#grad);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-dasharray: 326.7;
    stroke-dashoffset: 326.7;
    transition: stroke-dashoffset 1s ease;
}
.progress-label {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

/* Empty state */
.empty-state {
    text-align: center;
    max-width: 480px;
    margin: 2rem auto 4rem;
    padding: 3rem;
}
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-state h2 { margin-bottom: 0.5rem; }
.empty-state p { color: var(--text-muted); margin-bottom: 2rem; }

/* Stats */
.stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}
.stat-card { text-align: center; padding: 1.5rem; }
.stat-value {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 0.25rem; }

/* Admin table */
.admin-table-wrap { max-width: 1200px; margin: 0 auto 4rem; padding: 0; overflow-x: auto; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.85rem;
}
.admin-table th {
    text-align: left;
    padding: 1rem 1.25rem;
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 1px solid var(--border);
    white-space: nowrap;
}
.admin-table td {
    padding: 0.85rem 1.25rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
}
.admin-table tr:hover td { background: rgba(255,255,255,0.02); }
.actions-cell { display: flex; gap: 0.5rem; align-items: center; }
.inline-form { display: inline; }

.tag {
    display: inline-block;
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-right: 0.25rem;
}
.tag-green { background: rgba(0,255,136,0.12); color: var(--green); }
.tag-yellow { background: rgba(255,208,0,0.12); color: var(--yellow); }
.tag-red { background: rgba(255,68,102,0.12); color: var(--red); }
.tag-purple { background: rgba(123,47,247,0.12); color: var(--purple); }

/* Dashboard */
.period-tabs {
    display: flex;
    gap: 0.5rem;
    max-width: 1200px;
    margin: 0 auto 2rem;
    padding: 0 2rem;
}
.period-tab {
    padding: 0.5rem 1.2rem;
    background: transparent;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    font-family: var(--font);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all var(--transition);
}
.period-tab.active, .period-tab:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
}
.charts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
}
.chart-card { padding: 1.5rem; }
.chart-card h3 { font-size: 0.95rem; margin-bottom: 1rem; color: var(--text-muted); }
.chart-wide { grid-column: 1 / -1; }

/* About */
.about-content {
    max-width: 720px;
    margin: 0 auto 4rem;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.about-block h2 { font-size: 1.2rem; margin-bottom: 0.75rem; }
.about-block p, .about-block li { color: var(--text-muted); font-size: 0.95rem; }
.about-steps, .about-list { padding-left: 1.25rem; }
.about-steps li, .about-list li { margin-bottom: 0.5rem; }
.about-cta { text-align: center; padding: 2rem 0; }
code {
    background: rgba(255,255,255,0.06);
    padding: 0.15rem 0.4rem;
    border-radius: 4px;
    font-size: 0.85em;
}

/* Flash messages */
.flash-container {
    position: fixed;
    top: calc(var(--nav-h) + 1rem);
    right: 1.5rem;
    z-index: 200;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 400px;
}
.flash {
    padding: 0.85rem 1.25rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    animation: slideIn 0.4s ease;
}
@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}
.flash-success { background: rgba(0,255,136,0.12); border: 1px solid rgba(0,255,136,0.25); color: var(--green); }
.flash-error { background: rgba(255,68,102,0.12); border: 1px solid rgba(255,68,102,0.25); color: var(--red); }
.flash-warning { background: rgba(255,208,0,0.12); border: 1px solid rgba(255,208,0,0.25); color: var(--yellow); }
.flash-info { background: rgba(0,240,255,0.12); border: 1px solid rgba(0,240,255,0.25); color: var(--cyan); }
.flash-close {
    background: none; border: none; color: inherit;
    font-size: 1.2rem; cursor: pointer; opacity: 0.6;
}

/* Verify banner */
.verify-banner {
    position: relative;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 0.6rem;
    background: rgba(255, 208, 0, 0.08);
    border-bottom: 1px solid rgba(255, 208, 0, 0.2);
    font-size: 0.85rem;
    color: var(--yellow);
}

/* Footer */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    text-align: center;
}
.footer-brand {
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}
.footer-tagline { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 1rem; }
.footer-links { display: flex; justify-content: center; gap: 2rem; margin-bottom: 1.5rem; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.85rem; }
.footer-links a:hover { color: var(--cyan); }
.footer-copy { color: var(--text-muted); font-size: 0.75rem; opacity: 0.5; }

/* Animations */
[data-animate] {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}
[data-animate="fade-left"] { transform: translateX(40px); }
[data-animate="fade-left"].visible { transform: translateX(0); }
[data-animate="scale"] { transform: scale(0.95); }
[data-animate="scale"].visible { transform: scale(1); }

/* Responsive */
@media (max-width: 900px) {
    .hero { grid-template-columns: 1fr; text-align: center; padding-top: 4rem; }
    .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-actions { justify-content: center; }
    .hero-visual { order: -1; }
    .detail-grid { grid-template-columns: 1fr; }
    .charts-grid { grid-template-columns: 1fr; }
    .form-row-2 { flex-direction: column; }
}
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: var(--nav-h);
        left: 0; right: 0;
        flex-direction: column;
        background: rgba(6,6,11,0.95);
        backdrop-filter: blur(20px);
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open { display: flex; }
    .nav-toggle { display: flex; }
}
