/* ============================================
   Umar Yusof — Personal Website
   Clean, professional, conversion-focused
   ============================================ */

:root {
    --color-bg: #FAFAF8;
    --color-surface: #FFFFFF;
    --color-text: #1A1A1A;
    --color-text-secondary: #5A5A5A;
    --color-text-muted: #8A8A8A;
    --color-accent: #1B4D3E;
    --color-accent-light: #E8F0ED;
    --color-accent-hover: #153D31;
    --color-border: #E8E8E4;
    --color-border-light: #F0F0EC;
    --color-warm: #F5F0E8;
    --color-nav-bg: rgba(250, 250, 248, 0.92);
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --max-width: 1140px;
    --section-padding: 100px;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
    --transition: 0.25s ease;
}

/* Dark Theme Variables */
:root.dark-theme {
    --color-bg: #0E110F;
    --color-surface: #151A17;
    --color-text: #F5F5F3;
    --color-text-secondary: #B2BAB6;
    --color-text-muted: #7A8580;
    --color-accent: #3DAE8F;
    --color-accent-light: rgba(61, 174, 143, 0.12);
    --color-accent-hover: #48C2A1;
    --color-border: #212824;
    --color-border-light: #1A201D;
    --color-warm: #181E1B;
    --color-nav-bg: rgba(14, 17, 15, 0.92);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.25);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.3);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.4);
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-bg);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* Container */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* Typography */
h1, h2, h3 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; }
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); letter-spacing: -0.01em; }
h3 { font-size: 1.15rem; font-weight: 600; font-family: var(--font-body); }
.section-tag {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 12px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all var(--transition);
    border: none;
    cursor: pointer;
    white-space: nowrap;
}
.btn-primary {
    background: var(--color-accent);
    color: #fff;
}
.btn-primary:hover {
    background: var(--color-accent-hover);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}
.btn-outline {
    background: transparent;
    color: var(--color-accent);
    border: 1.5px solid var(--color-accent);
}
.btn-outline:hover {
    background: var(--color-accent-light);
}
.btn-nav {
    padding: 10px 22px;
    background: var(--color-accent);
    color: #fff !important;
    border-radius: var(--radius);
}
.btn-nav:hover {
    background: var(--color-accent-hover);
}
.btn-lg {
    padding: 18px 36px;
    font-size: 1.05rem;
    border-radius: var(--radius-lg);
}

/* Navigation */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: var(--color-nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--color-border-light);
    transition: box-shadow var(--transition);
}
.nav.scrolled {
    box-shadow: var(--shadow-sm);
}
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}
.nav-logo {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--color-text);
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}
.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}
.nav-links a:hover {
    color: var(--color-text);
}
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-text);
    border-radius: 2px;
    transition: all var(--transition);
}
.nav-toggle.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) {
    opacity: 0;
}
.nav-toggle.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Hero */
.hero {
    padding: 160px 0 var(--section-padding);
    background: linear-gradient(170deg, var(--color-bg) 0%, var(--color-warm) 100%);
}
.hero-container {
    max-width: 800px;
}
.hero-content {
    text-align: center;
}
.hero-tag {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-accent);
    margin-bottom: 20px;
    letter-spacing: 0.04em;
}
.hero h1 {
    margin-bottom: 24px;
    color: var(--color-text);
}
.hero-sub {
    font-size: 1.15rem;
    color: var(--color-text-secondary);
    max-width: 580px;
    margin: 0 auto 36px;
    line-height: 1.8;
}
.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
.hero-proof {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    padding-top: 40px;
    border-top: 1px solid var(--color-border);
}
.proof-item { text-align: center; }
.proof-number {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--color-accent);
}
.proof-label {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 4px;
}
.proof-divider {
    width: 1px;
    height: 40px;
    background: var(--color-border);
}

/* Section Base */
.section {
    padding: var(--section-padding) 0;
}

/* About */
.about {
    background: var(--color-surface);
}
.about-text h2 {
    margin-bottom: 24px;
}
.about-text > p {
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    max-width: 680px;
    font-size: 1.02rem;
}
.about-differentiators {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-top: 40px;
}
.diff-item {
    display: flex;
    gap: 16px;
    padding: 20px;
    border-radius: var(--radius-lg);
    background: var(--color-bg);
    border: 1px solid var(--color-border-light);
}
.diff-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--color-accent-light);
    color: var(--color-accent);
}
.diff-item strong {
    display: block;
    margin-bottom: 4px;
    font-size: 0.95rem;
}
.diff-item p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* S.H.I.F.T. Method */
.method {
    background: var(--color-accent);
    color: #fff;
}
.method .section-tag {
    color: rgba(255,255,255,0.6);
}
.method h2 {
    color: #fff;
}
.method-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 56px;
}
.method-intro {
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
    margin-top: 16px;
}
.shift-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}
.shift-card {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-lg);
    padding: 28px 20px;
    text-align: center;
    transition: background var(--transition);
}
.shift-card:hover {
    background: rgba(255,255,255,0.12);
}
.shift-letter {
    font-family: var(--font-heading);
    font-size: 2.4rem;
    font-weight: 700;
    color: rgba(255,255,255,0.3);
    margin-bottom: 8px;
}
.shift-card h3 {
    color: #fff;
    margin-bottom: 10px;
    font-size: 1.05rem;
}
.shift-card p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
}

