:root {
    /* Form Theme (Glassmorphism Dark) */
    --bg-color: #0f172a;
    --text-color: #f8fafc;
    --text-muted: #94a3b8;
    --accent-color: #6366f1;
    --accent-hover: #4f46e5;
    --input-bg: rgba(255, 255, 255, 0.05);
    --input-focus: rgba(255, 255, 255, 0.1);
    --error-color: #ef4444;
    --success-color: #22c55e;
    --font-family: 'Outfit', sans-serif;
    --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    
    --glass-bg: rgba(30, 41, 59, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);

    /* Pricing Table Theme (Light) */
    --cyan-color: #00d4ff;
    --purple-color: #8b5cf6;
    --yellow-color: #fbbf24;
    --pricing-text: #1e293b;
    --pricing-muted: #64748b;
}

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

body {
    background-color: var(--bg-color);
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(236, 72, 153, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-color);
    font-family: var(--font-family);
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    line-height: 1.6;
}

/* Base Body gets White bg when Pricing Slide is active */
body.pricing-active {
    background: #f8fafc; /* Very light grey/white */
}

/* Progress Bar */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6px;
    background: rgba(255,255,255,0.05);
    z-index: 100;
}
body.pricing-active .progress-container { display: none; }

.progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #ec4899);
    width: 0%;
    transition: width 0.4s ease;
    border-radius: 0 4px 4px 0;
    box-shadow: 0 0 10px rgba(99, 102, 241, 0.5);
}

/* Form Container */
.form-container {
    position: relative;
    height: 100vh;
    height: 100dvh;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

#registration-form {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Slides */
.slide {
    position: absolute;
    width: 100%;
    max-width: 900px;
    left: 0;
    right: 0;
    margin: 0 auto;
    padding: 1rem 2rem;
    opacity: 0;
    transform: translateY(60px) scale(0.95);
    pointer-events: none;
    transition: var(--transition);
}

.slide.active {
    opacity: 1;
    transform: translateY(0) scale(1);
    pointer-events: all;
}

.slide.exit-up {
    transform: translateY(-60px) scale(0.95);
    opacity: 0;
}

.slide.exit-down {
    transform: translateY(60px) scale(0.95);
    opacity: 0;
}

.slide-content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1.5rem 3rem;
    box-shadow: var(--glass-shadow);
    max-height: 85vh;
    overflow-y: auto;
}

.slide-content::-webkit-scrollbar { width: 8px; }
.slide-content::-webkit-scrollbar-thumb { background: var(--input-bg); border-radius: 4px; }


/* ==============================================================
   PRICING TABLE COMPONENT (Matches the Image perfectly)
   ============================================================== */
.pricing-slide {
    max-width: 1200px;
}
.pricing-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem 2rem;
}

/* Toggle Switch */
.toggle-container {
    display: flex;
    background: #fff;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    margin-bottom: 4rem;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
}

.toggle-btn {
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--pricing-muted);
    cursor: pointer;
    background: #f1f5f9;
    transition: all 0.3s ease;
}

.toggle-btn.active {
    background: #0f172a; /* Dark background matching the image */
    color: #fff;
}

/* Clean Grid Layout */
.pricing-grid-clean {
    display: flex;
    justify-content: center;
    align-items: flex-end; /* Align to bottom, center card is elevated */
    gap: 1.5rem;
    width: 100%;
}

.price-card-clean {
    background: #fff;
    border-radius: 24px;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 320px;
    position: relative;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.price-card-clean:hover {
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

/* Elevated Middle Card */
.price-card-clean.elevated {
    transform: translateY(-20px);
    box-shadow: 0 20px 40px -5px rgba(0, 0, 0, 0.15);
    z-index: 10;
}
.price-card-clean.elevated:hover {
    transform: translateY(-25px);
}

/* Card Headers */
.card-header {
    padding: 2rem 1.5rem;
    text-align: center;
    color: #1e293b; /* Defaults to dark text */
}

.cyan-header { background: var(--cyan-color); }
.purple-header { background: var(--purple-color); color: #fff; } /* Purple card has white text */
.yellow-header { background: var(--yellow-color); }

.card-header h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}
.card-header p {
    font-size: 1rem;
    color: inherit;
    opacity: 0.8;
    margin: 0;
}

/* Popular Ribbon */
.popular-ribbon {
    position: absolute;
    top: 20px;
    right: -35px;
    background: #475569;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 40px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    z-index: 2;
}

/* Card Body */
.card-body {
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    color: var(--pricing-text);
}

.price-display {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    margin-bottom: 0.2rem;
}

.currency {
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 0.5rem;
    margin-right: 0.2rem;
}

.amount {
    font-size: 4rem;
    font-weight: 800;
    line-height: 1;
}

.price-period-label {
    font-size: 1rem;
    color: var(--pricing-muted);
    margin-bottom: 2rem;
}

/* Features List */
.features-list {
    list-style: none;
    width: 100%;
    margin-bottom: 2rem;
}

.features-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    font-size: 1rem;
    color: var(--pricing-text);
}

.features-list li:last-child {
    border-bottom: none;
}

.check-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 2px solid var(--pricing-text);
    color: var(--pricing-text);
    font-size: 0.7rem;
    margin-right: 12px;
}

