/* ===== CONVERSION-OPTIMIZED STYLES FOR 35+ AUDIENCE ===== */

/* === ROOT VARIABLES === */
:root {
    /* Professional Color Palette - Digital Frontier Theme */
    --primary-blue: #2563eb;        /* Trust-inspiring blue */
    --primary-blue-dark: #1d4ed8;   /* Darker blue for hover states */
    --secondary-teal: #0891b2;      /* Modern teal accent */
    --accent-green: #059669;        /* Success/trust green */
    --warm-orange: #ea580c;         /* CTA/urgency orange */
    
    /* Neutral Colors for Readability */
    --neutral-50: #f8fafc;          /* Light background */
    --neutral-100: #f1f5f9;         /* Section backgrounds */
    --neutral-200: #e2e8f0;         /* Borders */
    --neutral-300: #cbd5e1;         /* Subtle text */
    --neutral-600: #475569;         /* Body text */
    --neutral-700: #334155;         /* Headings */
    --neutral-800: #1e293b;         /* Dark text */
    --neutral-900: #0f172a;         /* Darkest text */
    
    /* Typography - Senior-Friendly */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing & Sizing */
    --container-max: 1200px;
    --border-radius: 8px;
    --border-radius-large: 12px;
    --shadow-light: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-large: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* === GLOBAL RESET & BASE === */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    font-size: 18px; /* Larger base font for 35+ users */
    line-height: 1.7; /* Improved readability */
    color: var(--neutral-700);
    background-color: var(--neutral-50);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* High Contrast Text for Accessibility */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    color: var(--neutral-900);
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.75rem; }
}

/* === CONTAINER & LAYOUT === */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
}

/* === BUTTONS - Large & Clear === */
.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 16px 32px; /* Large touch targets */
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 200px; /* Consistent button sizes */
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    color: white;
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-blue-dark) 0%, #1e40af 100%);
    box-shadow: var(--shadow-large);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--primary-blue);
    border: 2px solid var(--primary-blue);
}

.btn-secondary:hover {
    background: var(--primary-blue);
    color: white;
}

.btn-primary.large, .btn-secondary.large {
    padding: 20px 40px;
    font-size: 20px;
    min-width: 250px;
}

/* === TRUST HEADER === */
.trust-header {
    background: var(--accent-green);
    color: white;
    padding: 12px 0;
    text-align: center;
    font-size: 14px;
}

.trust-indicators {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.trust-item {
    font-weight: 500;
}

/* === MAIN NAVIGATION === */
.main-nav {
    background: white;
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--neutral-900);
    text-decoration: none;
}

.logo img {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--neutral-700);
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: var(--primary-blue);
}

.login-link {
    color: var(--neutral-600) !important;
}

.cta-button {
    background: var(--warm-orange) !important;
    color: white !important;
    padding: 12px 24px !important;
    border-radius: var(--border-radius) !important;
    font-weight: 600 !important;
}

.cta-button:hover {
    background: #dc2626 !important;
    transform: translateY(-1px);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
}

/* === MAIN HEADER SECTION === */
.main-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-blue-dark) 100%);
    width: 100%;
    padding: 3rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.main-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="crypto-pattern" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23crypto-pattern)"/></svg>');
    opacity: 0.3;
}

.main-header-content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.main-header h1 {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.main-header .highlight {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
    font-weight: 800;
}

@media (max-width: 768px) {
    .main-header {
        padding: 2rem 0;
    }
    
    .main-header-content {
        padding: 0 1rem;
    }
    
    .main-header h1 {
        font-size: clamp(1.8rem, 8vw, 3rem);
    }
}

/* === HERO SECTION === */
.hero {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 4rem 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.highlight {
    color: var(--primary-blue);
    position: relative;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.value-points {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.value-point {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 500;
}

.value-point .icon {
    font-size: 1.5rem;
}

.hero-cta {
    text-align: center;
}

.cta-subtext {
    margin-top: 12px;
    font-size: 14px;
    color: var(--neutral-600);
}

.hero-visual {
    position: relative;
}

.hero-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-large);
}

.preview-caption {
    margin-top: 12px;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--neutral-600);
    background: var(--neutral-100);
    border-radius: var(--border-radius);
    text-align: center;
    font-style: italic;
    border-left: 3px solid var(--primary-blue);
}

.social-proof-badge {
    position: absolute;
    bottom: 60px;
    right: 20px;
    background: white;
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    z-index: 10;
}

.stars {
    color: #fbbf24;
    font-size: 1.2rem;
    margin-right: 8px;
}

.rating-text {
    font-size: 14px;
    color: var(--neutral-600);
    font-weight: 500;
}

@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .social-proof-badge {
        position: static;
        margin-top: 1rem;
        display: inline-block;
    }
    
    .preview-caption {
        font-size: 13px;
        padding: 6px 10px;
    }
}

