/* ==========================================================================
   Antigravity Dark Glassmorphism Stylesheet - Self-PR Portfolio
   ========================================================================== */

/* --- 1. Design System Tokens --- */
:root {
    /* Color Palette */
    --bg-dark: #0b0f19;
    --bg-surface: #111827;
    --bg-surface-elevated: #1e293b;
    
    --glass-bg: rgba(30, 41, 59, 0.45);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover-bg: rgba(30, 41, 59, 0.7);
    --glass-hover-border: rgba(139, 92, 246, 0.3);
    
    --accent-purple: #8b5cf6;
    --accent-purple-light: #a78bfa;
    --accent-magenta: #d946ef;
    --accent-cyan: #06b6d4;
    --accent-emerald: #10b981;
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #8b5cf6 0%, #d946ef 100%);
    --gradient-cyan: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
    --gradient-emerald: linear-gradient(135deg, #10b981 0%, #059669 100%);
    --gradient-text: linear-gradient(135deg, #f8fafc 30%, #a78bfa 100%);
    
    /* Shadows & Effects */
    --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 25px rgba(139, 92, 246, 0.25);
    
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;
    
    --font-main: 'Noto Sans KR', 'Plus Jakarta Sans', -apple-system, sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

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

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

a {
    color: inherit;
    text-decoration: none;
}

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

input, textarea {
    font-family: inherit;
}

/* --- 3. Background Animation Orbs --- */
.bg-gradient-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
    animation: floatOrb 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.orb-1 {
    width: 500px;
    height: 500px;
    background: var(--accent-purple);
    top: -100px;
    left: -100px;
}

.orb-2 {
    width: 600px;
    height: 600px;
    background: var(--accent-magenta);
    bottom: -150px;
    right: -150px;
    animation-delay: -7s;
}

.orb-3 {
    width: 400px;
    height: 400px;
    background: var(--accent-cyan);
    top: 40%;
    left: 30%;
    animation-delay: -14s;
}

.grid-pattern {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.07) 1px, transparent 1px);
    background-size: 32px 32px;
}

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(60px, 80px) scale(1.1); }
    100% { transform: translate(-40px, 50px) scale(0.95); }
}

/* --- 4. Layout & Utilities --- */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section-header {
    margin-bottom: 56px;
}

.section-subtitle {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--accent-purple-light);
    margin-bottom: 8px;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 800;
    line-height: 1.3;
}

.section-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-top: 12px;
}

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

.text-center { text-align: center; }

/* Glass Card Styling */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal), border-color var(--transition-normal), box-shadow var(--transition-normal);
}

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

/* --- 5. Navigation Bar --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: padding var(--transition-normal), background var(--transition-normal);
}

.navbar.scrolled {
    padding: 12px 0;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

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

.logo-badge {
    background: var(--gradient-primary);
    padding: 4px 8px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    color: #fff;
}

.logo-dot { color: var(--accent-magenta); }

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

.nav-item {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition-fast);
}

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

.nav-item.highlight {
    color: var(--accent-purple-light);
    font-weight: 700;
}

.btn-contact {
    padding: 8px 18px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-full);
    color: var(--text-primary);
}

.btn-contact:hover {
    background: var(--gradient-primary);
    border-color: transparent;
}

.mobile-toggle {
    display: none;
    color: var(--text-primary);
    font-size: 1.5rem;
}

/* --- 6. Buttons & Badges --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 700;
    transition: all var(--transition-normal);
}

.btn-primary {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

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

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

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

.btn-glass:hover {
    color: var(--text-primary);
    border-color: var(--accent-purple);
}

.badge {
    display: inline-block;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 700;
}

.badge-purple { background: rgba(139, 92, 246, 0.2); color: var(--accent-purple-light); border: 1px solid rgba(139, 92, 246, 0.3); }
.badge-cyan { background: rgba(6, 182, 212, 0.2); color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.3); }
.badge-emerald { background: rgba(16, 185, 129, 0.2); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }

/* --- 7. Hero Section --- */
.hero-section {
    padding: 160px 0 100px;
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 48px;
    align-items: center;
}

.hero-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    color: var(--accent-emerald);
    font-weight: 600;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background-color: var(--accent-emerald);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-emerald);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); opacity: 0.8; }
    50% { transform: scale(1.3); opacity: 1; }
    100% { transform: scale(0.95); opacity: 0.8; }
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 20px;
}

