/* CSS Reset and Base Styles */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #374151;
    background-color: #ffffff;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Color Variables - Accrue Brand Colors */
:root {
    --color-primary: #002C4D;      /* Accrue Navy */
    --color-secondary: #3F759F;    /* Accrue Blue */
    --color-accent: #3AB1E9;       /* Bright Blue - replaced green */
    --color-bright-blue: #3AB1E9;  /* Bright Blue */
    --color-bright-yellow: #FCBC03; /* Bright Yellow */
    --color-burnt-orange: #D55400;  /* Burnt Orange */
    --color-text: #374151;         /* Charcoal Gray */
    --color-text-light: #6B7280;
    --color-background: #ffffff;
    --color-surface: #E8F5E8;      /* Light green */
    --color-border: #E5E7EB;
    --color-success: #3AB1E9;      /* Bright Blue - replaced green */
    --color-warning: #FCBC03;      /* Yellow */
    --color-error: #D55400;        /* Burnt Orange */
    --color-info: #3AB1E9;         /* Bright Blue */
    
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    
    --radius-sm: 0.5rem;
    --radius-md: 0.75rem;
    --radius-lg: 1rem;
    --radius-xl: 1.25rem;
    
    --transition-fast: 150ms ease-in-out;
    --transition-base: 250ms ease-in-out;
    --transition-slow: 350ms ease-in-out;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.65rem; }
    h3 { font-size: 1.4rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
}

@media (max-width: 480px) {
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.125rem; }
    h5 { font-size: 1rem; }
}

p {
    margin-bottom: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-secondary);
}

/* Container */
.container {
    width: 100%;
    max-width: 2000px;
    margin: 0 auto;
    padding: 0 3rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
}

/* Header Styles */
.site-header {
    background-color: white;
    border-bottom: 1px solid #E5E7EB;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    justify-content: flex-end;
}

.nav-link:first-child {
    margin-right: auto;
}

.btn-sales {
    background: #002C4D;
    color: white;
    border: none;
    padding: 0.875rem 2rem 0.625rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: none;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    line-height: 1;
    min-height: 44px;
}

.btn-sales:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
}

@media (max-width: 768px) {
    .btn-sales {
        font-size: 0.85rem;
        padding: 0.75rem 1.5rem 0.5rem 1.5rem;
        min-height: 44px;
    }
}

@media (max-width: 480px) {
    .btn-sales {
        font-size: 0.8rem;
        padding: 0.7rem 1.25rem 0.45rem 1.25rem;
        min-height: 44px;
        white-space: normal;
        max-width: 200px;
    }
}

.nav-link:nth-child(2) {
    margin: 0 auto;
}

.nav-link:last-child {
    margin-left: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--color-text);
    transition: color var(--transition-fast);
}

.nav-link:hover {
    color: var(--color-secondary);
}

/* Main Content */
.main-content {
    flex: 1;
    padding: 0;
    background-color: white;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 1rem 0 7rem;
    background: white;
    margin: 0;
    position: relative;
    width: 100%;
}

@media (max-width: 768px) {
    .hero {
        padding: 1rem 0 4rem;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 0.5rem 0 3rem;
    }
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(30px, -30px) rotate(120deg); }
    66% { transform: translate(-20px, 20px) rotate(240deg); }
}

.urgency-banner {
    display: inline-block;
    background: linear-gradient(90deg, var(--color-accent), var(--color-primary));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    animation: subtle-pulse 2s ease-in-out infinite;
}

@keyframes subtle-pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.hero-title {
    color: var(--color-primary);
    margin-bottom: 1rem;
    font-size: 2.75rem;
    line-height: 1.2;
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }
}

.highlight-amount {
    color: var(--color-accent);
    font-weight: 700;
    background: linear-gradient(90deg, var(--color-accent), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-time {
    color: var(--color-secondary);
    font-weight: 700;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    max-width: 900px;
    margin: 0 auto 2rem;
    line-height: 1.6;
    text-align: center;
    white-space: nowrap;
}

/* Modern Step Progress Indicator */
.progress-container {
    margin-bottom: 2rem;
    padding: 1rem 0;
    background-color: transparent;
}

.progress-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    max-width: 500px;
    margin: 0 auto;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.step-number {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: white;
    border: 2px solid #e5e7eb;
    color: #9ca3af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.step-label {
    font-size: 0.7rem;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
    transition: all 0.3s ease;
}

.step-connector {
    width: 60px;
    height: 2px;
    background: #e5e7eb;
    margin: 0 -8px;
    position: relative;
    top: -28px;
    transition: all 0.3s ease;
}

/* Active step */
.step-item.active .step-number {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.1);
}

.step-item.active .step-label {
    color: var(--color-primary);
    font-weight: 600;
}

/* Completed step */
.step-item.completed .step-number {
    background: var(--color-success);
    color: white;
    border-color: var(--color-success);
}

.step-item.completed .step-label {
    color: var(--color-text);
}

.step-item.completed + .step-connector {
    background: var(--color-success);
}

/* Quiz Container */
.quiz-container {
    margin-bottom: 3rem;
}

.quiz-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    max-width: 1000px;
    margin: 0 auto;
}

.quiz-header {
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, rgba(30, 58, 138, 0.8) 100%);
    color: white;
}

.quiz-title {
    color: white;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.3;
}

.quiz-title strong {
    font-weight: bold;
}

.quiz-title em {
    font-style: italic;
}

@media (max-width: 768px) {
    .quiz-title {
        font-size: 1.75rem;
    }
    
    .quiz-description {
        font-size: 1.125rem;
    }
}

.quiz-description {
    color: rgba(255, 255, 255, 0.95);
    margin: 0.5rem 0 0 0;
    font-size: 1rem;
    line-height: 1.5;
}

.quiz-body {
    padding: 1.5rem 2rem;
    min-height: auto;
}

.question-placeholder {
    text-align: center;
    color: var(--color-text-light);
    padding: 3rem 0;
}

.quiz-footer {
    padding: 1.5rem 2rem;
    background-color: var(--color-surface);
    display: flex;
    justify-content: space-between;
    gap: 1rem;
}

/* Results Section */
.results-section {
    margin-bottom: 3rem;
}

.results-section.hidden {
    display: none;
}

.results-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    max-width: 900px;
    margin: 0 auto;
}

.results-header {
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #F0FAF0 0%, #ffffff 100%);
    text-align: center;
    border-bottom: 2px solid var(--color-border);
}

.results-title {
    color: var(--color-text);
    margin-bottom: 0.5rem;
    font-size: 1.75rem;
}

.results-subtitle {
    color: var(--color-text-light);
    margin-bottom: 0;
    font-size: 1.125rem;
}

.results-body {
    padding: 2rem;
    min-height: 200px;
}

.results-placeholder {
    text-align: center;
    color: var(--color-text-light);
    padding: 3rem 0;
}

.results-footer {
    padding: 1.5rem 2rem;
    background-color: var(--color-surface);
    display: flex;
    justify-content: center;
    gap: 1rem;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 120px;
}

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

.btn-primary {
    background-color: var(--color-primary);
    color: white;
}

.btn-primary:hover:not(:disabled) {
    background-color: #162e67;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover:not(:disabled) {
    background-color: #ea6607;
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

/* Credit Definitions Section */
.credit-definitions-section {
    padding: 3rem 0;
    background-color: #ffffff;
    border-radius: 20px;
}

.credit-definitions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.definitions-title {
    text-align: center;
    font-size: 1.75rem;
    color: var(--color-primary);
    margin-bottom: 2rem;
    font-weight: 600;
}

.credit-definitions-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.credit-definition-card {
    background: white;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.credit-definition-card:hover {
    border-color: var(--color-accent);
    box-shadow: 0 4px 12px rgba(63, 117, 160, 0.15);
    transform: translateY(-2px);
}

.definition-header {
    padding: 1rem 1.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #f8fbfd 0%, #ffffff 100%);
    text-align: center;
    border-bottom: 1px solid var(--color-border);
}

.definition-title {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
    text-align: center;
    width: 100%;
}

.definition-content {
    padding: 1rem 1.25rem;
    flex: 1;
    display: flex;
    align-items: center;
}

.definition-content p {
    color: var(--color-text);
    font-size: 0.85rem;
    line-height: 1.5;
    margin: 0;
}

@media (max-width: 1024px) {
    .credit-definitions-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .credit-definitions-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .definition-header {
        padding: 0.75rem 1rem;
    }
    
    .definition-content {
        padding: 0.75rem 1rem;
    }
    
    .definition-title {
        font-size: 0.95rem;
    }
    
    .definition-content p {
        font-size: 0.8rem;
    }
}

/* Info Section */
.info-section {
    padding: 3rem 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.info-card {
    background-color: #ffffff;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    transition: all var(--transition-base);
}

.info-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--color-secondary);
}

.info-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 1rem;
    color: var(--color-secondary);
}

.info-title {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--color-primary);
}

.info-description {
    color: var(--color-text-light);
    margin-bottom: 0;
}