/* Services */
.services {
    background: var(--color-bg);
}
.services h2 {
    margin-bottom: 48px;
}
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.service-card {
    background: var(--color-surface);
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
}
.service-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}
.service-icon {
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    background: var(--color-accent-light);
    color: var(--color-accent);
    margin-bottom: 20px;
}
.service-card h3 {
    margin-bottom: 12px;
    font-size: 1.1rem;
}
.service-card p {
    font-size: 0.92rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Profiles / Who I Help */
.profiles {
    background: var(--color-surface);
}
.profiles h2 {
    margin-bottom: 48px;
}
.profiles-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.profile-card {
    border: 1px solid var(--color-border-light);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    background: var(--color-bg);
    display: flex;
    flex-direction: column;
}
.profile-header {
    margin-bottom: 16px;
}
.profile-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 6px 12px;
    border-radius: 20px;
}
.profile-description {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    margin-bottom: 20px;
    line-height: 1.7;
}
.profile-pains {
    margin-bottom: 24px;
    flex-grow: 1;
}
.profile-pains li {
    position: relative;
    padding-left: 20px;
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}
.profile-pains li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-light);
    border: 2px solid var(--color-accent);
}
.profile-quote {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-style: italic;
    color: var(--color-accent);
    padding-top: 20px;
    border-top: 1px solid var(--color-border);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(170deg, var(--color-warm) 0%, var(--color-bg) 100%);
    text-align: center;
    padding: 120px 0;
}
.cta-container {
    max-width: 600px;
}
.cta-section h2 {
    margin-bottom: 16px;
}
.cta-section > .container > p {
    color: var(--color-text-secondary);
    margin-bottom: 36px;
    font-size: 1.05rem;
}
.cta-note {
    margin-top: 16px;
    font-size: 0.88rem;
    color: var(--color-text-muted);
}
.cta-note a {
    color: var(--color-accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Disclaimer */
.disclaimer {
    padding: 32px 0;
    background: var(--color-bg);
    border-top: 1px solid var(--color-border-light);
}
.disclaimer-text {
    font-size: 0.78rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    text-align: justify;
}

/* Footer */
.footer {
    padding: 32px 0;
    border-top: 1px solid var(--color-border);
    background: var(--color-bg);
}
.footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-name {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
}
.footer-sub {
    font-size: 0.8rem;
    color: var(--color-text-muted);
    margin-top: 2px;
}
.footer-topics {
    flex: 1;
    text-align: center;
}
.footer-topics h4 {
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-text-muted);
    margin-bottom: 10px;
}
.footer-topics ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 16px;
    padding: 0;
    margin: 0;
}
.footer-topics ul li a {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}
.footer-topics ul li a:hover {
    color: var(--color-accent);
}
.footer-right {
    display: flex;
    gap: 24px;
}
.footer-right a {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    transition: color var(--transition);
}
.footer-right a:hover {
    color: var(--color-accent);
}


/* ==================
   Calculators
   ================== */
.calculators {
    background: var(--color-surface);
    border-top: 1px solid var(--color-border-light);
    border-bottom: 1px solid var(--color-border-light);
}
.calc-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--color-border-light);
    padding-bottom: 16px;
}
.calc-tab-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--color-text-secondary);
    cursor: pointer;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.calc-tab-btn:hover {
    color: var(--color-accent);
    background: var(--color-accent-light);
}
.calc-tab-btn.active {
    color: #fff;
    background: var(--color-accent);
}
.calc-container {
    max-width: 960px;
    margin: 0 auto;
}
.calc-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 48px;
    align-items: start;
}
.calc-inputs {
    background: var(--color-bg);
    padding: 32px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border-light);
}
.input-group {
    margin-bottom: 28px;
}
.input-group:last-child {
    margin-bottom: 0;
}
.input-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    gap: 12px;
}
.input-header label {
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--color-text-secondary);
}
.input-val {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--color-accent);
    background: var(--color-accent-light);
    padding: 4px 10px;
    border-radius: 4px;
    white-space: nowrap;
}
.currency-input {
    display: flex;
    align-items: center;
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 2px 10px;
    max-width: 140px;
}
.currency-input span {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    font-weight: 500;
    margin-right: 4px;
}
.currency-input input {
    border: none;
    outline: none;
    background: transparent;
    width: 100%;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--color-text);
    font-family: var(--font-body);
}
.currency-input input::-webkit-outer-spin-button,
.currency-input input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.calc-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--color-border);
    outline: none;
    margin: 12px 0 6px;
}
.calc-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--color-accent);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.15);
    transition: transform var(--transition);
}
.calc-slider::-webkit-slider-thumb:hover {
    transform: scale(1.15);
    background: var(--color-accent-hover);
}
.slider-labels {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--color-text-muted);
    font-weight: 500;
}
.results-card {
    background: var(--color-warm);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow-sm);
}
.results-title {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--color-text-secondary);
    margin-bottom: 8px;
}
.results-highlight {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4.5vw, 3rem);
    font-weight: 700;
    color: #c94a29;
    line-height: 1.1;
    margin-bottom: 12px;
}
.results-desc {
    font-size: 0.9rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}
