/* =============================================================
   FresherPro — Main Stylesheet
   All colors use CSS variables overridden by the Customizer.
   ============================================================= */

/* ── CSS VARIABLES (defaults — overridden by dynamic CSS) ── */
:root {
    --indigo:       #4F46E5;
    --indigo-light: #6366F1;
    --indigo-dark:  #3730A3;
    --green:        #22C55E;
    --green-dark:   #16A34A;
    --white:        #FFFFFF;
    --gray-50:      #F9FAFB;
    --gray-100:     #F3F4F6;
    --gray-200:     #E5E7EB;
    --gray-400:     #9CA3AF;
    --gray-500:     #6B7280;
    --gray-600:     #4B5563;
    --gray-700:     #374151;
    --gray-800:     #1F2937;
    --gray-900:     #111827;
    --font-head:    'Plus Jakarta Sans', sans-serif;
    --font-body:    'DM Sans', sans-serif;
    --radius:       14px;
    --radius-sm:    8px;
    --shadow:       0 4px 24px rgba(79,70,229,0.08);
    --shadow-md:    0 8px 40px rgba(79,70,229,0.14);
    --shadow-lg:    0 20px 60px rgba(79,70,229,0.18);
}

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    background: var(--white);
    color: var(--gray-900);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── TYPOGRAPHY ── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    line-height: 1.15;
    color: var(--gray-900);
}

h1 {
    font-size: clamp(40px, 6vw, 68px);
    font-weight: 800;
    letter-spacing: -2px;
    max-width: 780px;
    margin-bottom: 24px;
    animation: fadeUp 0.7s 0.1s ease both;
}
h1 .accent  { color: var(--indigo); }
h1 .emoji   { letter-spacing: 0; }

h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -1.2px;
    margin-bottom: 16px;
}

h3 {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--gray-900);
}

/* ── UTILITIES ── */
.container     { max-width: 1100px; margin: 0 auto; }
.text-center   { text-align: center; }
.text-center .section-sub { margin-left: auto; margin-right: auto; }

.section-label {
    font-family: var(--font-head);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--indigo);
    margin-bottom: 12px;
    display: block;
}

.section-sub {
    font-size: 17px;
    color: var(--gray-600);
    max-width: 520px;
    margin-bottom: 56px;
}

section { padding: 80px 24px; }

/* ── NAVBAR ── */
.main-navigation {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(255,255,255,0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 24px;
    height: 64px;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
}

.nav-brand { flex-shrink: 0; }

.nav-logo {
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 18px;
    color: var(--indigo);
    text-decoration: none !important;
    letter-spacing: -0.3px;
}
.nav-logo span        { color: var(--green); }
.nav-logo img         { max-height: 44px; width: auto; }

/* Primary nav menu */
.nav-menu-wrap { flex: 1; display: flex; justify-content: center; }
.nav-menu {
    list-style: none;
    display: flex; gap: 4px;
    margin: 0; padding: 0;
}
.nav-menu > li > a {
    font-family: var(--font-head);
    font-size: 14px;
    font-weight: 600;
    color: var(--gray-700);
    text-decoration: none;
    padding: 8px 14px;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.nav-menu > li > a:hover,
.nav-menu > li.current-menu-item > a {
    background: rgba(79,70,229,0.08);
    color: var(--indigo);
}
/* Submenu */
.nav-menu li { position: relative; }
.nav-menu .sub-menu {
    display: none;
    position: absolute; top: 100%; left: 0;
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-md);
    min-width: 180px;
    padding: 8px 0;
    list-style: none;
    z-index: 200;
}
.nav-menu li:hover > .sub-menu { display: block; }
.nav-menu .sub-menu a {
    display: block;
    padding: 10px 18px;
    font-size: 14px;
    color: var(--gray-700);
    text-decoration: none;
}
.nav-menu .sub-menu a:hover { background: var(--gray-50); color: var(--indigo); }

.nav-actions {
    display: flex; align-items: center; gap: 12px;
    flex-shrink: 0;
}

.nav-cart {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px;
    color: var(--gray-700);
    text-decoration: none !important;
    border-radius: 8px;
    transition: background 0.2s, color 0.2s;
}
.nav-cart:hover { background: var(--gray-100); color: var(--indigo); }
.cart-count {
    position: absolute; top: 4px; right: 4px;
    background: var(--indigo);
    color: #fff;
    font-size: 10px; font-weight: 700;
    min-width: 16px; height: 16px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    line-height: 1;
}
.cart-count:empty,
.cart-count:not(:empty)[data-count="0"] { display: none; }

.nav-cta {
    background: var(--indigo);
    color: #fff !important;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14px;
    padding: 9px 20px;
    border-radius: 8px;
    border: none; cursor: pointer;
    text-decoration: none !important;
    transition: background 0.2s, transform 0.15s;
    white-space: nowrap;
}
.nav-cta:hover { background: var(--indigo-dark); transform: translateY(-1px); }

/* Mobile toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    border-radius: 6px;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--gray-700);
    border-radius: 2px;
    transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── HERO ── */
.hero {
    min-height: 100vh;
    padding: 120px 24px 80px;
    display: flex; flex-direction: column; align-items: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background: var(--white);
}
.hero::before {
    content: '';
    position: absolute; top: -80px; left: 50%; transform: translateX(-50%);
    width: 900px; height: 600px;
    background: radial-gradient(ellipse at 50% 30%, rgba(79,70,229,0.12) 0%, rgba(99,102,241,0.06) 50%, transparent 80%);
    pointer-events: none;
}
.hero::after {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--gray-50));
    pointer-events: none;
}
.hero--has-bg {
    background: var(--hero-bg, var(--white)) center/cover no-repeat;
}

.badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(79,70,229,0.08);
    border: 1px solid rgba(79,70,229,0.2);
    color: var(--indigo);
    font-family: var(--font-head);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 14px;
    border-radius: 100px;
    margin-bottom: 28px;
    animation: fadeDown 0.6s ease both;
}
.badge::before { content: '🔥'; }

.hero-sub {
    font-size: clamp(16px, 2.2vw, 20px);
    color: var(--gray-600);
    max-width: 560px;
    margin-bottom: 40px;
    font-weight: 400;
    animation: fadeUp 0.7s 0.2s ease both;
}

.hero-actions {
    display: flex; gap: 14px; flex-wrap: wrap; justify-content: center;
    margin-bottom: 56px;
    animation: fadeUp 0.7s 0.3s ease both;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--indigo) 0%, var(--indigo-light) 100%);
    color: #fff !important;
    font-family: var(--font-head);
    font-size: 17px;
    font-weight: 700;
    padding: 16px 36px;
    border-radius: 12px;
    border: none; cursor: pointer;
    text-decoration: none !important;
    display: inline-flex; align-items: center; gap: 8px;
    box-shadow: 0 8px 32px rgba(79,70,229,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative; overflow: hidden;
}
.btn-primary::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(rgba(255,255,255,0.12), transparent);
    border-radius: inherit;
    pointer-events: none;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(79,70,229,0.42); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    background: transparent;
    color: var(--gray-700) !important;
    font-family: var(--font-head);
    font-size: 16px;
    font-weight: 600;
    padding: 16px 28px;
    border-radius: 12px;
    border: 1.5px solid var(--gray-200);
    cursor: pointer; text-decoration: none !important;
    display: inline-flex; align-items: center; gap: 8px;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.btn-secondary:hover { border-color: var(--indigo); background: rgba(79,70,229,0.04); color: var(--indigo) !important; }