/* Sales CTA Section */
.sales-cta-section {
    background: white;
    padding: 4rem 0;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.sales-cta-content {
    max-width: 800px;
    margin: 0 auto;
}

.sales-cta-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.sales-cta-subtitle {
    font-size: 1.25rem;
    color: var(--color-text);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.sales-cta-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.cta-feature {
    color: var(--color-success);
    font-weight: 600;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-sales-cta {
    background: linear-gradient(135deg, #D65400 0%, #FCBC03 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    border-radius: 8px;
    font-size: 1.25rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(214, 84, 0, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-sales-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(214, 84, 0, 0.4);
    background: linear-gradient(135deg, #FCBC03 0%, #D65400 100%);
}

.sales-cta-disclaimer {
    margin-top: 1rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    font-style: italic;
}

.underline-text {
    position: relative;
    display: inline-block;
    font-weight: 600;
}

.underline-text::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: -5%;
    width: 110%;
    height: 3px;
    background: linear-gradient(90deg, #D65400 0%, #FCBC03 100%);
    border-radius: 50%;
    transform: scaleX(1.05);
    animation: underlineWave 3s ease-in-out infinite;
}

@keyframes underlineWave {
    0%, 100% {
        transform: scaleX(1.05) translateY(0);
    }
    50% {
        transform: scaleX(1.1) translateY(-2px);
    }
}

/* Footer CTA Section - Accrue Branded */
.footer-cta {
    background: #ffffff;
    padding: 5rem 0;
    text-align: center;
    border-top: none;
    margin-top: 0;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #002C4D;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.25rem;
    color: #3F759F;
    margin-bottom: 0.5rem;
}

.cta-subtitle {
    font-size: 1.5rem !important;
    font-weight: 700;
    margin-bottom: 2.5rem !important;
    color: #002C4D !important;
    position: relative;
    display: inline-block;
}

.squiggly-underline {
    position: absolute;
    bottom: -12px;
    left: 0;
    animation: drawLine 0.8s ease-out;
}

@keyframes drawLine {
    from {
        width: 0;
        left: 50%;
    }
    to {
        width: 100%;
        left: 0;
    }
}

.cta-features {
    display: flex;
    justify-content: center;
    gap: 2.5rem;
    margin: 0.5rem 0 2.5rem 0;
    flex-wrap: wrap;
}

.cta-feature {
    color: #009C53;
    font-weight: 600;
    font-size: 1.05rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-cta .btn-large {
    background: linear-gradient(135deg, #3F759F 0%, #002C4D 100%);
    color: white;
    padding: 1.25rem 3rem;
    font-size: 1.25rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 6px 20px rgba(0, 44, 77, 0.3);
    position: relative;
    overflow: hidden;
}

.footer-cta .btn-large::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s ease;
}

.footer-cta .btn-large:hover::before {
    left: 100%;
}

.footer-cta .btn-large:hover {
    background: #ea6c0b;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

/* Footer */
.site-footer {
    background-color: #f5f5f5;
    color: #333;
    padding: 3rem 0 1.5rem;
    margin-top: 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 0 2rem;
}

.footer-left {
    flex: 0 0 auto;
}

.footer-logo {
    height: 50px;
    width: auto;
}

.footer-center {
    display: flex;
    gap: 4rem;
    flex: 1;
    justify-content: center;
}

.footer-section h4 {
    color: var(--color-secondary);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.footer-section p {
    font-size: 0.875rem;
    line-height: 1.6;
    color: #666;
    margin-bottom: 0.25rem;
}

.footer-section .partner-link {
    display: block;
    margin-top: 0.5rem;
}

.footer-right {
    flex: 0 0 auto;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #10B981;
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    background-color: #059669;
    transform: translateY(-2px);
}

.social-icons i {
    font-size: 1rem;
}

.footer-bottom {
    text-align: left;
    padding: 1.5rem 2rem 0;
    border-top: 1px solid #ddd;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 0.875rem;
    color: var(--color-primary);
    margin: 0;
}

.privacy-link {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.privacy-link:hover {
    color: var(--color-secondary);
}

.partner-link {
    color: #10B981 !important;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.3s ease;
}

.partner-link:hover {
    color: #059669 !important;
}

.footer-disclaimer {
    text-align: center;
    padding: 1rem 2rem;
    border-top: 1px solid #ddd;
    margin-top: 1rem;
}

.footer-disclaimer p {
    font-size: 0.75rem;
    color: #666;
    margin: 0;
    line-height: 1.5;
}

@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-center {
        flex-direction: column;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .footer-disclaimer {
        padding: 1rem;
    }
}

.footer-text {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.footer-sales-link {
    color: #D65400;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-sales-link:hover {
    color: #FCBC03;
    text-decoration: underline;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.disclaimer {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Form Elements */
.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    transition: all var(--transition-fast);
}

.form-input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

/* Compact form styles for Step 2 */
.form-input.compact {
    padding: 0.75rem 1rem;
    font-size: 0.95rem;
    margin-bottom: 0.75rem;
}

.compact-form-container {
    max-width: 500px;
    margin: 0 auto;
}

.compact-form-container .form-row-inline {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.compact-form-container .form-row-inline .form-input {
    flex: 1;
    margin-bottom: 0;
}

.compact-form-container .form-row {
    margin-bottom: 0.75rem;
}

/* Inline form styles matching the reference design */
.inline-form-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 1rem;
}

.inline-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.inline-form-row {
    display: flex;
    gap: 1rem;
    width: 100%;
}

.inline-field-group {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
}

.inline-field-group.full-width {
    width: 100%;
}

.required-asterisk {
    color: var(--color-secondary);
    font-size: 1.2rem;
    position: absolute;
    top: -8px;
    right: -8px;
    z-index: 10;
    pointer-events: none;
}

.inline-form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-family: inherit;
    color: var(--color-text);
    background-color: #F0FAF0;  /* Very light green */
    transition: var(--transition-base);
    box-shadow: none;
}

.inline-form-input:focus {
    outline: none;
    border-color: var(--color-secondary);
    background-color: white;
    box-shadow: 0 0 0 3px rgba(63, 117, 160, 0.1);
}

.inline-form-input.error {
    border-color: var(--color-error);
    background-color: rgba(239, 68, 68, 0.05);
}

.inline-form-input.error:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.inline-form-input::placeholder {
    color: #9ca3af;
}

.validation-message {
    color: var(--color-secondary);
    font-size: 0.95rem;
    text-align: center;
    margin: 0.5rem 0 0 0;
}

@media (max-width: 768px) {
    .inline-form-row {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .inline-field-group {
        width: 100%;
    }
}

/* High-Converting Results Page Styles */
.urgency-box {
    background: linear-gradient(135deg, #E8F5E8 0%, #D4EFD6 100%);
    border: 2px solid #f59e0b;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { box-shadow: 0 4px 20px rgba(245, 158, 11, 0.2); }
    50% { box-shadow: 0 4px 30px rgba(245, 158, 11, 0.4); }
}

.urgency-box h3 {
    color: #dc2626;
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 700;
}

.daily-loss {
    font-size: 1.4rem;
    color: #dc2626;
    font-weight: 700;
    margin: 0.5rem 0;
}

.deadline-warning {
    font-size: 1.1rem;
    color: #784100;
    margin-top: 0.5rem;
    font-weight: 600;
}

.social-proof-section {
    background: #f0f9ff;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    border: 1px solid #e0f2fe;
}

.social-proof-section h3 {
    color: #1e40af;
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    text-align: center;
}

.proof-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: #3b82f6;
    display: block;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 0.9rem;
    color: #6b7280;
}

.live-viewers {
    background: linear-gradient(90deg, #E8F5E8 0%, #D4EFD6 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin: 1rem auto;
    font-weight: 600;
    color: #92400e;
    animation: pulse 2s infinite;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #dc2626;
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

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

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.primary-cta {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
    display: block;
    margin: 2rem auto;
    animation: ctaPulse 3s ease-in-out infinite;
}

.primary-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
}

@keyframes ctaPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.risk-reversal {
    text-align: center;
    padding: 1.5rem;
    background: #f0fdf4;
    border: 2px dashed #009C53;
    border-radius: 12px;
    margin: 2rem 0;
}

.risk-reversal h4 {
    color: #16a34a;
    font-size: 1.2rem;
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.risk-reversal h4::before {
    content: "✓";
    display: inline-block;
    width: 24px;
    height: 24px;
    background: #16a34a;
    color: white;
    border-radius: 50%;
    line-height: 24px;
    text-align: center;
    font-weight: bold;
}

.risk-reversal p {
    color: #15803d;
    font-size: 1rem;
    margin: 0.5rem 0;
}

.risk-reversal ul {
    text-align: left;
    max-width: 400px;
    margin: 1rem auto 0;
    color: #166534;
}

.risk-reversal li {
    margin: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
}

.risk-reversal li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: #16a34a;
    font-weight: bold;
}

/* Course Card Styling */
.course-card {
    background: var(--color-primary);
    border-radius: 20px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

.course-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

.offer-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(173, 216, 230, 0.2);
    color: #b3d9f2;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
}

.course-title {
    color: white;
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    position: relative;
}

.course-title-large {
    color: white;
    font-size: 2.8rem;
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: 2rem;
    margin-top: 0;
    position: relative;
    text-align: left;
}

.title-line-1 {
    font-size: 2.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    display: inline-block;
}

.title-line-2 {
    font-size: 2.8rem;
    font-weight: 700;
    color: white;
    text-transform: none;
}

.title-line-3 {
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--color-accent);
    text-transform: none;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    padding-bottom: 12px;
}

.title-line-3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-bright-blue) 100%);
    border-radius: 2px;
    animation: underlineGlow 2s ease-in-out infinite;
}

@keyframes underlineGlow {
    0%, 100% { opacity: 1; transform: scaleX(1); }
    50% { opacity: 0.9; transform: scaleX(1.05); }
}

.highlight-yellow {
    color: var(--color-accent);
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.course-description {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
}

.course-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    color: white;
}

.feature-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-item strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.feature-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Pricing Section Styles */
.pricing-section {
    text-align: center;
    margin-bottom: 1.5rem;
}

.price-showcase {
    background: linear-gradient(135deg, rgba(66, 153, 225, 0.1) 0%, rgba(255, 255, 255, 0.2) 100%);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    padding: 3rem 2rem;
    margin-bottom: 1rem;
    position: relative;
    text-align: center;
    backdrop-filter: blur(10px);
}

.diagonal-price {
    position: absolute;
    top: -15px;
    right: 20px;
    transform: rotate(12deg);
    background: white;
    padding: 0.5rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
    z-index: 2;
}

.diagonal-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #9ca3af;
    position: relative;
    z-index: 1;
}

.diagonal-slash {
    position: absolute;
    top: 50%;
    left: -10%;
    right: -10%;
    height: 4px;
    background: #ef4444;
    transform: translateY(-50%) rotate(-15deg);
    z-index: 3;
    border-radius: 2px;
}

.free-price-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    height: auto;
    min-height: auto;
    max-height: 140px;
}

.free-price-huge {
    font-size: 4rem;
    font-weight: 800;
    color: white;
    background: rgba(58, 177, 233, 0.25);
    padding: 1rem 6rem;
    border-radius: 15px;
    text-shadow: 0 2px 4px rgba(58, 177, 233, 0.3);
    animation: subtleGlow 3s ease-in-out infinite;
    letter-spacing: -2px;
    display: block;
    line-height: 0.9;
    width: auto;
    text-align: center;
    margin: 0 auto;
}

@keyframes subtleGlow {
    0%, 100% {
        text-shadow: 0 0 10px rgba(74, 222, 128, 0.5),
                    0 0 20px rgba(74, 222, 128, 0.3);
    }
    50% {
        text-shadow: 0 0 20px rgba(74, 222, 128, 0.8),
                    0 0 30px rgba(74, 222, 128, 0.5),
                    0 0 40px rgba(74, 222, 128, 0.3);
    }
}

.price-subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.btn-course-cta {
    width: 100%;
    background: linear-gradient(135deg, var(--color-accent), var(--color-bright-blue));
    color: var(--color-primary);
    font-size: 1.4rem;
    font-weight: 800;
    padding: 1.75rem 2.5rem;
    border: none;
    border-radius: 16px;
    cursor: pointer;
    transition: all 250ms ease-in-out;
    box-shadow: 0 8px 24px rgba(91, 222, 108, 0.3),
                0 4px 12px rgba(91, 222, 108, 0.2);
    position: relative;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-course-cta:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(91, 222, 108, 0.4),
                0 6px 16px rgba(91, 222, 108, 0.3);
    background: linear-gradient(135deg, var(--color-bright-blue), var(--color-accent));
}

.course-testimonial {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    position: relative;
}

.testimonial-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.testimonial-text strong {
    color: #009C53;
    font-weight: 700;
}

.testimonial-author {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

/* Video Placeholder */
.video-placeholder {
    margin: 2rem 0;
    position: relative;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.video-container:hover {
    transform: scale(1.02);
}

.video-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.placeholder-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.5rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.play-button-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    transition: transform 0.3s ease;
}

.video-container:hover .play-button-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

.play-icon {
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.3));
}

/* Trust Indicators */
.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    padding: 1.5rem;
    background: #F0FAF0;  /* Very light green */
    border-radius: 12px;
    margin-top: 1.5rem;
}

.indicator-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6b7280;
    font-size: 0.9rem;
    font-weight: 600;
}

.indicator-icon {
    font-size: 1.2rem;
    color: #3b82f6;
}

/* Mobile Responsiveness for Results Page */
@media (max-width: 768px) {
    .split-screen-container {
        flex-direction: column;
        padding: 0;
        min-height: auto;
    }
    
    .results-column,
    .course-column {
        flex: 1 1 100%;
        width: 100%;
        padding: 1.5rem 1rem;
        min-height: auto;
    }
    
    /* Results Column Mobile */
    .results-content {
        padding: 1.5rem 1rem;
    }
    
    .results-header {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .results-header h1 {
        font-size: 1.75rem;
        line-height: 1.2;
        word-wrap: break-word;
    }
    
    .results-amount {
        font-size: 2.5rem;
        margin: 1rem 0;
        word-wrap: break-word;
    }
    
    .results-subtitle {
        font-size: 1rem;
        line-height: 1.4;
        padding: 0 0.5rem;
    }
    
    /* Credit Cards Mobile */
    .credit-cards-container {
        padding: 0.5rem;
        gap: 1rem;
    }
    
    .credit-card {
        padding: 1.25rem 1rem;
        margin-bottom: 0.75rem;
    }
    
    .credit-header {
        flex-direction: row;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 0.75rem;
    }
    
    .credit-name {
        font-size: 1rem;
        line-height: 1.3;
        word-wrap: break-word;
        hyphens: auto;
    }
    
    .credit-amount {
        font-size: 1.25rem;
        white-space: nowrap;
    }
    
    .credit-description {
        font-size: 0.875rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .credit-eligibility {
        padding: 0.75rem;
        font-size: 0.75rem;
    }
    
    .total-card {
        padding: 1.5rem 1rem;
        margin-top: 1rem;
    }
    
    .total-label {
        font-size: 1rem;
    }
    
    .total-amount {
        font-size: 2rem;
    }
    
    /* Course Column Mobile */
    .course-card {
        padding: 1.5rem 1rem;
        border-radius: 15px;
    }
    
    .course-title {
        font-size: 1.75rem;
        line-height: 1.2;
        margin-bottom: 0.75rem;
    }
    
    .course-title-large {
        font-size: 2rem;
        line-height: 1.15;
        margin-bottom: 1.5rem;
    }
    
    .title-line-1 {
        font-size: 1.75rem;
    }
    
    .title-line-2,
    .title-line-3 {
        font-size: 2rem;
    }
    
    .course-description {
        font-size: 1rem;
        line-height: 1.5;
        margin-bottom: 1.5rem;
    }
    
    .course-features {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .feature-item {
        padding: 0.5rem 0;
    }
    
    .feature-icon {
        font-size: 1.25rem;
    }
    
    /* Pricing Mobile */
    .price-showcase {
        padding: 2rem 1rem;
        margin-bottom: 1rem;
    }
    
    .diagonal-price {
        top: -10px;
        right: 10px;
        padding: 0.4rem 1rem;
    }
    
    .diagonal-amount {
        font-size: 1.75rem;
    }
    
    .free-price-huge {
        font-size: 3rem;
        padding: 0.75rem 3rem;
    }
    
    /* CTA Buttons Mobile */
    .btn-course-cta {
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .primary-cta {
        font-size: 1.1rem;
        padding: 1.25rem 1.5rem;
        width: 100%;
        word-wrap: break-word;
    }
    
    /* Video Container Mobile */
    .video-container {
        border-radius: 12px;
    }
    
    .placeholder-text {
        font-size: 1.2rem;
    }
    
    /* Trust & Social Proof Mobile */
    .urgency-box {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .daily-loss {
        font-size: 1.25rem;
    }
    
    .proof-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .social-proof-section {
        padding: 1.25rem;
        margin: 1rem 0;
    }
    
    .testimonial-text {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .trust-indicators {
        flex-direction: column;
        gap: 0.75rem;
        padding: 1rem;
    }
    
    .indicator-item {
        font-size: 0.85rem;
    }
    
    /* Risk Reversal Mobile */
    .risk-reversal {
        max-width: 100%;
        margin: 1rem 0;
        font-size: 0.875rem;
    }
    
    .risk-reversal li {
        margin: 0.4rem 0;
        padding-left: 1.25rem;
    }
}

/* Extra Small Screens (phones in portrait) */
@media (max-width: 480px) {
    /* Header Mobile */
    .header {
        padding: 0.75rem 1rem;
    }

    /* Account grids single column on very small screens */
    .account-grid.compact,
    .account-grid.compact-2025 {
        grid-template-columns: 1fr;
    }
    
    .nav-links {
        display: none;
    }
    
    /* Results Page Mobile */
    .results-column,
    .course-column {
        padding: 1rem 0.75rem;
    }
    
    .results-content {
        padding: 1rem 0.75rem;
    }
    
    .results-header {
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .results-header h1 {
        font-size: 1.5rem;
        line-height: 1.15;
    }
    
    .results-amount {
        font-size: 2rem;
        margin: 0.75rem 0;
        overflow-wrap: break-word;
    }
    
    .results-subtitle {
        font-size: 0.9rem;
        padding: 0;
    }
    
    /* Credit Cards Extra Small */
    .credit-cards-container {
        padding: 0.25rem;
        gap: 0.75rem;
    }
    
    .credit-card {
        padding: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .credit-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .credit-name {
        font-size: 0.95rem;
        width: 100%;
    }
    
    .credit-amount {
        font-size: 1.1rem;
    }
    
    .credit-description {
        font-size: 0.8rem;
        margin-bottom: 0.5rem;
    }
    
    .credit-eligibility {
        padding: 0.5rem;
        font-size: 0.7rem;
    }
    
    .total-card {
        padding: 1.25rem 0.75rem;
    }
    
    .total-amount {
        font-size: 1.75rem;
    }
    
    /* Course Card Extra Small */
    .course-card {
        padding: 1.25rem 0.75rem;
        border-radius: 12px;
    }
    
    .offer-badge {
        font-size: 0.75rem;
        padding: 0.4rem 0.75rem;
        margin-bottom: 1rem;
    }
    
    .course-title-large {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .title-line-1 {
        font-size: 1.4rem;
    }
    
    .title-line-2,
    .title-line-3 {
        font-size: 1.5rem;
    }
    
    .course-description {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .feature-item {
        gap: 0.5rem;
    }
    
    .feature-icon {
        font-size: 1rem;
    }
    
    .feature-item strong {
        font-size: 0.95rem;
    }
    
    .feature-subtitle {
        font-size: 0.75rem;
    }
    
    /* Pricing Extra Small */
    .price-showcase {
        padding: 1.5rem 0.75rem;
    }
    
    .diagonal-price {
        display: none; /* Hide on very small screens */
    }
    
    .free-price-huge {
        font-size: 2.5rem;
        padding: 0.5rem 2rem;
    }
    
    /* Buttons Extra Small */
    .btn-course-cta {
        font-size: 1rem;
        padding: 1rem 1.25rem;
        border-radius: 12px;
    }
    
    .primary-cta {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }
    
    .btn-back {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    /* Video Extra Small */
    .video-container {
        border-radius: 8px;
    }
    
    .placeholder-text {
        font-size: 1rem;
        letter-spacing: 1px;
    }
    
    /* Social Proof Extra Small */
    .urgency-box {
        padding: 0.75rem;
        margin: 0.75rem 0;
    }
    
    .urgency-title {
        font-size: 0.9rem;
    }
    
    .daily-loss {
        font-size: 1.1rem;
    }
    
    .proof-stats {
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.25rem;
    }
    
    .stat-label {
        font-size: 0.75rem;
    }
    
    .social-proof-section {
        padding: 1rem;
    }
    
    .social-proof-header h3 {
        font-size: 1.1rem;
    }
    
    .testimonial-text {
        font-size: 0.85rem;
    }
    
    .testimonial-author {
        font-size: 0.8rem;
    }
    
    /* Trust Indicators Extra Small */
    .trust-indicators {
        padding: 0.75rem;
    }
    
    .indicator-item {
        font-size: 0.8rem;
        gap: 0.3rem;
    }
    
    .indicator-icon {
        font-size: 1rem;
    }
    
    /* Risk Reversal Extra Small */
    .risk-reversal {
        font-size: 0.8rem;
    }
    
    .risk-reversal li {
        margin: 0.3rem 0;
        padding-left: 1rem;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 768px) and (orientation: landscape) {
    .split-screen-container {
        flex-direction: row;
    }
    
    .results-column,
    .course-column {
        flex: 1 1 50%;
        max-height: 100vh;
        overflow-y: auto;
    }
    
    .results-header h1 {
        font-size: 1.5rem;
    }
    
    .results-amount {
        font-size: 2rem;
    }
    
    .course-title-large {
        font-size: 1.75rem;
    }
}

/* Error States */
.form-input.input-error,
.form-select.input-error {
    border-color: var(--color-error);
    background-color: rgba(239, 68, 68, 0.05);
}

.form-input.input-error:focus,
.form-select.input-error:focus {
    border-color: var(--color-error);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.radio-group.error {
    padding: 0.5rem;
    border: 2px solid var(--color-error);
    border-radius: var(--radius-md);
    background-color: rgba(239, 68, 68, 0.05);
}

.error-message {
    color: var(--color-error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    font-weight: 500;
    animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-input-large {
    font-size: 1.25rem;
    padding: 1rem 1.25rem;
    text-align: center;
}

.form-select {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    background-color: white;
    cursor: pointer;
    transition: all var(--transition-fast);
}

.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.form-slider {
    width: 100%;
    margin: 1rem 0;
}

.slider-value {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

/* Input Groups */
.input-group {
    margin-bottom: 1.5rem;
}

/* Inline form rows for compact layout */
.form-row-inline {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-row-inline .input-group {
    flex: 1;
    margin-bottom: 0;
}

.input-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--color-text);
}

.input-help-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
}

.help-text {
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

/* Radio and Checkbox Groups */
.radio-group {
    display: flex;
    gap: 1.5rem;
    margin-top: 0.75rem;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 1rem;
}

.radio-label input[type="radio"] {
    margin-right: 0.5rem;
    cursor: pointer;
}

.checkbox-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.checkbox-item {
    padding: 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all var(--transition-fast);
    background-color: white;
    user-select: none;
    position: relative;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.checkbox-item label {
    pointer-events: none; /* Prevent label from intercepting clicks */
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0;
}

.checkbox-item:hover {
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    background-color: rgba(63, 117, 160, 0.05);
}

.checkbox-item.selected {
    background-color: var(--color-accent);
    border-color: var(--color-accent);
    color: white;
}

.checkbox-item.selected:hover {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.checkbox-item input[type="checkbox"] {
    display: none; /* Hide the checkbox completely */
}

.checkbox-item .credit-amount {
    display: block;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    color: #3F759F;
    font-weight: 600;
}

.checkbox-item.selected .credit-amount {
    opacity: 0.9;
}

/* Hero Updates */
.hero-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}


.social-proof {
    margin: 1.5rem 0;
}

.live-counter {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.pulse-dot {
    width: 8px;
    height: 8px;
    background: #3AB1E9;
    border-radius: 50%;
    position: relative;
    animation: pulse-ring 2s ease-out infinite;
}

.pulse-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    border: 2px solid #3AB1E9;
    border-radius: 50%;
    animation: pulse-grow 2s ease-out infinite;
}

@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
    100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

@keyframes pulse-grow {
    0% { opacity: 1; transform: translate(-50%, -50%) scale(0); }
    50% { opacity: 0.5; }
    100% { opacity: 0; transform: translate(-50%, -50%) scale(1.5); }
}

.counter-text {
    font-size: 0.9rem;
    color: var(--color-text);
}

#businessCounter {
    transition: color 0.3s ease-out;
    display: inline-block;
    font-weight: 700;
    color: var(--color-primary);
}

@keyframes number-complete {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); color: var(--color-accent); }
    100% { transform: scale(1); }
}

.hero-form {
    margin: 2rem auto;
    max-width: 600px;
}

.quick-capture-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-row {
    display: flex;
    gap: 0.75rem;
}

.hero-form input {
    flex: 1;
    padding: 0.875rem 1rem;
    font-size: 0.95rem;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    background: white;
    color: #374151;
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.hero-form input::placeholder {
    color: #9ca3af;
}

.hero-form input:focus {
    outline: none;
    border-color: var(--color-primary);
    background: white;
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.hero-form input:hover {
    border-color: var(--color-primary);
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 2rem 0;
    flex-wrap: nowrap;
}

.badge {
    padding: 0.75rem 0.5rem;
    background: white;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    flex: 1;
    min-width: 0;
    text-align: center;
    transition: all var(--transition-base);
    cursor: default;
}

.badge:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(63, 117, 160, 0.2);
    background: var(--color-accent);
    color: white;
}

.badge-amount {
    font-size: 1rem;
    font-weight: 700;
    color: var(--color-accent);
    white-space: nowrap;
}

.badge:hover .badge-amount {
    color: white;
}

.badge-label {
    font-size: 0.7rem;
    opacity: 0.9;
    white-space: nowrap;
}

/* New Hero Section Styles */
.hero-tagline {
    text-align: center;
    font-style: italic;
    color: #4B5563;
    font-size: 1.05rem;
    margin-bottom: 2rem;
    font-weight: 400;
}

.hero-title {
    text-align: center;
    font-size: 3.16rem;
    line-height: 1.15;
    color: #002C4D;
    margin-bottom: 3rem;
    font-weight: 900;
    max-width: none;
    margin-left: auto;
    margin-right: auto;
    letter-spacing: -0.025em;
}

.hero-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
    max-width: 1400px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .hero-badges {
        gap: 1rem;
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .hero-badges {
        gap: 0.75rem;
        margin-bottom: 2rem;
        flex-direction: column;
        width: 100%;
    }
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.2rem;
    color: #002C4D;
    font-weight: 500;
    padding: 1rem 1.5rem;
    background: white;
    border: 1px solid #E5E7EB;
    border-radius: 50px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

@media (max-width: 768px) {
    .badge-pill {
        font-size: 0.95rem;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .badge-pill {
        font-size: 0.85rem;
        padding: 0.65rem 0.85rem;
        gap: 0.4rem;
        white-space: normal;
        text-align: center;
    }
}

.badge-pill:hover {
    background: #F3F4F6;
    border-color: #D1D5DB;
}

.check-icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
}

.badge-icon {
    flex-shrink: 0;
    width: 45px;
    height: 45px;
    object-fit: contain;
}

@media (max-width: 768px) {
    .badge-icon {
        width: 35px;
        height: 35px;
    }
}

@media (max-width: 480px) {
    .badge-icon {
        width: 28px;
        height: 28px;
    }
}

/* Calculator Card */
.calculator-card {
    background: white;
    border-radius: 1.5rem;
    padding: 3rem 4rem;
    width: 1136px;
    height: 594.56px;
    margin: 0 auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06), 0 12px 40px rgba(0, 0, 0, 0.1);
    border: none;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .calculator-card {
        width: 100%;
        height: auto;
        padding: 2rem 1.5rem;
        border-radius: 1rem;
    }
}

@media (max-width: 480px) {
    .calculator-card {
        padding: 1.25rem 0.75rem;
        border-radius: 0.75rem;
    }
}

.calculator-question {
    font-size: 2rem;
    color: #002C4D;
    text-align: center;
    margin-bottom: 2.5rem;
    font-weight: 700;
    line-height: 1.35;
    letter-spacing: -0.01em;
    max-width: none;
}

.input-with-toggle {
    margin-bottom: 1.5rem;
}

/* Portfolio Assessment Styles */
.portfolio-input-section {
    margin-bottom: 1.5rem;
    width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 768px) {
    .portfolio-input-section {
        width: 100%;
        margin-bottom: 1.25rem;
    }
}

@media (max-width: 480px) {
    .portfolio-input-section {
        width: 100%;
        margin-bottom: 1rem;
    }
}

.portfolio-question {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: nowrap;
    font-size: 1.25rem;
    color: #002C4D;
    font-weight: 500;
    margin-bottom: 1.5rem;
    border-left: 4px solid #3AB1E9;
    padding-left: 1.5rem;
}

@media (max-width: 768px) {
    .portfolio-question {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.85rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .portfolio-question {
        padding-left: 0.75rem;
        margin-bottom: 1.75rem;
        gap: 0.75rem;
        border-left-width: 3px;
    }
}

.portfolio-question:nth-child(2) {
    border-left-color: #5BDE6C;
}

.portfolio-question:nth-child(3) {
    border-left-color: #FCBC03;
    flex-direction: column;
    align-items: flex-start;
}

.portfolio-question:nth-child(3) .portfolio-label {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 0;
}

.portfolio-question:last-child {
    margin-bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    border-left-color: #D55400;
}

.portfolio-question:last-child .portfolio-label {
    display: block;
    width: 100%;
    text-align: left;
    margin-bottom: 0;
}

.portfolio-label,
.portfolio-label-end {
    color: #002C4D;
    font-weight: 500;
    font-size: 1.125rem;
}

@media (max-width: 768px) {
    .portfolio-label,
    .portfolio-label-end {
        font-size: 1.05rem;
    }
}

@media (max-width: 480px) {
    .portfolio-label,
    .portfolio-label-end {
        font-size: 0.95rem;
    }
}

.portfolio-dropdown {
    padding: 0.75rem 1.5rem;
    font-size: 1.125rem;
    border: 2px solid #D1D5DB;
    border-radius: 0.5rem;
    background: white;
    color: #002C4D;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 200px;
    min-height: 44px;
}

.portfolio-dropdown:focus {
    outline: none;
    border-color: #002C4D;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08);
}

@media (max-width: 768px) {
    .portfolio-dropdown {
        padding: 0.875rem 1.25rem;
        font-size: 1.05rem;
        min-height: 48px;
    }
}

@media (max-width: 480px) {
    .portfolio-dropdown {
        padding: 1rem 1rem;
        font-size: 1rem;
        min-height: 52px;
    }
}

/* Slider Container */
.slider-container {
    width: 100%;
    margin-top: 0;
}

.portfolio-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 8px;
    border-radius: 5px;
    background: linear-gradient(to right, #D1D5DB 0%, #002C4D 50%, #D1D5DB 100%);
    outline: none;
    margin: 1rem 0;
}

.portfolio-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #002C4D;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
    transition: all 0.2s ease;
}

.portfolio-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

@media (max-width: 768px) {
    .portfolio-slider::-webkit-slider-thumb {
        width: 32px;
        height: 32px;
    }

    .portfolio-slider::-moz-range-thumb {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 480px) {
    .portfolio-slider::-webkit-slider-thumb {
        width: 36px;
        height: 36px;
    }

    .portfolio-slider::-moz-range-thumb {
        width: 36px;
        height: 36px;
    }

    .portfolio-slider {
        height: 10px;
        margin: 1.5rem 0;
    }
}

.portfolio-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #002C4D;
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.3);
    transition: all 0.2s ease;
}

.portfolio-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.4);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.875rem;
    color: #6B7280;
    margin-top: 0.5rem;
}

.slider-labels span:nth-child(2) {
    font-size: 1.25rem;
    font-weight: 700;
    color: #002C4D;
}

@media (max-width: 768px) {
    .slider-labels {
        font-size: 0.8rem;
        margin-top: 0.75rem;
    }

    .slider-labels span:nth-child(2) {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .slider-labels {
        font-size: 0.75rem;
        margin-top: 1rem;
    }

    .slider-labels span:nth-child(2) {
        font-size: 1.35rem;
        background: #002C4D;
        color: white;
        padding: 0.25rem 0.75rem;
        border-radius: 0.5rem;
    }
}

/* Earnings Result Display */
.earnings-result {
    font-size: 2rem;
    font-weight: 700;
    text-align: center;
    padding: 1rem 1.5rem;
    border-radius: 0.75rem;
    margin-top: 0.5rem;
    transition: all 0.3s ease;
    background: linear-gradient(135deg, #D4EDD8 0%, #E8F5E9 100%);
    color: #002C4D;
    box-shadow: 0 4px 12px rgba(91, 222, 108, 0.2);
    display: inline-block;
}

/* Percentage Selection Styles */
.percentage-selection-section {
    margin-bottom: 2.5rem;
    padding: 1.5rem 2rem;
    background: #F9FAFB;
    border-radius: 1rem;
    text-align: center;
}

.percentage-label,
.percentage-label-end {
    font-size: 1rem;
    color: #002C4D;
    font-weight: 500;
    display: block;
    margin-bottom: 1rem;
}

.percentage-label-end {
    margin-top: 1rem;
    margin-bottom: 0;
}

.percentage-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.percentage-btn {
    padding: 1rem 2rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #002C4D;
    background: white;
    border: 2px solid #D1D5DB;
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    min-width: 100px;
}

.percentage-btn:hover {
    border-color: #002C4D;
    background: #F0F4F8;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.15);
}

.percentage-btn.active {
    background: #002C4D;
    color: white;
    border-color: #002C4D;
    box-shadow: 0 4px 12px rgba(30, 58, 138, 0.25);
}

/* Earnings Display Styles */
.earnings-display {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
    border-radius: 1rem;
    margin-bottom: 2rem;
}

.earnings-label {
    font-size: 1rem;
    color: #6B7280;
    margin-bottom: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.earnings-amount {
    font-size: 3.5rem;
    font-weight: 800;
    color: #10B981;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
}

.earnings-breakdown {
    font-size: 1rem;
    color: #6B7280;
    font-weight: 500;
}

.main-input {
    width: 100%;
    max-width: 500px;
    margin: 0 auto 2rem;
    padding: 1rem 1.5rem;
    font-size: 1.125rem;
    border: 1.5px solid #E5E7EB;
    border-radius: 0.5rem;
    text-align: center;
    transition: all 0.2s ease;
    font-weight: 500;
    color: #111827;
    background: #F9FAFB;
    display: block;
}

.main-input:focus {
    outline: none;
    border-color: #002C4D;
    background: white;
    box-shadow: 0 0 0 4px rgba(30, 58, 138, 0.08);
}

.main-input::placeholder {
    color: #9CA3AF;
    font-weight: 400;
}

.selling-season-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
}

.toggle-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    user-select: none;
}

.toggle-checkbox {
    display: none;
}

.toggle-switch {
    width: 50px;
    height: 28px;
    background: #e5e7eb;
    border-radius: 14px;
    position: relative;
    transition: background 0.3s ease;
}

.toggle-switch::after {
    content: '';
    position: absolute;
    width: 22px;
    height: 22px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: transform 0.3s ease;
}

.toggle-checkbox:checked + .toggle-switch {
    background: #10B981;
}

.toggle-checkbox:checked + .toggle-switch::after {
    transform: translateX(22px);
}

.toggle-text {
    font-size: 0.95rem;
    color: var(--color-text);
}

/* Breakdown Section */
.breakdown-section {
    margin: 2rem 0;
    border-top: 1px solid #e5e7eb;
    padding-top: 1.5rem;
}

.breakdown-toggle {
    background: none;
    border: none;
    color: var(--color-secondary);
    font-size: 0.95rem;
    cursor: pointer;
    padding: 0.5rem;
    text-decoration: underline;
    transition: color 0.3s ease;
}

.breakdown-toggle:hover {
    color: var(--color-primary);
}

.account-breakdown {
    margin-top: 1.5rem;
}

.breakdown-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.breakdown-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.breakdown-item label {
    font-size: 0.875rem;
    color: var(--color-text);
    font-weight: 500;
}

.breakdown-input {
    padding: 0.75rem;
    border: 1px solid #e5e7eb;
    border-radius: 0.5rem;
    text-align: center;
    font-size: 1rem;
}

/* Results Preview */
.results-preview {
    background: #f9fafb;
    border-radius: 1rem;
    padding: 2.5rem;
    margin: 2.5rem 0;
}

.results-header h3 {
    text-align: center;
    color: var(--color-primary);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
}

.scenario-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.scenario-card {
    background: white;
    border-radius: 0.75rem;
    padding: 2rem 1.5rem;
    text-align: center;
    border: 2px solid #e5e7eb;
    transition: all 0.3s ease;
}

.scenario-card.highlight {
    border-color: #10B981;
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
}

.scenario-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
}

.scenario-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.scenario-accounts {
    font-size: 0.8rem;
    color: var(--color-text-light);
}

/* Bonus Display Boxes */
.bonus-boxes {
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
    margin: 2rem auto 1rem;
    width: 1024px;
    height: 97.06px;
}

@media (max-width: 768px) {
    .bonus-boxes {
        width: 100%;
        height: auto;
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .bonus-boxes {
        gap: 0.75rem;
        margin: 1.25rem auto 0.75rem;
    }
}

.bonus-box {
    width: 504px;
    min-height: 97.06px;
    background: #002C4D;
    color: white;
    border-radius: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem 1.5rem;
    transition: all 0.3s ease;
}

@media (max-width: 768px) {
    .bonus-box {
        width: 100%;
        font-size: 1rem;
        padding: 1.25rem 1rem;
    }
}

@media (max-width: 480px) {
    .bonus-box {
        font-size: 0.95rem;
        padding: 1rem 0.75rem;
        min-height: 80px;
    }
}

.bonus-box.active {
    box-shadow: 0 0 25px rgba(91, 222, 108, 0.5);
}

#sellingSeasonBox.active {
    box-shadow: 0 0 40px rgba(91, 222, 108, 0.8), 0 0 80px rgba(91, 222, 108, 0.5);
}

.bonus-box-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    text-align: center;
}

.bonus-title {
    font-size: 1.25rem;
    font-weight: 500;
    transition: font-size 0.3s ease;
    white-space: nowrap;
}

.bonus-box.active .bonus-title {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .bonus-title {
        font-size: 1.1rem;
        white-space: normal;
        text-align: center;
    }

    .bonus-box.active .bonus-title {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .bonus-title {
        font-size: 0.95rem;
    }

    .bonus-box.active .bonus-title {
        font-size: 0.75rem;
    }
}

.bonus-amount {
    font-size: 3rem;
    font-weight: 700;
    display: none;
    line-height: 1;
}

.bonus-box.active .bonus-amount {
    display: block;
}

@media (max-width: 768px) {
    .bonus-amount {
        font-size: 2.25rem;
    }
}

@media (max-width: 480px) {
    .bonus-amount {
        font-size: 1.85rem;
    }
}

/* CTA Button */
.cta-button {
    width: 100%;
    max-width: 400px;
    margin: 1.5rem auto 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 2.5rem 1rem 2.5rem;
    background: #002C4D;
    color: white;
    border: none;
    border-radius: 50px;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(30, 58, 138, 0.2);
    text-align: center;
    line-height: 1;
    min-height: 48px;
}

.cta-button:hover {
    background: #1e40af;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(30, 58, 138, 0.3);
}

@media (max-width: 768px) {
    .cta-button {
        padding: 1.125rem 2rem;
        font-size: 1.05rem;
        min-height: 52px;
    }
}

@media (max-width: 480px) {
    .cta-button {
        padding: 1rem 1.5rem;
        font-size: 1rem;
        min-height: 56px;
        margin-top: 1rem;
    }
}

.disclaimer-text {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 1.5rem;
}

/* Benefits Section */
.benefits-section {
    background: white;
    padding: 0 0 4rem 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    color: var(--color-primary);
    margin-bottom: 3rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .section-title {
        font-size: 1.65rem;
        margin-bottom: 2rem;
    }
}

@media (max-width: 480px) {
    .section-title {
        font-size: 1.4rem;
        margin-bottom: 1.5rem;
    }
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 2rem;
    position: relative;
}

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

.benefit-icon {
    margin: 0 auto 1.5rem;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.benefit-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.benefit-column h3 {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.benefit-column p {
    font-size: 0.95rem;
    color: var(--color-text-light);
    line-height: 1.6;
}

.connector-line {
    margin: 2rem auto 0;
    max-width: 600px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.connector-line svg {
    max-width: 100%;
    height: auto;
}

/* Final CTA Section */
.final-cta {
    background: var(--color-primary);
    padding: 4rem 0;
}

.cta-box {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    border-radius: 1.5rem;
}

.cta-box h2 {
    font-size: 2rem;
    color: white;
    margin-bottom: 1rem;
    font-weight: 700;
}

.cta-box p {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.cta-button-white {
    padding: 1rem 2.5rem;
    background: white;
    color: var(--color-primary);
    border: none;
    border-radius: 0.75rem;
    font-size: 1.125rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.3);
}

/* Responsive Styles for New Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.75rem;
    }

    .hero-benefits {
        gap: 1rem;
    }

    .calculator-card {
        padding: 2rem 1.5rem;
        max-width: 100%;
    }

    .portfolio-question {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }

    .portfolio-dropdown {
        width: 100%;
        min-width: auto;
    }

    .portfolio-label-end {
        display: none;
    }

    .slider-container {
        width: 100%;
    }

    .earnings-result {
        font-size: 1.75rem;
        padding: 1rem;
        width: 100%;
    }

    .cta-button {
        width: 100%;
        padding: 1rem;
    }

    .breakdown-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .scenario-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 1.5rem;
    }

    .cta-box h2 {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.5rem;
        line-height: 1.2;
    }

    .hero-tagline {
        font-size: 0.875rem;
    }

    .hero-badges {
        flex-direction: column;
        align-items: stretch;
        gap: 0.5rem;
    }

    .badge-pill {
        justify-content: center;
    }

    .calculator-card {
        padding: 1.5rem 1rem;
    }

    .portfolio-question {
        margin-bottom: 2rem;
        padding-left: 1rem;
    }

    .portfolio-label {
        font-size: 1rem;
    }

    .portfolio-dropdown {
        font-size: 1rem;
        padding: 0.75rem 1rem;
    }

    .slider-labels {
        font-size: 0.75rem;
    }

    .slider-labels span:nth-child(2) {
        font-size: 1.1rem;
    }

    .earnings-result {
        font-size: 1.5rem;
    }

    .cta-button {
        font-size: 1rem;
    }

    .hero-benefits {
        flex-direction: column;
        align-items: flex-start;
    }

    .breakdown-grid {
        grid-template-columns: 1fr;
    }

    .scenario-grid {
        grid-template-columns: 1fr;
    }

    .scenario-value {
        font-size: 1.5rem;
    }
}

/* Hero Calculator Section */
.hero-calculator {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    margin: 2rem 0;
    box-shadow: var(--shadow-lg);
}

.calculator-title {
    font-size: 1.5rem;
    color: var(--color-primary);
    text-align: center;
    margin-bottom: 0.5rem;
}

.calculator-description {
    font-size: 0.95rem;
    color: var(--color-text-light);
    text-align: center;
    margin-bottom: 2rem;
}

.account-grid-hero {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.account-category-hero {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.account-category-hero .category-header {
    text-align: center;
}

.account-category-hero .category-name {
    display: block;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.account-category-hero .category-range {
    display: block;
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.account-category-hero .form-input {
    text-align: center;
    font-size: 1.125rem;
    font-weight: 600;
    padding: 0.75rem;
}

@media (max-width: 1024px) {
    .account-grid-hero {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .account-grid-hero {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero-calculator {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .account-grid-hero {
        grid-template-columns: 1fr;
    }
}

/* Secondary badges below CTA button */
.hero-badges-secondary {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1.5rem 0 1rem 0;
    flex-wrap: wrap;
}

.badge-secondary {
    padding: 0.875rem 1.25rem;
    background: white;
    border: 2px solid var(--color-accent);
    border-radius: var(--radius-lg);
    font-weight: 500;
    font-size: 0.875rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    text-align: center;
    transition: all var(--transition-base);
    cursor: default;
    min-width: 140px;
}

.badge-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(63, 117, 160, 0.15);
}

.badge-secondary .badge-amount {
    font-weight: 700;
    font-size: 1rem;
    color: var(--color-accent);
    white-space: nowrap;
}

.badge-secondary .badge-label {
    font-size: 0.7rem;
    color: var(--color-text-light);
    white-space: nowrap;
    opacity: 0.9;
}

/* Tablet - Medium Screens */
@media (max-width: 768px) {
    /* Container */
    .container {
        max-width: 100%;
        padding: 0;
    }

    /* Hero */
    .hero {
        padding: 3rem 1.5rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
        white-space: normal;
    }

    /* Badges */
    .hero-badges {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 0 0.5rem;
    }

    .badge {
        padding: 0.875rem;
        font-size: 0.875rem;
        min-height: 75px;
    }

    .badge-amount {
        font-size: 0.95rem;
    }

    .badge-label {
        font-size: 0.7rem;
        white-space: normal;
    }

    /* Calculator */
    .quiz-container {
        padding: 1rem;
    }

    .quiz-card {
        border-radius: 12px;
    }

    /* Account Grid - 2 columns on tablet */
    .account-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    /* Growth Controls */
    .growth-controls {
        flex-direction: column;
        gap: 1rem;
    }

    .slider-wrapper {
        width: 100%;
    }

    /* Results */
    #accountBreakdownDetails {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .breakdown-category {
        padding: 1rem;
    }

    /* Tables */
    .results-table {
        overflow-x: auto;
        display: block;
    }

    .results-table thead {
        display: none;
    }

    .results-table tr {
        display: block;
        margin-bottom: 1rem;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        padding: 0.75rem;
    }

    .results-table td {
        display: block;
        text-align: right;
        padding: 0.5rem 0;
        position: relative;
        padding-left: 50%;
    }

    .results-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 0;
        width: 45%;
        padding-left: 0.75rem;
        font-weight: 600;
        text-align: left;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        padding: 2rem 1.5rem;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .hero-badges {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.5rem;
    }

    .badge {
        min-height: 60px;
        padding: 0.5rem;
    }

    .quiz-card {
        max-height: 90vh;
        overflow-y: auto;
    }
}

.btn-large {
    padding: 1.25rem 2.5rem;
    font-size: 1.25rem;
    position: relative;
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    min-width: 280px;
}

.pulse-animation {
    animation: pulse-button 2s ease-in-out infinite;
}

@keyframes pulse-button {
    0%, 100% { 
        box-shadow: 0 4px 14px 0 rgba(63, 117, 160, 0.4);
    }
    50% { 
        box-shadow: 0 4px 20px 0 rgba(63, 117, 160, 0.6);
    }
}

.btn-subtext {
    font-size: 0.75rem;
    opacity: 0.9;
    font-weight: 400;
}

.trust-indicators {
    margin-top: 2rem;
    padding: 0;
    background: transparent;
}

.guarantee-text {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
}

.shield-icon {
    color: #3AB1E9;
    flex-shrink: 0;
}

/* Quiz Steps */
.quiz-step {
    animation: fadeIn var(--transition-base);
}

.quiz-step.hidden {
    display: none;
}

/* Results Updates */
.success-animation {
    margin-bottom: 1.5rem;
    animation: scaleIn 0.5s ease-out;
}

.checkmark {
    animation: rotate 0.5s ease-out;
}

.checkmark-circle {
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    animation: drawCircle 0.6s ease-out forwards;
}

.checkmark-check {
    stroke-dasharray: 100;
    stroke-dashoffset: 100;
    animation: drawCheck 0.4s ease-out 0.5s forwards;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.results-amount {
    font-size: 4rem;
    font-weight: 700;
    color: var(--color-accent);
    margin: 1.5rem 0;
    text-shadow: 0 4px 8px rgba(63, 117, 160, 0.2);
    animation: pulseGlow 2s ease-in-out infinite;
}

.counting {
    display: inline-block;
}

/* CTA Message */
.cta-message {
    margin-top: 2rem;
    padding: 1.25rem;
    background: linear-gradient(135deg, rgba(63, 117, 160, 0.1) 0%, rgba(0, 44, 77, 0.05) 100%);
    border-radius: var(--radius-lg);
    border: 2px solid var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.cta-icon {
    font-size: 1.5rem;
    color: var(--color-accent);
    font-weight: bold;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--color-text);
    margin: 0;
    font-weight: 500;
}

.cta-text .highlight {
    color: var(--color-accent);
    font-weight: 700;
    font-size: 1.25rem;
}

/* Celebration Confetti */
.celebration-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 9999;
}

.confetti {
    position: absolute;
    width: 10px;
    height: 10px;
    background: var(--color-accent);
    animation: fall 3s linear forwards;
}

.confetti:nth-child(1) { left: 10%; animation-delay: 0s; background: #3f75a0; }
.confetti:nth-child(2) { left: 30%; animation-delay: 0.2s; background: #002c4d; }
.confetti:nth-child(3) { left: 50%; animation-delay: 0.4s; background: #3f75a0; }
.confetti:nth-child(4) { left: 70%; animation-delay: 0.6s; background: #002c4d; }
.confetti:nth-child(5) { left: 90%; animation-delay: 0.8s; background: #3f75a0; }

.breakdown-title {
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--color-primary);
}

.credits-breakdown {
    background-color: var(--color-surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    margin-bottom: 2rem;
}

.credit-line {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--color-border);
    gap: 1rem;
}

.credit-line:last-child {
    border-bottom: none;
    font-weight: 600;
}

/* Enhanced Credit Line */
.credit-line-enhanced {
    padding: 1.25rem;
    margin-bottom: 1rem;
    background: white;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    animation: slideUp 0.5s ease-out both;
}

.credit-line-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    border-color: var(--color-accent);
}

.credit-line-enhanced:nth-child(1) { animation-delay: 0.1s; }
.credit-line-enhanced:nth-child(2) { animation-delay: 0.2s; }
.credit-line-enhanced:nth-child(3) { animation-delay: 0.3s; }
.credit-line-enhanced:nth-child(4) { animation-delay: 0.4s; }

.credit-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.credit-name {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1.125rem;
}

.credit-amount {
    font-weight: 700;
    color: #3F759F;
    font-size: 1.25rem;
}

.credit-description {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin-bottom: 0.75rem;
}

.credit-progress {
    margin-top: 0.75rem;
}

.progress-track {
    height: 24px;
    background: var(--color-surface);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}

.progress-bar-container {
    width: 100%;
    height: 8px;
    background: #e5e7eb;
    border-radius: 12px;
    margin: 0.5rem 0;
    overflow: hidden;
}

.progress-fill-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--color-accent) 0%, var(--color-primary) 100%);
    border-radius: 12px;
    transition: width 1s ease-out;
    min-width: 2px;
}

.progress-label {
    font-size: 0.75rem;
    color: white;
    font-weight: 600;
    white-space: nowrap;
}

.progress-label-external {
    font-size: 0.75rem;
    color: var(--color-text-light);
    font-weight: 500;
    text-align: right;
    margin-top: 0.25rem;
    padding-right: 0.5rem;
}

@keyframes expandWidth {
    from {
        width: 0 !important;
    }
}

.credit-note {
    padding: 0.75rem;
    background-color: rgba(59, 130, 246, 0.05);
    border-left: 3px solid var(--color-info);
    border-radius: var(--radius-md);
    margin: 0.5rem 0;
}

/* Lead Form */
.lead-form {
    background-color: var(--color-surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    margin: 2rem 0;
}

.form-row {
    margin-bottom: 1rem;
}

.results-cta h3 {
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.tagline {
    font-size: 1.125rem;
    color: var(--color-secondary);
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.excitement-section {
    background: linear-gradient(135deg, #F0FAF0 0%, #E8F5E8 100%);
    padding: 2rem;
    border-radius: 12px;
    margin: 1.5rem 0;
}

.excitement-text {
    font-size: 1.125rem;
    text-align: center;
    margin-bottom: 2rem;
    color: var(--color-text);
}

.course-offer {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.course-offer h4 {
    color: var(--color-primary);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.course-highlight {
    background: var(--color-primary);
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0;
    text-align: left;
}

.course-highlight h5 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    text-align: center;
}

.course-highlight ul {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.course-highlight li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Above the fold layout */
.above-fold-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.results-column {
    background: #F0FAF0;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--color-primary);
}

.course-column {
    display: flex;
    align-items: stretch;
}

.course-offer-compact {
    background: linear-gradient(135deg, var(--color-primary) 0%, #2563eb 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.course-offer-compact h4 {
    color: white;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.course-highlight-compact {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
    backdrop-filter: blur(10px);
}

.course-highlight-compact h5 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.course-benefits {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
    margin: 0;
}

.guarantee-text-compact {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    margin-bottom: 0;
}

.credits-breakdown.compact {
    max-height: 300px;
    overflow-y: auto;
}

.detailed-breakdown {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--color-border);
}

.course-details {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1.5rem;
}

.course-details h4 {
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.course-details ul {
    list-style: none;
    padding: 0;
}

.course-details li {
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .above-fold-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .results-column {
        padding: 1rem;
    }
    
    .course-offer-compact {
        padding: 1rem;
    }
    
    .course-offer-compact h4 {
        font-size: 1.1rem;
    }
    
    .course-highlight-compact h5 {
        font-size: 1rem;
    }
    
    .course-benefits {
        font-size: 0.85rem;
    }
}

.disclaimers {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    font-size: 0.75rem;
    color: var(--color-text-light);
}

.disclaimers p {
    margin-bottom: 0.5rem;
}

/* Disclaimer text styling */
.disclaimer-text {
    font-size: 0.65rem;
    color: #9ca3af;
    margin-top: 1.5rem;
    line-height: 1.3;
    opacity: 0.6;
}

.disclaimer-text.quiz-disclaimer {
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.7rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Results disclaimer - subtle and small */
.results-disclaimer {
    text-align: center;
    margin: 1rem 0;
}

.results-disclaimer p {
    font-size: 0.75rem;
    color: var(--color-text-light);
    margin: 0;
    opacity: 0.8;
}

/* Legal disclaimer in footer */
.legal-disclaimer {
    font-size: 0.7rem;
    color: var(--color-text-light);
    margin-top: 0.5rem;
    line-height: 1.4;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.7;
}

/* Lead Capture Form */
.lead-capture-form {
    background: var(--color-background);
    padding: 2rem;
    border-radius: var(--radius-xl);
    border: 1px solid var(--color-border);
    margin: 2rem auto;
    max-width: 500px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 10;
}

.lead-capture-form .form-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.lead-capture-form .form-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.5rem;
}

.lead-capture-form .form-header p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.pre-quiz-form .form-row-inline {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.pre-quiz-form .form-group {
    flex: 1;
    position: relative;
}

.pre-quiz-form .form-row {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 15;
}

.pre-quiz-form .form-input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    transition: var(--transition-fast);
    background: var(--color-background);
    position: relative;
    z-index: 20;
    pointer-events: auto;
}

.pre-quiz-form .form-input:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(63, 117, 160, 0.1);
}

.pre-quiz-form .form-input.error {
    border-color: var(--color-error);
}

/* Remove default browser validation styling */
.pre-quiz-form .form-input:invalid {
    border-color: var(--color-border);
    box-shadow: none;
}

@media (max-width: 480px) {
    .lead-capture-form {
        padding: 1.5rem;
        margin: 1rem;
    }
    
    .pre-quiz-form .form-row-inline {
        flex-direction: column;
        gap: 0.75rem;
    }
}

/* Fill-in-the-blank styling */
.fill-in-blank-group {
    text-align: center;
    margin: 2rem 0;
}

.blank-sentence {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--color-text);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    width: 100%;
    padding: 2rem 1rem;
}

.sentence-text {
    font-weight: 500;
}

.blank-input {
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    background: var(--color-background);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: center;
    width: 8rem;
    height: 4rem;
    padding: 1rem;
    transition: var(--transition-fast);
    outline: none;
    box-shadow: var(--shadow-sm);
}

.blank-input:focus {
    border-color: var(--color-secondary);
    background: rgba(63, 117, 160, 0.05);
    box-shadow: 0 0 0 3px rgba(63, 117, 160, 0.1);
    transform: translateY(-2px);
}

.blank-input::placeholder {
    color: var(--color-text-light);
    opacity: 0.7;
    font-style: italic;
    font-size: 0.9em;
}

.blank-input.error {
    border-color: var(--color-error);
    background: rgba(239, 68, 68, 0.05);
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

@media (max-width: 768px) {
    .blank-sentence {
        font-size: 0.875rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .blank-input {
        font-size: 1.25rem;
        width: 7rem;
        height: 3.5rem;
        padding: 0.75rem;
    }
}

@media (max-width: 480px) {
    .blank-sentence {
        font-size: 0.875rem;
        gap: 0.5rem;
    }
    
    .blank-input {
        font-size: 1.125rem;
        width: 6rem;
        height: 3rem;
        padding: 0.5rem;
    }
}

/* Credit Preview */
.credit-preview {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border: 2px solid #3AB1E9;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    animation: slideInUp 0.5s ease-out;
}

.preview-icon {
    font-size: 2rem;
}

.preview-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #059669;
    margin-bottom: 0.25rem;
}

.preview-label {
    font-size: 0.875rem;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

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

/* Review Summary */
.review-summary {
    background-color: var(--color-surface);
    padding: 1.5rem;
    border-radius: var(--radius-lg);
}

.review-item {
    padding: 0.5rem 0;
    display: flex;
    justify-content: space-between;
    border-bottom: 1px solid var(--color-border);
}

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

.review-label {
    font-weight: 500;
    color: var(--color-text-light);
}

.review-value {
    font-weight: 600;
    color: var(--color-text);
}

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

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

@keyframes animated-slide {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animated-fade {
    animation: animated-fade 0.8s ease-out;
}

.animated-slide {
    animation: animated-slide 0.6s ease-out both;
}

@keyframes drawCircle {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes drawCheck {
    to {
        stroke-dashoffset: 0;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        filter: brightness(1);
    }
    50% {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes fall {
    to {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

@keyframes rotate {
    from {
        transform: rotate(-180deg);
    }
    to {
        transform: rotate(0);
    }
}

/* Animated entrance classes */
.animated-fade {
    animation: fadeIn 0.6s ease-out;
}

.animated-slide {
    animation: slideUp 0.6s ease-out;
}

.animated-fade-delay {
    animation: fadeIn 0.6s ease-out 0.3s both;
}

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

/* Back to Quiz Button */
.results-back-button-container {
    margin-bottom: 2rem;
    text-align: left;
}

.btn-back-to-quiz {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: white;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-back-to-quiz:hover {
    background: var(--color-primary);
    color: white;
    transform: translateX(-4px);
}

.btn-back-to-quiz svg {
    width: 20px;
    height: 20px;
}

/* Tax Credit Type Buttons - Results Page Only */
.credit-type-buttons {
    margin-top: 0.25rem;
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    border-radius: 0;
    height: 391px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    position: relative;
    overflow: visible;
}

.credit-types-title {
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 0.75rem;
    margin-top: -1rem;
    opacity: 0.95;
    padding: 0 1.5rem;
}

.credit-buttons-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0 1.5rem 1.5rem;
    justify-content: space-evenly;
    height: 100%;
}

.credit-type-btn {
    display: block;
    padding: 0;
    background: transparent;
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: transform 0.6s ease;
    flex: 1;
    min-height: 85px;
    position: relative;
    width: 100%;
    transform-style: preserve-3d;
    perspective: 1000px;
    transform: rotateY(0deg);
}

.credit-type-btn span {
    color: white;
    pointer-events: none;
}

.credit-type-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.credit-btn-icon {
    font-size: 1.8rem;
    margin: 0;
    display: inline-block;
    width: 2.5rem;
    text-align: center;
}

/* Dynamic Case Study Section */
.case-study-section {
    margin-top: 1.5rem;
    padding: 1rem 1.25rem;
    background: linear-gradient(135deg, #E3F2FD 0%, #F0F9FF 100%);
    border-radius: 10px;
    border: 1px solid #90CAF9;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.5s ease;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.case-study-section.visible {
    opacity: 1;
    transform: translateY(0);
}

.case-study-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.case-study-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

.case-study-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
    color: var(--color-text);
}

.case-study-text span {
    color: var(--color-primary);
    font-weight: 600;
}

.case-study-text strong {
    color: var(--color-success);
    font-size: 1.1rem;
    font-weight: 700;
}

@media (max-width: 768px) {
    .case-study-content {
        flex-direction: column;
        text-align: center;
    }
    
    .case-study-text {
        font-size: 0.95rem;
    }
}

/* Card flip animation styles */
.credit-type-btn.flipped {
    transform: rotateY(180deg);
}

.credit-btn-front,
.credit-btn-back {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    backface-visibility: hidden;
    transition: all 0.6s ease;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.credit-btn-front {
    flex-direction: row;
    justify-content: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.credit-btn-back {
    flex-direction: column;
    justify-content: center;
    text-align: left;
    background: rgba(255, 255, 255, 0.95);
    color: #002c4d;
    transform: rotateY(180deg);
    font-size: 0.9rem;
    line-height: 1.5;
    padding: 1.5rem;
}

.credit-btn-back h4 {
    margin: 0 0 0.75rem 0;
    font-size: 1rem;
    font-weight: 600;
}

.credit-btn-back p {
    margin: 0;
    font-size: 0.9rem;
}

.credit-info-popup {
    display: none;
}

.credit-info-popup.hidden {
    display: none;
}

/* Quiz-only sections */
.quiz-only {
    display: block;
}

/* Hide quiz-only sections when results are shown */
body.results-active .quiz-only {
    display: none;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

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

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }

/* Mobile Responsive - Mobile First Approach */
@media (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    
    .sales-cta-title {
        font-size: 1.75rem;
    }
    
    .sales-cta-subtitle {
        font-size: 1rem;
    }
    
    .sales-cta-features {
        gap: 1rem;
    }
    
    .btn-sales-cta {
        padding: 0.875rem 2rem;
        font-size: 1.1rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-links {
        gap: 1rem;
        font-size: 0.875rem;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .quiz-header, .quiz-body, .results-header, .results-body {
        padding: 1.5rem;
    }
    
    .quiz-footer, .results-footer {
        flex-direction: column;
        padding: 1rem;
    }
    
    .btn {
        width: 100%;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

/* Mobile First - Small Phones */
@media (max-width: 480px) {
    /* Navigation */
    .site-header {
        padding: 0.75rem 0;
    }

    .navbar {
        padding: 0 1rem;
    }

    .logo-img {
        height: 35px;
    }

    .btn-sales {
        padding: 0.5rem 0.75rem;
        font-size: 0.8rem;
    }

    /* Hero Section */
    .hero {
        padding: 2rem 1rem;
    }

    .urgency-banner {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        margin-bottom: 1rem;
    }

    .hero-title {
        font-size: 1.5rem;
        line-height: 1.3;
        margin-bottom: 1rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        white-space: normal;
        padding: 0 0.5rem;
        line-height: 1.4;
        margin-bottom: 1.5rem;
    }

    /* Hero Badges - Stack in 2x2 grid */
    .hero-badges {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        padding: 0;
        margin-bottom: 1.5rem;
    }

    .badge {
        padding: 0.75rem 0.5rem;
        min-height: 70px;
    }

    .badge-amount {
        font-size: 0.85rem;
    }

    .badge-label {
        font-size: 0.65rem;
    }

    /* Secondary badges mobile */
    .hero-badges-secondary {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
        margin: 1rem 0;
    }

    .badge-secondary {
        padding: 0.75rem 0.5rem;
        min-width: 0;
    }

    .badge-secondary .badge-amount {
        font-size: 0.85rem;
    }

    .badge-secondary .badge-label {
        font-size: 0.65rem;
    }

    /* CTA Button */
    .btn-large {
        font-size: 1rem;
        padding: 0.875rem 1.5rem;
    }

    /* Calculator Container */
    .quiz-container {
        padding: 0;
    }

    .quiz-card {
        border-radius: 0;
        margin: 0;
        box-shadow: none;
    }

    .quiz-header {
        padding: 1.25rem 1rem;
    }

    .quiz-title {
        font-size: 1.5rem;
    }

    .quiz-description {
        font-size: 0.9rem;
    }

    .quiz-body {
        padding: 1rem;
    }

    /* Form Inputs */
    .form-input {
        font-size: 16px; /* Prevents zoom on iOS */
        padding: 0.875rem;
    }

    /* Stack inline forms on mobile */
    .form-row-inline {
        flex-direction: column;
        gap: 0;
    }

    .form-row-inline .input-group {
        margin-bottom: 1.25rem;
    }

    .input-label {
        font-size: 0.875rem;
    }

    /* Account Grid - Single Column */
    .account-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    /* Compact grid on mobile - 2 columns */
    .account-grid.compact {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }

    .account-grid.compact-2025 {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }

    .account-grid-2025.compact {
        grid-template-columns: 1fr;
    }

    .account-category {
        padding: 1rem;
    }

    /* Navigation Buttons */
    .quiz-footer {
        padding: 1rem;
        gap: 0.75rem;
    }

    .quiz-footer .btn {
        width: 100%;
        padding: 0.875rem;
    }

    /* Progress Indicator Mobile */
    .progress-container {
        padding: 1rem;
        margin-bottom: 1.5rem;
    }

    .progress-steps {
        max-width: 100%;
    }

    .step-label {
        font-size: 0.6rem;
    }

    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.75rem;
    }

    .step-connector {
        width: 40px;
        top: -25px;
    }

    /* Results Section */
    .results-container {
        border-radius: 0;
        margin: 0;
    }

    .results-header {
        padding: 1.5rem 1rem;
    }

    .results-title {
        font-size: 1.5rem;
    }

    .wealth-amount {
        font-size: 1.75rem;
    }

    .results-table {
        font-size: 0.75rem;
    }

    .results-table th,
    .results-table td {
        padding: 0.5rem 0.25rem;
    }

    /* Footer */
    .footer-cta {
        padding: 2rem 1rem;
    }

    .site-footer {
        padding: 2rem 1rem;
    }
}

/* Tablet and Desktop */
@media (min-width: 769px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero {
        padding: 4rem 2rem;
    }
    
    .main-content {
        padding: 0;
    }
}

@media (min-width: 1024px) {
    .quiz-card, .results-card {
        max-width: 800px;
        margin: 0 auto;
    }
}

/* Print Styles */
@media print {
    .site-header, .site-footer, .btn, .quiz-footer, .results-footer {
        display: none;
    }
    
    .results-section {
        display: block !important;
    }
    
    body {
        font-size: 12pt;
        color: black;
    }
    
    .results-header {
        background: none;
        color: black;
        border-bottom: 2px solid black;
    }
    
    .results-title, .results-subtitle {
        color: black;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Focus Styles for Accessibility */
*:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

button:focus, a:focus {
    outline: 2px solid var(--color-secondary);
    outline-offset: 2px;
}

/* Skip to Content Link for Accessibility */
.skip-to-content {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--color-primary);
    color: white;
    padding: 0.5rem 1rem;
    text-decoration: none;
    z-index: 200;
}

.skip-to-content:focus {
    top: 0;
}
/* Homepage Question Styles */
.homepage-question {
    margin: 2rem auto;
    padding: 1.5rem;
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 500px;
}

.homepage-sentence {
    font-size: 1.25rem;
    margin-bottom: 0;
    padding: 0;
    width: auto;
    pointer-events: none;
}

.homepage-sentence .blank-input {
    pointer-events: auto;
}

.homepage-input {
    background: var(--color-background);
    border: 2px solid var(--color-secondary);
    color: var(--color-primary);
    font-weight: 600;
    pointer-events: auto;
    z-index: 10;
    position: relative;
}

.homepage-input:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 138, 0.1);
}

.homepage-input.error {
    border-color: var(--color-error);
    background-color: rgba(239, 68, 68, 0.05);
}

.homepage-error-message {
    color: var(--color-error);
    font-size: 0.875rem;
    text-align: center;
    margin-top: 0.5rem;
    margin-bottom: 0;
}


/* Choice Button Styles */
.button-choice-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-choice {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: 2px solid #e0e0e0;
    background: white;
    color: var(--color-text);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: left;
}

.btn-choice:hover {
    border-color: var(--color-secondary);
    background: #F0FAF0;  /* Very light green */
}

.btn-choice.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: #3b82f6;
}

.btn-choice.selected:hover {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    border-color: #3b82f6;
}

@media (max-width: 768px) {
    .btn-choice {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
}

/* Retroactive Credits Popup Styles */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    /* Enhanced backdrop with glow */
    background: radial-gradient(circle at center, 
                rgba(125, 217, 86, 0.15) 0%, 
                rgba(0, 0, 0, 0.75) 100%);
    backdrop-filter: blur(8px);
}

.popup-content {
    /* Translucent white background */
    background: linear-gradient(135deg, 
                rgba(255, 255, 255, 0.98) 0%, 
                rgba(255, 255, 255, 0.95) 100%);
    /* Bright blue border from brand palette */
    border: 3px solid #3AB1E9;
    border-radius: var(--radius-xl);
    /* Multi-layer glow effect */
    box-shadow: 
        /* Inner glow */
        inset 0 0 30px rgba(125, 217, 86, 0.08),
        /* Border glow */
        0 0 0 1px rgba(125, 217, 86, 0.5),
        /* Close glow */
        0 0 20px rgba(125, 217, 86, 0.6),
        /* Medium glow */
        0 0 40px rgba(125, 217, 86, 0.4),
        /* Far glow */
        0 0 80px rgba(125, 217, 86, 0.3),
        /* Ambient glow */
        0 0 120px rgba(125, 217, 86, 0.2),
        /* Shadow for depth */
        0 20px 60px rgba(0, 0, 0, 0.25);
    max-width: 500px;
    width: 100%;
    max-height: 80vh;
    overflow-y: auto;
    animation: popupGlow 0.8s ease-out, popupPulse 4s ease-in-out infinite;
    position: relative;
    /* Ensure content pops */
    z-index: 1;
}

@keyframes popupGlow {
    0% {
        transform: scale(0.9) translateY(20px);
        opacity: 0;
        filter: brightness(0.8);
    }
    50% {
        transform: scale(1.02) translateY(-5px);
        filter: brightness(1.05);
    }
    100% {
        transform: scale(1) translateY(0);
        filter: brightness(1);
        opacity: 1;
        box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3), 
                    0 0 40px rgba(31, 58, 138, 0.15),
                    0 0 80px rgba(31, 58, 138, 0.08);
    }
}

/* Continuous subtle glow pulse for popup */
@keyframes popupPulse {
    0%, 100% {
        box-shadow: 
            inset 0 0 30px rgba(125, 217, 86, 0.08),
            0 0 0 1px rgba(125, 217, 86, 0.5),
            0 0 20px rgba(125, 217, 86, 0.6),
            0 0 40px rgba(125, 217, 86, 0.4),
            0 0 80px rgba(125, 217, 86, 0.3),
            0 0 120px rgba(125, 217, 86, 0.2),
            0 20px 60px rgba(0, 0, 0, 0.25);
    }
    50% {
        box-shadow: 
            inset 0 0 40px rgba(125, 217, 86, 0.12),
            0 0 0 2px rgba(125, 217, 86, 0.7),
            0 0 30px rgba(125, 217, 86, 0.8),
            0 0 60px rgba(125, 217, 86, 0.6),
            0 0 100px rgba(125, 217, 86, 0.4),
            0 0 150px rgba(125, 217, 86, 0.3),
            0 20px 70px rgba(0, 0, 0, 0.3);
    }
}

.popup-header {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, #2563eb 100%);
    border-radius: var(--radius-xl) var(--radius-xl) 0 0;
    position: relative;
    overflow: hidden;
}

.popup-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.popup-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
    text-align: center;
}

.popup-subtitle {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    line-height: 1.4;
    font-weight: 400;
    position: relative;
    z-index: 1;
}

.popup-body {
    padding: 1.5rem;
}

/* Follow-up question styling */
.popup-followup-header {
    margin-bottom: 1.25rem;
    text-align: center;
}

.popup-followup-title {
    font-size: 1.1rem;
    color: var(--color-text);
    margin: 0;
    font-weight: 600;
    line-height: 1.4;
}

.popup-followup-body {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.popup-buttons {
    gap: 0.75rem;
}

/* Removed popup-question style - questions now in header */

.popup-input {
    margin-bottom: 1rem;
}

.popup-submit {
    width: 100%;
    margin-top: 1rem;
}

.popup-validation-error {
    margin-top: 1rem;
    padding: 0.75rem;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-error);
}

.popup-validation-error .error-text {
    color: var(--color-error);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
}

.popup-choice.error {
    border-color: var(--color-error);
    background-color: rgba(239, 68, 68, 0.05);
}

/* Popup Button Styling */
.popup-primary {
    background: linear-gradient(135deg, var(--color-primary) 0%, #1d4ed8 100%);
    color: white;
    border: 2px solid transparent;
    font-weight: 700;
    padding: 1.2rem 2rem;
    font-size: 1.05rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(31, 58, 138, 0.25);
}

.popup-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.popup-primary:hover {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(31, 58, 138, 0.4);
}

.popup-primary.selected {
    background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%);
    box-shadow: 0 6px 20px rgba(31, 58, 138, 0.4);
    transform: translateY(-1px);
}

.popup-secondary {
    background: rgba(31, 58, 138, 0.05);
    color: #6b7280;
    border: 1px solid #d1d5db;
    font-weight: 400;
    padding: 1rem 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.popup-secondary:hover {
    background: rgba(31, 58, 138, 0.08);
    border-color: #9ca3af;
    color: #4b5563;
    transform: none;
    box-shadow: none;
}

.popup-secondary.selected {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
    opacity: 1;
}

/* Recommended Badge */
.popup-primary {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.button-text {
    font-size: 1.05rem;
    font-weight: 700;
}

.recommended-badge {
    font-size: 0.75rem;
    font-weight: 500;
    padding: 0.15rem 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    backdrop-filter: blur(10px);
}

/* Retroactive Credit Notification Styles */
.retroactive-notice {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    background-color: rgba(239, 68, 68, 0.1);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--color-error);
}

.retroactive-notice .notice-text {
    color: var(--color-error);
    font-size: 0.875rem;
    margin: 0;
    font-weight: 500;
}

.retroactive-notice a {
    color: var(--color-error);
    text-decoration: underline;
    font-weight: 600;
}

.retroactive-notice a:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .popup-content {
        max-width: 90%;
        margin: 1rem;
    }
    
    .popup-header,
    .popup-body {
        padding: 1rem;
    }
    
    .popup-title {
        font-size: 1.15rem;
    }
    
    .popup-subtitle {
        font-size: 0.8rem;
    }
    
    .popup-followup-title {
        font-size: 1rem;
    }
    
    .popup-primary,
    .popup-secondary {
        padding: 0.875rem 1.25rem;
    }
    
    .button-text {
        font-size: 0.95rem;
    }
    
    .recommended-badge {
        font-size: 0.65rem;
        padding: 0.1rem 0.4rem;
    }
}

/* Retroactive Credits Section */
.retroactive-opportunity {
    margin-top: 2rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #F0FAF0 0%, #E8F5E8 100%);
    border-radius: 12px;
    border: 2px solid #3f75a0;
}

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

.retroactive-title {
    color: #1e3a8a;
    margin-bottom: 1rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.retro-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.retro-amount {
    font-size: 2rem;
    font-weight: 700;
    color: #3f75a0;
    margin-bottom: 0.25rem;
}

.retro-label {
    font-size: 0.875rem;
    color: #64748b;
    font-weight: 500;
}

.retro-details p {
    margin-bottom: 1rem;
    color: #374151;
    line-height: 1.6;
}

.retro-breakdown {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 1rem;
    text-align: left;
}

.retro-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid #e5e7eb;
}

.retro-line:last-child {
    border-bottom: none;
}

.retro-line.total {
    font-weight: 600;
    color: #3f75a0;
    border-top: 2px solid #3f75a0;
    margin-top: 0.5rem;
    padding-top: 0.75rem;
}

.action-required {
    background: #E8F5E8;
    border: 1px solid #f59e0b;
    border-radius: 6px;
    padding: 0.75rem;
    font-size: 0.875rem;
    color: #92400e;
    text-align: left;
}

.action-required strong {
    color: #78350f;
}

/* ===== SECONDARY RESULTS SECTION ===== */
.secondary-results-section {
    margin: 0;
    padding: 2rem;
    background: #F0FAF0;  /* Very light green */
    min-height: 100vh;
}

/* Clean Results Header */
.results-clean-header {
    padding: 3rem 2rem 3rem 2rem;
    text-align: left;
    background: #002C4D;
    border: none;
    border-radius: 20px;
    margin: 0 0 1.5rem 0;
}

.results-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.2;
    margin: 0;
    text-align: left;
}

.amount-highlight {
    color: var(--color-accent);
    font-weight: 800;
    font-size: 4.5rem;
    display: block;
    text-shadow: none;
    margin: 0.5rem 0;
}

.credits-subtitle {
    display: block;
    font-size: 2.5rem;
    font-weight: 600;
    margin-top: -0.5rem;
}

/* Results Breakdown Card */
.results-breakdown-card {
    background: white;
    margin: 0;
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: none;
    overflow: hidden;
}

.breakdown-title {
    background: #002C4D;
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
    padding: 1.25rem;
    border-radius: 20px 20px 0 0;
    margin: 0 0 2rem 0;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.credits-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 1rem;
    padding: 0 2rem 0.5rem 2rem;
}

.credit-item {
    position: relative;
}

.credit-item-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.credit-item-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #002C4D;
}

.credit-item-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent);
}

.credit-item-description {
    font-size: 1rem;
    color: #6b7280;
    margin-bottom: 0.75rem;
}

.credit-progress-bar {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.credit-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3AB1E9 0%, #009C53 100%);
    border-radius: 4px;
    transition: width 0.5s ease;
}

/* Additional Credits CTA Section */
.additional-credits-cta {
    background: white;
    border: 2px solid var(--color-accent);
    border-radius: 20px;
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.additional-credits-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(74, 222, 128, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.05); opacity: 0.8; }
}

.additional-badge {
    display: inline-block;
    background: #f9d863;
    color: #1a3a52;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.additional-headline {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a3a52;
    margin: 0 0 0.75rem 0;
    position: relative;
    z-index: 1;
}

.additional-subtext {
    font-size: 1.1rem;
    color: #4b5563;
    margin: 0 0 1.5rem 0;
    position: relative;
    z-index: 1;
}

.additional-subtext strong {
    color: #009C53;
    font-weight: 700;
    font-size: 1.2rem;
}

.additional-cta-button {
    background: #e67e22;
    color: white;
    font-size: 1.15rem;
    font-weight: 700;
    padding: 1rem 2rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
    position: relative;
    z-index: 1;
}

.additional-cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4);
    background: #d35400;
}

/* Total Section */
.total-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 1rem;
    border-top: 2px solid #002C4D;
    margin: 0 1rem 0 1rem;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.total-label {
    font-size: 1.3rem;
    font-weight: 600;
    color: #002C4D;
    flex: 0;
    white-space: nowrap;
}

.total-amount {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--color-accent);
    text-align: right;
    white-space: nowrap;
}

.split-screen-container {
    display: flex;
    gap: 2rem;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    justify-content: center;
    align-items: stretch;
}

.results-column {
    flex: 1;
    max-width: 500px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(26, 58, 82, 0.08),
                0 3px 8px rgba(26, 58, 82, 0.04),
                0 1px 2px rgba(26, 58, 82, 0.02);
    overflow: visible;
    height: fit-content;
    border: none;
    position: relative;
}

.course-column {
    flex: 1.5;
    max-width: 700px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: fit-content;
}

.secondary-results-header {
    background: #002c4d;
    color: white;
    padding: 2rem 2rem 2.5rem;
    text-align: center;
    position: relative;
    border-radius: 20px 20px 0 0;
}


.success-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.success-icon {
    background: var(--color-success);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.success-text {
    font-weight: 500;
    font-size: 0.875rem;
}

.secondary-results-title {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.secondary-results-subtitle {
    font-size: 1.1rem;
    opacity: 0.95;
    margin-bottom: 1.5rem;
    color: white;
}

.secondary-total-amount {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.5rem;
}

.secondary-total-amount .currency-symbol {
    font-size: 2.2rem;
    font-weight: 600;
    vertical-align: top;
    margin-right: 0.25rem;
}

.secondary-total-amount .amount-value {
    font-size: 2.5rem;
    font-weight: 700;
    line-height: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.secondary-total-amount .amount-label {
    font-size: 1.25rem;
    opacity: 0.95;
    font-weight: 500;
}

.secondary-results-body {
    padding: 2.5rem;
}

/* Credit Cards Grid */
.credit-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.secondary-credit-card {
    background: linear-gradient(135deg, #F0FAF0 0%, #E8F5E8 100%);
    border: 2px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.secondary-credit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
}

.secondary-credit-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-secondary);
}

.secondary-credit-card.zero-amount {
    opacity: 0.6;
    background: #f9f9f9;
}

.secondary-credit-card.zero-amount::before {
    background: #d1d5db;
}

.credit-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.credit-card-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
    flex: 1;
}

.credit-card-amount {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-secondary);
    text-align: right;
}

.credit-card-amount.zero {
    color: #9ca3af;
}

.credit-card-description {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.4;
}

/* Secondary Retroactive Section */
.secondary-retroactive-section {
    background: linear-gradient(135deg, #F0FAF0 0%, #D4EFD6 100%);
    border: 2px solid #f97316;
    border-radius: var(--radius-lg);
    padding: 2rem;
    margin: 2rem 0;
    text-align: center;
}

.retroactive-highlight .retroactive-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: 1rem;
}

.retroactive-highlight .retroactive-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: #ea580c;
    margin-bottom: 0.5rem;
}

.retroactive-highlight .retroactive-description {
    font-size: 1rem;
    color: var(--color-text);
    margin: 0;
}

/* Secondary CTA Section */
.secondary-cta-section {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--color-border);
    margin-top: 2rem;
}

.secondary-cta-section .btn {
    margin: 0 0.5rem 1rem 0.5rem;
    min-width: 200px;
}

.secondary-disclaimer {
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    text-align: center;
}

.secondary-disclaimer p {
    font-size: 0.875rem;
    color: var(--color-text-light);
    margin: 0;
    line-height: 1.5;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .secondary-results-header {
        padding: 2rem 1.5rem;
    }
    
    .secondary-total-amount .amount-value {
        font-size: 2rem;
    }
    
    .secondary-results-title {
        font-size: 1.75rem;
    }
    
    .secondary-results-body {
        padding: 1.5rem;
    }
    
    .credit-cards-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .secondary-cta-section .btn {
        display: block;
        width: 100%;
        margin: 0 0 1rem 0;
        min-width: auto;
    }
}


/* Custom Validation Modal */
.validation-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.validation-modal {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 450px;
    width: 90%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.validation-modal-content {
    text-align: center;
}

.validation-modal-content p {
    font-size: 1.1rem;
    color: var(--color-text);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.validation-modal-content .btn {
    min-width: 100px;
}

/* Retroactive Credits Step Styles */
.btn-choice.recommended-choice {
    position: relative;
    border: 2px solid #e0e0e0;
    background: white;
}

.btn-choice.recommended-choice:hover {
    border-color: #93c5fd;
    background: #f0f9ff;
    transform: translateY(-2px);
}

.btn-choice.recommended-choice.selected {
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border-color: #3b82f6;
}

.recommended-badge {
    display: inline-block;
    background: #3b82f6;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-left: 0.5rem;
}

.btn-choice.recommended-choice.selected .recommended-badge {
    background: white;
    color: #3b82f6;
}

.choice-main {
    display: block;
    margin-bottom: 0.25rem;
}

/* Retroactive Notice Styles */
.retroactive-notice {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border: 1px solid #93c5fd;
    border-radius: var(--radius-md);
    padding: 0.75rem 1rem;
    margin-top: 1rem;
    animation: slideIn 0.3s ease-out;
}

.retroactive-notice .notice-text {
    color: var(--color-primary);
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

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

/* Account Grid Styles */
.account-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

/* Compact 5-column layout */
.account-grid.compact {
    grid-template-columns: repeat(5, 1fr);
    gap: 0.75rem;
    margin: 1rem 0;
}

.account-category {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

/* Compact styles for smaller layout */
.account-grid.compact .account-category {
    padding: 0.75rem;
}

.account-category:hover {
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.category-header {
    margin-bottom: 1rem;
}

.account-grid.compact .category-header {
    margin-bottom: 0.5rem;
}

.category-name {
    display: block;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.account-grid.compact .category-name {
    font-size: 0.875rem;
}

.category-range {
    display: block;
    font-size: 0.875rem;
    color: #6b7280;
}

.account-grid.compact .category-range {
    font-size: 0.7rem;
}

.account-input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.25rem;
    text-align: center;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.account-input:focus {
    border-color: var(--color-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Tooltip Styles - Removed */

/* Compact 2025 Grid - 5 columns */
.account-grid.compact-2025 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.25rem;
    margin: 2rem 0 1.5rem 0;
}

.account-category-2025 {
    background: white;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 1rem 0.75rem;
    text-align: center;
    transition: all 0.3s ease;
}

.account-category-2025:hover {
    border-color: var(--color-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.15);
}

.account-category-2025 .category-header {
    margin-bottom: 0.5rem;
}

.account-category-2025 .category-name {
    display: block;
    font-weight: 600;
    color: var(--color-primary);
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}

.account-category-2025 .category-range {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
}

.account-category-2025 .account-input {
    width: 100%;
    margin: 0.5rem 0;
    text-align: center;
    padding: 0.5rem;
    font-size: 1rem;
}

.account-category-2025 .account-max {
    display: block;
    font-size: 0.75rem;
    color: #6b7280;
    margin-top: 0.25rem;
}

/* Alternative: Show price badge on hover */
.account-category::after {
    content: attr(data-value);
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--color-secondary);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.account-category:hover::after {
    opacity: 1;
}


/* Growth Projection Page Styles */
.growth-container {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.growth-input-section {
    background: white;
    border-radius: 8px;
    padding: 1.25rem;
    border: 1px solid #e5e7eb;
}

.growth-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem 0;
}

.slider-wrapper {
    flex: 1;
    position: relative;
}

.growth-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: #e5e7eb;
    outline: none;
    -webkit-appearance: none;
}

.growth-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.growth-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 8px rgba(249, 115, 22, 0.3);
}

.growth-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--color-secondary);
    cursor: pointer;
    border: none;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.slider-labels {
    display: flex;
    justify-content: space-between;
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
}

.growth-display-box {
    display: flex;
    align-items: center;
    background: #f3f4f6;
    border-radius: 6px;
    padding: 0.4rem 0.75rem;
    min-width: 80px;
}

.growth-input-field {
    width: 60px;
    background: transparent;
    border: none;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-primary);
    text-align: right;
    outline: none;
}

.percent-symbol {
    font-size: 1.25rem;
    color: var(--color-primary);
    margin-left: 0.25rem;
}

.growth-preset-buttons {
    display: flex;
    gap: 0.5rem;
    margin: 0.75rem 0;
    flex-wrap: wrap;
}

.growth-preset-btn {
    padding: 0.5rem 1.25rem;
    border: 2px solid #e5e7eb;
    background: white;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    color: #374151;
    cursor: pointer;
    transition: all 0.3s ease;
}

.growth-preset-btn:hover {
    border-color: var(--color-secondary);
    background: rgba(249, 115, 22, 0.05);
}

.growth-preset-btn.recommended {
    border-color: #10B981;
    background: rgba(16, 185, 129, 0.08);
    color: #059669;
}

.recommended-label {
    font-size: 0.75rem;
    opacity: 0.8;
}

.growth-help-text {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.4;
    margin-top: 1rem;
}

/* Projection Preview Card */
.projection-preview-card {
    background: linear-gradient(135deg, #F0FFF4 0%, #E6F7ED 100%);
    border-radius: 6px;
    padding: 0.75rem;
    border: 1px solid #10B981;
    box-shadow: 0 1px 4px rgba(16, 185, 129, 0.08);
}

.projection-title {
    font-size: 1rem;
    font-weight: 600;
    color: #002C4D;
    margin-bottom: 0.75rem;
    text-align: center;
}

.projection-visual {
    background: white;
    border-radius: 6px;
    padding: 1rem;
    box-shadow: 0 1px 3px rgba(0, 44, 77, 0.05);
}

.projection-bar-chart {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.projection-year {
    text-align: center;
    padding: 0.5rem 1rem;
    background: white;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    min-width: 90px;
}

.projection-year.highlight {
    background: var(--color-primary);
    color: white;
    transform: scale(1.02);
    box-shadow: 0 2px 6px rgba(30, 58, 138, 0.15);
    border: 1px solid var(--color-primary);
}

.year-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.8;
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.year-value {
    font-size: 1rem;
    font-weight: 600;
}

.projection-year.highlight .year-label {
    color: white;
    opacity: 0.9;
}

.projection-arrow {
    font-size: 1.5rem;
    color: #10B981;
    animation: pulse 2s infinite;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.2); }
}

.growth-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.06);
    border-radius: 6px;
    font-size: 0.8rem;
    color: #374151;
    font-weight: 500;
    border: 1px solid rgba(16, 185, 129, 0.15);
    margin-top: 0.5rem;
}

.growth-icon {
    font-size: 1.25rem;
}

#growthRateDisplay {
    font-weight: 600;
    color: var(--color-secondary);
}

@media (max-width: 768px) {
    .growth-controls {
        flex-direction: column;
        gap: 1rem;
    }
    
    .slider-wrapper {
        width: 100%;
    }
    
    .projection-bar-chart {
        flex-direction: column;
    }
    
    .projection-arrow {
        transform: rotate(90deg);
    }
}

/* Results Page Styles */
.results-section {
    background: #f9fafb;
    padding: 3rem 0;
    min-height: 100vh;
}

.results-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.results-header {
    text-align: center;
    margin-bottom: 3rem;
    padding: 3rem;
    background: linear-gradient(135deg, #ffffff 0%, #f0fdf4 50%, #dcfce7 100%);
    border-radius: 24px;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.1);
    position: relative;
    overflow: hidden;
}

.results-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

.results-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(63, 117, 159, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-20px) scale(1.05); }
}

.accrue-brand-message {
    margin-bottom: 2rem;
}

.results-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
    margin-top: 0.5rem;
    font-weight: 500;
    animation: fadeIn 1s ease-out 0.3s both;
    position: relative;
    z-index: 1;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.wealth-tagline {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 1rem;
    color: #10B981;
    margin-top: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.75px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    padding: 0.75rem 1.5rem;
    border-radius: 20px;
    border: 2px solid rgba(16, 185, 129, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

.wealth-tagline span {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #10B981;
    font-size: 0.85rem;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

.results-title {
    font-size: 2.75rem;
    font-weight: 800;
    background: linear-gradient(135deg, #002C4D 0%, #3F759F 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: titleSlide 0.8s ease-out;
    position: relative;
    z-index: 1;
}

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

.total-wealth-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    margin-top: 2.5rem;
    padding: 2rem;
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 44, 77, 0.12);
    border: 3px solid #10B981;
    position: relative;
    z-index: 1;
    animation: popIn 0.6s ease-out 0.5s both;
}

@keyframes popIn {
    from {
        transform: scale(0.9);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.wealth-label {
    font-size: 1.1rem;
    color: #374151;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

.wealth-amount {
    font-size: 4rem;
    font-weight: 900;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    animation: countUp 1.5s ease-out;
    position: relative;
}

.wealth-amount::before {
    content: '';
    position: absolute;
    top: 50%;
    left: -40px;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2310B981"><path d="M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z"/></svg>') no-repeat center;
    background-size: contain;
    transform: translateY(-50%);
    animation: sparkle 2s ease-in-out infinite;
}

.wealth-amount::after {
    content: '';
    position: absolute;
    top: 50%;
    right: -40px;
    width: 30px;
    height: 30px;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%2310B981"><path d="M12 2L15.09 8.26L22 9.27L17 14.14L18.18 21.02L12 17.77L5.82 21.02L7 14.14L2 9.27L8.91 8.26L12 2Z"/></svg>') no-repeat center;
    background-size: contain;
    transform: translateY(-50%);
    animation: sparkle 2s ease-in-out infinite 0.5s;
}

@keyframes sparkle {
    0%, 100% { transform: translateY(-50%) scale(1) rotate(0deg); opacity: 0.7; }
    50% { transform: translateY(-50%) scale(1.2) rotate(180deg); opacity: 1; }
}

@keyframes countUp {
    from {
        transform: scale(0.5);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Results Body */
.results-body {
    display: grid;
    gap: 2rem;
}

/* Yearly Breakdown Section */
.yearly-breakdown {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 44, 77, 0.08);
    border: 2px solid #e5e7eb;
    overflow: hidden;
}

.section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 2rem 2.5rem;
    background: linear-gradient(135deg, #002C4D 0%, #3F759F 100%);
    position: relative;
}

.section-icon-bar {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon-bar::before {
    content: '';
    width: 24px;
    height: 3px;
    background: #10B981;
    position: absolute;
    top: 35%;
    border-radius: 2px;
}

.section-icon-bar::after {
    content: '';
    width: 16px;
    height: 3px;
    background: #3F759F;
    position: absolute;
    top: 55%;
    border-radius: 2px;
}

.section-icon-briefcase {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 10px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.section-icon-briefcase::before {
    content: '';
    width: 24px;
    height: 18px;
    border: 3px solid #10B981;
    border-radius: 4px;
    position: absolute;
}

.section-icon-briefcase::after {
    content: '';
    width: 8px;
    height: 6px;
    background: #10B981;
    position: absolute;
    top: 8px;
    border-radius: 2px 2px 0 0;
}

.section-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: white;
    margin: 0;
    letter-spacing: -0.5px;
}

.results-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    overflow: hidden;
    margin: 0;
}

.results-table thead {
    background: #f8fafb;
    border-bottom: 3px solid #10B981;
}

.results-table th {
    padding: 1.25rem 2rem;
    text-align: left;
    font-weight: 700;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #002C4D;
}

.results-table tbody tr {
    border-bottom: 2px solid #f3f4f6;
    transition: all 0.3s ease;
    background: white;
}

.results-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.05) 0%, rgba(16, 185, 129, 0.02) 100%);
    transform: scale(1.01);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.results-table td {
    padding: 1.25rem 2rem;
    font-size: 1.05rem;
    color: #1f2937;
    font-weight: 500;
}

.results-table tbody tr:first-child {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, rgba(16, 185, 129, 0.05) 100%);
    border-left: 4px solid #10B981;
    font-weight: 700;
}

.results-table tbody tr:first-child td {
    color: #002C4D;
}

.results-table tbody td:nth-child(3),
.results-table tbody td:nth-child(4) {
    font-weight: 600;
    color: #10B981;
}

/* Account Breakdown Section */
.account-breakdown {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafb 100%);
    padding: 0;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 44, 77, 0.08);
    border: 2px solid #e5e7eb;
    margin-bottom: 2rem;
    overflow: hidden;
}

.account-breakdown .section-header {
    background: linear-gradient(135deg, #3F759F 0%, #002C4D 100%);
}

#accountBreakdownDetails {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    padding: 2.5rem;
}

.breakdown-category {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    border-left: 5px solid #10B981;
    box-shadow: 0 4px 12px rgba(0, 44, 77, 0.08);
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}

.breakdown-category::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
    border-radius: 0 0 0 100%;
}

.breakdown-category:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.15);
    border-left-width: 8px;
}

.breakdown-category h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #002C4D;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breakdown-category p {
    font-size: 0.95rem;
    color: #6b7280;
    margin: 0.5rem 0;
    position: relative;
    z-index: 1;
    font-weight: 500;
}

.breakdown-category p:last-child {
    font-size: 2.25rem;
    font-weight: 800;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 1rem;
    position: relative;
    z-index: 1;
}

/* 2025 Bonus Highlight - Professional Modern Design */
.bonus-highlight {
    background: #002C4D;
    background-image:
        radial-gradient(circle at 20% 50%, rgba(58, 177, 233, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0, 156, 83, 0.2) 0%, transparent 50%),
        linear-gradient(135deg, #002C4D 0%, #002C4D 100%);
    border: none;
    padding: 2rem 2.5rem;
    border-radius: 20px;
    text-align: center;
    position: relative;
    box-shadow:
        0 20px 40px rgba(0, 44, 77, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    margin: 2.5rem 0;
}

.bonus-highlight.compact {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin: 1rem 0 1.5rem 0;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
}

.bonus-badge {
    background: white;
    color: #059669;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.bonus-message {
    color: white;
    font-size: 0.95rem;
    font-weight: 500;
}

.bonus-message strong {
    font-weight: 700;
    font-size: 1.1rem;
}

.bonus-icon-wrapper {
    display: inline-block;
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    margin-bottom: 1.25rem;
}

.bonus-multiplier {
    font-size: 1.5rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bonus-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: white !important;
    margin-bottom: 0.5rem;
}

.bonus-content p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 1rem;
}

.bonus-amount {
    font-size: 2.5rem;
    font-weight: 700;
    color: white !important;
    display: block;
    margin-top: 0.5rem;
}

/* Results CTA Section - Accrue Branded */
.results-cta {
    background: linear-gradient(135deg, #3F759F 0%, #002C4D 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2rem;
    position: relative;
    overflow: hidden;
}

.results-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: slide 3s infinite;
}

@keyframes slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

.results-cta h3 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.results-cta p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

.results-cta .btn-large {
    background: white;
    color: var(--color-primary);
    padding: 1.25rem 3.5rem;
    font-size: 1.125rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0.5rem;
    display: inline-block;
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.results-cta .btn-large:hover {
    background: #009C53;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.results-cta .btn-secondary {
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    padding: 1.25rem 2.5rem;
    text-transform: none;
    font-weight: 600;
}

.results-cta .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: white;
    color: var(--color-primary);
}

/* Responsive Design */
@media (max-width: 768px) {
    .results-title {
        font-size: 1.75rem;
    }
    
    .wealth-amount {
        font-size: 2rem;
    }
    
    .results-table {
        font-size: 0.875rem;
    }
    
    .results-table th,
    .results-table td {
        padding: 0.75rem 0.5rem;
    }
    
    #accountBreakdownDetails {
        grid-template-columns: 1fr;
    }
    
    .results-cta {
        padding: 2rem 1.5rem;
    }
}

/* Print Styles for Results */
@media print {
    .results-cta,
    .btn {
        display: none;
    }
    
    .results-section {
        background: white;
    }
    
    .results-table {
        border: 1px solid #000;
    }
}

/* Navigation Button Styles */
.quiz-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2.5rem 2rem;
    margin-top: 2rem;
    border-top: 1px solid #e5e7eb;
    gap: 1.5rem;
    background: linear-gradient(to bottom, #ffffff 0%, #f9fafb 100%);
}

.quiz-footer .btn {
    min-width: 150px;
    padding: 0.875rem 2rem;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.quiz-footer .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

#backToHomeBtn,
#prevBtn {
    background: white;
    color: var(--color-text);
    border: 2px solid #e5e7eb;
}

#backToHomeBtn:hover,
#prevBtn:hover {
    border-color: var(--color-primary);
    background: rgba(30, 58, 138, 0.05);
    color: var(--color-primary);
}

#nextBtn,
#nextBtn:hover {
    background: #172e6b;
    border-color: #172e6b;
}

/* Special styling for calculate button */
#calculateBtn {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border: 2px solid transparent;
    min-width: 180px;
    font-weight: 600;
    color: white;
    padding: 0.875rem 2rem;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
}

#calculateBtn:hover {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

/* Center layout with proper spacing */
.quiz-footer > button:first-child:not(:last-child) {
    margin-right: auto;
}

.quiz-footer > button:last-child:not(:first-child) {
    margin-left: auto;
}

/* When both back and next are visible */
.quiz-footer > button:first-child:last-child {
    margin: 0;
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .quiz-footer {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .quiz-footer .btn {
        width: 100%;
        min-width: 0;
    }

    .quiz-footer > button:first-child:not(:last-child),
    .quiz-footer > button:last-child:not(:first-child) {
        margin: 0;
    }
}

/* 2025 Selling Season Special Page Styles */
.bonus-alert {
    background: linear-gradient(135deg, #fff 0%, #E8F5E8 100%);
    border: 1px solid var(--color-secondary);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 4px 6px rgba(249, 115, 22, 0.1);
}

.bonus-alert.compact {
    padding: 0.875rem 1.25rem;
    margin-bottom: 1.25rem;
    background: linear-gradient(135deg, #F0FFF4 0%, #E6F7ED 100%);
    border: 1.5px solid #10B981;
    box-shadow: 0 2px 4px rgba(16, 185, 129, 0.1);
    text-align: center;
    justify-content: center;
}

.bonus-alert-icon {
    width: 60px;
    height: 60px;
    background: var(--color-secondary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    flex-shrink: 0;
}

.bonus-alert-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 0.25rem;
}

.bonus-alert-content p {
    font-size: 0.95rem;
    color: var(--color-text);
    margin: 0;
    line-height: 1.5;
}

.bonus-alert.compact .bonus-alert-content h4 {
    font-size: 0.95rem;
    color: #059669;
    font-weight: 600;
    margin: 0;
}

.bonus-alert.compact .bonus-alert-content p {
    font-size: 0.75rem;
    margin: 0.2rem 0 0;
    color: #374151;
    line-height: 1.2;
}

/* Account Grid for 2025 */
.account-grid-2025 {
    background: white;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 2rem;
    margin-top: 1.5rem;
}

/* Compact 2-column layout for Step 3 */
.account-grid-2025.compact {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    padding: 1rem;
}

.account-2025-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: #f9fafb;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.account-2025-row:hover {
    background: #f3f4f6;
    transform: translateX(4px);
}

.account-label {
    font-weight: 600;
    color: var(--color-primary);
    font-size: 1rem;
}

.account-2025-input {
    width: 100%;
    padding: 0.75rem;
    font-size: 1.125rem;
    text-align: center;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    transition: all 0.3s ease;
    background: white;
}

.account-2025-input:focus {
    border-color: var(--color-secondary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

.account-max {
    font-size: 0.875rem;
    color: #6b7280;
    white-space: nowrap;
}

.account-max span {
    font-weight: 600;
    color: var(--color-primary);
}

/* Step 3 specific styles - removed problematic overrides */

#step3 .input-label {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-primary);
    margin-bottom: 1rem;
    display: block;
}

#step3 .input-help-text {
    text-align: center;
    color: #6b7280;
    font-style: italic;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

#step3 .input-help-text.compact {
    font-size: 0.7rem;
    margin-top: 0.25rem;
    margin-bottom: -0.5rem;
    padding-top: 0;
    border-top: none;
    font-style: normal;
    opacity: 0.8;
}

#step3 .quiz-body {
    padding-bottom: 0.5rem;
}

#step3 .input-group {
    margin-bottom: 0;
}

#step4 .quiz-body {
    padding: 1rem 1.5rem;
}

/* Reduce spacing between Step 3 content and navigation buttons */
.quiz-container:has(#step3:not(.hidden)) .quiz-footer {
    padding-top: 1.25rem;
    margin-top: 0;
}

/* Responsive design for 2025 page */
@media (max-width: 768px) {
    .bonus-alert {
        flex-direction: column;
        text-align: center;
    }
    
    .account-2025-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
        padding: 1rem 0.75rem;
    }
    
    .account-label {
        margin-bottom: 0.25rem;
    }
    
    .account-max {
        text-align: center;
        margin-top: 0.25rem;
    }
}

/* Animation for 2025 promotion */
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

.promotion-banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.3), 
        transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
    border-radius: 12px;
}

.promotion-banner {
    position: relative;
    overflow: hidden;
}


/* Custom Modal Styles */
.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 450px;
    width: 90%;
    margin: 20px;
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    padding: 1.5rem 2rem 0.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.modal-title {
    color: var(--color-text);
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0;
}

.modal-body {
    padding: 1.5rem 2rem;
    color: var(--color-text);
}

.modal-body p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
}

.modal-footer {
    padding: 1rem 2rem 1.5rem;
    display: flex;
    justify-content: center;
}

.modal-footer .btn {
    min-width: 100px;
}
