/* ================================================================
   AI Resume Analyzer — Premium Dark Theme
   Design: Black/Blue gradient, Cyan/Purple neon, Glassmorphism
   ================================================================ */

/* ========== CSS Variables (Design Tokens) ========== */
:root {
    /* Background */
    --bg-primary: #030712;
    --bg-secondary: #0a0f1e;
    --bg-tertiary: #111827;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(20, 30, 55, 0.7);
    --bg-glass: rgba(15, 23, 42, 0.4);

    /* Neon Accents */
    --neon-cyan: #22d3ee;
    --neon-cyan-glow: rgba(34, 211, 238, 0.3);
    --neon-purple: #a855f7;
    --neon-purple-glow: rgba(168, 85, 247, 0.3);
    --neon-blue: #3b82f6;

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #22d3ee, #a855f7);
    --gradient-bg: linear-gradient(180deg, #030712 0%, #0a0f1e 50%, #111827 100%);
    --gradient-card: linear-gradient(135deg, rgba(34, 211, 238, 0.05), rgba(168, 85, 247, 0.05));
    --gradient-hero: radial-gradient(ellipse at 50% 0%, rgba(34, 211, 238, 0.12) 0%, transparent 60%);

    /* Text */
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    /* Status */
    --green: #34d399;
    --green-bg: rgba(52, 211, 153, 0.12);
    --green-border: rgba(52, 211, 153, 0.25);
    --red: #f87171;
    --red-bg: rgba(248, 113, 113, 0.12);
    --red-border: rgba(248, 113, 113, 0.25);
    --yellow: #fbbf24;
    --yellow-bg: rgba(251, 191, 36, 0.12);
    --yellow-border: rgba(251, 191, 36, 0.25);

    /* Layout */
    --border-color: rgba(148, 163, 184, 0.1);
    --border-glow: rgba(34, 211, 238, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow-glow: 0 0 30px rgba(34, 211, 238, 0.1);
    --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
    background: var(--neon-cyan);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--neon-purple);
}

.hidden {
    display: none !important;
}

/* ========== Particle Canvas ========== */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* ========== Navigation ========== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 40px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(3, 7, 18, 0.7);
    border-bottom: 1px solid var(--border-color);
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 1.2rem;
}

.logo-icon {
    font-size: 1.4rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 24px;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--neon-cyan);
}

.nav-badge {
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    background: var(--gradient-primary);
    color: #030712;
}

/* ========== Hero Section ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 120px 24px 80px;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(34, 211, 238, 0.08) 0%, rgba(168, 85, 247, 0.04) 40%, transparent 70%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 700px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--neon-cyan);
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    margin-bottom: 24px;
    animation: fadeInDown 0.8s ease;
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-cyan);
    animation: pulse-dot 2s ease infinite;
}

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

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
    line-height: 1.7;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: var(--gradient-primary);
    color: #030712;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-xl);
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.3);
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.5);
}

/* ========== Section Common ========== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 500px;
    margin: 0 auto;
}

/* ========== Analyzer Section ========== */
.analyzer-section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px;
}

