:root {
    --primary-green: #10b981;
    --text-dark: #111827;
    --text-muted: #4b5563;
    --text-light: #9ca3af;
    --border-light: #e5e7eb;
    --bg-white: #ffffff;
    --bg-light: #f9fafb;
    --max-content-width: 720px;
    --section-padding-desktop: 80px;
    --section-padding-mobile: 56px;
    --header-margin: 32px;
    --para-margin: 24px;
    --cta-margin-top: 48px;
    --cta-margin-bottom: 24px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--bg-white);
    text-align: left;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-content-width);
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Vertical Spacing System */
:root {
    --section-padding-desktop: 80px;
    --section-padding-mobile: 56px;
    --heading-body-spacing: 20px;
    --body-bullet-spacing: 16px;
    --bullet-item-spacing: 12px;
    --button-content-spacing: 32px;
}

section {
    padding: var(--section-padding-desktop) 0;
    background-color: var(--bg-white) !important;
    border-bottom: 1px solid #f0f0f0;
}

section:last-of-type {
    border-bottom: none;
}

@media (max-width: 768px) {
    section {
        padding: var(--section-padding-mobile) 0;
    }
}

/* Heading Hierarchy */
h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: var(--heading-body-spacing);
}

h3 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: var(--heading-body-spacing);
    margin-top: 0;
}

/* CTA Styles */
.cta-button.secondary {
    padding: 0.75rem 1.5rem;
    font-size: 0.875rem;
    background-color: #059669; /* Lower contrast green */
}

.section-cta {
    margin-top: var(--button-content-spacing);
    margin-bottom: 0;
    padding: 0;
}

/* Bullet Styling */
.arrow-list li {
    padding-left: 1.75rem;
    position: relative;
    margin-bottom: var(--bullet-item-spacing);
    font-size: 0.9375rem;
}

.arrow-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-green);
    font-weight: bold;
    font-size: 0.9rem; /* Slightly smaller arrow */
}

/* Hero Cleanup */
.hero {
    padding: 2.5rem 0 3rem;
    border-bottom: 1px solid #f0f0f0;
}

.hero-subheadline p {
    font-size: 0.9375rem;
    margin-bottom: var(--heading-body-spacing);
    line-height: 1.6;
    max-width: 640px;
}

.hero-cta-container {
    margin-top: var(--button-content-spacing);
}

.reassurance-text, .trust-strip {
    opacity: 0.8;
    font-size: 0.75rem;
}

.authority-signal {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    margin-bottom: 0;
}

/* Before/After Alignment */
.cv-card-caption {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.cv-card-caption strong {
    font-size: 0.875rem;
    margin-bottom: 4px;
}

.cv-card-caption p {
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.reassurance-text {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    line-height: 1.4;
}

/* Buttons */
.cta-button, .submit-button-enabled, .download-button {
    display: inline-block;
    background-color: var(--primary-green);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 0.25rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    cursor: pointer;
    font-size: 0.9375rem;
    transition: background-color 0.2s;
    text-align: center;
}

.copy-button, .layout-download-btn, .checklist-download-btn {
    display: inline-block;
    background-color: transparent;
    color: var(--primary-green);
    padding: 0.8rem 1.5rem;
    border-radius: 0.25rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--primary-green);
    cursor: pointer;
    font-size: 0.875rem;
    transition: all 0.2s;
    text-align: center;
}

.cta-button:hover, .submit-button-enabled:hover, .download-button:hover {
    background-color: #059669;
}

.copy-button:hover, .layout-download-btn:hover, .checklist-download-btn:hover {
    background-color: #f0fdf4;
}

.submit-button-disabled {
    background-color: var(--text-light);
    color: white;
    padding: 0.85rem 1.75rem;
    border-radius: 0.25rem;
    font-weight: 600;
    border: none;
    cursor: not-allowed;
    font-size: 0.9375rem;
    width: 100%;
}

.submit-button-enabled {
    width: 100%;
}

/* Success/Upload Page */
.success-header, .result-header {
    margin-bottom: 3rem;
    max-width: 720px;
}

.success-message, .instructions {
    font-size: 1.125rem;
    color: var(--text-dark);
    font-weight: 500;
    margin-bottom: 1.5rem;
    max-width: 720px;
}

.info-box, .privacy-box, .review-checklist {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    border-left: 3px solid var(--primary-green);
    padding: 1.25rem 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 0.25rem;
}

.review-checklist li {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.review-checklist .arrow-list li {
    margin-bottom: 0.4rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.form-group input[type="file"], .form-group input[type="text"] {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-light);
    border-radius: 0.25rem;
    font-family: inherit;
}

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

/* Result Page */
.cv-output {
    background: white;
    border: 1px solid var(--border-light);
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    padding: 3rem;
    border-radius: 0.5rem;
    font-family: 'Inter', sans-serif;
    line-height: 1.5;
    margin: 1.5rem 0 4rem;
    min-height: 400px;
}

.cv-controls {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: center;
}

.layout-card {
    border: 1px solid var(--border-light);
    padding: 1.25rem;
    border-radius: 0.25rem;
    margin-bottom: 1.25rem;
    display: flex;
    flex-direction: column;
}

.layout-card h4 {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.layout-description {
    font-size: 0.8125rem;
    margin-bottom: 1rem;
}

.layout-download-btn {
    width: auto;
    align-self: flex-start;
    padding: 0.5rem 1rem;
    font-size: 0.8125rem;
}

.layout-note {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    margin-top: 0.5rem;
}

.success-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-green);
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.success-indicator svg {
    width: 1rem;
    height: 1rem;
}

.layout-intro {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1.5rem;
}

.preparation-section {
    padding: 4rem 0;
    border-top: 1px solid var(--border-light);
}

/* Progress Indicator */
.progress-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
    max-width: 720px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    position: relative;
}

.step-item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 10px;
    right: -50%;
    width: 100%;
    height: 2px;
    background-color: var(--border-light);
    z-index: 1;
}