/* === LEAD MAGNET SECTION === */
.lead-magnet {
    padding: 4rem 0;
    background: white;
}

.lead-magnet-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
}

/* Single column layout for guide-only content */
.lead-magnet-content-single {
    display: block;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.lead-magnet-content-single .magnet-text {
    text-align: center;
}

.lead-magnet-content-single .guide-features {
    display: inline-block;
    text-align: left;
    max-width: 600px;
    margin: 2rem auto;
}

.direct-download-link {
    margin-top: 1rem;
    font-size: 0.9rem;
}

.direct-download-link a {
    color: var(--primary-blue);
    text-decoration: underline;
}

.magnet-image img {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
}

.guide-features {
    list-style: none;
    margin: 1.5rem 0;
}

.guide-features li {
    margin-bottom: 8px;
    font-size: 1.1rem;
    color: var(--neutral-700);
}

.lead-form {
    background: var(--neutral-100);
    padding: 2rem;
    border-radius: var(--border-radius-large);
    margin-top: 2rem;
}

.form-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.lead-form input {
    padding: 16px;
    font-size: 16px;
    border: 2px solid var(--neutral-200);
    border-radius: var(--border-radius);
    background: white;
}

.lead-form input:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.privacy-note {
    font-size: 12px;
    color: var(--neutral-500);
    margin-top: 8px;
    text-align: center;
}

@media (max-width: 768px) {
    .lead-magnet-content {
        grid-template-columns: 1fr;
    }
    
    .lead-magnet-content-single {
        padding: 1rem;
    }
    
    .lead-magnet-content-single .guide-features {
        max-width: 100%;
        margin: 1.5rem 0;
    }
    
    .form-group {
        grid-template-columns: 1fr;
    }
}

/* === HOW IT WORKS SECTION === */
.how-it-works {
    padding: 4rem 0;
    background: var(--neutral-100);
    text-align: center;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--neutral-600);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.step {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: var(--primary-blue);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

/* === KNOWLEDGE TEST PREVIEW === */
.knowledge-test-preview {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.quiz-preview {
    max-width: 600px;
    margin: 0 auto;
    background: var(--neutral-100);
    padding: 2rem;
    border-radius: var(--border-radius-large);
}

.question-sample {
    text-align: left;
    margin-bottom: 2rem;
}

.answer-options {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 1rem;
}

.answer-options label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: white;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.answer-options label:hover {
    background: var(--neutral-200);
}

/* === ABOUT FOUNDER SECTION === */
.about-founder {
    padding: 4rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.founder-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.founder-image img {
    width: 100%;
    max-width: 300px;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-large);
}

.founder-bio h3 {
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.founder-bio p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.credentials {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin: 2rem 0;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.credential {
    text-align: center;
}

.credential .number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-green);
    margin-bottom: 0.5rem;
}

.credential .label {
    font-size: 0.9rem;
    color: var(--neutral-600);
    font-weight: 500;
}

.founder-bio blockquote {
    background: var(--primary-blue);
    color: white;
    padding: 1.5rem;
    border-radius: var(--border-radius);
    font-style: italic;
    margin: 2rem 0 0 0;
    position: relative;
}

.founder-bio blockquote::before {
    content: '"';
    font-size: 3rem;
    position: absolute;
    top: -10px;
    left: 15px;
    opacity: 0.5;
}

.founder-bio cite {
    display: block;
    margin-top: 1rem;
    font-weight: 600;
    opacity: 0.9;
}

@media (max-width: 768px) {
    .founder-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .credentials {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .credential .number {
        font-size: 1.5rem;
    }
}

/* === TESTIMONIALS === */
.testimonials {
    padding: 4rem 0;
    background: var(--neutral-100);
    text-align: center;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.testimonial {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-light);
    text-align: left;
}

.quote {
    font-size: 1.1rem;
    font-style: italic;
    margin-bottom: 1.5rem;
    color: var(--neutral-700);
    line-height: 1.6;
}

.author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.author strong {
    display: block;
    font-weight: 600;
    color: var(--neutral-900);
}

.author span {
    font-size: 14px;
    color: var(--neutral-600);
}

.trust-logos {
    margin-top: 3rem;
}

.logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.logos img {
    height: 40px;
    opacity: 0.7;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.logos img:hover {
    opacity: 1;
    filter: grayscale(0%);
}

/* === PRICING === */
.pricing {
    padding: 4rem 0;
    background: white;
    text-align: center;
}

.pricing-table {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.plan {
    background: white;
    border: 2px solid var(--neutral-200);
    border-radius: var(--border-radius-large);
    padding: 2rem;
    position: relative;
    transition: transform 0.3s ease;
}

.plan:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-large);
}

.plan.featured {
    border-color: var(--primary-blue);
    transform: scale(1.05);
}

.popular-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--warm-orange);
    color: white;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
}

/* === COMMUNITY STATS === */
.community-stats {
    background: var(--neutral-100);
    color: var(--neutral-700);
    padding: 4rem 0;
    text-align: center;
    border-top: 1px solid var(--neutral-200);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--warm-orange);
    display: block;
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-label {
    font-size: 1.1rem;
    color: var(--neutral-600);
    font-weight: 500;
}

.price {
    font-size: 3rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin: 1rem 0;
}

.price span {
    font-size: 1rem;
    color: var(--neutral-600);
    font-weight: 400;
}

.price .original-price {
    text-decoration: line-through;
    color: var(--neutral-400);
    font-size: 1.2rem;
    margin-left: 0.5rem;
}

.features {
    list-style: none;
    text-align: left;
    margin: 2rem 0;
}

.features li {
    margin-bottom: 12px;
    font-size: 1rem;
    color: var(--neutral-700);
}

.guarantee {
    font-size: 14px;
    color: var(--accent-green);
    margin-top: 1rem;
    font-weight: 500;
}

.pricing-note {
    text-align: center;
    margin-top: 2rem;
    padding: 1.5rem;
    background: var(--neutral-100);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--warm-orange);
}

.pricing-note p {
    color: var(--neutral-700);
    font-size: 1.1rem;
    margin: 0;
}

/* === FINAL CTA === */
.final-cta {
    padding: 4rem 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--secondary-teal) 100%);
    color: white;
    text-align: center;
}