.cursor {
    color: var(--accent-magenta);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

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

.hero-description {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: 36px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 40px;
}

.hero-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.03);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
}

.tag i { color: var(--accent-purple-light); width: 14px; height: 14px; }

/* Visual Profile Card */
.visual-card {
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    pointer-events: none;
}

.profile-img-wrapper {
    position: relative;
    width: 140px;
    height: 140px;
    margin: 0 auto 20px;
    border-radius: 50%;
    padding: 4px;
    background: var(--gradient-primary);
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-badge {
    position: absolute;
    bottom: 6px;
    right: 6px;
    width: 18px;
    height: 18px;
    background: var(--accent-emerald);
    border: 3px solid var(--bg-surface);
    border-radius: 50%;
}

.profile-name { font-size: 1.35rem; font-weight: 700; }
.profile-role { color: var(--text-secondary); font-size: 0.9rem; margin-top: 4px; margin-bottom: 24px; }

.profile-stats {
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding-top: 20px;
    border-top: 1px solid var(--glass-border);
}

.stat-item { text-align: center; }
.stat-num { font-size: 1.5rem; font-weight: 800; color: var(--accent-purple-light); }
.stat-plus { font-size: 1rem; color: var(--accent-magenta); font-weight: 700; }
.stat-label { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 2px; }
.stat-divider { width: 1px; height: 30px; background: var(--glass-border); }

/* --- 8. About & Core Strengths --- */
.about-section { padding: 100px 0; }

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

.strength-card {
    padding: 36px 28px;
    transition: transform var(--transition-normal);
}

.strength-card:hover { transform: translateY(-8px); }

.icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 24px;
}

.icon-purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple-light); border: 1px solid rgba(139, 92, 246, 0.3); }
.icon-cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); border: 1px solid rgba(6, 182, 212, 0.3); }
.icon-emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }

.strength-card h3 { font-size: 1.25rem; font-weight: 700; margin-bottom: 12px; }
.strength-summary { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }

.strength-list { list-style: none; }
.strength-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}
.strength-list li i { color: var(--accent-purple-light); width: 16px; height: 16px; flex-shrink: 0; }

/* --- 9. Interactive Self-PR Q&A --- */
.pr-qa-section { padding: 100px 0; }

.qa-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    overflow: hidden;
}

.qa-tabs {
    background: rgba(15, 23, 42, 0.6);
    padding: 24px 16px;
    border-right: 1px solid var(--glass-border);
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.qa-tab {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-md);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.95rem;
    text-align: left;
    transition: all var(--transition-fast);
}

.qa-tab i { width: 20px; height: 20px; }

.qa-tab:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-primary);
}

.qa-tab.active {
    background: var(--gradient-primary);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.qa-content-container {
    padding: 40px;
    position: relative;
    min-height: 380px;
}

.qa-content {
    display: none;
    animation: fadeIn 0.4s ease forwards;
}

.qa-content.active { display: block; }

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

.qa-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin: 12px 0 20px;
    line-height: 1.4;
}

.qa-body { color: var(--text-secondary); font-size: 1rem; line-height: 1.7; }

.qa-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 24px;
}

.highlight-item {
    display: flex;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    padding: 20px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.h-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.2);
    color: var(--accent-purple-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.highlight-item h4 { font-size: 1rem; color: var(--text-primary); margin-bottom: 4px; }
.highlight-item p { font-size: 0.85rem; color: var(--text-muted); }

/* STAR Story Box */
.qa-story-box {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.story-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(255, 255, 255, 0.02);
    padding: 12px 20px;
    border-radius: var(--radius-md);
}

.step-num {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--gradient-cyan);
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.qa-bullet-list {
    margin-top: 16px;
    padding-left: 20px;
}

.qa-bullet-list li { margin-bottom: 12px; }

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

.value-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    text-align: center;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.value-card i { color: var(--accent-purple-light); width: 28px; height: 28px; }

/* --- 10. Projects Showcase --- */
.projects-section { padding: 100px 0; }

.filter-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 24px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    transition: all var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    background: var(--gradient-primary);
    color: #ffffff;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.3);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 32px;
}

