

/* ═══════════════════════════════════════════════════════════════
   NEW LANDING PAGE — Additional Styles
═══════════════════════════════════════════════════════════════ */

/* ── Buttons extra ─────────────────────────────────────────────── */
.btn-lg { padding: 16px 32px; font-size: 1.05rem; border-radius: 14px; }
.btn-ghost {
    background: rgba(255,255,255,0.06);
    color: var(--text-primary);
    border: 1px solid rgba(255,255,255,0.1);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-ghost i { transition: transform 0.2s; }
.btn-ghost:hover i { transform: translateX(4px); }
.btn-white { background: #fff; color: #1e263b; font-weight: 700; }
.btn-white:hover { background: #f1f5f9; transform: translateY(-2px); }
.btn-ghost-white {
    background: transparent;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.4);
    font-weight: 600;
}
.btn-ghost-white:hover { background: rgba(255,255,255,0.1); }

/* ── Section shared styles ─────────────────────────────────────── */
.section-label {
    display: inline-block;
    background: var(--primary-glow);
    color: var(--primary);
    border: 1px solid rgba(99,102,241,0.25);
    padding: 4px 14px;
    border-radius: 50px;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 16px;
}
.section-title {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    line-height: 1.2;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.05rem;
    max-width: 640px;
    line-height: 1.7;
    margin: 0 auto 56px;
}

/* ── Navbar ────────────────────────────────────────────────────── */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    background: rgba(11,15,25,0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    position: sticky;
    top: 0;
    z-index: 200;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.navbar.scrolled {
    background: rgba(11, 15, 25, 0.96) !important;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
    border-bottom-color: rgba(99, 102, 241, 0.15) !important;
}
@media (min-width: 769px) {
    .navbar.scrolled {
        padding: 14px 80px !important;
    }
}
.logo { text-decoration: none; }

/* ── Hero ─────────────────────────────────────────────────────── */
.hero-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    padding: 100px 24px 80px;
    max-width: 1200px;
    margin: 0 auto;
}
.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 24px;
    max-width: 900px;
}
.hero-badge-row {
    display: flex;
    justify-content: center;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--primary-glow);
    border: 1px solid rgba(99,102,241,0.25);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    margin-bottom: 8px;
}
.hero-title {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
    line-height: 1.15;
    background: linear-gradient(170deg, #fff 0%, #cbd5e1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 900;
}
.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto;
}
.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-top: 8px;
}
.hero-trust {
    font-size: 0.82rem;
    color: var(--text-muted);
    margin-top: 4px;
    text-align: center;
}