.final-cta h2 {
    color: white;
    margin-bottom: 1rem;
}

.cta-options {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 2rem;
    align-items: center;
    max-width: 800px;
    margin: 3rem auto;
}

.cta-option {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    color: var(--neutral-900);
}

.cta-divider {
    font-size: 1.5rem;
    font-weight: 600;
    color: white;
}

/* Alternative CTAs specific styling */
.alternative-ctas .cta-divider {
    color: var(--neutral-600);
    background: var(--neutral-200);
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-size: 1.2rem;
}

.hidden {
    display: none;
}

.lead-form-popup {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    margin-top: 2rem;
    color: var(--neutral-900);
}

.inline-lead-form {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.inline-lead-form input {
    padding: 12px;
    border: 2px solid var(--neutral-200);
    border-radius: var(--border-radius);
    font-size: 16px;
}

@media (max-width: 768px) {
    .cta-options {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .cta-divider {
        display: none;
    }
    
    .inline-lead-form {
        flex-direction: column;
    }
}

/* === FOOTER === */
.main-footer {
    background: var(--neutral-900);
    color: var(--neutral-300);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: var(--neutral-300);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links img {
    width: 24px;
    height: 24px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.social-links img:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid var(--neutral-700);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom p {
    margin-bottom: 8px;
    font-size: 14px;
}

/* === ACCESSIBILITY IMPROVEMENTS === */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus styles for keyboard navigation */
a:focus, button:focus, input:focus {
    outline: 3px solid var(--primary-blue);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-blue: #0000ff;
        --neutral-700: #000000;
        --neutral-900: #000000;
    }
}

/* Large text support */
@media (min-resolution: 1.5dppx) {
    body {
        font-size: 20px;
    }
}

/* === REGISTRATION PAGE STYLES === */
.registration-page {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
}

.simple-nav {
    background: white;
    padding: 1rem 0;
    box-shadow: var(--shadow-light);
}

.simple-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.help-text {
    color: var(--neutral-600);
    font-size: 14px;
}

.registration-main {
    padding: 2rem 0 4rem;
}

.registration-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

/* === VALUE SECTION === */
.value-section {
    padding: 2rem 0;
}

.value-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--neutral-600);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.benefits-list {
    margin: 2rem 0;
}

.benefits-list h3 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--neutral-800);
}

