/* ===== FZYP — Forever Zero Youth Protocol ===== */
/* Modern dark theme with cyan/purple accents       */

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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #16161f;
    --bg-input: #1a1a28;
    --border: #2a2a3a;
    --border-hover: #3a3a5a;
    --text-primary: #e8e8f0;
    --text-secondary: #8888aa;
    --text-muted: #555570;
    --cyan: #00f0ff;
    --cyan-dim: #00a0b0;
    --purple: #7b2ff7;
    --purple-dim: #5a1fd0;
    --green: #00ff88;
    --red: #ff4466;
    --yellow: #ffaa00;
    --gradient-main: linear-gradient(135deg, #00f0ff, #7b2ff7);
    --gradient-subtle: linear-gradient(135deg, rgba(0,240,255,0.1), rgba(123,47,247,0.1));
    --shadow-glow: 0 0 30px rgba(0, 240, 255, 0.15);
    --radius: 12px;
    --radius-sm: 8px;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    --font-sans: 'Inter', -apple-system, sans-serif;
}

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

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

/* Background grid */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(rgba(0,240,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,240,255,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    pointer-events: none;
    z-index: 0;
}

/* ===== Layout ===== */

.page-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* ===== Navbar ===== */

.navbar {
    padding: 20px 0;
    border-bottom: 1px solid var(--border);
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-primary);
}

.nav-brand .logo {
    font-size: 24px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
}

.nav-brand .name {
    font-family: var(--font-mono);
    font-size: 14px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

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

/* ===== Buttons ===== */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: var(--gradient-main);
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 240, 255, 0.2);
}

.btn-primary:hover {
    box-shadow: 0 4px 25px rgba(0, 240, 255, 0.35);
    transform: translateY(-1px);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border);
}

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

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    color: var(--cyan);
}

.btn-danger {
    background: rgba(255, 68, 102, 0.15);
    color: var(--red);
    border: 1px solid rgba(255, 68, 102, 0.3);
}

.btn-danger:hover {
    background: rgba(255, 68, 102, 0.25);
}

.btn-sm { padding: 6px 14px; font-size: 13px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ===== Hero Section ===== */

.hero {
    padding: 120px 0 80px;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--gradient-subtle);
    border: 1px solid rgba(0, 240, 255, 0.2);
    border-radius: 100px;
    font-size: 13px;
    color: var(--cyan);
    font-family: var(--font-mono);
    margin-bottom: 32px;
}

.hero-badge .dot {
    width: 6px;
    height: 6px;
    background: var(--green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

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

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    font-family: var(--font-mono);
}

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

.hero .subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 40px;
    line-height: 1.6;
}

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

/* ===== Features ===== */

.features {
    padding: 80px 0;
}

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

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

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

.feature-icon {
    width: 48px;
    height: 48px;
    background: var(--gradient-subtle);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    font-family: var(--font-mono);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

/* ===== Section Titles ===== */

.section-title {
    text-align: center;
    margin-bottom: 16px;
    font-size: 32px;
    font-family: var(--font-mono);
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
}

/* ===== Auth Pages ===== */

.auth-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: calc(100vh - 80px);
    padding: 40px 24px;
}

.auth-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-glow);
}

.auth-card .logo-section {
    text-align: center;
    margin-bottom: 32px;
}

.auth-card .logo-section .icon {
    font-size: 32px;
    color: var(--cyan);
    font-family: var(--font-mono);
    font-weight: 700;
    margin-bottom: 8px;
}

.auth-card .logo-section h2 {
    font-size: 22px;
    font-family: var(--font-mono);
}

.auth-card .logo-section p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 6px;
}

/* ===== Forms ===== */

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

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-family: var(--font-mono);
}

.form-input {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 15px;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
    outline: none;
}

.form-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-input::placeholder {
    color: var(--text-muted);
}

.form-input.code-input {
    text-align: center;
    font-size: 28px;
    letter-spacing: 8px;
    font-family: var(--font-mono);
    font-weight: 600;
}

.form-actions {
    margin-top: 24px;
}

.form-actions .btn {
    width: 100%;
    justify-content: center;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 14px;
    color: var(--text-secondary);
}

.form-footer a {
    color: var(--cyan);
    text-decoration: none;
}

.form-footer a:hover {
    text-decoration: underline;
}

/* ===== Divider ===== */

.divider {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 24px 0;
    color: var(--text-muted);
    font-size: 13px;
}

.divider::before,
.divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

/* ===== Login Method Toggle ===== */

.login-methods {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.method-btn {
    flex: 1;
    padding: 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    font-family: var(--font-sans);
}

.method-btn.active {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
}

.method-btn:hover:not(.active) {
    border-color: var(--border-hover);
}

/* ===== Alerts ===== */

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    margin-bottom: 16px;
    display: none;
}

.alert.show { display: block; }

.alert-success {
    background: rgba(0, 255, 136, 0.1);
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--green);
}

