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

:root {
    --primary-color: #1a4fd8;
    --primary-hover: #1342b0;
    --primary-light: #e8effc;
    --secondary-color: #ffd166;
    --accent-coral: #ff6b6b;
    --accent-teal: #4ecdc4;
    --accent-mint: #a8e6cf;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --bg-white: #ffffff;
    --border-color: #e5e7eb;
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px -10px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--bg-white);
}

.landing-page {
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 4rem;
    background: var(--bg-white);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
}

.nav-btn {
    background: var(--primary-color);
    color: white;
    padding: 0.625rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-btn:hover {
    background: var(--primary-hover);
}

.btn {
    display: inline-block;
    padding: 0.875rem 1.75rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 25px;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

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

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-light);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
}

.hero-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 4rem;
    max-width: 1400px;
    margin: 0 auto;
    align-items: center;
    min-height: 80vh;
    background: linear-gradient(135deg, #f0f7ff 0%, #fff 50%, #e8fff5 100%);
    position: relative;
}

.hero-content {
    max-width: 550px;
}

.tagline {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.75rem;
    letter-spacing: 0.5px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.25rem;
    color: var(--text-dark);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.resume-preview-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-xl);
    width: 320px;
    position: relative;
    z-index: 2;
    border: 1px solid var(--border-color);
}

.preview-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-coral);
}

.preview-photo {
    width: 60px;
    height: 75px;
    background: linear-gradient(135deg, var(--accent-coral) 0%, #ff8e8e 100%);
    border-radius: 6px;
}

.preview-name h3 {
    font-size: 1.125rem;
    margin-bottom: 0.125rem;
}

.preview-name p {
    font-size: 0.8rem;
    color: var(--text-light);
}

.preview-section {
    margin-bottom: 1rem;
}

.preview-badge {
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.preview-line {
    height: 8px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 0.375rem;
}

.preview-line.full {
    width: 100%;
}

.preview-line.short {
    width: 60%;
}

.preview-skills {
    display: flex;
    gap: 0.5rem;
}

.preview-skills span {
    width: 50px;
    height: 20px;
    background: var(--primary-light);
    border-radius: 10px;
}

.decorative-shape {
    position: absolute;
    border-radius: 50%;
}

.shape-1 {
    width: 150px;
    height: 150px;
    background: var(--accent-mint);
    opacity: 0.5;
    top: -30px;
    right: 20px;
    z-index: 1;
}

.shape-2 {
    width: 100px;
    height: 100px;
    background: var(--accent-teal);
    opacity: 0.3;
    bottom: 20px;
    left: 0;
    z-index: 1;
}

.trust-section {
    background: var(--bg-white);
    padding: 2rem 4rem;
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

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

.trust-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.trust-logo {
    color: #9ca3af;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.trust-logo:hover {
    opacity: 1;
}

.trust-logo svg {
    height: 28px;
    width: auto;
}

.benefits-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding: 5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
    align-items: center;
}

.benefits-illustration {
    position: relative;
    display: flex;
    justify-content: center;
}

.illustration-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow-lg);
    width: 280px;
    border: 1px solid var(--border-color);
}

.illust-header {
    height: 40px;
    background: linear-gradient(90deg, var(--accent-coral) 0%, #ff8e8e 100%);
    border-radius: 6px;
    margin-bottom: 1rem;
}

.illust-body {
    margin-bottom: 1rem;
}

.illust-line {
    height: 10px;
    background: #e5e7eb;
    border-radius: 5px;
    margin-bottom: 0.5rem;
}

.illust-line.short {
    width: 70%;
}

.color-picker {
    display: flex;
    gap: 0.5rem;
    padding: 0.5rem;
    background: var(--bg-light);
    border-radius: 20px;
    width: fit-content;
}

.color-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    cursor: pointer;
}

.color-dot.blue { background: var(--primary-color); }
.color-dot.green { background: var(--accent-teal); }
.color-dot.orange { background: var(--secondary-color); }

.pencil-icon {
    position: absolute;
    font-size: 2rem;
    top: -20px;
    right: 40px;
}

.benefits-content {
    max-width: 500px;
}