/* Hero mockup */
.hero-visual { position: relative; }
.hero-app-mockup {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 60px rgba(0,0,0,0.5), 0 0 50px rgba(99,102,241,0.1);
    transform: perspective(1200px) rotateY(-8deg) rotateX(3deg);
    transition: transform 0.4s ease;
}
.hero-app-mockup:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.mockup-titlebar {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 10px 16px;
    background: rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.04);
}
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot-red { background: #ef4444; }
.dot-yellow { background: #f59e0b; }
.dot-green { background: #22c55e; }
.mockup-url {
    margin-left: 8px;
    font-size: 0.75rem;
    color: var(--text-muted);
    background: rgba(255,255,255,0.04);
    padding: 2px 12px;
    border-radius: 20px;
}
.mockup-body-inner { display: flex; height: 300px; }
.mockup-sidebar-inner {
    width: 56px;
    background: rgba(255,255,255,0.02);
    border-right: 1px solid rgba(255,255,255,0.04);
    padding: 16px 8px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ms-logo { height: 20px; background: var(--primary-glow); border-radius: 4px; margin-bottom: 8px; }
.ms-item { height: 14px; background: rgba(255,255,255,0.06); border-radius: 4px; }
.ms-active { background: var(--primary-glow); }
.mockup-content-inner { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 12px; }
.mc-stats-row { display: flex; gap: 10px; }
.mc-stat {
    flex: 1;
    height: 52px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.06);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 6px 10px;
    box-sizing: border-box;
}
.mc-stat-num {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    line-height: 1.1;
}
.mc-stat-lbl {
    font-size: 0.58rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mc-blue { background: rgba(99,102,241,0.12); }
.mc-orange { background: rgba(245,158,11,0.12); }
.mc-green { background: rgba(34,197,94,0.12); }
.mc-card { background: rgba(255,255,255,0.03); border-radius: 8px; border: 1px solid rgba(255,255,255,0.05); position: relative; overflow: hidden; }
.mc-tall { height: 104px; }
.mc-card-header {
    font-size: 0.62rem;
    font-weight: 700;
    color: var(--text-primary);
    padding: 6px 10px 4px;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    background: rgba(255,255,255,0.01);
    text-align: left;
}
.mc-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 5px 10px;
    font-size: 0.62rem;
    border-bottom: 1px solid rgba(255,255,255,0.02);
}
.mc-row:last-child {
    border-bottom: none;
}
.mc-name {
    font-weight: 600;
    color: var(--text-primary);
    width: 40%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: left;
}
.mc-task {
    color: var(--text-secondary);
    width: 35%;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mc-status {
    padding: 1px 6px;
    border-radius: 4px;
    font-size: 0.55rem;
    font-weight: 600;
    text-align: center;
}
.status-done {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}
.status-pending {
    background: rgba(99, 102, 241, 0.15);
    color: var(--primary);
}
.status-todo {
    background: rgba(245, 158, 11, 0.15);
    color: var(--warning);
}
.mc-short-list {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
    height: auto;
    padding-bottom: 2px;
}
.mc-flow {
    display: flex;
    gap: 3px;
}
.flow-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    font-size: 0.45rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: rgba(255,255,255,0.4);
    background: rgba(255,255,255,0.05);
}
.flow-dot.done {
    background: var(--success);
    color: #fff;
}
.flow-dot.pending {
    background: var(--primary);
    color: #fff;
}

/* Floating badges */
.floating-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 6px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 8px 14px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 8px 24px rgba(0,0,0,0.3);
    white-space: nowrap;
    animation: float 3s ease-in-out infinite;
}
.fb-top-right { top: -16px; right: -20px; animation-delay: 0s; }
.fb-bottom-left { bottom: -16px; left: -20px; animation-delay: 1.5s; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

/* ── Stats band ────────────────────────────────────────────────── */
.stats-band {
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    padding: 32px 80px;
}
.stats-band-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 24px;
}
.stat-band-item { text-align: center; }
.stat-band-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    font-family: 'Outfit', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.stat-band-label { font-size: 0.85rem; color: var(--text-secondary); margin-top: 4px; }
.stat-divider { width: 1px; height: 48px; background: var(--border-color); }

/* ── Features grid new ─────────────────────────────────────────── */
.section-features {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}
.features-grid-new {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.feature-card-new {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-align: left;
}
.feature-card-new::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 3px;
}
.fca-purple::before { background: linear-gradient(90deg, #8b5cf6, #6366f1); }
.fca-blue::before { background: linear-gradient(90deg, #3b82f6, #06b6d4); }
.fca-green::before { background: linear-gradient(90deg, #10b981, #34d399); }
.fca-orange::before { background: linear-gradient(90deg, #f59e0b, #fb923c); }
.fca-red::before { background: linear-gradient(90deg, #ef4444, #f97316); }
.fca-cyan::before { background: linear-gradient(90deg, #06b6d4, #3b82f6); }
.feature-card-new:hover {
    transform: translateY(-6px);
    border-color: rgba(99,102,241,0.3);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}
.fcn-icon {
    width: 52px; height: 52px;
    background: var(--primary-glow);
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
    margin-bottom: 20px;
}
.fcn-icon i { width: 26px; height: 26px; }
.feature-card-new h3 { font-size: 1.2rem; margin-bottom: 10px; }
.feature-card-new p { color: var(--text-secondary); font-size: 0.92rem; line-height: 1.65; }

/* ── How it works ──────────────────────────────────────────────── */
.section-how {
    padding: 100px 80px;
    text-align: center;
    background: linear-gradient(180deg, transparent, rgba(99,102,241,0.04), transparent);
}
.steps-row {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 24px;
}
.step-item {
    flex: 1;
    max-width: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}
.step-num {
    font-family: 'Outfit', sans-serif;
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--border-color);
    line-height: 1;
}
.step-icon {
    width: 72px; height: 72px;
    background: var(--primary-glow);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 20px;
    display: flex; align-items: center; justify-content: center;
    color: var(--primary);
}
.step-icon i { width: 32px; height: 32px; }
.step-item h3 { font-size: 1.15rem; }
.step-item p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }
.step-arrow {
    color: var(--text-muted);
    padding-top: 80px;
    flex-shrink: 0;
}
.step-arrow i { width: 28px; height: 28px; }

/* ── Pricing new ───────────────────────────────────────────────── */
.section-pricing { padding: 100px 80px; text-align: center; max-width: 1400px; margin: 0 auto; }
.pricing-toggle-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-bottom: 48px;
}
.ptog-label { font-weight: 600; color: var(--text-secondary); }
.pricing-toggle {
    position: relative;
    width: 52px; height: 28px;
    background: var(--border-color);
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}
.pricing-toggle[aria-pressed="true"] { background: var(--primary); }
.toggle-knob {
    position: absolute;
    left: 3px; top: 3px;
    width: 22px; height: 22px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s;
    display: block;
}
.pricing-toggle[aria-pressed="true"] .toggle-knob { transform: translateX(24px); }
.savings-badge {
    background: rgba(16,185,129,0.15);
    color: var(--success);
    border: 1px solid rgba(16,185,129,0.3);
    padding: 2px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
    margin-left: 6px;
}
.pricing-cards-row { display: flex; justify-content: center; gap: 32px; }
.pricing-card-new {
    width: 380px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}
.pricing-card-new:hover { transform: translateY(-4px); box-shadow: 0 20px 40px rgba(0,0,0,0.2); }
.card-featured {
    border-color: var(--primary);
    box-shadow: 0 0 40px rgba(99,102,241,0.15);
    background: linear-gradient(160deg, var(--bg-card) 60%, rgba(99,102,241,0.06) 100%);
}
.pcn-badge-top {
    position: absolute;
    top: 20px; right: -30px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 5px 36px;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
}
.pcn-plan-name { font-size: 0.9rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 12px; }
.pcn-price { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.pcn-amount { font-size: 3rem; font-weight: 900; font-family: 'Outfit', sans-serif; color: white; }
.pcn-period { font-size: 1.1rem; color: var(--text-secondary); }
.pcn-monthly-equiv { font-size: 0.85rem; color: var(--success); margin-bottom: 8px; }
.pcn-desc { color: var(--text-secondary); font-size: 0.92rem; margin-bottom: 28px; line-height: 1.5; }
.pcn-features { list-style: none; display: flex; flex-direction: column; gap: 12px; margin-bottom: 32px; }
.pcn-features li { display: flex; align-items: center; gap: 10px; font-size: 0.95rem; }
.pcn-features li i { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; }
.pcn-note { font-size: 0.78rem; color: var(--text-muted); text-align: center; margin-top: 12px; }

/* ── Testimonials ──────────────────────────────────────────────── */
.section-testimonials { padding: 100px 80px; max-width: 1400px; margin: 0 auto; }
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.testimonial-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
}
.testimonial-card:hover { transform: translateY(-4px); border-color: rgba(99,102,241,0.25); }
.tcard-stars { color: #f59e0b; font-size: 1.1rem; letter-spacing: 2px; }
.testimonial-card blockquote { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.7; font-style: italic; flex: 1; }
.tcard-author { display: flex; align-items: center; gap: 12px; }
.tcard-avatar {
    width: 44px; height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 0.85rem; flex-shrink: 0;
}
.tcard-author strong { display: block; font-size: 0.95rem; }
.tcard-author span { font-size: 0.82rem; color: var(--text-muted); }

/* ── FAQ ───────────────────────────────────────────────────────── */
.section-faq { padding: 100px 80px; max-width: 900px; margin: 0 auto; }
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    overflow: hidden;
    transition: border-color 0.2s;
}
.faq-item[open] { border-color: rgba(99,102,241,0.3); }
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    cursor: pointer;
    font-weight: 600;
    font-size: 1rem;
    list-style: none;
    user-select: none;
}
.faq-question::-webkit-details-marker { display: none; }
.faq-question i { flex-shrink: 0; width: 18px; height: 18px; transition: transform 0.25s; color: var(--text-muted); }
.faq-item[open] .faq-question i { transform: rotate(180deg); }
.faq-answer { padding: 0 24px 20px; }
.faq-answer p { color: var(--text-secondary); line-height: 1.7; font-size: 0.95rem; }

/* ── CTA Final ─────────────────────────────────────────────────── */
.section-cta-final {
    background: linear-gradient(135deg, #1e1b4b 0%, #1e263b 50%, #0f172a 100%);
    border-top: 1px solid rgba(99,102,241,0.2);
    border-bottom: 1px solid rgba(99,102,241,0.2);
    padding: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.section-cta-final::before {
    content: '';
    position: absolute;
    top: -50%; left: 50%;
    transform: translateX(-50%);
    width: 600px; height: 400px;
    background: radial-gradient(circle, rgba(99,102,241,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.cta-final-inner { max-width: 700px; margin: 0 auto; position: relative; }
.cta-final-inner h2 {
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    color: white;
    margin-bottom: 16px;
}
.cta-final-inner p { color: rgba(255,255,255,0.7); margin-bottom: 36px; font-size: 1.05rem; }
.cta-final-actions { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }

/* ── Footer ────────────────────────────────────────────────────── */
.main-footer { background: var(--bg-sidebar); border-top: 1px solid var(--border-color); padding: 64px 80px 32px; }
.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 48px;
}
.footer-brand p { color: var(--text-muted); font-size: 0.88rem; line-height: 1.6; margin-top: 12px; max-width: 280px; }
.footer-badges { display: flex; gap: 12px; margin-top: 16px; flex-wrap: wrap; }
.footer-badge-item {
    display: flex; align-items: center; gap: 5px;
    font-size: 0.78rem; color: var(--text-muted);
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border-color);
    padding: 4px 10px; border-radius: 20px;
}
.footer-badge-item i { width: 12px; height: 12px; }
.footer-links-col { display: flex; flex-direction: column; gap: 12px; }
.footer-links-col strong { font-size: 0.88rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-secondary); margin-bottom: 4px; }
.footer-links-col a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links-col a:hover { color: var(--primary); }
.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { color: var(--text-muted); font-size: 0.85rem; }

/* ═══════════════════════════════════════════════════════════════
   CHECKOUT NEW
═══════════════════════════════════════════════════════════════ */
.checkout-container-new {
    max-width: 1100px;
    margin: 32px auto 80px;
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 48px;
    padding: 0 40px;
}
.checkout-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 36px 28px;
    height: fit-content;
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.cs-logo { display: flex; align-items: center; gap: 8px; font-family: 'Outfit', sans-serif; font-size: 1.4rem; font-weight: 800; }
.cs-plan-box {
    background: var(--primary-glow);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 14px;
    padding: 20px;
}
.cs-plan-name { font-size: 0.85rem; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.cs-plan-price { font-size: 2.2rem; font-weight: 900; font-family: 'Outfit', sans-serif; }
.cs-plan-price span { font-size: 1rem; font-weight: 500; color: var(--text-secondary); }
.cs-includes { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.cs-includes li { display: flex; align-items: center; gap: 8px; font-size: 0.88rem; color: var(--text-secondary); }
.cs-includes li i { width: 16px; height: 16px; color: var(--success); flex-shrink: 0; }
.cs-switch-plan { font-size: 0.85rem; color: var(--text-muted); }
.cs-guarantee {
    display: flex; gap: 10px; align-items: flex-start;
    background: rgba(16,185,129,0.05);
    border: 1px solid rgba(16,185,129,0.15);
    border-radius: 10px;
    padding: 14px;
}
.cs-guarantee i { width: 18px; height: 18px; color: var(--success); flex-shrink: 0; margin-top: 2px; }
.cs-guarantee p { font-size: 0.82rem; color: var(--text-secondary); line-height: 1.5; }
.cs-payment-logos { display: flex; gap: 8px; flex-wrap: wrap; }
.pm-badge {
    background: rgba(255,255,255,0.06);
    border: 1px solid var(--border-color);
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}
.pm-badge-paypal { color: #0070ba; }

.checkout-payment-area { padding: 8px 0; }
.checkout-step-title { font-size: 1.6rem; margin-bottom: 24px; }

/* Payment method tabs */
.payment-method-tabs { display: flex; gap: 12px; margin-bottom: 28px; }
.pmt-tab {
    flex: 1;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    padding: 14px 16px;
    background: var(--bg-card);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition);
}
.pmt-tab i { width: 18px; height: 18px; }
.pmt-tab:hover { border-color: rgba(99,102,241,0.4); color: var(--text-primary); }
.pmt-tab.active { border-color: var(--primary); color: var(--primary); background: var(--primary-glow); }
.paypal-logo-svg { height: 18px; width: auto; }
.payment-area { display: none; }
.payment-area.active { display: block; }

/* Stripe element */
.stripe-element-wrapper {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 24px;
    margin-bottom: 20px;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stripe-placeholder {
    text-align: center;
    color: var(--text-muted);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.stripe-loading-icon {
    width: 28px; height: 28px;
    animation: spin 1s linear infinite;
    color: var(--primary);
}
.stripe-note { font-size: 0.8rem; color: var(--text-muted); }
@keyframes spin { to { transform: rotate(360deg); } }

/* PayPal area */
.paypal-intro { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }

/* Error msg */
.payment-error-msg {
    background: var(--danger-bg);
    border: 1px solid rgba(239,68,68,0.3);
    color: var(--danger);
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 0.9rem;
    margin-bottom: 16px;
}

/* Payment success banner */
.payment-success-banner {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgba(16,185,129,0.1);
    border: 1px solid rgba(16,185,129,0.3);
    border-radius: 14px;
    padding: 20px 24px;
    margin-bottom: 8px;
}
.payment-success-banner i { width: 32px; height: 32px; color: var(--success); flex-shrink: 0; }
.payment-success-banner strong { display: block; font-size: 1rem; color: var(--success); }
.payment-success-banner span { font-size: 0.88rem; color: var(--text-secondary); }

/* ═══════════════════════════════════════════════════════════════
   PASSWORD STRENGTH & SECURITY
═══════════════════════════════════════════════════════════════ */
.password-input-wrapper { position: relative; }
.password-input-wrapper input { padding-right: 48px; }
.btn-toggle-pw {
    position: absolute;
    right: 12px; top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
    padding: 4px;
    display: flex; align-items: center; justify-content: center;
    transition: color 0.2s;
}
.btn-toggle-pw:hover { color: var(--primary); }
.btn-toggle-pw i { width: 18px; height: 18px; }

.password-strength-bar {
    height: 4px;
    background: var(--border-color);
    border-radius: 2px;
    margin-top: 8px;
    overflow: hidden;
}
.psb-fill {
    height: 100%;
    width: 0;
    border-radius: 2px;
    transition: width 0.3s ease, background 0.3s ease;
}
.psb-fill.strength-1 { width: 25%; background: var(--danger); }
.psb-fill.strength-2 { width: 50%; background: var(--warning); }
.psb-fill.strength-3 { width: 75%; background: #3b82f6; }
.psb-fill.strength-4 { width: 100%; background: var(--success); }

.password-requirements {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}
.req {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 0.78rem;
    padding: 3px 8px;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.2s;
}
.req i { width: 12px; height: 12px; }
.req-fail { color: var(--text-muted); background: rgba(255,255,255,0.03); }
.req-ok { color: var(--success); background: rgba(16,185,129,0.1); }

.pw-match-msg {
    font-size: 0.82rem;
    margin-top: 6px;
    font-weight: 500;
}
.pw-match-ok { color: var(--success); }
.pw-match-fail { color: var(--danger); }

/* ── Auth logo ─────────────────────────────────────────────────── */
.auth-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.auth-switch-link {
    text-align: center;
    margin-top: 20px;
    color: var(--text-muted);
    font-size: 0.9rem;
}
.auth-switch-link .btn-link { font-size: 0.9rem; }
#login-error-msg { margin-top: 0; margin-bottom: 12px; }




/* ================= RESET & GLOBALS ================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    -webkit-font-smoothing: antialiased;
}

:root {
    --bg-main: #0b0f19;
    --bg-card: #151c2c;
    --bg-card-hover: #1e263b;
    --bg-sidebar: #0f1423;
    --border-color: #222d44;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --primary-glow: rgba(99, 102, 241, 0.15);
    
    --accent: #8b5cf6;
    --accent-hover: #7c3aed;
    --accent-glow: rgba(139, 92, 246, 0.15);
    
    --success: #10b981;
    --success-bg: rgba(16, 185, 129, 0.1);
    --warning: #f59e0b;
    --warning-bg: rgba(245, 158, 11, 0.1);
    --danger: #ef4444;
    --danger-bg: rgba(239, 68, 68, 0.1);
    --info: #06b6d4;
    
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html, body {
    max-width: 100%;
    overflow-x: hidden !important;
    position: relative;
    line-height: 1.5;
    scroll-behavior: smooth;
}
body:has(.modal-backdrop.active),
body:has(.modal-overlay.active) {
    overflow: hidden !important;
}
body {
    background-color: var(--bg-main);
    color: var(--text-primary);
}

/* ================= TYPOGRAPHY ================= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    letter-spacing: -0.02em;
}

/* ================= SCROLLBAR ================= */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: var(--radius-sm);
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-muted);
}

/* ================= COMMON BUTTONS ================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(99, 102, 241, 0.5);
}

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

.btn-secondary:hover {
    background-color: var(--bg-card-hover);
    color: white;
}

.btn-text {
    background: none;
    color: var(--text-primary);
    padding: 8px 16px;
}

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

.btn-text i {
    transition: transform 0.2s;
}

.btn-text:hover i {
    transform: translateX(4px);
}

.btn-block {
    width: 100%;
}

.btn-link {
    background: none;
    color: var(--primary);
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}

.btn-link:hover {
    color: var(--accent);
}

.btn-link i {
    width: 16px;
    height: 16px;
}

/* ================= VIEW CONTAINER & STATES ================= */
#app-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.view {
    display: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.view.active {
    display: block;
    opacity: 1;
}

/* Specific view adjustments */
#view-dashboard.active {
    display: flex; /* Sidebar layout */
    height: 100vh;
    overflow: hidden;
}

/* ================= NAVIGATION BAR (Landing) ================= */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 80px;
    background-color: rgba(11, 15, 25, 0.8);
    backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-primary);
}

.logo span span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    color: var(--primary);
    width: 28px;
    height: 28px;
}

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

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary);
}

/* ================= HERO SECTION (Landing) ================= */


.hero-image-placeholder {
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

/* Premium Visual Mockup Window */
.mockup-window {
    width: 100%;
    max-width: 500px;
    height: 340px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4), 0 0 40px rgba(99, 102, 241, 0.1);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: var(--transition);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.mockup-window:hover {
    transform: rotateY(-3deg) rotateX(2deg) scale(1.02);
}

.mockup-header {
    height: 40px;
    padding: 12px 18px;
    display: flex;
    gap: 6px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.mockup-header .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--border-color);
}

.mockup-header .dot:nth-child(1) { background-color: var(--danger); }
.mockup-header .dot:nth-child(2) { background-color: var(--warning); }
.mockup-header .dot:nth-child(3) { background-color: var(--success); }

.mockup-body {
    flex: 1;
    display: grid;
    grid-template-columns: 80px 1fr;
}

.mock-sidebar {
    background-color: rgba(255, 255, 255, 0.02);
    border-right: 1px solid rgba(255, 255, 255, 0.03);
}

.mock-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mock-card {
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-sm);
    position: relative;
    overflow: hidden;
}

.mock-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 35%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.1), transparent);
    animation: loading-shimmer 2s infinite;
}

@keyframes loading-shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(300%); }
}

/* ================= FEATURES SECTION ================= */
.features-section {
    padding: 100px 80px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 60px;
    background: linear-gradient(135deg, white, var(--text-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 40px 32px;
    border-radius: var(--radius-lg);
    text-align: left;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.1);
}

.feature-icon-wrapper {
    background-color: var(--primary-glow);
    color: var(--primary);
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-md);
    margin-bottom: 24px;
}

.feature-icon-wrapper i {
    width: 30px;
    height: 30px;
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 12px;
}

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

/* ================= PRICING SECTION ================= */
.pricing-section {
    padding: 80px;
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.pricing-card {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(21, 28, 44, 0.5) 100%);
    border: 2px solid var(--primary);
    border-radius: 24px;
    padding: 60px 48px;
    text-align: left;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(99, 102, 241, 0.15);
    position: relative;
    overflow: hidden;
}

.pricing-card::before {
    content: 'CONSIGLIATO';
    position: absolute;
    top: 25px;
    right: -40px;
    background: var(--accent);
    color: white;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(45deg);
    letter-spacing: 0.05em;
}

.pricing-header h3 {
    font-size: 1.6rem;
    color: white;
    margin-bottom: 16px;
}

.pricing-header .price {
    font-size: 3.5rem;
    font-weight: 800;
    color: white;
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 24px;
    font-family: 'Outfit', sans-serif;
}

.pricing-header .price span {
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.pricing-header p {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 40px;
    line-height: 1.6;
}

.pricing-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 48px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    color: var(--text-primary);
}

.pricing-features li i {
    color: var(--success);
    width: 20px;
    height: 20px;
}

.pricing-card button {
    width: 100%;
}

footer {
    border-top: 1px solid var(--border-color);
    padding: 40px 80px;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 60px;
}

/* ================= CHECKOUT VIEW ================= */
.back-nav {
    padding: 30px 80px 0;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.btn-back {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-back:hover {
    color: var(--primary);
}

.checkout-container {
    max-width: 1100px;
    margin: 40px auto 80px;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    padding: 0 40px;
}

.checkout-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.checkout-info h2, .checkout-form-wrapper h2 {
    font-size: 1.8rem;
    margin-bottom: 10px;
}

.order-summary-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    font-size: 1rem;
}

.summary-row.border-top {
    border-top: 1px solid var(--border-color);
    padding-top: 20px;
    margin-bottom: 0;
}

.summary-row .total-price {
    font-size: 1.5rem;
    color: white;
}

.guarantee-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    padding: 20px;
    background-color: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-md);
    border: 1px dashed var(--border-color);
}

.guarantee-box i {
    color: var(--success);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

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

.checkout-form-wrapper {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 48px;
    border-radius: var(--radius-lg);
}

/* ================= FORM CONTROLS ================= */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group select {
    width: 100%;
    padding: 14px 18px;
    background-color: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px var(--primary-glow);
}

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

.input-with-icon {
    position: relative;
}

.input-with-icon input {
    padding-right: 48px !important;
}

.input-icon {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    pointer-events: none;
}

/* Custom CSS Spinner for checkout button */
.spinner {
    display: none;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* ================= AUTH VIEW ================= */
.auth-card {
    max-width: 480px;
    margin: 60px auto 100px;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.auth-tabs {
    display: flex;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(11, 15, 25, 0.3);
}

.auth-tab {
    flex: 1;
    padding: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
}

.auth-tab:hover {
    color: white;
}

.auth-tab.active {
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
    background-color: var(--bg-card);
}

.auth-form {
    display: none;
    padding: 40px;
}

.auth-form.active {
    display: block;
}

.auth-form h2 {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.auth-subtitle {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 30px;
}

/* ================= DASHBOARD VIEW (GRID/SIDEBAR) ================= */
#view-dashboard {
    width: 100%;
}

.sidebar {
    width: 280px;
    background-color: var(--bg-sidebar);
    border-right: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
    height: 100%;
    flex-shrink: 0;
}

.sidebar-brand {
    padding: 30px 24px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    font-weight: 800;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.sidebar-brand span span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.sidebar-menu {
    flex: 1;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 16px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: var(--transition);
}

.menu-item i {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.menu-item:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.02);
}

.menu-item.active {
    color: white;
    background-color: var(--primary);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.sidebar-footer {
    padding: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.95rem;
    color: white;
}

.user-details {
    display: flex;
    flex-direction: column;
}

.user-name {
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
}

.user-status {
    font-size: 0.75rem;
    color: var(--success);
    display: flex;
    align-items: center;
    gap: 4px;
    font-weight: 500;
}

.badge-status-dot {
    width: 6px;
    height: 6px;
    background-color: var(--success);
    border-radius: 50%;
    display: inline-block;
}

.btn-logout {
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 10px;
    border-radius: var(--radius-sm);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.btn-logout:hover {
    color: var(--danger);
    background-color: var(--danger-bg);
    border-color: transparent;
}

.dashboard-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    background-color: var(--bg-main);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
}

.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px 48px;
    border-bottom: 1px solid var(--border-color);
    background-color: rgba(15, 20, 35, 0.4);
    backdrop-filter: blur(8px);
}

.header-title h1 {
    font-size: 2.2rem;
    color: white;
}

.header-title p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ================= TABS CONTENT ================= */
.tab-content {
    display: none;
    padding: 40px 48px;
    flex: 1;
}

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

/* ================= STATS CARDS ================= */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-icon-wrapper {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon-wrapper.blue { background-color: rgba(99, 102, 241, 0.1); color: var(--primary); }
.stat-icon-wrapper.orange { background-color: rgba(245, 158, 11, 0.1); color: var(--warning); }
.stat-icon-wrapper.green { background-color: rgba(16, 185, 129, 0.1); color: var(--success); }

.stat-icon-wrapper i {
    width: 26px;
    height: 26px;
}

.stat-data {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

/* ================= DASHBOARD DUAL PANEL ================= */
.dashboard-columns {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    gap: 32px;
}

.panel {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 32px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.panel-header h2 {
    font-size: 1.35rem;
    color: white;
}

.panel-header .subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-top: 4px;
}

/* ================= TABLES ================= */
.table-container {
    overflow-x: auto;
    flex: 1;
    position: relative;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.data-table th {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
    color: var(--text-primary);
    font-size: 0.95rem;
    vertical-align: middle;
}

.data-table tr:last-child td {
    border-bottom: none;
}

.data-table tr:hover td {
    background-color: rgba(255, 255, 255, 0.01);
}

.actions-col {
    text-align: right;
    width: 120px;
}

.action-buttons {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-icon-only {
    width: 32px;
    height: 32px;
    background: none;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.btn-icon-only:hover {
    color: white;
    background-color: var(--bg-card-hover);
}

.btn-icon-only.danger:hover {
    color: var(--danger);
    background-color: var(--danger-bg);
    border-color: transparent;
}

.btn-icon-only i {
    width: 16px;
    height: 16px;
}

/* ================= CHIPS / BADGES ================= */
.chip {
    display: inline-flex;
    align-items: center;
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.chip-blue { background-color: var(--primary-glow); color: #818cf8; border: 1px solid rgba(99, 102, 241, 0.15); }
.chip-purple { background-color: var(--accent-glow); color: #a78bfa; border: 1px solid rgba(139, 92, 246, 0.15); }
.chip-cyan { background-color: rgba(6, 182, 212, 0.08); color: #22d3ee; border: 1px solid rgba(6, 182, 212, 0.15); }
.chip-green { background-color: var(--success-bg); color: #34d399; }
.chip-orange { background-color: var(--warning-bg); color: #fbbf24; }
.chip-red { background-color: var(--danger-bg); color: #f87171; }
.chip-gray { background-color: rgba(255, 255, 255, 0.05); color: var(--text-secondary); }

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    max-width: 320px;
}

/* Empty States */
.empty-state {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
}

.empty-state.active {
    display: flex;
}

.empty-state i {
    width: 48px;
    height: 48px;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 0.95rem;
}

/* ================= DEADLINES LIST ================= */
.deadlines-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.deadline-item {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    padding: 16px;
    border-radius: var(--radius-md);
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: var(--transition);
}

.deadline-item:hover {
    border-color: rgba(255, 255, 255, 0.1);
    background-color: rgba(255, 255, 255, 0.02);
}

.deadline-icon-box {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.deadline-icon-box.inps { background-color: var(--primary-glow); color: var(--primary); }
.deadline-icon-box.iva { background-color: rgba(6, 182, 212, 0.1); color: var(--info); }
.deadline-icon-box.bolli { background-color: rgba(245, 158, 11, 0.1); color: var(--warning); }
.deadline-icon-box.dipendenti { background-color: rgba(236, 72, 153, 0.1); color: #ec4899; }
.deadline-icon-box.inail { background-color: var(--danger-bg); color: var(--danger); }

.deadline-info {
    flex: 1;
}

.deadline-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 4px;
}

.deadline-title {
    font-weight: 600;
    font-size: 0.95rem;
    color: white;
}

.deadline-date {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-secondary);
}

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

/* ================= SEARCH & FILTERS ================= */
.search-filters-row {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    margin-bottom: 24px;
}

.search-box {
    position: relative;
    width: 100%;
    max-width: 400px;
}

.search-box input {
    padding-left: 48px !important;
}

.search-box i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    width: 18px;
    height: 18px;
    pointer-events: none;
}

.filter-group {
    display: flex;
    gap: 12px;
}

.filter-group select {
    padding: 10px 16px;
    background-color: var(--bg-sidebar);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    cursor: pointer;
    outline: none;
}

/* ================= CALENDAR TABS & FULL SCADENZIARIO ================= */
.deadlines-full-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.calendar-month-group {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.calendar-month-title {
    font-size: 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 20px;
}

.calendar-card {
    background-color: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition);
}

.calendar-card:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}

.calendar-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
}

.calendar-card-body h4 {
    font-size: 1.05rem;
    color: white;
    margin-bottom: 6px;
}

.calendar-card-body p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.calendar-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
}

.calendar-card-client {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.calendar-card-days-left {
    font-size: 0.8rem;
    font-weight: 600;
}

/* ================= MODAL BACKDROP & CARD ================= */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(5, 7, 12, 0.8);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

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

.modal-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 580px;
    max-height: 90vh;
    overflow-y: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.modal-backdrop.active .modal-card {
    transform: translateY(0);
}

.modal-header {
    padding: 24px 32px;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h2 {
    font-size: 1.4rem;
    color: white;
}

.btn-close-modal {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition);
}

.btn-close-modal:hover {
    color: white;
}

#client-form {
    padding: 32px;
}

/* Radio Tiles styling */
.radio-tiles {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-bottom: 8px;
}

.modal-backdrop .radio-tiles {
    grid-template-columns: repeat(3, 1fr);
}

/* Dynamic handle for Regime: has only 2 tiles */
.modal-backdrop .radio-tiles:nth-of-type(2) {
    grid-template-columns: repeat(2, 1fr);
}

.radio-tile {
    cursor: pointer;
}

.radio-tile input {
    display: none;
}

.tile-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px;
    background-color: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    text-align: center;
    transition: var(--transition);
    height: 90px;
}

.tile-content i {
    width: 22px;
    height: 22px;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tile-content span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.radio-tile input:checked + .tile-content {
    border-color: var(--primary);
    background-color: var(--primary-glow);
}

.radio-tile input:checked + .tile-content i {
    color: var(--primary);
    transform: scale(1.1);
}

.radio-tile input:checked + .tile-content span {
    color: white;
}

.field-hint {
    display: block;
    font-size: 0.78rem;
    color: var(--text-muted);
    line-height: 1.4;
    margin-top: 6px;
}

.warning-hint {
    color: var(--warning);
}

/* Custom Checkbox */
.checkbox-container {
    display: flex;
    align-items: center;
    position: relative;
    padding-left: 36px;
    cursor: pointer;
    user-select: none;
    height: 24px;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 24px;
    width: 24px;
    background-color: rgba(11, 15, 25, 0.6);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.checkbox-container:hover input ~ .checkmark {
    border-color: var(--primary);
}

.checkbox-container input:checked ~ .checkmark {
    background-color: var(--primary);
    border-color: var(--primary);
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 8px;
    top: 4px;
    width: 6px;
    height: 11px;
    border: solid white;
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

.checkbox-label-text {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-primary);
}

/* Custom design for disabled checkbox container */
.checkbox-container.disabled {
    cursor: not-allowed;
    opacity: 0.4;
}

.checkbox-container.disabled input ~ .checkmark {
    background-color: #0b0f19 !important;
    border-color: var(--border-color) !important;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    border-top: 1px solid var(--border-color);
    padding-top: 24px;
}

/* ================= DYNAMIC GRID FOR ADEMPIMENTI REGIME ================= */
/* Adjustment to make client modal grid smaller for 2 items */
#client-form .form-group:nth-of-type(3) .radio-tiles {
    grid-template-columns: repeat(2, 1fr);
}

/* ================= RESPONSIVE LAYOUT ================= */
@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px;
        gap: 40px;
    }
    
    .hero-content {
        align-items: center;
    }
    
    .hero-content p {
        margin: 0 auto;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .checkout-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .dashboard-columns {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: 20px 40px;
    }
}

@media (max-width: 768px) {
    #view-dashboard.active {
        flex-direction: column;
        overflow-y: auto;
        height: auto;
    }
    
    .sidebar {
        width: 100%;
        height: auto;
        border-right: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    .sidebar-menu {
        flex-direction: row;
        overflow-x: auto;
        padding: 12px;
    }
    
    .menu-item {
        padding: 10px;
        white-space: nowrap;
    }
    
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding: 24px;
    }
    
    .tab-content {
        padding: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .search-filters-row {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-box {
        max-width: 100%;
    }
    
    .filter-group {
        width: 100%;
    }
    
    .filter-group select {
        flex: 1;
    }
}

/* ================= EXPANDABLE DEADLINE ITEMS & CHECKLISTS ================= */
.deadline-item.expandable {
    flex-direction: column;
    align-items: stretch;
    cursor: pointer;
    padding: 0;
    overflow: hidden;
}

.deadline-item-header {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    transition: background-color 0.2s ease;
}

.deadline-item.expandable:hover .deadline-item-header {
    background-color: rgba(255, 255, 255, 0.02);
}

.deadline-clients-list {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1), padding 0.3s ease;
    background-color: rgba(0, 0, 0, 0.2);
    padding: 0 16px;
}

.deadline-item.expanded .deadline-clients-list {
    max-height: 500px;
    padding: 12px 16px;
    border-top: 1px solid var(--border-color);
}

.deadline-client-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.deadline-client-row:last-child {
    border-bottom: none;
}

.deadline-client-name {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.deadline-client-name.completed {
    text-decoration: line-through;
    color: var(--text-muted);
}

.deadline-client-checkbox {
    width: 18px;
    height: 18px;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(11, 15, 25, 0.6);
    transition: var(--transition);
    cursor: pointer;
    flex-shrink: 0;
}

.deadline-client-checkbox.checked {
    background-color: var(--success);
    border-color: var(--success);
}

.deadline-client-checkbox i {
    width: 12px;
    height: 12px;
    color: white;
    opacity: 0;
    transition: var(--transition);
}

.deadline-client-checkbox.checked i {
    opacity: 1;
}

.badge-delega {
    background-color: var(--danger-bg);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
    font-size: 0.7rem;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: 600;
    text-transform: uppercase;
}

.deadline-badge-count {
    font-size: 0.75rem;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 20px;
}

.deadline-item.all-completed {
    opacity: 0.6;
    border-color: rgba(16, 185, 129, 0.2);
    background-color: rgba(16, 185, 129, 0.02);
}

/* ================= FINANCIAL TAB (INCASSI) ================= */
.financial-stats .stat-card.gold {
    border-top: 3px solid var(--warning);
}
.financial-stats .stat-card.green {
    border-top: 3px solid var(--success);
}
.financial-stats .stat-card.orange {
    border-top: 3px solid var(--danger);
}
.stat-icon-wrapper.gold {
    background-color: rgba(245, 158, 11, 0.1);
    color: var(--warning);
}

.btn-incasso-action {
    background-color: var(--success-bg);
    color: var(--success);
    border: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.8rem;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.btn-incasso-action:hover {
    background-color: var(--success);
    color: white;
}

.btn-incasso-action.completed-action {
    background-color: rgba(255, 255, 255, 0.03);
    color: var(--text-muted);
    border: 1px solid var(--border-color);
    cursor: not-allowed;
}

/* ================= PEC & IMU REMINDERS STYLING ================= */
.deadline-icon-box.pec {
    background-color: rgba(6, 182, 212, 0.1);
    color: var(--info);
}

.deadline-icon-box.imu {
    background-color: rgba(239, 68, 68, 0.1);
    color: var(--danger);
}




/* ── Trial checkout styles ─────────────────────────────────────────────────── */
.cs-trial-box {
    background: linear-gradient(135deg, rgba(16,185,129,0.08) 0%, rgba(99,102,241,0.08) 100%);
    border: 1px solid rgba(16,185,129,0.2);
    border-radius: 14px;
    padding: 20px;
}
.cs-trial-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16,185,129,0.15);
    color: var(--success);
    border: 1px solid rgba(16,185,129,0.3);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.cs-trial-badge i { width: 14px; height: 14px; }
.cs-trial-timeline { display: flex; flex-direction: column; gap: 8px; margin-bottom: 14px; }
.trial-step { display: flex; align-items: flex-start; gap: 12px; }
.ts-dot {
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--border-color);
    flex-shrink: 0; margin-top: 4px;
}
.ts-dot-active { background: var(--success); box-shadow: 0 0 6px rgba(16,185,129,0.5); }
.trial-step strong { display: block; font-size: 0.88rem; color: var(--text-primary); }
.trial-step span { font-size: 0.8rem; color: var(--text-secondary); }
.trial-line { width: 2px; height: 16px; background: var(--border-color); margin-left: 5px; }
.cs-trial-note { font-size: 0.8rem; color: var(--text-secondary); line-height: 1.5; }

/* Trial notice bar (inside checkout form) */
.trial-notice-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(99,102,241,0.08);
    border: 1px solid rgba(99,102,241,0.2);
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 24px;
}
.trial-notice-bar i { width: 16px; height: 16px; color: var(--primary); flex-shrink: 0; }

/* Checkout divider */
.checkout-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 28px 0 20px;
    color: var(--text-muted);
    font-size: 0.82rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}
.checkout-divider::before,
.checkout-divider::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border-color);
}

/* Trial legal note */
.trial-legal-note {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin-top: 12px;
    line-height: 1.5;
}

/* Months Selector Grid */
.months-selector-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 8px;
}
@media (max-width: 480px) {
    .months-selector-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}
.month-btn {
    background: var(--bg-body);
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    padding: 8px 4px;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: center;
}
.month-btn:hover {
    border-color: var(--primary);
    color: var(--text-primary);
}
.month-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.4);
}
#installments-summary {
    display: block;
    margin-top: 8px;
    font-weight: 600;
    color: var(--success);
}

/* Cookie Consent Banner */
.cookie-banner-container {
    position: fixed;
    bottom: 24px;
    left: 24px;
    right: 24px;
    background: rgba(21, 28, 44, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 16px 24px;
    z-index: 9999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    animation: slideUpCookie 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes slideUpCookie {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
.cookie-banner-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 768px) {
    .cookie-banner-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .cookie-banner-actions {
        width: 100%;
        justify-content: flex-end;
    }
}
.cookie-banner-text {
    display: flex;
    align-items: center;
    gap: 14px;
}
.cookie-banner-text i {
    color: var(--primary);
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}
.cookie-banner-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}
.cookie-banner-text a {
    color: var(--primary);
    text-decoration: underline;
}
.cookie-banner-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

/* Onboarding Tour Overlay */
.tour-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 10, 30, 0.75);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    animation: fadeInTour 0.25s ease;
}
@keyframes fadeInTour {
    from { opacity: 0; }
    to { opacity: 1; }
}
.tour-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    width: 100%;
    max-width: 460px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    animation: zoomInTour 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes zoomInTour {
    from { transform: scale(0.92); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}
.tour-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    padding-bottom: 12px;
}
.tour-step-indicator {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.tour-skip-btn {
    background: transparent;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}
.tour-skip-btn:hover {
    color: var(--text-primary);
}
.tour-body {
    text-align: center;
    padding: 12px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.tour-icon-container {
    width: 60px;
    height: 60px;
    background: var(--primary-glow);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
}
.tour-icon {
    color: var(--primary);
    width: 30px;
    height: 30px;
}
.tour-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}
.tour-desc {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}
.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255,255,255,0.04);
    padding-top: 16px;
    margin-top: 8px;
}

/* Profession selector grid */
.profession-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 10px;
}
@media (max-width: 580px) {
    .profession-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
.profession-card {
    background: rgba(255,255,255,0.02);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    position: relative;
    transition: var(--transition);
}
.profession-card input {
    position: absolute;
    opacity: 0;
    width: 0; height: 0;
}
.prof-card-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    width: 100%;
}
.prof-card-content i {
    width: 24px;
    height: 24px;
    color: var(--text-secondary);
    transition: var(--transition);
}
.prof-card-content span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-secondary);
    transition: var(--transition);
}
/* Active state */
.profession-card.active {
    background: rgba(99, 102, 241, 0.08) !important;
    border-color: var(--primary) !important;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.2) !important;
}
.profession-card.active .prof-card-content i {
    color: var(--primary) !important;
}
.profession-card.active .prof-card-content span {
    color: var(--text-primary) !important;
}
/* Hover effect on clickable one */
.profession-card:not(.disabled):hover {
    border-color: var(--primary);
    background: rgba(255,255,255,0.04);
}
/* Disabled / Coming soon state */
.profession-card.disabled {
    opacity: 0.45;
    cursor: not-allowed;
    background: rgba(0,0,0,0.2);
}
.badge-soon {
    font-size: 0.65rem !important;
    font-weight: 700;
    color: var(--text-muted) !important;
    background: rgba(255,255,255,0.05);
    padding: 2px 8px;
    border-radius: 20px;
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Coming Soon View */
#view-coming-soon {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(circle at center, #111827 0%, #030712 100%);
    padding: 20px;
    text-align: center;
}
.cs-card {
    background: rgba(21, 28, 44, 0.6);
    border: 1px solid var(--border-color);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    max-width: 540px;
    width: 100%;
    padding: 56px 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    animation: zoomInTour 0.4s ease;
}
.cs-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 2.2rem;
    font-family: 'Outfit', sans-serif;
    font-weight: 800;
    color: var(--text-primary);
}
.cs-logo span { color: var(--primary); }
.cs-logo i {
    width: 44px;
    height: 44px;
    color: var(--primary);
}
.cs-title {
    font-size: 1.8rem;
    line-height: 1.3;
    font-weight: 700;
    background: linear-gradient(135deg, #fff 0%, #94a3b8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0;
}
.cs-desc {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}
.cs-status-badge {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    color: var(--success);
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ── Responsive Overrides (Moved to End) ───────────────────────────────── */
@media (max-width: 1200px) {
    .hero-section { gap: 32px !important; padding: 60px 24px !important; }
    .hero-visual { display: block !important; width: 100% !important; max-width: 580px !important; margin: 0 auto !important; }
    .features-grid-new { grid-template-columns: repeat(2, 1fr) !important; }
    .testimonials-grid { grid-template-columns: 1fr 1fr !important; }
    .footer-inner { grid-template-columns: 1fr 1fr !important; }
    .checkout-container-new { grid-template-columns: 1fr !important; }
    .checkout-summary { position: static !important; }
}
@media (max-width: 768px) {
    .navbar { padding: 16px 24px !important; }
    .nav-links a, .nav-links .btn { display: none !important; }
    .hero-section { padding: 40px 16px !important; }
    .stats-band { padding: 24px !important; }
    .stats-band-inner { flex-wrap: wrap !important; gap: 16px !important; }
    .stat-divider { display: none !important; }
    .section-features, .section-how, .section-pricing,
    .section-testimonials, .section-faq, .section-cta-final { padding: 60px 24px !important; }
    .main-footer { padding: 48px 24px 24px !important; }
    .footer-inner { grid-template-columns: 1fr !important; gap: 24px !important; }
    .features-grid-new { grid-template-columns: 1fr !important; }
    .steps-row { flex-direction: column !important; align-items: center !important; }
    .step-arrow { display: none !important; }
    .pricing-cards-row { flex-direction: column !important; align-items: center !important; }
    .pricing-card-new { width: 100% !important; max-width: 380px !important; }
    .testimonials-grid { grid-template-columns: 1fr !important; }
    .cta-final-actions { flex-direction: column !important; align-items: center !important; }
    .checkout-container-new { padding: 0 16px !important; }
    .payment-method-tabs { flex-direction: column !important; }
    .back-nav { padding: 24px 24px 0 !important; }
}
