/* ============================================================
   HOME PAGE STYLES — Free Online CV Maker
   Uses design tokens from style.css
   ============================================================ */

/* Let home page sections go full-width */
.main-content:has(> section.home-hero),
.main-content:has(> section.home-hero) ~ * {
    max-width: none;
    padding: 0;
    margin: 0;
}

/* Simpler approach — override main-content when home page is active */
body .main-content {
    padding: 0;
    max-width: none;
    margin: 0;
}

/* Shared container & section helpers */
.home-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.home-section {
    padding: 90px 0;
}

.section-alt-bg {
    background: var(--light-gray);
}

/* Section header */
.section-header {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 60px;
}

.section-tag {
    display: inline-block;
    background: rgba(26, 167, 255, 0.12);
    color: var(--brand-blue);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.section-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.25;
    margin-bottom: 16px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ============================================================
   HERO
   ============================================================ */
.home-hero {
    background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 50%, #fffde7 100%);
    padding: 80px 0 90px;
    overflow: hidden;
}

.home-hero .home-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-content {
    flex: 1;
    min-width: 0;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--brand-yellow);
    color: var(--dark);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
}

.hero-badge i {
    color: #f59e0b;
    font-size: 0.75rem;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--dark);
    line-height: 1.18;
    margin-bottom: 20px;
}

.hero-title-highlight {
    color: var(--brand-blue);
    position: relative;
    display: inline-block;
}

.hero-title-highlight::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--brand-yellow);
    border-radius: 2px;
    z-index: -1;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 34px;
    max-width: 520px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 30px;
}

/* Hero buttons */
.btn-hero-primary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--brand-blue);
    color: #fff;
    font-family: var(--brand-font);
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(26, 167, 255, 0.35);
}

.btn-hero-primary:hover {
    background: #1495e6;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(26, 167, 255, 0.45);
    color: #fff;
}

.btn-hero-primary.btn-large {
    font-size: 1.1rem;
    padding: 16px 34px;
}

.btn-hero-secondary {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--brand-yellow);
    color: var(--dark);
    font-family: var(--brand-font);
    font-size: 1rem;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 14px rgba(255, 235, 56, 0.35);
}

.btn-hero-secondary:hover {
    background: #e6d630;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255, 235, 56, 0.45);
    color: var(--dark);
}

.btn-hero-ghost {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    color: #fff;
    font-family: var(--brand-font);
    font-size: 1rem;
    font-weight: 600;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    border: 2px solid rgba(255,255,255,0.55);
    transition: all 0.25s ease;
}

.btn-hero-ghost:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
}

/* Trust badges */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.trust-item i {
    color: #22c55e;
    font-size: 0.9rem;
}

/* ============================================================
   CV MOCKUP (visual decoration)
   ============================================================ */
.hero-visual {
    flex-shrink: 0;
    width: 340px;
    position: relative;
}

.hero-cv-mockup {
    position: relative;
    width: 280px;
    margin: 0 auto;
}

.cv-mockup-card {
    border-radius: 12px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
}

.cv-mockup-back {
    position: absolute;
    width: 100%;
    height: 380px;
    background: linear-gradient(135deg, #1aa7ff22, #ffeb3833);
    border: 1px solid var(--border-light);
    top: 16px;
    left: 16px;
}

.cv-mockup-front {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-light);
    padding: 24px;
    min-height: 380px;
    z-index: 2;
}

.mockup-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 2px solid var(--brand-blue);
}

.mockup-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--brand-blue), #1495e6);
    flex-shrink: 0;
}

.mockup-name-block {
    flex: 1;
}

.mockup-line {
    height: 8px;
    border-radius: 4px;
    background: var(--border-light);
    margin-bottom: 8px;
}

.mockup-line.mockup-name  { width: 70%; background: var(--dark); opacity: 0.15; height: 10px; }
.mockup-line.mockup-role  { width: 50%; background: var(--brand-blue); opacity: 0.4; }
.mockup-line.w-full { width: 100%; }
.mockup-line.w-90   { width: 90%; }
.mockup-line.w-80   { width: 80%; }
.mockup-line.w-70   { width: 70%; }
.mockup-line.mt     { margin-top: 4px; }

.mockup-body { }

.mockup-section-label {
    width: 40%;
    height: 10px;
    border-radius: 4px;
    background: var(--brand-blue);
    opacity: 0.25;
    margin-bottom: 10px;
}

.mockup-section-label.mt { margin-top: 16px; }

.mockup-skill-row {
    display: flex;
    gap: 8px;
    margin-top: 8px;
}

.mockup-skill-pill {
    height: 22px;
    width: 60px;
    border-radius: 20px;
    background: rgba(26, 167, 255, 0.15);
}