.benefit-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    align-items: flex-start;
}

.benefit-number {
    width: 32px;
    height: 32px;
    background: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.875rem;
    flex-shrink: 0;
}

.benefit-text h3 {
    font-size: 1.125rem;
    margin-bottom: 0.25rem;
}

.benefit-text p {
    font-size: 0.9rem;
    color: var(--text-light);
}

.benefits-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.templates-section {
    background: var(--bg-light);
    padding: 5rem 4rem;
}

.templates-section .section-title,
.templates-section .section-subtitle {
    text-align: center;
}

.templates-layout {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.templates-filters {
    width: 250px;
    flex-shrink: 0;
    background: var(--bg-white);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: var(--shadow);
    position: sticky;
    top: 100px;
}

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

.filters-header h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
}

.clear-filters-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    font-size: 0.875rem;
    cursor: pointer;
    font-weight: 500;
}

.clear-filters-btn:hover {
    text-decoration: underline;
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.filter-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.75rem;
}

.filter-option {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.filter-option input[type="checkbox"] {
    display: none;
}

.filter-option .checkmark {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.filter-option input:checked + .checkmark {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.filter-option input:checked + .checkmark::after {
    content: '';
    width: 5px;
    height: 9px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
    margin-bottom: 2px;
}

.filter-option:hover .checkmark {
    border-color: var(--primary-color);
}

.templates-content {
    flex: 1;
    text-align: center;
}

.template-card-lg.hidden {
    display: none;
}

.no-results-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--text-light);
}

.no-results-message h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

@media (max-width: 1200px) {
    .templates-layout {
        flex-direction: column;
    }
    
    .templates-filters {
        width: 100%;
        position: static;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .filters-header {
        grid-column: 1 / -1;
    }
    
    .filter-group {
        border-bottom: none;
        padding-bottom: 0;
        margin-bottom: 0;
    }
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.templates-grid-large {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1300px;
    margin: 0 auto 3rem;
}

.template-card-lg {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.template-card-lg:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.template-preview-lg {
    height: 260px;
    background: white;
    border-bottom: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
}

.template-info {
    padding: 1rem;
    text-align: left;
}

.template-name-lg {
    font-weight: 600;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.color-options-lg {
    display: flex;
    gap: 0.375rem;
}

.color-options-lg .clr {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s;
    border: 2px solid transparent;
}

.color-options-lg .clr:hover {
    transform: scale(1.15);
}

.color-options-lg .clr.active {
    border-color: var(--text-dark);
}

.clr.navy { background: #1a4fd8; }
.clr.teal { background: #4ecdc4; }
.clr.coral { background: #ff6b6b; }
.clr.purple { background: #8b5cf6; }
.clr.green { background: #22c55e; }
.clr.black { background: #1f2937; }
.clr.gray { background: #6b7280; }
.clr.orange { background: #f97316; }
.clr.brown { background: #92400e; }

.tpl-sidebar-lg {
    width: 35%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.sidebar-left.navy .tpl-sidebar-lg { background: #1a4fd8; }
.sidebar-left.coral .tpl-sidebar-lg { background: #ff6b6b; }
.sidebar-right.green .tpl-sidebar-lg.right { 
    left: auto;
    right: 0;
    background: #22c55e; 
}

.tpl-content-lg {
    padding: 1.25rem;
    margin-left: 35%;
}

.sidebar-right .tpl-content-lg {
    margin-left: 0;
    margin-right: 35%;
}

.tpl-name-lg {
    font-size: 0.8rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
    color: var(--text-dark);
}

.tpl-name-lg.large {
    font-size: 1rem;
}

.tpl-name-lg.centered {
    text-align: center;
}

.tpl-subtitle {
    font-size: 0.65rem;
    color: var(--text-light);
    margin-bottom: 0.75rem;
}

.tpl-subtitle.centered {
    text-align: center;
}

.tpl-subtitle.muted {
    color: #9ca3af;
}

.tpl-lines-lg {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tpl-lines-lg span {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    width: 100%;
}

.tpl-lines-lg span.short {
    width: 60%;
}

.tpl-lines-lg.centered {
    align-items: center;
}

.tpl-lines-lg.centered span {
    width: 80%;
}

.tpl-section-lg {
    margin-top: 0.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.tpl-section-lg span {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    width: 100%;
}

.tpl-body-lg {
    padding: 1.25rem;
}

.tpl-body-lg.padded {
    padding: 1.5rem;
}

.tpl-header-lg {
    height: 30px;
    background: #f3f4f6;
}

.tpl-divider-lg {
    height: 2px;
    background: var(--text-dark);
    margin: 0.5rem 0;
}

.tpl-divider-lg.thin {
    height: 1px;
    background: #e5e7eb;
}

.tpl-divider-lg.accent {
    width: 40px;
    margin: 0.75rem auto;
}

.tpl-divider-lg.accent.navy {
    background: #1a4fd8;
}

.tpl-line-accent {
    height: 3px;
    width: 50px;
    border-radius: 2px;
    margin-bottom: 0.75rem;
}

.tpl-line-accent.navy {
    background: #1a4fd8;
}

.accent-top .tpl-accent-top {
    height: 8px;
    width: 100%;
}

.accent-top.teal .tpl-accent-top {
    background: #4ecdc4;
}

.two-column {
    display: flex;
}

.tpl-col-left {
    width: 35%;
    padding: 1rem;
}

.tpl-col-left.gray-bg {
    background: #f3f4f6;
}

.tpl-photo-placeholder {
    width: 50px;
    height: 60px;
    background: #d1d5db;
    border-radius: 4px;
    margin-bottom: 0.75rem;
}

.tpl-lines-sm {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.tpl-lines-sm span {
    height: 4px;
    background: #d1d5db;
    border-radius: 2px;
    width: 100%;
}

.tpl-col-right {
    flex: 1;
    padding: 1rem;
}

.header-accent .tpl-header-accent {
    height: 60px;
}

.header-accent.purple .tpl-header-accent {
    background: linear-gradient(135deg, #8b5cf6 0%, #a78bfa 100%);
}

.top-bottom-accent {
    display: flex;
    flex-direction: column;
}

.tpl-accent-bar {
    height: 6px;
}

.tpl-accent-bar.top {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
}

.tpl-accent-bar.bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.top-bottom-accent.orange .tpl-accent-bar {
    background: #f97316;
}

.photo-header .tpl-photo-header {
    height: 70px;
    display: flex;
    align-items: center;
    padding: 0 1rem;
}

.photo-header .tpl-photo-header.teal {
    background: linear-gradient(135deg, #4ecdc4 0%, #26a69a 100%);
}

.photo-header .tpl-photo-header::after {
    content: '';
    width: 45px;
    height: 55px;
    background: white;
    border-radius: 4px;
}

.double-column .tpl-two-cols {
    display: flex;
    gap: 1rem;
    margin-top: 0.75rem;
}

.double-column .tpl-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.double-column .tpl-col span {
    height: 5px;
    background: #e5e7eb;
    border-radius: 2px;
}

.templates-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.template-card {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow);
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.template-preview {
    height: 200px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
}

.template-preview.modern {
    display: flex;
}

.template-preview.modern .tpl-sidebar {
    width: 30%;
    background: var(--primary-color);
}

.template-preview.modern .tpl-content {
    padding: 1rem;
    flex: 1;
}

.template-preview.professional .tpl-header {
    height: 40px;
    background: #f3f4f6;
    border-bottom: 2px solid var(--text-dark);
}

.template-preview.professional .tpl-body {
    padding: 1rem;
}

.template-preview.creative {
    display: flex;
}

.template-preview.creative .tpl-accent {
    width: 8px;
    background: var(--accent-coral);
}

.template-preview.creative .tpl-main {
    padding: 1rem;
    flex: 1;
}

.template-preview.minimal .tpl-clean {
    padding: 1.5rem;
}

.template-preview.minimal .tpl-divider {
    height: 2px;
    background: var(--text-dark);
    margin: 0.75rem 0;
}

.tpl-name {
    font-size: 0.875rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.tpl-name.centered {
    text-align: center;
}

.tpl-lines {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.tpl-lines.centered {
    align-items: center;
}

.tpl-line {
    height: 6px;
    background: #e5e7eb;
    border-radius: 3px;
    width: 100%;
}

.tpl-line.short {
    width: 60%;
}

.template-name {
    font-weight: 600;
    color: var(--text-dark);
}

.view-more-btn {
    margin-top: 1rem;
}

.how-it-works {
    padding: 5rem 4rem;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
}

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

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

.step-illustration {
    height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.step-visual {
    background: white;
    border-radius: 12px;
    padding: 1rem;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
}

.template-visual {
    display: flex;
    gap: 0.5rem;
}

.mini-template {
    width: 40px;
    height: 55px;
    background: #e5e7eb;
    border-radius: 4px;
}

.mini-template.active {
    background: var(--primary-color);
    box-shadow: 0 0 0 3px var(--primary-light);
}

.form-visual {
    width: 120px;
}

.form-field {
    height: 12px;
    background: #e5e7eb;
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

.form-field.filled {
    background: var(--primary-color);
}

.customize-visual {
    padding: 1.5rem;
}

.color-options {
    display: flex;
    gap: 0.75rem;
}

.color-options .opt {
    width: 28px;
    height: 28px;
    background: #e5e7eb;
    border-radius: 50%;
}

.color-options .opt.active {
    background: var(--accent-teal);
    box-shadow: 0 0 0 3px rgba(78, 205, 196, 0.3);
}

.step-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.step-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

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

.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 4rem;
    background: var(--primary-color);
    color: white;
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.stat-label {
    font-size: 1rem;
    opacity: 0.9;
}

.final-cta {
    text-align: center;
    padding: 5rem 4rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8fff5 100%);
}

.final-cta h2 {
    font-size: 2.25rem;
    margin-bottom: 1rem;
}

.final-cta p {
    color: var(--text-light);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.footer {
    background: var(--text-dark);
    color: white;
    padding: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 3rem;
}

.footer-brand .logo {
    color: white;
    margin-bottom: 1rem;
    display: block;
}

.footer-brand p {
    color: #9ca3af;
    font-size: 0.9rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-col h4 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

.footer-col a {
    display: block;
    color: #9ca3af;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    transition: color 0.2s;
}

.footer-col a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #374151;
    color: #9ca3af;
    font-size: 0.875rem;
}

@media (max-width: 1024px) {
    .hero-section {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 3rem 2rem;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .benefits-section {
        grid-template-columns: 1fr;
        padding: 3rem 2rem;
    }
    
    .templates-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .templates-grid-large {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .stats-section {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 1rem 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-section {
        min-height: auto;
    }
    
    .trust-logos {
        gap: 1.5rem;
    }
    
    .templates-grid-large {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .template-preview-lg {
        height: 220px;
    }
    
    .templates-section {
        padding: 3rem 1rem;
    }
    
    .trust-logo {
        font-size: 1rem;
    }
    
    .templates-grid {
        grid-template-columns: 1fr;
        max-width: 300px;
    }
    
    .stats-section {
        grid-template-columns: 1fr 1fr;
        padding: 3rem 2rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-buttons,
    .benefits-buttons,
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        text-align: center;
    }
}

.form-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.form-main {
    flex: 1;
    max-width: 700px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.form-main h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.form-subtitle {
    color: var(--text-light);
    margin-bottom: 2rem;
}

.resume-upload-section {
    margin-bottom: 2rem;
}

.upload-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.upload-header h2 {
    font-size: 1.25rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.upload-header p {
    color: var(--text-light);
    font-size: 0.9rem;
}

.resume-upload-container {
    margin-bottom: 1rem;
}

.resume-dropzone {
    border: 2px dashed var(--border-color);
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.resume-dropzone:hover,
.resume-dropzone.dragover {
    border-color: var(--primary-color);
    background: var(--primary-light);
}

.dropzone-icon {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.dropzone-text {
    font-size: 1rem;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.browse-link {
    color: var(--primary-color);
    font-weight: 600;
    text-decoration: underline;
}

.dropzone-hint {
    font-size: 0.85rem;
    color: var(--text-light);
}

.upload-status {
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.upload-status .status-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.upload-status.loading {
    background: var(--primary-light);
    color: var(--primary-color);
}

.upload-status.success {
    background: #d1fae5;
    color: #065f46;
}

.upload-status.error {
    background: #fee2e2;
    color: #b91c1c;
}

.spinner {
    width: 20px;
    height: 20px;
    border: 2px solid var(--primary-light);
    border-top-color: var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

.divider-text {
    display: flex;
    align-items: center;
    text-align: center;
    margin: 2rem 0;
}

.divider-text::before,
.divider-text::after {
    content: '';
    flex: 1;
    border-bottom: 1px solid var(--border-color);
}

.divider-text span {
    padding: 0 1rem;
    color: var(--text-light);
    font-size: 0.9rem;
}

.pre-filled {
    background: #f0fdf4 !important;
    border-color: #86efac !important;
}

.resume-form {
    background: var(--bg-white);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

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

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

.photo-upload-group {
    text-align: center;
}

.photo-upload-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.photo-preview {
    width: 120px;
    height: 150px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    overflow: hidden;
    background: var(--bg-light);
    transition: border-color 0.2s;
}

.photo-preview:hover {
    border-color: var(--primary-color);
}

.photo-placeholder {
    color: var(--text-light);
    font-size: 0.875rem;
    text-align: center;
    padding: 0.5rem;
}

.photo-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.photo-input {
    display: none;
}

.photo-hint {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    transition: border-color 0.2s, box-shadow 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(26, 79, 216, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
}

.checkbox-group {
    margin-top: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-weight: normal;
}

.checkbox-label input[type="checkbox"] {
    width: 1.25rem;
    height: 1.25rem;
    cursor: pointer;
}

.submit-button {
    width: 100%;
    padding: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
    color: white;
    background: var(--primary-color);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.submit-button:hover {
    background: var(--primary-hover);
}

.submit-button:active {
    transform: scale(0.98);
}

.submit-button:disabled {
    background: #9ca3af;
    cursor: not-allowed;
}

.result-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.result-main {
    flex: 1;
    max-width: 850px;
    margin: 0 auto;
    padding: 2rem;
    width: 100%;
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}

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

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

.secondary-btn {
    background: var(--bg-white);
    color: var(--text-dark);
    border: 2px solid var(--border-color);
}

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

.resume-preview {
    background: var(--bg-white);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border-color);
}

.resume-header {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--text-dark);
}

.resume-header-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.resume-photo-container {
    flex-shrink: 0;
}

.resume-photo {
    width: 100px;
    height: 125px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

.resume-info {
    flex: 1;
}

.resume-info.centered {
    text-align: center;
}

.resume-header-content.with-photo .resume-info {
    text-align: left;
}

.resume-header h1 {
    font-size: 2rem;
    margin-bottom: 0.25rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.resume-job-title {
    font-size: 1.125rem;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.resume-contact {
    font-size: 0.9rem;
    color: var(--text-light);
}

.resume-section {
    margin-bottom: 1.5rem;
}

.section-title-resume {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-dark);
    margin-bottom: 0.25rem;
}

.section-divider {
    height: 2px;
    background: #d1d5db;
    margin-bottom: 0.75rem;
}

.resume-section p,
.resume-section div {
    color: var(--text-dark);
    font-size: 0.95rem;
    white-space: pre-line;
}

.cover-letter-section {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 2px solid var(--border-color);
}

.cover-letter-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.cover-letter-preview {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    white-space: pre-line;
    line-height: 1.8;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-content {
    background: var(--bg-white);
    padding: 2.5rem;
    border-radius: 12px;
    max-width: 450px;
    text-align: center;
    position: relative;
}

.close-modal {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-light);
}

.modal-content h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.modal-content p {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.nav-link {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

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

@media (max-width: 768px) {
    .form-main,
    .result-main {
        padding: 1rem;
    }
    
    .resume-form {
        padding: 1.5rem;
    }
    
    .resume-preview {
        padding: 1.5rem;
    }
    
    .resume-header h1 {
        font-size: 1.5rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
    }
}