.benefits-list ul {
    list-style: none;
    padding: 0;
}

.benefits-list li {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
}

.benefit-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: 4px;
}

.benefits-list strong {
    display: block;
    color: var(--neutral-900);
    margin-bottom: 4px;
}

.benefits-list p {
    color: var(--neutral-600);
    margin: 0;
    font-size: 0.95rem;
}

.social-proof {
    background: white;
    padding: 1.5rem;
    border-radius: var(--border-radius-large);
    margin: 2rem 0;
    box-shadow: var(--shadow-light);
}

.social-proof .rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 1rem;
}

.testimonial-snippet blockquote {
    font-style: italic;
    margin: 0 0 8px 0;
    color: var(--neutral-700);
}

.testimonial-snippet cite {
    font-size: 14px;
    color: var(--neutral-600);
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--neutral-100);
    padding: 8px 12px;
    border-radius: var(--border-radius);
    font-size: 14px;
    font-weight: 500;
}

.badge-icon {
    font-size: 16px;
}

/* === FORM SECTION === */
.form-section {
    display: flex;
    justify-content: center;
}

.form-container {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-large);
    width: 100%;
    max-width: 500px;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h2 {
    margin-bottom: 8px;
}

.form-header p {
    color: var(--neutral-600);
    margin: 0;
}

.registration-form .form-group {
    margin-bottom: 1.5rem;
}

.registration-form label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--neutral-700);
}

.registration-form input,
.registration-form select {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid var(--neutral-200);
    border-radius: var(--border-radius);
    background: white;
    transition: border-color 0.3s ease;
}

.registration-form input:focus,
.registration-form select:focus {
    outline: none;
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.registration-form input.error {
    border-color: #dc2626;
}

.field-error {
    display: none;
    color: #dc2626;
    font-size: 14px;
    margin-top: 4px;
}

/* Password Strength Indicator */
.password-strength {
    margin-top: 8px;
    display: none;
}

.strength-bar {
    height: 4px;
    background: var(--neutral-200);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 4px;
}

.strength-fill {
    height: 100%;
    transition: width 0.3s ease;
}

.strength-fill.strength-weak { background: #dc2626; }
.strength-fill.strength-fair { background: #ea580c; }
.strength-fill.strength-good { background: #ca8a04; }
.strength-fill.strength-strong { background: #059669; }

.strength-text {
    font-size: 12px;
    font-weight: 500;
}

/* Checkbox Styling */
.checkbox-group {
    margin-bottom: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    font-size: 14px;
    line-height: 1.5;
}

.checkbox-label input[type="checkbox"] {
    width: auto;
    margin: 0;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid var(--neutral-300);
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    position: relative;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
    background: var(--primary-blue);
    border-color: var(--primary-blue);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text a {
    color: var(--primary-blue);
    text-decoration: none;
}

.checkbox-text a:hover {
    text-decoration: underline;
}

/* Submit Button */
.register-btn {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.btn-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer p {
    font-size: 12px;
    color: var(--neutral-600);
    margin: 4px 0;
}

.security-note {
    color: var(--accent-green) !important;
}

.instant-access {
    font-weight: 500;
}

/* === MODALS AND POPUPS === */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal.hidden {
    display: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.modal-content {
    position: relative;
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius-large);
    box-shadow: var(--shadow-large);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
}

.close-btn {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: var(--neutral-600);
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .nav-actions .help-text {
        display: none;
    }
    
    .registration-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }
    
    .value-section {
        order: 2;
        padding: 1rem 0;
    }
    
    .form-section {
        order: 1;
    }
    
    .value-section h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .benefits-list li {
        margin-bottom: 1rem;
        padding: 0.75rem;
    }
    
    .form-container {
        padding: 1.5rem;
        margin: 0 1rem;
    }
    
    .modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }
    
    .trust-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .value-section h1 {
        font-size: 1.75rem;
    }
    
    .benefits-list li {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .form-container {
        padding: 1rem;
    }
    
    .registration-form input,
    .registration-form select {
        font-size: 18px; /* Prevents zoom on iOS */
    }
}

/* Print styles */
@media print {
    .simple-nav,
    .modal,
    .form-section {
        display: none;
    }
    
    .value-section {
        max-width: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .form-group input,
    .form-group select {
        border-width: 2px;
    }
    
    .benefits-list li {
        border: 1px solid var(--neutral-300);
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