/* Role Selector */
.role-selector {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.role-btn {
    padding: 10px 20px;
    border: 1px solid var(--border-color);
    background: var(--bg-glass);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.85rem;
    font-weight: 500;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.role-btn:hover {
    border-color: var(--border-glow);
    color: var(--text-primary);
}

.role-btn.active {
    background: rgba(34, 211, 238, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(34, 211, 238, 0.15);
}

/* Input Grid */
.input-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 32px;
}

@media (max-width: 768px) {
    .input-grid {
        grid-template-columns: 1fr;
    }
}

.input-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s ease;
}

.input-card:hover {
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.card-header h3 {
    font-size: 1rem;
    font-weight: 600;
}

.card-icon {
    font-size: 1.2rem;
}

/* Upload Zone */
.upload-zone {
    border: 2px dashed var(--border-color);
    border-radius: var(--radius-md);
    padding: 48px 24px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-zone:hover,
.upload-zone.drag-over {
    border-color: var(--neon-cyan);
    background: rgba(34, 211, 238, 0.04);
}

.upload-zone.drag-over {
    transform: scale(1.01);
    box-shadow: inset 0 0 30px rgba(34, 211, 238, 0.05);
}

.upload-icon {
    color: var(--text-muted);
    margin-bottom: 12px;
    transition: color 0.3s ease;
}

.upload-zone:hover .upload-icon {
    color: var(--neon-cyan);
}

.upload-text {
    font-weight: 500;
    margin-bottom: 4px;
}

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

/* File Info */
.file-info {
    margin-top: 16px;
}

.file-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(34, 211, 238, 0.08);
    border: 1px solid rgba(34, 211, 238, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    color: var(--neon-cyan);
}

.file-remove {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.file-remove:hover {
    color: var(--red);
}

/* Textarea */
.jd-textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.9rem;
    line-height: 1.6;
    resize: vertical;
    min-height: 200px;
    transition: border-color 0.3s ease;
}

.jd-textarea::placeholder {
    color: var(--text-muted);
}

.jd-textarea:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 0 3px rgba(34, 211, 238, 0.1);
}

.textarea-footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}

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

/* CTA Button */
.cta-wrapper {
    text-align: center;
}

.analyze-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
    padding: 16px 40px;
    background: var(--gradient-primary);
    color: #030712;
    font-family: var(--font);
    font-size: 1rem;
    font-weight: 700;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 0 30px rgba(34, 211, 238, 0.25);
}

.analyze-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 0 50px rgba(34, 211, 238, 0.4);
}

.analyze-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.btn-loader {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(3, 7, 18, 0.3);
    border-top: 2px solid #030712;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* ========== Loading Overlay ========== */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(3, 7, 18, 0.92);
    backdrop-filter: blur(10px);
}

.loading-content {
    text-align: center;
    max-width: 400px;
}

.loading-rings {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
}

.ring-1 {
    width: 100px;
    height: 100px;
    top: 0;
    left: 0;
    border-top-color: var(--neon-cyan);
    animation: spin 1.2s linear infinite;
}

.ring-2 {
    width: 74px;
    height: 74px;
    top: 13px;
    left: 13px;
    border-right-color: var(--neon-purple);
    animation: spin 1.5s linear infinite reverse;
}

.ring-3 {
    width: 48px;
    height: 48px;
    top: 26px;
    left: 26px;
    border-bottom-color: var(--neon-blue);
    animation: spin 1s linear infinite;
}

.loading-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.loading-step {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.loading-progress {
    width: 100%;
    height: 4px;
    background: var(--bg-tertiary);
    border-radius: 2px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: var(--gradient-primary);
    border-radius: 2px;
    transition: width 0.4s ease;
}

/* ========== Results Section ========== */
.results-section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 120px;
    animation: fadeInUp 0.6s ease;
}

/* Score Overview */
.score-overview {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 60px;
    padding: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
}

@media (max-width: 768px) {
    .score-overview {
        grid-template-columns: 1fr;
        justify-items: center;
    }
}

/* Circular Score */
.score-circle-wrapper {
    display: flex;
    justify-content: center;
}

.score-circle {
    position: relative;
    width: 200px;
    height: 200px;
}

.score-svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.score-bg-ring {
    fill: none;
    stroke: var(--bg-tertiary);
    stroke-width: 8;
}

.score-ring {
    fill: none;
    stroke: url(#scoreGradient);
    stroke-width: 8;
    stroke-linecap: round;
    transition: stroke-dashoffset 1.5s ease;
}

.score-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    text-align: center;
}

.score-number {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.score-percent {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--text-muted);
}

.score-label {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.8rem;
    color: var(--text-muted);
    white-space: nowrap;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* Breakdown */
.breakdown-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.breakdown-card {
    background: rgba(0, 0, 0, 0.2);
    padding: 16px 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
}

.breakdown-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.breakdown-title {
    font-size: 0.9rem;
    font-weight: 500;
    flex: 1;
}

.breakdown-value {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--neon-cyan);
}

.breakdown-bar {
    width: 100%;
    height: 6px;
    background: var(--bg-tertiary);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 8px;
}

.breakdown-fill {
    height: 100%;
    border-radius: 3px;
    transition: width 1.2s ease;
}