.results-viz {
    margin-bottom: 24px;
    background: rgba(255,255,255,0.5);
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid rgba(0,0,0,0.03);
}
.viz-bar-group {
    margin-bottom: 16px;
}
.viz-bar-group:last-child {
    margin-bottom: 0;
}
.viz-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--color-text-secondary);
    margin-bottom: 6px;
}
.viz-bar-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
}
.viz-bar {
    height: 24px;
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.1, 0.8, 0.2, 1);
    min-width: 8px;
}
.viz-bar-before {
    background: var(--color-accent);
}
.viz-bar-after {
    background: #c94a29;
}
.viz-bar-val {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--color-text);
}
.results-alert {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    background: #FFF5F2;
    border: 1px solid #FFD3C4;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 28px;
    font-size: 0.82rem;
    color: #B23A1E;
    line-height: 1.5;
}
.lead-capture-box {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius);
    padding: 24px;
}
.lead-capture-box h4 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: 8px;
}
.lead-capture-box p {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    margin-bottom: 16px;
    line-height: 1.4;
}
.calc-lead-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--color-border);
    background: var(--color-surface);
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition);
}
.form-input:focus {
    border-color: var(--color-accent);
}
.btn-block {
    width: 100%;
    justify-content: center;
}
.lead-success-msg {
    text-align: center;
    padding: 12px 0;
}
.success-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--color-accent-light);
    color: var(--color-accent);
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.lead-success-msg p {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: 16px;
}

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

@media (max-width: 1024px) {
    .shift-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .shift-grid .shift-card:nth-child(4),
    .shift-grid .shift-card:nth-child(5) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    :root {
        --section-padding: 72px;
    }

    /* Nav mobile */
    .nav-toggle {
        display: flex;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--color-surface);
        border-bottom: 1px solid var(--color-border);
        padding: 24px;
        gap: 20px;
        box-shadow: var(--shadow-md);
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links .btn-nav {
        width: 100%;
        text-align: center;
        justify-content: center;
    }

    /* Hero */
    .hero {
        padding: 120px 0 72px;
    }
    .hero-proof {
        flex-direction: column;
        gap: 20px;
    }
    .proof-divider {
        width: 40px;
        height: 1px;
    }

    /* Grids to single column */
    .about-differentiators,
    .services-grid,
    .profiles-grid {
        grid-template-columns: 1fr;
    }
    .shift-grid {
        grid-template-columns: 1fr 1fr;
    }

    /* Footer stack */
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: center;
    }

    /* Calculator responsive */
    .calc-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .calc-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 8px;
        -webkit-overflow-scrolling: touch;
    }
    .calc-tab-btn {
        white-space: nowrap;
    }
}

@media (max-width: 480px) {
    .shift-grid {
        grid-template-columns: 1fr;
    }
    .btn-lg {
        width: 100%;
        justify-content: center;
    }
}

/* Profile Selector Section */
.profile-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.profile-tab-btn {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    padding: 12px 24px;
    font-family: var(--font-body);
    font-weight: 600;
    color: var(--color-text-secondary);
    cursor: pointer;
    border-radius: var(--radius-lg);
    transition: all var(--transition);
}
.profile-tab-btn:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}
.profile-tab-btn.active {
    color: #fff;
    background: var(--color-accent);
    border-color: var(--color-accent);
}
.profile-pane {
    display: none;
}
.profile-pane.active {
    display: block;
}

@media (max-width: 768px) {
    .profile-pane > div {
        grid-template-columns: 1fr !important;
        gap: 24px !important;
    }
    .profile-pane > div > div:last-child {
        order: -1; /* Place the quote/visual block above the content on mobile */
    }
}

/* Modal styling */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.4);
    backdrop-filter: blur(8px);
    align-items: center;
    justify-content: center;
    padding: 24px;
}
.modal.active {
    display: flex;
}
.modal-content {
    background: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 460px;
    padding: 40px;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: modalFadeIn 0.3s cubic-bezier(0.1, 0.8, 0.2, 1);
}
@keyframes modalFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}
.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    color: var(--color-text-muted);
    transition: color var(--transition);
}
.modal-close:hover {
    color: var(--color-text);
}
.modal h2 {
    margin-bottom: 12px;
    font-size: 1.8rem;
}
.modal p {
    font-size: 0.88rem;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
    line-height: 1.5;
}
.modal-success {
    text-align: center;
}