/* Track Selector Buttons */
.track-selector {
    width: 100%;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.header-selector {
    margin-top: 1.5rem;
    margin-bottom: 0;
}

.selector-label {
    font-size: 0.9rem;
    color: var(--pricing-muted);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.header-selector .selector-label {
    color: inherit;
    opacity: 0.9;
}

.btn-group {
    display: flex;
    width: 100%;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
}

.track-btn {
    flex: 1;
    background: #f8fafc;
    border: none;
    border-right: 1px solid #e2e8f0;
    padding: 0.6rem 0;
    font-size: 0.9rem;
    font-family: var(--font-family);
    font-weight: 600;
    color: var(--pricing-text);
    cursor: pointer;
    transition: all 0.2s ease;
}

.track-btn:last-child {
    border-right: none;
}

.track-btn:hover:not(.active) {
    background: #e2e8f0;
}

.track-btn.active {
    background: #0f172a;
    color: #fff;
}

/* --- View Changer Toggle UI --- */
.view-toggle-widget {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 1000;
}

.view-label {
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 600;
    margin-right: 0.5rem;
}

.view-btn {
    background: transparent;
    border: none;
    color: var(--text-color);
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.2s ease;
}

.view-btn.active {
    background: var(--accent-color);
    color: white;
}

body.pricing-active .view-toggle-widget {
    display: none;
}

/* --- Section Groups Base --- */
.section-group {
    width: 100%;
    height: 100%;
}
.section-header {
    display: none;
}
.section-footer {
    display: none;
}

/* --- Single View Layout --- */
body.view-single .section-group,
body.view-single .section-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}
body.view-single .slide {
    pointer-events: none;
}
body.view-single .slide.active {
    pointer-events: auto;
}
body.view-single .section-next-btn {
    display: none;
}

/* --- Grouped View Layout --- */
body.view-grouped .form-container {
    align-items: flex-start;
}

body.view-grouped .section-group {
    display: none;
}

body.view-grouped .section-group.active {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem 1rem 1rem;
    overflow-y: auto;
    pointer-events: auto;
    animation: groupedFadeIn 0.35s ease both;
}

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

body.view-grouped .section-header {
    display: block;
    margin-bottom: 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1rem;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

body.view-grouped .section-header h2 {
    font-size: 1.8rem;
    color: #fff;
}

body.view-grouped .section-body {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

body.view-grouped .slide {
    position: relative;
    top: 0;
    left: 0;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    height: auto;
}

body.view-grouped .slide-content {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem 2.5rem;
    border-radius: 12px;
    max-height: none;
    overflow: visible;
}

body.view-grouped .question-ok-btn {
    display: none !important;
}

body.view-grouped .section-footer {
    display: flex;
    justify-content: flex-start;
    margin-top: 1rem;
    padding-top: 1rem;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

body.view-grouped #section-pricing {
    padding-top: 2.5rem;
}

/* Primary Button in Pricing */
.btn-clean {
    background: #0f172a;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 0.8rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-family);
    margin-bottom: 1rem;
}

.btn-clean:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.sub-text {
    font-size: 0.85rem;
    color: var(--pricing-muted);
    margin: 0;
}

@media (max-width: 1024px) {
    .pricing-grid-clean { flex-direction: column; align-items: center; gap: 2rem; }
    .price-card-clean.elevated { transform: none; }
    .price-card-clean.elevated:hover { transform: translateY(-5px); }
}


/* ==============================================================
   FORM SECTION STYLES (Glassmorphism Dark)
   ============================================================== */

/* Typography */
h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

h2 {
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    line-height: 1.3;
}

p {
    font-size: 1.15rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 700px;
}

.subtitle {
    font-size: 1rem;
    margin-top: -0.5rem;
    margin-bottom: 2rem;
    color: var(--accent-color);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.question-number {
    color: var(--accent-color);
    font-weight: 700;
    margin-right: 16px;
    font-size: 1.5rem;
    opacity: 0.8;
}

/* Inputs */
.form-input {
    width: 100%;
    background: transparent;
    border: none;
    border-bottom: 2px solid var(--input-bg);
    color: var(--text-color);
    font-size: 2rem;
    font-family: var(--font-family);
    padding: 0.75rem 0;
    margin-bottom: 2.5rem;
    outline: none;
    transition: var(--transition);
}

textarea.form-input {
    font-size: 1.5rem;
    resize: vertical;
    min-height: 100px;
}

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

.form-input:focus {
    border-bottom-color: var(--accent-color);
    background: linear-gradient(180deg, transparent, rgba(99, 102, 241, 0.05));
}

.form-input.error {
    border-bottom-color: var(--error-color);
    animation: shake 0.5s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Radio Buttons */
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    width: 100%;
    margin-bottom: 2rem;
}

.radio-card input {
    display: none;
}

.radio-content {
    display: flex;
    align-items: center;
    padding: 1.25rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    font-size: 1.15rem;
    cursor: pointer;
    transition: var(--transition);
    height: 100%;
}

.radio-card:hover .radio-content {
    background: var(--input-focus);
    transform: translateY(-2px);
}

.radio-card input:checked + .radio-content {
    border-color: var(--accent-color);
    background: rgba(99, 102, 241, 0.15);
    box-shadow: inset 0 0 0 1px var(--accent-color);
}

.radio-icon {
    font-size: 1.5rem;
    margin-right: 12px;
}


/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--accent-color), #818cf8);
    color: #fff;
    border: none;
    padding: 1.2rem 2.5rem;
    font-size: 1.25rem;
    font-family: var(--font-family);
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

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

.btn-primary:active {
    transform: translateY(0) scale(0.98);
}

.hint {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}
.hint strong {
    background: rgba(255,255,255,0.1);
    padding: 4px 8px;
    border-radius: 6px;
    font-weight: 600;
}

/* Navigation Controls */
.navigation-controls {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 0.75rem;
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    padding: 0.5rem;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
}
body.pricing-active .navigation-controls { display: none; }

.nav-btn {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    background: rgba(255,255,255,0.05);
    border: none;
    color: var(--text-color);
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255,255,255,0.15);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Success State */
.text-center {
    align-items: center;
    text-align: center;
}
.success-icon {
    font-size: 6rem;
    margin-bottom: 1.5rem;
    animation: bounceIn 1s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.5rem; }
    .form-input { font-size: 1.5rem; }
    .slide { padding: 1rem; }
    .slide-content { padding: 2rem 1.5rem; max-height: 88vh; max-height: 88dvh; }
    .navigation-controls {
        right: 1rem;
        bottom: 1rem;
        bottom: calc(1rem + env(safe-area-inset-bottom));
        padding: 0.35rem;
        gap: 0.5rem;
    }
    .nav-btn { width: 40px; height: 40px; font-size: 1.2rem; }
    .radio-group { grid-template-columns: 1fr; }
    .btn-primary { padding: 1rem 1.75rem; font-size: 1.1rem; width: 100%; justify-content: center; }
    .question-number { font-size: 1.1rem; margin-right: 10px; }
    .subtitle { font-size: 0.85rem; margin-bottom: 1.5rem; }

    /* Hide the dev-only view toggle on phones */
    .view-toggle-widget { display: none; }

    /* Pricing tweaks */
    .pricing-container { padding: 1rem 0.5rem; }
    .toggle-container { margin-bottom: 2rem; width: 100%; max-width: 320px; }
    .toggle-btn { flex: 1; padding: 0.65rem 1rem; font-size: 1rem; text-align: center; }
    .pricing-grid-clean { gap: 1.25rem; }
    .card-header { padding: 1.5rem 1.25rem; }
    .card-header h3 { font-size: 1.4rem; }
    .card-body { padding: 1.5rem 1.25rem; }
    .amount { font-size: 3rem; }
    .price-period-label { margin-bottom: 1.25rem; }
    .features-list { margin-bottom: 1.25rem; }
    .btn-clean { width: 100%; padding: 0.85rem 1rem; }

    /* Review/payment */
    .review-box, .payment-box { padding: 1.5rem 1.25rem; }
    .submit-btn { width: 100%; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.85rem; }
    h2 { font-size: 1.25rem; }
    .form-input { font-size: 1.15rem; }
    .slide-content { padding: 1.5rem 1.1rem; border-radius: 16px; }
    .toggle-btn { padding: 0.6rem 0.5rem; font-size: 0.95rem; }
    .amount { font-size: 2.5rem; }
    .currency { font-size: 1rem; margin-top: 0.35rem; }
    .price-card-clean { border-radius: 18px; }
    .popular-ribbon { right: -38px; font-size: 0.65rem; padding: 4px 38px; }
    .radio-content { padding: 1rem; font-size: 1rem; }
    .radio-icon { font-size: 1.25rem; margin-right: 10px; }
    .navigation-controls { padding: 0.25rem; }
    .nav-btn { width: 36px; height: 36px; font-size: 1.1rem; }
}
/* --- Review Box --- */
.review-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: left;
}

.review-item {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.review-item:last-child {
    border-bottom: none;
}

.review-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.review-value {
    color: white;
    font-weight: 500;
    font-size: 1rem;
    text-align: right;
}

.review-total {
    display: flex;
    justify-content: space-between;
    padding-top: 1.5rem;
    margin-top: 0.5rem;
    border-top: 2px dashed rgba(255, 255, 255, 0.1);
    align-items: center;
}

.review-total .review-label {
    font-size: 1.2rem;
    color: white;
}

.review-total .review-value.highlight {
    font-size: 1.5rem;
    color: var(--accent-color);
    font-weight: 700;
}

/* --- Payment Box --- */
.payment-box {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    padding: 2.5rem;
    margin-top: 2rem;
}

.payment-box h3 {
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.payment-box #payment-amount {
    color: var(--accent-color);
    font-weight: 700;
}

.payment-methods {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

@media (max-width: 600px) {
    .payment-methods {
        grid-template-columns: 1fr;
    }
}

.bank-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: left;
    transition: transform 0.3s ease;
}

.bank-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.bank-card h4 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.bank-card.telebirr h4 {
    color: #00AEEF; /* Telebirr brand color */
}

.bank-card p {
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.bank-card .account-number {
    font-family: monospace;
    font-size: 1.2rem;
    color: white;
    margin-top: 1rem;
    letter-spacing: 2px;
    background: rgba(0,0,0,0.2);
    padding: 0.5rem;
    border-radius: 6px;
    text-align: center;
}

.payment-note {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    background: rgba(24, 105, 119, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--accent-color);
    text-align: left;
}

/* --- Table of Contents Sidebar --- */
.toc-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 250px;
    height: 100vh;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2rem 1.5rem;
    z-index: 50;
    overflow-y: auto;
    transition: transform 0.3s ease;
}

.toc-title {
    font-size: 1.2rem;
    color: white;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
}

.toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.toc-item {
    display: flex;
    align-items: center;
    padding: 0.75rem 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    position: relative;
    transition: all 0.3s ease;
}

.toc-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-right: 12px;
    position: relative;
    background: transparent;
    transition: all 0.3s ease;
}

/* Connecting lines */
.toc-item::before {
    content: '';
    position: absolute;
    left: 5px;
    top: 28px;
    bottom: -10px;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.toc-item:last-child::before {
    display: none;
}

/* Active State */
.toc-item.active {
    color: white;
    font-weight: 500;
}

.toc-item.active .toc-icon {
    border-color: var(--accent-color);
    background: var(--accent-color);
    box-shadow: 0 0 10px rgba(236, 72, 153, 0.5);
}

/* Completed State */
.toc-item.completed {
    color: rgba(255, 255, 255, 0.8);
}

.toc-item.completed .toc-icon {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

.toc-item.completed::before {
    background: var(--primary-color);
}

/* Hidden Branches */
.toc-item.hidden-branch {
    opacity: 0.2;
    text-decoration: line-through;
}

/* Layout Adjustments */
@media (min-width: 1024px) {
    .form-container {
        width: calc(100% - 250px);
        margin-left: 250px;
    }
}

@media (max-width: 1023px) {
    .toc-sidebar {
        transform: translateX(-100%);
    }
    .form-container {
        width: 100%;
        margin-left: 0;
    }
}

/* Hide TOC on Pricing Page */
body.pricing-active .toc-sidebar {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-100%);
}
@media (min-width: 1024px) {
    body.pricing-active .form-container {
        width: 100%;
        margin-left: 0;
        transition: width 0.3s ease, margin 0.3s ease;
    }
    .form-container {
        transition: width 0.3s ease, margin 0.3s ease;
    }
}

/* Additional Mobile Optimization */
@media (max-width: 600px) {
    .btn-group {
        flex-direction: column;
    }
    .track-btn {
        width: 100%;
        border-right: none !important;
        border-bottom: 1px solid #e2e8f0;
    }
    .track-btn:last-child {
        border-bottom: none;
    }
    .slide-content {
        padding: 1.5rem 1rem;
    }
    .review-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.25rem;
    }
    .review-value {
        text-align: left;
        font-size: 1.1rem;
    }
    .review-total {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    .form-input {
        padding: 1rem;
        font-size: 1.2rem;
    }
    .pricing-toggle-widget {
        flex-direction: column;
        gap: 0.5rem;
        border-radius: 12px;
    }
    .duration-toggle {
        width: 100%;
    }
}

/* Make Pricing Cards Wider on Mobile */
@media (max-width: 768px) {
    .price-card-clean {
        max-width: 420px; /* Allow them to stretch wider on mobile */
    }
    .pricing-container {
        padding: 1rem 1rem; /* Give a bit of uniform padding */
    }
}