.breakdown-fill.semantic {
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-blue));
}

.breakdown-fill.keywords {
    background: linear-gradient(90deg, var(--neon-purple), #ec4899);
}

.breakdown-fill.skills {
    background: linear-gradient(90deg, var(--green), var(--neon-cyan));
}

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

/* ========== Skills Section ========== */
.skills-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 48px;
}

@media (max-width: 768px) {
    .skills-section {
        grid-template-columns: 1fr;
    }
}

.skills-column {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(20px);
}

.skills-heading {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 16px;
}

.skills-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.matched-dot { background: var(--green); }
.missing-dot { background: var(--red); }

.skills-count {
    margin-left: auto;
    padding: 2px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
}

.skills-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.skill-tag {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    animation: fadeIn 0.4s ease;
}

.skill-tag.matched {
    background: var(--green-bg);
    color: var(--green);
    border: 1px solid var(--green-border);
}

.skill-tag.missing {
    background: var(--red-bg);
    color: var(--red);
    border: 1px solid var(--red-border);
}

/* ========== Explanations Section ========== */
.explanations-section {
    margin-bottom: 48px;
}

.explain-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.explanations-grid {
    display: grid;
    gap: 16px;
}

.explanation-card {
    display: flex;
    gap: 16px;
    padding: 20px;
    background: var(--bg-card);
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    animation: fadeInUp 0.5s ease;
}

.explanation-card.positive {
    border-left: 3px solid var(--green);
}

.explanation-card.warning {
    border-left: 3px solid var(--yellow);
}

.explanation-card.critical {
    border-left: 3px solid var(--red);
}

.explanation-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.explanation-body h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.explanation-card.positive h4 { color: var(--green); }
.explanation-card.warning h4 { color: var(--yellow); }
.explanation-card.critical h4 { color: var(--red); }

.explanation-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========== Suggestions Section ========== */
.suggestions-section {
    margin-bottom: 48px;
}

.suggestions-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.suggestions-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 768px) {
    .suggestions-grid {
        grid-template-columns: 1fr;
    }
}

.suggestion-card {
    padding: 24px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    animation: fadeInUp 0.5s ease;
}

.suggestion-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.suggestion-card h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--neon-cyan);
}

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

/* ========== Rewrite Section ========== */
.rewrite-section {
    margin-bottom: 48px;
    padding: 32px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
}

.rewrite-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.rewrite-desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 20px;
}

.rewrite-container {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.rewrite-input {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 16px;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.9rem;
    line-height: 1.6;
    resize: vertical;
}

.rewrite-input:focus {
    outline: none;
    border-color: var(--neon-purple);
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

.rewrite-btn {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--neon-purple), #ec4899);
    color: white;
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    border: none;
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
}

.rewrite-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.3);
}

.rewrite-output {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--green-border);
    border-radius: var(--radius-md);
    padding: 20px;
    position: relative;
}

.rewrite-output h4 {
    color: var(--green);
    font-size: 0.85rem;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rewrite-result {
    font-family: var(--font);
    font-size: 0.9rem;
    color: var(--text-primary);
    white-space: pre-wrap;
    line-height: 1.7;
}

.copy-btn {
    position: absolute;
    top: 12px;
    right: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-btn:hover {
    color: var(--neon-cyan);
    border-color: var(--neon-cyan);
}

/* ========== Export Section ========== */
.export-section {
    text-align: center;
    margin-top: 48px;
}

.export-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: transparent;
    color: var(--text-primary);
    font-family: var(--font);
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
}

.export-btn:hover {
    background: var(--bg-card);
    border-color: var(--neon-cyan);
    box-shadow: var(--shadow-glow);
}

/* ========== Features Section ========== */
.features-section {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 80px 24px 120px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    padding: 28px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(20px);
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-glow);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

/* ========== Footer ========== */
.footer {
    position: relative;
    z-index: 1;
    border-top: 1px solid var(--border-color);
    padding: 32px 24px;
    text-align: center;
}

.footer-content {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 480px) {
    .footer-content {
        flex-direction: column;
        gap: 12px;
    }
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    font-size: 1rem;
}

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

/* ========== Animations ========== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}