/* Floating badges on mockup */
.mockup-badge {
    position: absolute;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    padding: 8px 14px;
    font-size: 0.78rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 14px rgba(0,0,0,0.10);
    z-index: 3;
    white-space: nowrap;
}

.mockup-badge-1 {
    bottom: -16px;
    left: -24px;
    color: #22c55e;
}

.mockup-badge-1 i { color: #22c55e; }

.mockup-badge-2 {
    top: -16px;
    right: -24px;
    color: var(--brand-blue);
}

.mockup-badge-2 i { color: var(--brand-blue); }

/* ============================================================
   STATS BAR
   ============================================================ */
.home-stats {
    background: var(--dark);
    padding: 36px 0;
}

.stats-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 48px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--brand-yellow);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255,255,255,0.65);
    font-weight: 500;
    text-align: center;
}

.stat-divider {
    width: 1px;
    height: 48px;
    background: rgba(255,255,255,0.15);
}

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps-grid {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    justify-content: center;
}

.step-card {
    flex: 1;
    min-width: 220px;
    max-width: 300px;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 36px 28px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    position: relative;
}

.step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(26, 167, 255, 0.12);
}

.step-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--brand-blue);
    opacity: 0.08;
    line-height: 1;
}

.step-icon {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    background: rgba(26, 167, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 1.6rem;
    color: var(--brand-blue);
    transition: background 0.25s ease;
}

.step-card:hover .step-icon {
    background: var(--brand-blue);
    color: #fff;
}

.step-card h3 {
    font-size: 1.1rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.step-card p {
    font-size: 0.93rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin: 0;
}

.step-connector {
    color: var(--border-color);
    font-size: 1.4rem;
    flex-shrink: 0;
}

/* ============================================================
   FEATURES
   ============================================================ */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 32px 26px;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 28px rgba(26,167,255,0.10);
    border-color: rgba(26,167,255,0.3);
}

.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background: rgba(26, 167, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: var(--brand-blue);
    margin-bottom: 18px;
    transition: background 0.25s ease, color 0.25s ease;
}

.feature-card:hover .feature-icon {
    background: var(--brand-blue);
    color: #fff;
}

.feature-card h3 {
    font-size: 1.05rem;
    margin-bottom: 10px;
    color: var(--dark);
}

.feature-card p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.65;
    margin: 0;
}

/* ============================================================
   TEMPLATES PREVIEW
   ============================================================ */
.templates-preview-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
    max-width: 880px;
    margin: 0 auto;
}

.template-preview-card {
    border: 1px solid var(--border-light);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.template-preview-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.10);
}

.template-preview-img {
    height: 280px;
    background: var(--light-gray);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Stylised template previews using CSS */
.template-preview-1 {
    background: linear-gradient(145deg, #e8f4fd 0%, #f0f9ff 100%);
}

.template-preview-1::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 36%;
    background: var(--brand-blue);
    opacity: 0.85;
}

.template-preview-1::after {
    content: 'Classic Professional';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.template-preview-2 {
    background: linear-gradient(145deg, #fffde7 0%, #fff8e1 100%);
}

.template-preview-2::before {
    content: '';
    position: absolute;
    left: 0; top: 0; right: 0;
    height: 28%;
    background: var(--dark);
}

.template-preview-2::after {
    content: 'Modern Accent';
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    color: var(--dark);
    font-size: 0.75rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.template-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 167, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 5;
}

.template-preview-card:hover .template-overlay {
    opacity: 1;
}

.template-use-btn {
    background: #fff;
    color: var(--brand-blue);
    font-size: 0.92rem;
    font-weight: 700;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition: transform 0.2s ease;
}

.template-use-btn:hover {
    transform: scale(1.05);
    color: var(--brand-blue);
}

.template-preview-info {
    padding: 20px 22px;
}

.template-preview-info h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    color: var(--dark);
}

.template-preview-info p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.template-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.template-tag-pill {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--brand-blue);
    background: rgba(26,167,255,0.1);
    padding: 3px 10px;
    border-radius: 20px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.testimonial-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 14px;
    padding: 28px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 26px rgba(0,0,0,0.07);
}

.testimonial-stars {
    color: #f59e0b;
    font-size: 0.85rem;
    margin-bottom: 14px;
    letter-spacing: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
    margin-bottom: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--brand-blue);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.testimonial-author strong {
    display: block;
    font-size: 0.9rem;
    color: var(--dark);
}

.testimonial-author span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* ============================================================
   FAQ
   ============================================================ */
.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 10px;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-item.open {
    border-color: var(--brand-blue);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    font-family: var(--brand-font);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.faq-question:hover {
    color: var(--brand-blue);
}

.faq-icon {
    flex-shrink: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
    transform: rotate(180deg);
    color: var(--brand-blue);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
}

.faq-answer p {
    padding: 0 22px 20px;
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

/* ============================================================
   FINAL CTA — Premium
   ============================================================ */
.home-cta-final {
    position: relative;
    overflow: hidden;
    background: #0a0f1e;
    padding: 110px 0;
}

/* Decorative blurred orbs */
.cta-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(90px);
    pointer-events: none;
}

.cta-orb-1 {
    width: 520px;
    height: 520px;
    background: rgba(26, 167, 255, 0.18);
    top: -160px;
    left: -100px;
}

.cta-orb-2 {
    width: 380px;
    height: 380px;
    background: rgba(255, 235, 56, 0.10);
    bottom: -120px;
    right: 5%;
}

.cta-orb-3 {
    width: 220px;
    height: 220px;
    background: rgba(26, 167, 255, 0.12);
    top: 40%;
    right: 30%;
}

/* Two-column layout */
.cta-final-inner {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 80px;
}

/* Left copy */
.cta-final-copy {
    flex: 1;
    min-width: 0;
}

.cta-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--brand-yellow);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.cta-eyebrow-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--brand-yellow);
    display: inline-block;
    box-shadow: 0 0 10px rgba(255, 235, 56, 0.7);
    animation: ctaDotPulse 2s ease-in-out infinite;
}