.alert-error {
    background: rgba(255, 68, 102, 0.1);
    border: 1px solid rgba(255, 68, 102, 0.3);
    color: var(--red);
}

.alert-info {
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    color: var(--cyan);
}

/* ===== Steps Indicator ===== */

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 28px;
}

.step-dot {
    width: 32px;
    height: 4px;
    border-radius: 2px;
    background: var(--border);
    transition: background 0.3s;
}

.step-dot.active {
    background: var(--cyan);
    box-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.step-dot.done {
    background: var(--green);
}

/* ===== Dashboard ===== */

.dashboard {
    padding: 60px 0;
    flex: 1;
}

.welcome-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 48px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-glow);
}

.welcome-card h1 {
    font-size: 28px;
    font-family: var(--font-mono);
    margin-bottom: 12px;
}

.welcome-card .user-email {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 16px;
    margin-bottom: 24px;
}

.welcome-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 24px;
}

.user-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin: 32px 0;
}

.stat-item {
    background: var(--bg-input);
    border-radius: var(--radius-sm);
    padding: 16px;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
    font-family: var(--font-mono);
    color: var(--cyan);
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===== Footer ===== */

.footer {
    padding: 32px 0;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 13px;
    font-family: var(--font-mono);
}

.footer a {
    color: var(--text-secondary);
    text-decoration: none;
}

.footer a:hover {
    color: var(--cyan);
}

/* ===== Loading spinner ===== */

.spinner {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: spin 0.6s linear infinite;
    display: inline-block;
}

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

/* ===== Toast ===== */

.toast {
    position: fixed;
    top: 24px;
    right: 24px;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    z-index: 9999;
    transform: translateX(120%);
    transition: transform 0.3s ease;
    max-width: 360px;
}

.toast.show {
    transform: translateX(0);
}

.toast-success {
    background: rgba(0, 255, 136, 0.15);
    border: 1px solid rgba(0, 255, 136, 0.4);
    color: var(--green);
    backdrop-filter: blur(10px);
}

.toast-error {
    background: rgba(255, 68, 102, 0.15);
    border: 1px solid rgba(255, 68, 102, 0.4);
    color: var(--red);
    backdrop-filter: blur(10px);
}

/* ===== Responsive ===== */

/* ===== Language Switcher ===== */

.lang-switcher {
    position: relative;
}

.lang-toggle {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: var(--font-sans);
}

.lang-toggle:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

.lang-toggle .arrow {
    font-size: 10px;
    transition: transform 0.2s;
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 4px);
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    min-width: 160px;
    z-index: 200;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: all 0.2s ease;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    overflow: hidden;
}

.lang-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-option {
    display: block;
    width: 100%;
    padding: 10px 16px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 13px;
    cursor: pointer;
    text-align: left;
    transition: all 0.15s;
    font-family: var(--font-sans);
}

.lang-option:hover {
    background: rgba(0, 240, 255, 0.08);
    color: var(--text-primary);
}

.lang-option.active {
    color: var(--cyan);
    background: rgba(0, 240, 255, 0.05);
}

/* ===== Stats Section ===== */

.stats-section {
    padding: 80px 0;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-top: 48px;
}

.stats-card {
    text-align: center;
    padding: 32px 16px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

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

.stats-card .big-value {
    font-size: 40px;
    font-weight: 700;
    font-family: var(--font-mono);
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.stats-card .big-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
}

/* ===== Pipeline Section ===== */

.pipeline-section {
    padding: 80px 0;
}

.pipeline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin-top: 48px;
}

.pipeline-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.pipeline-card:hover {
    border-color: var(--purple);
    box-shadow: 0 0 30px rgba(123, 47, 247, 0.15);
    transform: translateY(-4px);
}