.project-card {
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.project-tag {
    position: absolute;
    top: 24px;
    right: 24px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--accent-purple-light);
    background: rgba(139, 92, 246, 0.15);
    padding: 4px 10px;
    border-radius: var(--radius-sm);
}

.project-header h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 6px;
    padding-right: 80px;
}

.project-date { font-size: 0.8rem; color: var(--text-muted); }

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

.project-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.project-skills span {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: var(--radius-full);
    color: var(--text-muted);
}

.btn-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-purple-light);
    font-weight: 700;
    font-size: 0.9rem;
    transition: gap var(--transition-fast);
}

.btn-more:hover { gap: 12px; color: var(--accent-magenta); }

/* --- 11. TXT Resume Builder --- */
.txt-builder-section { padding: 100px 0; }

.builder-card { padding: 48px; }

.builder-header { margin-bottom: 32px; }

.builder-title-group h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin: 12px 0 8px;
}

.builder-title-group p { color: var(--text-secondary); }

.customizer-form {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
    background: rgba(15, 23, 42, 0.5);
    padding: 24px;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--accent-purple-light);
}

.form-group label i { width: 16px; height: 16px; }

.form-group input, .contact-form-card input, .contact-form-card textarea {
    background: rgba(30, 41, 59, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    padding: 12px 16px;
    color: var(--text-primary);
    font-size: 0.95rem;
    outline: none;
    transition: border-color var(--transition-fast);
}

.form-group input:focus, .contact-form-card input:focus, .contact-form-card textarea:focus {
    border-color: var(--accent-purple);
    box-shadow: 0 0 10px rgba(139, 92, 246, 0.3);
}

.preview-container {
    background: #0f172a;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.preview-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 20px;
    background: rgba(30, 41, 59, 0.8);
    border-bottom: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.8rem;
}

.btn-sm:hover { background: rgba(255, 255, 255, 0.1); }

#txt-preview {
    width: 100%;
    height: 320px;
    background: transparent;
    color: #e2e8f0;
    padding: 24px;
    border: none;
    resize: none;
    font-family: monospace;
    font-size: 0.9rem;
    line-height: 1.6;
    outline: none;
}

.builder-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1.1rem;
}

.builder-note {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- 12. Contact Section --- */
.contact-section { padding: 100px 0 140px; }

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    cursor: pointer;
    position: relative;
}

.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.info-label { display: block; font-size: 0.8rem; color: var(--text-muted); }
.info-val { font-size: 1.05rem; color: var(--text-primary); }
.copy-icon { margin-left: auto; color: var(--text-muted); width: 20px; height: 20px; }

.contact-form-card {
    padding: 36px;
}

.contact-form-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 24px;
}

#contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.w-full { width: 100%; }

/* --- 13. Footer --- */
.footer {
    padding: 40px 0;
    border-top: 1px solid var(--glass-border);
    background: rgba(11, 15, 25, 0.95);
}

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

.footer-left { display: flex; align-items: center; gap: 24px; font-size: 0.85rem; color: var(--text-muted); }
.footer-right a { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--text-secondary); }

/* --- 14. Modals & Toast --- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity var(--transition-normal);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    width: 100%;
    max-width: 680px;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    transform: scale(0.95);
    transition: transform var(--transition-normal);
}

.modal-overlay.active .modal-container {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 24px;
    right: 24px;
    color: var(--text-muted);
    font-size: 1.5rem;
}

.modal-close:hover { color: var(--text-primary); }

.toast-container {
    position: fixed;
    bottom: 32px;
    right: 32px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.toast {
    background: var(--bg-surface-elevated);
    border: 1px solid var(--accent-purple);
    color: var(--text-primary);
    padding: 14px 24px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-glow);
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.9rem;
    animation: toastIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

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

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* --- 15. Responsive Breakpoints --- */
@media (max-width: 1024px) {
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-actions, .hero-tags { justify-content: center; }
    .qa-wrapper { grid-template-columns: 1fr; }
    .qa-tabs { flex-direction: row; overflow-x: auto; border-right: none; border-bottom: 1px solid var(--glass-border); }
    .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.25rem; }
    .nav-links { display: none; }
    .mobile-toggle { display: block; }
    
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(11, 15, 25, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid var(--glass-border);
    }
    
    .qa-highlights { grid-template-columns: 1fr; }
    .builder-card { padding: 24px; }
}