@keyframes ctaDotPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(0.75); }
}

.cta-final-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.18;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cta-final-desc {
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.75;
    margin-bottom: 38px;
    max-width: 460px;
}

/* CTA buttons */
.cta-final-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.cta-btn-main {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: var(--brand-yellow);
    color: #0a0f1e;
    font-family: var(--brand-font);
    text-decoration: none;
    padding: 14px 26px;
    border-radius: 12px;
    transition: all 0.25s ease;
    box-shadow: 0 6px 24px rgba(255, 235, 56, 0.3);
}

.cta-btn-main i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.cta-btn-main span {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cta-btn-main strong {
    font-size: 1rem;
    font-weight: 700;
    color: #0a0f1e;
}

.cta-btn-main small {
    font-size: 0.75rem;
    font-weight: 500;
    color: rgba(10, 15, 30, 0.65);
}

.cta-btn-main:hover {
    background: #ffe600;
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(255, 235, 56, 0.45);
    color: #0a0f1e;
}

.cta-btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: transparent;
    color: rgba(255, 255, 255, 0.75);
    font-family: var(--brand-font);
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    padding: 14px 24px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.25s ease;
    backdrop-filter: blur(6px);
}

.cta-btn-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.45);
    color: #fff;
}

/* Right trust cards */
.cta-final-trust {
    flex-shrink: 0;
    width: 340px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.cta-trust-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 12px;
    padding: 18px 20px;
    backdrop-filter: blur(8px);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.cta-trust-card:hover {
    background: rgba(255, 255, 255, 0.09);
    border-color: rgba(26, 167, 255, 0.35);
}

.cta-trust-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(26, 167, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brand-blue);
    font-size: 1rem;
    flex-shrink: 0;
}

.cta-trust-card strong {
    display: block;
    font-size: 0.9rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.cta-trust-card span {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .cta-final-inner {
        flex-direction: column;
        gap: 48px;
        text-align: center;
    }

    .cta-final-copy {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .cta-final-desc {
        margin-left: auto;
        margin-right: auto;
    }

    .cta-final-actions {
        justify-content: center;
    }

    .cta-final-trust {
        width: 100%;
        max-width: 480px;
    }

    .home-hero .home-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        width: 100%;
    }

    .hero-actions,
    .hero-trust {
        justify-content: center;
    }

    .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .step-connector {
        display: none;
    }

    .steps-grid {
        gap: 20px;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }

    .templates-preview-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
}

@media (max-width: 768px) {
    .home-section {
        padding: 60px 0;
    }

    .home-hero {
        padding: 56px 0 64px;
    }

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

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

    .features-grid {
        grid-template-columns: 1fr;
        max-width: 420px;
        margin: 0 auto;
    }

    .stats-grid {
        gap: 0;
    }

    .stat-item {
        padding: 10px 24px;
    }

    .stat-divider {
        display: none;
    }

    .stats-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1px;
        background: rgba(255,255,255,0.1);
    }

    .stat-item {
        background: var(--dark);
    }

    .cta-final-title {
        font-size: 1.9rem;
    }

    .home-cta-final {
        padding: 72px 0;
    }
}

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

    .hero-badge {
        font-size: 0.75rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-hero-primary,
    .btn-hero-secondary,
    .btn-hero-ghost {
        justify-content: center;
        text-align: center;
    }

    .hero-cv-mockup {
        width: 220px;
    }

    .cv-mockup-back,
    .cv-mockup-front {
        min-height: 300px;
    }

    .home-cta-final {
        padding: 60px 0;
    }
}