.pipeline-card .phase-tag {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.pipeline-card .phase-tag.phase-1 {
    background: rgba(0, 255, 136, 0.1);
    color: var(--green);
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.pipeline-card .phase-tag.phase-2 {
    background: rgba(0, 240, 255, 0.1);
    color: var(--cyan);
    border: 1px solid rgba(0, 240, 255, 0.3);
}

.pipeline-card .phase-tag.phase-3 {
    background: rgba(123, 47, 247, 0.1);
    color: var(--purple);
    border: 1px solid rgba(123, 47, 247, 0.3);
}

.pipeline-card .phase-tag.phase-4 {
    background: rgba(255, 170, 0, 0.1);
    color: var(--yellow);
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.pipeline-card h3 {
    font-size: 16px;
    margin-bottom: 10px;
    font-family: var(--font-mono);
}

.pipeline-card p {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

/* ===== CTA Section ===== */

.cta-section {
    padding: 80px 0;
    text-align: center;
    background: var(--gradient-subtle);
    border-top: 1px solid var(--border);
}

.cta-section h2 {
    font-size: 32px;
    font-family: var(--font-mono);
    margin-bottom: 16px;
}

.cta-section p {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 500px;
    margin: 0 auto 32px;
    line-height: 1.6;
}

/* ===== CAPTCHA ===== */

.captcha-box {
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.captcha-image-wrap {
    flex-shrink: 0;
    width: 130px;
    height: 44px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.captcha-image-wrap:hover {
    border-color: var(--cyan);
}

.captcha-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.captcha-image-wrap .captcha-loading {
    color: var(--text-muted);
    font-size: 12px;
    font-family: var(--font-mono);
}

.captcha-input {
    flex: 1;
    min-width: 0;
    padding: 10px 12px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 18px;
    font-family: var(--font-mono);
    text-align: center;
    letter-spacing: 4px;
    text-transform: uppercase;
    outline: none;
    transition: border-color 0.2s;
}

.captcha-input:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.captcha-input::placeholder {
    color: var(--text-muted);
    letter-spacing: 0;
    font-size: 14px;
}

.captcha-refresh {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    background: var(--bg-primary);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.captcha-refresh:hover {
    border-color: var(--cyan);
    color: var(--cyan);
}

/* ===== Profile Page ===== */

.profile-page {
    padding: 40px 0 80px;
    flex: 1;
}

.profile-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Sidebar */
.profile-sidebar {
    position: sticky;
    top: 100px;
    align-self: start;
}

.profile-avatar-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    text-align: center;
    margin-bottom: 20px;
}

.avatar-wrap {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    position: relative;
    cursor: pointer;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--border);
    transition: border-color 0.3s;
    background: var(--bg-input);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
    color: var(--text-muted);
    overflow: hidden;
}

.avatar-img:hover {
    border-color: var(--cyan);
}

.avatar-overlay {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
    font-size: 14px;
    color: #fff;
}

.avatar-wrap:hover .avatar-overlay {
    opacity: 1;
}

.avatar-input {
    display: none;
}

.profile-name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 4px;
}

.profile-email {
    color: var(--cyan);
    font-family: var(--font-mono);
    font-size: 13px;
    margin-bottom: 16px;
    word-break: break-all;
}

.profile-bio-preview {
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 16px;
    font-style: italic;
}

.profile-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-align: left;
    font-size: 13px;
    color: var(--text-secondary);
}

.profile-meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-meta-item .icon {
    width: 16px;
    text-align: center;
    flex-shrink: 0;
}

/* Stats card */
.profile-stats-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.profile-stats-card h3 {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    font-family: var(--font-mono);
}

.profile-stat-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border);
    font-size: 13px;
}

.profile-stat-row:last-child {
    border-bottom: none;
}

.profile-stat-label {
    color: var(--text-secondary);
}

.profile-stat-value {
    color: var(--text-primary);
    font-weight: 500;
}

/* Progress bar */
.progress-bar {
    height: 6px;
    background: var(--bg-input);
    border-radius: 3px;
    overflow: hidden;
    margin: 8px 0 4px;
}

.progress-fill {
    height: 100%;
    background: var(--gradient-main);
    border-radius: 3px;
    transition: width 0.5s ease;
}

.progress-text {
    font-size: 12px;
    color: var(--text-muted);
    text-align: right;
}

/* Main content */
.profile-main {
    min-width: 0;
}

.profile-section {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
}

.profile-section-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    font-family: var(--font-mono);
    display: flex;
    align-items: center;
    gap: 8px;
}

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

.form-textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
    outline: none;
    resize: vertical;
    min-height: 80px;
}

.form-textarea:focus {
    border-color: var(--cyan);
    box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.1);
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-sans);
    transition: border-color 0.2s;
    outline: none;
    appearance: none;
    cursor: pointer;
}

.form-select:focus {
    border-color: var(--cyan);
}

.form-actions-row {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 20px;
}

.tag-input-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px 12px;
    background: var(--bg-input);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    min-height: 44px;
    cursor: text;
}

.tag {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: rgba(0, 240, 255, 0.1);
    border: 1px solid rgba(0, 240, 255, 0.3);
    border-radius: 100px;
    font-size: 12px;
    color: var(--cyan);
}

.tag .remove {
    cursor: pointer;
    opacity: 0.6;
    font-size: 14px;
}

.tag .remove:hover {
    opacity: 1;
}

.tag-input {
    border: none;
    background: transparent;
    color: var(--text-primary);
    font-size: 14px;
    outline: none;
    flex: 1;
    min-width: 80px;
}

/* ===== Responsive additions ===== */

@media (max-width: 640px) {
    .hero h1 { font-size: 36px; }
    .hero .subtitle { font-size: 15px; }
    .auth-card { padding: 28px 20px; }
    .features-grid { grid-template-columns: 1fr; }
    .user-stats { grid-template-columns: 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .pipeline-grid { grid-template-columns: 1fr; }
    .profile-layout { grid-template-columns: 1fr; }
    .profile-sidebar { position: static; }
    .form-row { grid-template-columns: 1fr; }
}