.trust-bar {
    display: flex; align-items: center; gap: 8px;
    color: var(--gray-600); font-size: 14px;
    animation: fadeUp 0.7s 0.4s ease both;
}
.trust-avatars { display: flex; }
.trust-avatars span {
    width: 32px; height: 32px; border-radius: 50%;
    border: 2px solid #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 15px;
    margin-left: -8px;
    background: var(--gray-100);
}
.trust-avatars span:first-child { margin-left: 0; }
.stars { color: #FBBF24; font-size: 16px; letter-spacing: 1px; }

/* ── RESUME MOCKUP ── */
.mockup-wrap {
    margin-top: 64px;
    position: relative;
    width: 100%; max-width: 860px;
    animation: fadeUp 0.8s 0.5s ease both;
    z-index: 1;
}
.mockup-glow {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%);
    width: 600px; height: 300px;
    background: radial-gradient(ellipse, rgba(79,70,229,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.mockup-cards { display: flex; gap: 20px; justify-content: center; align-items: flex-start; flex-wrap: wrap; }

.resume-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 16px 60px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
    flex-shrink: 0;
}
.resume-card:hover { transform: translateY(-6px); box-shadow: 0 24px 80px rgba(79,70,229,0.2); }
.resume-card.main { width: 220px; }
.resume-card.side { width: 170px; margin-top: 24px; opacity: 0.85; }
.resume-card.side:hover { opacity: 1; }
.rc-header { height: 80px; display: flex; align-items: center; padding: 14px; gap: 10px; }
.rc-avatar { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; font-size: 20px; }
.rc-name-block { flex: 1; }
.rc-name  { height: 8px; border-radius: 4px; background: rgba(255,255,255,0.6); margin-bottom: 6px; width: 70%; }
.rc-title { height: 6px; border-radius: 3px; background: rgba(255,255,255,0.4); width: 50%; }
.rc-body { padding: 14px; }
.rc-section { margin-bottom: 10px; }
.rc-section-label { height: 5px; width: 40%; border-radius: 3px; background: var(--gray-900); margin-bottom: 7px; opacity: 0.7; }
.rc-line { height: 4px; border-radius: 2px; background: var(--gray-200); margin-bottom: 4px; }
.rc-line.short { width: 60%; }
.rc-line.med   { width: 80%; }
.rc-line.full  { width: 100%; }
.rc-badge { display: inline-block; padding: 3px 8px; border-radius: 20px; font-size: 9px; font-weight: 600; margin: 3px 2px; }
.theme-indigo .rc-header { background: linear-gradient(135deg, #4F46E5, #818CF8); }
.theme-green  .rc-header { background: linear-gradient(135deg, #059669, #34D399); }
.theme-dark   .rc-header { background: linear-gradient(135deg, #1F2937, #374151); }
.theme-amber  .rc-header { background: linear-gradient(135deg, #D97706, #FBBF24); }

/* ── SOCIAL PROOF ── */
.social-proof {
    background: var(--gray-50);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
    padding: 56px 24px;
}
.proof-numbers { display: flex; gap: 48px; justify-content: center; flex-wrap: wrap; margin-bottom: 56px; }
.proof-stat { text-align: center; }
.proof-stat .number {
    font-family: var(--font-head);
    font-size: 40px; font-weight: 800;
    color: var(--gray-900); letter-spacing: -2px;
    display: block; line-height: 1;
}
.proof-stat .number span { color: var(--indigo); }
.proof-stat .label { font-size: 14px; color: var(--gray-600); margin-top: 4px; font-weight: 500; }
.testimonials { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
.testimonial-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: transform 0.25s, box-shadow 0.25s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-stars { color: #FBBF24; font-size: 18px; margin-bottom: 14px; }
.t-text  { font-size: 15px; color: var(--gray-700); line-height: 1.65; margin-bottom: 20px; font-style: italic; }
.t-author { display: flex; align-items: center; gap: 12px; }
.t-avatar {
    width: 44px; height: 44px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 20px; font-weight: 700;
    color: #fff; flex-shrink: 0;
    overflow: hidden;
}
.t-avatar--img img { width: 100%; height: 100%; object-fit: cover; }
.t-info .name { font-family: var(--font-head); font-weight: 700; font-size: 15px; }
.t-info .role { font-size: 13px; color: var(--gray-400); margin-top: 2px; }

/* ── FEATURES ── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; }
.feature-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 32px 28px;
    transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
    position: relative; overflow: hidden;
}
.feature-card::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 3px;
    background: linear-gradient(90deg, var(--indigo), var(--indigo-light));
    opacity: 0; transition: opacity 0.25s;
}
.feature-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: rgba(79,70,229,0.2); }
.feature-card:hover::before { opacity: 1; }
.feature-icon {
    width: 52px; height: 52px; border-radius: 12px;
    background: rgba(79,70,229,0.08);
    display: flex; align-items: center; justify-content: center;
    font-size: 24px; margin-bottom: 18px;
    transition: background 0.25s;
}
.feature-card:hover .feature-icon { background: rgba(79,70,229,0.14); }
.feature-card p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ── PREVIEW GRID ── */
.preview-section { background: var(--gray-50); }
.preview-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
.preview-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform 0.3s, box-shadow 0.3s;
    cursor: pointer;
}
.preview-card:hover { transform: translateY(-8px) scale(1.01); box-shadow: var(--shadow-lg); }
.preview-card img { width: 100%; height: 220px; object-fit: cover; display: block; }
.preview-card-header { height: 100px; display: flex; align-items: center; padding: 18px; gap: 12px; }
.preview-card-body { padding: 18px; }
.pc-avatar { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,0.35); display: flex; align-items: center; justify-content: center; font-size: 24px; }
.pc-info { flex: 1; }
.pc-name { height: 9px; background: rgba(255,255,255,0.65); border-radius: 5px; margin-bottom: 7px; width: 75%; }
.pc-sub  { height: 7px; background: rgba(255,255,255,0.45); border-radius: 4px; width: 55%; }
.pc-section { margin-bottom: 12px; }
.pc-section-title { height: 6px; width: 35%; border-radius: 3px; background: var(--gray-800); margin-bottom: 8px; opacity: 0.6; }
.pc-line { height: 5px; border-radius: 3px; background: var(--gray-200); margin-bottom: 5px; }
.preview-label {
    font-family: var(--font-head);
    font-size: 13px; font-weight: 600;
    color: var(--gray-500);
    text-align: center;
    padding: 12px;
    border-top: 1px solid var(--gray-100);
}

/* ── EMAIL SECTION ── */
.email-section {
    background: linear-gradient(135deg, rgba(79,70,229,0.06) 0%, rgba(99,102,241,0.03) 100%);
    border-top: 1px solid var(--gray-200);
    border-bottom: 1px solid var(--gray-200);
}
.email-box { max-width: 560px; margin: 0 auto; text-align: center; }
.email-form { display: flex; gap: 12px; margin-top: 32px; flex-wrap: wrap; }
.email-form input {
    flex: 1; min-width: 160px;
    border: 1.5px solid var(--gray-200);
    border-radius: 10px;
    padding: 14px 18px;
    font-family: var(--font-body);
    font-size: 15px;
    color: var(--gray-900);
    background: #fff;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.email-form input:focus { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79,70,229,0.1); }
.email-form input::placeholder { color: var(--gray-400); }
.email-form button {
    background: var(--indigo);
    color: #fff;
    font-family: var(--font-head);
    font-size: 15px; font-weight: 700;
    padding: 14px 28px;
    border-radius: 10px;
    border: none; cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, transform 0.15s;
}
.email-form button:hover { background: var(--indigo-dark); transform: translateY(-1px); }
.form-privacy { font-size: 12px; color: var(--gray-400); margin-top: 12px; }

/* ── PRICING ── */
.pricing-wrapper { display: flex; justify-content: center; }
.pricing-card {
    background: #fff;
    border: 2px solid var(--indigo);
    border-radius: 20px;
    padding: 48px 56px;
    text-align: center;
    max-width: 480px; width: 100%;
    box-shadow: 0 20px 80px rgba(79,70,229,0.15);
    position: relative; overflow: hidden;
}
.pricing-card::before {
    content: 'BEST VALUE';
    position: absolute; top: 20px; right: -28px;
    background: var(--green);
    color: #fff;
    font-family: var(--font-head);
    font-size: 11px; font-weight: 800;
    letter-spacing: 1px;
    padding: 5px 40px;
    transform: rotate(45deg);
}
.pricing-tag {
    display: inline-block;
    background: rgba(34,197,94,0.1);
    color: var(--green-dark);
    font-family: var(--font-head);
    font-size: 13px; font-weight: 700;
    padding: 4px 14px; border-radius: 100px;
    margin-bottom: 20px;
}
.price-row { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 8px; }
.price-original {
    font-family: var(--font-head);
    font-size: 24px; font-weight: 500;
    color: var(--gray-400);
    text-decoration: line-through;
}
.price-current {
    font-family: var(--font-head);
    font-size: 68px; font-weight: 800;
    color: var(--indigo);
    letter-spacing: -3px; line-height: 1;
}
.price-current sup { font-size: 28px; letter-spacing: 0; vertical-align: super; }
.price-note { font-size: 14px; color: var(--gray-500); margin-bottom: 32px; }
.pricing-features { list-style: none; text-align: left; margin-bottom: 36px; padding: 0; }
.pricing-features li {
    display: flex; align-items: center; gap: 12px;
    font-size: 15px; color: var(--gray-700);
    padding: 9px 0;
    border-bottom: 1px solid var(--gray-100);
}
.pricing-features li:last-child { border: none; }
.pricing-features li .check { color: var(--green); font-size: 18px; flex-shrink: 0; }
.btn-buy {
    background: linear-gradient(135deg, var(--green-dark), var(--green));
    color: #fff !important;
    font-family: var(--font-head);
    font-size: 18px; font-weight: 700;
    padding: 18px 48px;
    border-radius: 12px;
    border: none; cursor: pointer;
    width: 100%;
    box-shadow: 0 8px 32px rgba(34,197,94,0.35);
    transition: transform 0.2s, box-shadow 0.2s;
    display: flex; align-items: center; justify-content: center; gap: 8px;
    text-decoration: none !important;
}
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 14px 48px rgba(34,197,94,0.45); }
.guarantee { margin-top: 20px; font-size: 13px; color: var(--gray-500); display: flex; align-items: center; justify-content: center; gap: 6px; }

/* ── Razorpay Payment Button wrapper ── */
.rzp-btn-wrap { width: 100%; margin: 0 auto; }
.rzp-btn-wrap form { margin: 0; padding: 0; width: 100%; }
/* Make the Razorpay-injected button fill the card width and match theme style */
.rzp-btn-wrap iframe,
.rzp-btn-wrap .razorpay-payment-button { width: 100% !important; min-width: 100% !important; }


/* WooCommerce price in pricing card */
.modal-wc { margin: 8px 0 20px; }
.modal-product-name { font-family: var(--font-head); font-weight: 700; font-size: 18px; margin-bottom: 4px; }
.modal-product-price { font-size: 28px; font-weight: 800; color: var(--indigo); margin-bottom: 20px; }
.modal-wc-btn { display: block; }

/* ── FAQ ── */
.faq-list { max-width: 720px; margin: 0 auto; }
.faq-item {
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-sm);
    overflow: hidden;
    margin-bottom: 12px;
    transition: box-shadow 0.2s;
}
.faq-item:hover { box-shadow: var(--shadow); }
.faq-q {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 24px;
    font-family: var(--font-head);
    font-size: 16px; font-weight: 600;
    cursor: pointer;
    user-select: none;
    background: #fff;
    color: var(--gray-900);
    gap: 16px;
}
.faq-q:hover { background: var(--gray-50); }
.faq-icon {
    width: 28px; height: 28px; border-radius: 50%;
    background: rgba(79,70,229,0.08);
    color: var(--indigo);
    display: flex; align-items: center; justify-content: center;
    font-size: 18px; font-weight: 300;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.3s;
}
.faq-item.open .faq-icon { background: var(--indigo); color: #fff; transform: rotate(45deg); }
.faq-a {
    background: var(--gray-50);
    font-size: 15px;
    color: var(--gray-600);
    line-height: 1.7;
    max-height: 0; overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s;
    padding: 0 24px;
    text-align: left;
}
.faq-item.open .faq-a { max-height: 300px; padding: 18px 24px; }

/* ── FINAL CTA ── */
.final-cta {
    background: linear-gradient(135deg, var(--indigo-dark) 0%, var(--indigo) 50%, var(--indigo-light) 100%);
    color: #fff;
    text-align: center;
}
.final-cta h2 { color: #fff; }
.btn-white {
    display: inline-flex; align-items: center; gap: 8px;
    background: #fff;
    color: var(--indigo) !important;
    font-family: var(--font-head);
    font-size: 18px; font-weight: 700;
    padding: 18px 44px;
    border-radius: 12px;
    margin-top: 32px;
    border: none; cursor: pointer;
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    transition: transform 0.2s, box-shadow 0.2s;
    text-decoration: none !important;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 16px 48px rgba(0,0,0,0.25); }
.cta-guarantee { color: rgba(255,255,255,0.7); font-size: 14px; margin-top: 20px; }

/* ── FOOTER ── */
.site-footer {
    background: var(--gray-900);
    color: var(--gray-400);
}

.footer-widgets { padding: 60px 0 40px; border-bottom: 1px solid rgba(255,255,255,0.08); }
.footer-widgets-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}
.footer-widget-title { color: #fff; font-family: var(--font-head); font-size: 15px; font-weight: 700; margin-bottom: 16px; }
.footer-widget ul { list-style: none; padding: 0; }
.footer-widget ul li { margin-bottom: 8px; }
.footer-widget ul li a { color: var(--gray-400); text-decoration: none; font-size: 14px; transition: color 0.2s; }
.footer-widget ul li a:hover { color: #fff; }

.footer-bottom { padding: 24px 0; }
.footer-bottom-inner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 16px;
}
.footer-copyright { font-size: 13px; }
.footer-copyright strong { color: #fff; }
.footer-copyright a { color: var(--gray-400); text-decoration: none; transition: color 0.2s; }
.footer-copyright a:hover { color: #fff; }

.footer-menu { display: flex; gap: 0; list-style: none; padding: 0; margin: 0 0 0 4px; }
.footer-menu li::before { content: ' · '; }
.footer-menu li a { color: var(--gray-400); text-decoration: none; font-size: 13px; transition: color 0.2s; }
.footer-menu li a:hover { color: #fff; }

.footer-trust { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-trust span { font-size: 12px; color: var(--gray-500); }

/* ── MODAL ── */
.modal-overlay {
    display: none;
    position: fixed; inset: 0; z-index: 9000;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    align-items: center; justify-content: center;
    padding: 24px;
}
.modal-overlay.show { display: flex; }
.modal {
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    max-width: 440px; width: 100%;
    text-align: center;
    position: relative;
    animation: popIn 0.35s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.modal-close {
    position: absolute; top: 16px; right: 16px;
    width: 32px; height: 32px; border-radius: 50%;
    background: var(--gray-100); border: none; cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    font-size: 16px; color: var(--gray-600);
    transition: background 0.2s;
}
.modal-close:hover { background: var(--gray-200); }
.modal h3 { font-family: var(--font-head); font-size: 22px; font-weight: 800; margin-bottom: 8px; }
.modal > p { font-size: 15px; color: var(--gray-600); margin-bottom: 24px; }
.modal .email-form { flex-direction: column; }
.modal .email-form button { width: 100%; }

/* ── GENERIC PAGE / BLOG ── */
.site-main { padding-top: 64px; } /* nav height offset */
.front-page.site-main { padding-top: 0; }

.entry-header { padding: 64px 24px 32px; text-align: center; background: var(--gray-50); border-bottom: 1px solid var(--gray-200); }
.entry-title { font-size: clamp(28px,5vw,48px); font-weight: 800; letter-spacing: -1px; }
.entry-meta { font-size: 13px; color: var(--gray-500); margin-top: 8px; }
.entry-content { max-width: 760px; margin: 0 auto; padding: 48px 24px; }
.entry-content h2 { margin-top: 36px; margin-bottom: 16px; }
.entry-content p  { margin-bottom: 20px; line-height: 1.75; color: var(--gray-700); }
.entry-content ul,
.entry-content ol { padding-left: 24px; margin-bottom: 20px; }
.entry-content li { margin-bottom: 8px; color: var(--gray-700); }
.entry-content a  { color: var(--indigo); }
.entry-content img { border-radius: var(--radius); margin: 24px 0; }
.entry-content blockquote {
    border-left: 4px solid var(--indigo);
    padding: 16px 24px;
    margin: 24px 0;
    background: rgba(79,70,229,0.05);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--gray-700);
}

/* Blog archive */
.posts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 28px; padding: 48px 24px; max-width: 1100px; margin: 0 auto; }
.post-card {
    background: #fff;
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}
.post-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.post-card-image { aspect-ratio: 16/9; overflow: hidden; }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s; }
.post-card:hover .post-card-image img { transform: scale(1.05); }
.post-card-body { padding: 24px; }
.post-card-meta { font-size: 12px; color: var(--gray-500); margin-bottom: 8px; }
.post-card-title { font-family: var(--font-head); font-size: 18px; font-weight: 700; line-height: 1.3; margin-bottom: 10px; }
.post-card-title a { color: var(--gray-900); text-decoration: none; }
.post-card-title a:hover { color: var(--indigo); }
.post-card-excerpt { font-size: 14px; color: var(--gray-600); line-height: 1.6; margin-bottom: 16px; }
.post-card-readmore { color: var(--indigo); font-weight: 600; font-size: 14px; text-decoration: none; display: inline-flex; align-items: center; gap: 4px; }
.post-card-readmore:hover { text-decoration: underline; }

/* Pagination */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 40px 24px; }
.pagination .page-numbers {
    width: 40px; height: 40px; border-radius: 8px;
    display: flex; align-items: center; justify-content: center;
    font-size: 14px; font-weight: 600;
    border: 1.5px solid var(--gray-200);
    color: var(--gray-700); text-decoration: none;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
}
.pagination .page-numbers:hover,
.pagination .page-numbers.current {
    background: var(--indigo);
    border-color: var(--indigo);
    color: #fff;
}

/* Contact Page */
.contact-wrap { max-width: 680px; margin: 0 auto; padding: 48px 24px; }
.contact-form label { display: block; font-weight: 600; font-size: 14px; margin-bottom: 6px; color: var(--gray-800); }
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%; border: 1.5px solid var(--gray-200);
    border-radius: 10px; padding: 12px 16px;
    font-family: var(--font-body); font-size: 15px;
    color: var(--gray-900); background: #fff;
    outline: none; transition: border-color 0.2s, box-shadow 0.2s;
    margin-bottom: 20px;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--indigo); box-shadow: 0 0 0 4px rgba(79,70,229,0.1); }
.contact-form textarea { resize: vertical; min-height: 140px; }
.contact-form .submit-btn {
    background: var(--indigo);
    color: #fff; font-family: var(--font-head);
    font-size: 16px; font-weight: 700;
    padding: 14px 36px; border-radius: 10px;
    border: none; cursor: pointer;
    transition: background 0.2s, transform 0.15s;
}
.contact-form .submit-btn:hover { background: var(--indigo-dark); transform: translateY(-1px); }

/* ── ANIMATIONS ── */
@keyframes fadeDown { from { opacity:0; transform:translateY(-12px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeUp   { from { opacity:0; transform:translateY(20px);  } to { opacity:1; transform:translateY(0); } }
@keyframes popIn    { from { opacity:0; transform:scale(0.85); }       to { opacity:1; transform:scale(1); }    }
@keyframes float    { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-8px); } }

.floating { animation: float 4s ease-in-out infinite; }
.fade-in { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .nav-menu-wrap { display: none; }
    .nav-toggle { display: flex; }

    /* Mobile menu open */
    .nav-menu-wrap.open {
        display: flex;
        position: fixed;
        top: 64px; left: 0; right: 0;
        background: rgba(255,255,255,0.98);
        backdrop-filter: blur(20px);
        border-bottom: 1px solid var(--gray-200);
        padding: 16px 24px 24px;
        z-index: 99;
    }
    .nav-menu-wrap.open .nav-menu {
        flex-direction: column; gap: 4px; width: 100%;
    }
    .nav-menu-wrap.open .nav-menu > li > a {
        padding: 12px 16px; display: block;
    }
    .nav-menu .sub-menu { position: static; box-shadow: none; border: none; padding-left: 16px; }
    .nav-menu li:hover > .sub-menu { display: none; } /* disable hover on mobile */
    .nav-menu .sub-menu.open { display: block; }
}

@media (max-width: 640px) {
    .main-navigation { padding: 0 16px; }
    .hero { padding: 96px 16px 60px; }
    .proof-numbers { gap: 28px; }
    .pricing-card { padding: 36px 24px; }
    .price-current { font-size: 52px; }
    .resume-card.side { display: none; }
    section { padding: 60px 16px; }
    .email-form { flex-direction: column; }
    .footer-bottom-inner { flex-direction: column; text-align: center; }
    .hero-actions { flex-direction: column; align-items: stretch; }
    .hero-actions .btn-primary,
    .hero-actions .btn-secondary { justify-content: center; }
}

@media (max-width: 480px) {
    h1 { font-size: 36px; }
    h2 { font-size: 26px; }
    .modal { padding: 28px 20px; }
    .nav-cta { font-size: 12px; padding: 7px 14px; }
}

/* ── ACCESSIBILITY ── */
:focus-visible {
    outline: 2px solid var(--indigo);
    outline-offset: 3px;
}
.skip-link:focus {
    clip: auto;
    height: auto;
    width: auto;
    overflow: visible;
    position: fixed;
    top: 10px; left: 10px;
    background: var(--indigo);
    color: #fff;
    padding: 8px 16px;
    border-radius: 8px;
    z-index: 99999;
}