.step-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: var(--border-light);
    margin-bottom: 0.5rem;
    z-index: 2;
}

.step-item.active .step-dot {
    background-color: var(--primary-green);
}

.step-label {
    font-size: 0.75rem;
    color: var(--text-light);
    font-weight: 600;
}

.step-item.active .step-label {
    color: var(--primary-green);
}

/* Upload Card */
.upload-card {
    background-color: #ffffff;
    border: 1px solid var(--border-light);
    padding: 2.5rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
    max-width: 720px;
}

/* Collapsible Info */
.info-collapsible {
    margin-bottom: 2rem;
    max-width: 720px;
}

.info-toggle {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
}

.info-content {
    display: none;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

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

.conversion-notice {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 1rem;
    text-align: center;
}

.reassurance-pre-submit {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
    text-align: center;
    font-weight: 500;
}

.upload-helper {
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

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

.hero-subheadline p {
    font-size: 0.9375rem;
    margin-bottom: 1.25rem;
    line-height: 1.6;
    max-width: 640px;
}

.hero-cta-container {
    margin-top: 2rem;
}

.authority-signal {
    font-size: 0.8125rem;
    color: var(--text-light);
    margin-bottom: 1rem;
    line-height: 1.4;
    font-weight: 400;
}

.trust-strip {
    font-size: 0.75rem;
    color: var(--text-light);
    margin-top: 0.75rem;
    font-weight: 400;
}

/* CV Proof Area */
.before-after-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 1.5rem;
    max-width: 640px;
}

@media (max-width: 640px) {
    .before-after-container {
        grid-template-columns: 1fr;
        max-width: 100%;
    }
}

.cv-image-preview {
    border: 1px solid var(--border-light);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    height: 380px; /* Fixed height for consistency */
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
}

.cv-image-preview img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    display: block;
    filter: grayscale(100%) blur(2.5px);
    opacity: 0.6;
    object-fit: contain;
}

.cv-card-caption strong {
    display: block;
    font-size: 0.875rem;
    color: var(--text-dark);
    margin-bottom: 0.4rem;
}

.cv-card-caption p {
    font-size: 0.8125rem;
    color: var(--text-muted);
    margin: 0 0 0.75rem 0;
    line-height: 1.5;
}

.cv-card-caption .supporting-line {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
    line-height: 1.4;
}

/* Lists and Bullets */
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.arrow-list li {
    padding-left: 2rem;
    position: relative;
    margin-bottom: 1.25rem;
    font-size: 0.9375rem;
}

.arrow-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Sticky CTA */
.sticky-cta {
    position: fixed;
    top: -80px;
    left: 0;
    width: 100%;
    background: white;
    border-bottom: 1px solid var(--border-light);
    padding: 0.65rem 1.5rem;
    z-index: 1000;
    transition: top 0.3s ease;
}

.sticky-cta.visible {
    top: 0;
}

.sticky-cta-content {
    max-width: var(--max-content-width);
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* How It Works */
.how-it-works {
    padding: 5rem 0;
}

.steps {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 768px) {
    .steps {
        grid-template-columns: repeat(3, 1fr);
    }
}

.step-icon {
    width: 2rem;
    height: 2rem;
    color: var(--primary-green);
    margin-bottom: 1.25rem;
}

.step-icon svg {
    width: 100%;
    height: 100%;
}

.step-number {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.step h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.step p {
    font-size: 0.875rem;
    line-height: 1.6;
}


.faq-item {
    margin-bottom: 2.5rem;
}

.faq-question {
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-dark);
    padding-bottom: 0.5rem;
}

.faq-answer {
    padding-top: 1rem;
    display: none;
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}

.faq-answer p {
    margin-bottom: 0;
}

.faq-item.active .faq-answer {
    display: block;
}

/* Footer */
footer {
    padding: 5rem 0;
    border-top: 1px solid var(--border-light);
    font-size: 0.8125rem;
    color: var(--text-light);
    text-align: center;
}
