/*
 * TempCover — Cuvva-Inspired Theme
 * Purple-dominant, dark backgrounds, modern fintech aesthetic.
 * LAYOUT: Split hero, horizontal scroll strip, vertical timeline, spotlight testimonial.
 * ──────────────────────────────────────────────────────────── */

/* ── Override variables ──────────────────────────── */
:root {
    --tc-primary: #6544E2;
    --tc-primary-light: #7C5FF0;
    --tc-primary-dark: #4A2FC4;
    --tc-secondary: #A644E2;
    --tc-accent: #00D4AA;
    --tc-accent-light: #33E0BF;

    --tc-dark: #050224;
    --tc-gray-900: #0D0A2E;
    --tc-gray-800: #1C1640;
    --tc-gray-700: #2D2556;
    --tc-gray-600: #4A4270;
    --tc-gray-500: #6E6894;
    --tc-gray-400: #9690B8;
    --tc-gray-300: #B8B4D0;
    --tc-gray-200: #D8D5E8;
    --tc-gray-100: #EEEDF5;
    --tc-gray-50: #F7F6FB;

    --tc-shadow-primary: 0 4px 14px rgba(101, 68, 226, 0.3);
    --tc-shadow-primary-lg: 0 8px 25px rgba(101, 68, 226, 0.4);

    --tc-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ── Global overrides ────────────────────────────── */
body.theme-cuvva {
    background: var(--tc-gray-50);
    color: var(--tc-gray-900);
}

/* ── Header — dark, transparent feel ─────────────── */
body.theme-cuvva .tc-header {
    background: var(--tc-dark);
    border-bottom: 1px solid rgba(101, 68, 226, 0.15);
    box-shadow: 0 2px 20px rgba(5, 2, 36, 0.3);
}

body.theme-cuvva .tc-header__brand-name {
    color: #fff;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: -0.02em;
}

body.theme-cuvva .tc-header__menu a {
    color: rgba(255, 255, 255, 0.75);
    font-weight: 500;
}

body.theme-cuvva .tc-header__menu a:hover {
    color: #fff;
}

body.theme-cuvva .tc-header__cta {
    background: var(--tc-primary) !important;
    color: #fff !important;
    border-radius: 100px !important;
    padding: 10px 24px !important;
    font-weight: 600 !important;
    box-shadow: 0 2px 12px rgba(101, 68, 226, 0.4);
}

body.theme-cuvva .tc-header__cta:hover {
    background: var(--tc-primary-light) !important;
    box-shadow: 0 4px 20px rgba(101, 68, 226, 0.5);
}

/* Mobile toggle */
body.theme-cuvva .tc-header__toggle span {
    background: rgba(255, 255, 255, 0.8);
}

/* Mobile menu dropdown — dark bg to match header */
@media (max-width: 768px) {
    body.theme-cuvva .tc-header__menu {
        background: var(--tc-dark);
        border-bottom-color: rgba(101, 68, 226, 0.2);
    }
    body.theme-cuvva .tc-header__menu a:hover {
        background: rgba(255, 255, 255, 0.08);
    }
}

/* ── Shared section helpers ──────────────────────── */
.cv-section-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--tc-primary);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 12px;
}

.cv-section-label::before {
    content: '';
    width: 24px;
    height: 2px;
    background: var(--tc-primary);
    border-radius: 1px;
}

.cv-section-title {
    font-size: clamp(1.75rem, 4vw, 2.5rem);
    font-weight: 900;
    color: var(--tc-dark);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 0 0 16px;
}

.cv-section-subtitle {
    font-size: 17px;
    color: var(--tc-gray-500);
    font-weight: 400;
    max-width: 560px;
    line-height: 1.6;
    margin: 0 0 48px;
}

/* ── Buttons ─────────────────────────────────────── */
.cv-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 36px;
    font-size: 16px;
    font-weight: 700;
    border: none;
    border-radius: 100px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.2;
}

.cv-btn--primary {
    background: var(--tc-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(101, 68, 226, 0.4);
}

.cv-btn--primary:hover {
    background: var(--tc-primary-light);
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(101, 68, 226, 0.5);
    color: #fff;
}

.cv-btn--ghost {
    background: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.cv-btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

/* ═══════════════════════════════════════════════════
   SPLIT HERO — 50/50 text left, phone mockup right
   ═══════════════════════════════════════════════════ */
.cv-hero {
    position: relative;
    background: var(--tc-dark);
    overflow: hidden;
    padding: 100px 24px 80px;
    color: #fff;
}

.cv-hero::before {
    content: '';
    position: absolute;
    top: -40%;
    left: 30%;
    width: 140%;
    height: 120%;
    background: radial-gradient(ellipse at 50% 60%, rgba(101, 68, 226, 0.35) 0%, rgba(166, 68, 226, 0.15) 40%, transparent 70%);
    pointer-events: none;
}

.cv-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--tc-gray-50), transparent);
    pointer-events: none;
}

.cv-hero__inner {
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.cv-hero__text {
    text-align: left;
}

.cv-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(101, 68, 226, 0.2);
    border: 1px solid rgba(101, 68, 226, 0.3);
    color: #B8A4FF;
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.03em;
    margin-bottom: 28px;
    text-transform: uppercase;
}

.cv-hero__badge::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--tc-accent);
    animation: cvPulse 2s ease-in-out infinite;
}

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

.cv-hero__title {
    font-size: clamp(2.2rem, 5vw, 3.5rem);
    font-weight: 900;
    line-height: 1.08;
    letter-spacing: -0.04em;
    margin: 0 0 20px;
    color: #fff;
}

.cv-hero__title span {
    display: block;
    background: linear-gradient(135deg, var(--tc-primary-light), var(--tc-secondary), var(--tc-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cv-hero__subtitle {
    font-size: 17px;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.6);
    max-width: 480px;
    margin: 0 0 32px;
    line-height: 1.6;
}

.cv-hero__actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

/* Phone mockup ──────────────────────────────────── */
.cv-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.cv-phone {
    width: 280px;
    background: var(--tc-gray-900);
    border-radius: 36px;
    padding: 12px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(101, 68, 226, 0.2);
    position: relative;
}

.cv-phone__notch {
    width: 120px;
    height: 28px;
    background: var(--tc-dark);
    border-radius: 0 0 16px 16px;
    margin: 0 auto 8px;
}

.cv-phone__screen {
    background: linear-gradient(180deg, #0D0A2E 0%, #1C1640 100%);
    border-radius: 24px;
    padding: 16px 20px 24px;
    min-height: 380px;
}

.cv-phone__status-bar {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 16px;
}

.cv-phone__app-header {
    font-size: 18px;
    font-weight: 800;
    color: #fff;
    text-align: center;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.cv-phone__card {
    background: rgba(101, 68, 226, 0.15);
    border: 1px solid rgba(101, 68, 226, 0.3);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    margin-bottom: 16px;
}

.cv-phone__card-label {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 4px;
}

.cv-phone__card-price {
    font-size: 32px;
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
}

.cv-phone__card-detail {
    font-size: 13px;
    color: var(--tc-accent);
    margin-top: 4px;
}

.cv-phone__btn-mock {
    background: var(--tc-primary);
    color: #fff;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 16px;
    box-shadow: 0 4px 16px rgba(101, 68, 226, 0.4);
}

.cv-phone__features {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cv-phone__feature-row {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.cv-phone__check {
    color: var(--tc-accent);
    font-weight: 700;
}

/* ═══════════════════════════════════════════════════
   HORIZONTAL SCROLLING FEATURE STRIP
   ═══════════════════════════════════════════════════ */
.cv-features {
    padding: 80px 0 100px;
    background: var(--tc-gray-50);
}

.cv-features__inner {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 24px;
}

.cv-features__scroll-wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: var(--tc-gray-300) transparent;
    padding: 0 24px 16px;
}

.cv-features__scroll-wrap::-webkit-scrollbar {
    height: 6px;
}

.cv-features__scroll-wrap::-webkit-scrollbar-track {
    background: transparent;
}

.cv-features__scroll-wrap::-webkit-scrollbar-thumb {
    background: var(--tc-gray-300);
    border-radius: 3px;
}

.cv-features__strip {
    display: flex;
    gap: 24px;
    min-width: max-content;
    padding-bottom: 8px;
}

.cv-feature-card {
    background: #fff;
    border: 1px solid var(--tc-gray-200);
    border-radius: 20px;
    padding: 32px;
    width: 300px;
    min-width: 300px;
    flex-shrink: 0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cv-feature-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--tc-primary), var(--tc-secondary));
    opacity: 0;
    transition: opacity 0.3s;
}

.cv-feature-card:hover {
    border-color: rgba(101, 68, 226, 0.2);
    box-shadow: 0 8px 32px rgba(101, 68, 226, 0.08);
    transform: translateY(-4px);
}

.cv-feature-card:hover::after {
    opacity: 1;
}

.cv-feature-card__icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(101, 68, 226, 0.08), rgba(166, 68, 226, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--tc-primary);
}

.cv-feature-card h3 {
    font-size: 18px;
    font-weight: 800;
    color: var(--tc-dark);
    margin: 0 0 10px;
    letter-spacing: -0.01em;
}

.cv-feature-card p {
    font-size: 15px;
    color: var(--tc-gray-500);
    line-height: 1.6;
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   VERTICAL TIMELINE STEPS
   ═══════════════════════════════════════════════════ */
.cv-timeline {
    padding: 100px 24px;
    background: #fff;
}

.cv-timeline__inner {
    max-width: 800px;
    margin: 0 auto;
}

.cv-timeline__track {
    position: relative;
    padding-left: 60px;
}

.cv-timeline__line {
    position: absolute;
    left: 23px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--tc-primary), var(--tc-secondary), var(--tc-accent));
    border-radius: 1px;
}

.cv-timeline__step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 24px;
    padding-bottom: 48px;
}

.cv-timeline__step:last-child {
    padding-bottom: 0;
}

.cv-timeline__circle {
    position: absolute;
    left: -60px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tc-primary), var(--tc-secondary));
    color: #fff;
    font-size: 14px;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(101, 68, 226, 0.3);
    z-index: 1;
    flex-shrink: 0;
}

.cv-timeline__content h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--tc-dark);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
    padding-top: 2px;
}

.cv-timeline__content p {
    font-size: 15px;
    color: var(--tc-gray-500);
    line-height: 1.65;
    margin: 0;
    max-width: 480px;
}

/* ═══════════════════════════════════════════════════
   SINGLE SPOTLIGHT TESTIMONIAL
   ═══════════════════════════════════════════════════ */
.cv-testimonials {
    padding: 100px 24px;
    background: var(--tc-gray-50);
}

.cv-testimonials__inner {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cv-testimonials__inner .cv-section-label {
    justify-content: center;
}

.cv-testimonials__inner .cv-section-title {
    text-align: center;
}

.cv-testimonials__inner .cv-section-subtitle {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.cv-spotlight {
    background: #fff;
    border: 1px solid var(--tc-gray-200);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    position: relative;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.04);
}

.cv-spotlight__quote {
    font-size: 72px;
    font-weight: 900;
    line-height: 1;
    background: linear-gradient(135deg, var(--tc-primary), var(--tc-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: -8px;
}

.cv-spotlight__text {
    font-size: 19px;
    font-weight: 400;
    color: var(--tc-gray-700);
    line-height: 1.7;
    margin: 0 0 24px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-style: italic;
}

.cv-spotlight__stars {
    color: #F59E0B;
    font-size: 20px;
    letter-spacing: 4px;
    margin-bottom: 16px;
}

.cv-spotlight__author {
    font-size: 16px;
    font-weight: 800;
    color: var(--tc-dark);
}

.cv-spotlight__role {
    font-size: 14px;
    color: var(--tc-gray-500);
    margin-top: 4px;
}

/* ═══════════════════════════════════════════════════
   FAQ — centered accordion
   ═══════════════════════════════════════════════════ */
.cv-faq {
    padding: 100px 24px;
    background: #fff;
}

.cv-faq__inner {
    max-width: 720px;
    margin: 0 auto;
}

.cv-faq__item {
    border-bottom: 1px solid var(--tc-gray-200);
}

.cv-faq__item:first-child {
    border-top: 1px solid var(--tc-gray-200);
}

.cv-faq__question {
    padding: 20px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--tc-dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.cv-faq__question::-webkit-details-marker { display: none; }

.cv-faq__question::after {
    content: '+';
    font-size: 22px;
    font-weight: 400;
    color: var(--tc-gray-400);
    flex-shrink: 0;
    transition: transform 0.2s;
}

.cv-faq__item[open] .cv-faq__question::after {
    content: '-';
}

.cv-faq__answer {
    padding: 0 0 20px;
}

.cv-faq__answer p {
    font-size: 15px;
    color: var(--tc-gray-600);
    line-height: 1.65;
    margin: 0;
}

/* ═══════════════════════════════════════════════════
   DARK GRADIENT CTA
   ═══════════════════════════════════════════════════ */
.cv-cta {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--tc-dark) 0%, var(--tc-gray-900) 40%, var(--tc-primary-dark) 100%);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cv-cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(101, 68, 226, 0.2), transparent 70%);
    pointer-events: none;
}

.cv-cta__inner {
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin: 0 auto;
}

.cv-cta__title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 900;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 16px;
}

.cv-cta__subtitle {
    font-size: 17px;
    color: rgba(255, 255, 255, 0.5);
    margin: 0 0 36px;
    line-height: 1.6;
}

/* ── Footer — Cuvva ──────────────────────────────── */
body.theme-cuvva .tc-footer {
    background: var(--tc-dark);
    color: rgba(255, 255, 255, 0.5);
    border-top: 1px solid rgba(101, 68, 226, 0.15);
}

body.theme-cuvva .tc-footer__brand {
    color: #fff;
}

body.theme-cuvva .tc-footer__col h4 {
    color: rgba(255, 255, 255, 0.8);
}

body.theme-cuvva .tc-footer__col a {
    color: rgba(255, 255, 255, 0.45);
}

body.theme-cuvva .tc-footer__col a:hover {
    color: var(--tc-primary-light);
}

body.theme-cuvva .tc-footer__bottom {
    border-top-color: rgba(255, 255, 255, 0.08);
    color: rgba(255, 255, 255, 0.3);
}

body.theme-cuvva .tc-footer__fca,
body.theme-cuvva .tc-footer__reg {
    color: rgba(255, 255, 255, 0.25);
}

/* ── Buttons — Cuvva override ────────────────────── */
body.theme-cuvva .tc-btn--primary {
    background: var(--tc-primary);
    box-shadow: var(--tc-shadow-primary);
    border-radius: 100px;
}

body.theme-cuvva .tc-btn--primary:hover {
    background: var(--tc-primary-light);
    box-shadow: var(--tc-shadow-primary-lg);
}

/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 900px) {
    .cv-hero__inner {
        grid-template-columns: 1fr;
        gap: 48px;
        text-align: center;
    }
    .cv-hero__text {
        text-align: center;
    }
    .cv-hero__actions {
        justify-content: center;
    }
    .cv-hero__subtitle {
        margin-left: auto;
        margin-right: auto;
    }
    .cv-feature-card {
        width: 260px;
        min-width: 260px;
    }
}

@media (max-width: 768px) {
    .cv-hero { padding: 90px 20px 80px; }
    .cv-hero__title { font-size: clamp(2rem, 7vw, 3rem); }
    .cv-hero__subtitle { font-size: 16px; }

    .cv-features { padding: 60px 0 80px; }
    .cv-timeline { padding: 80px 20px; }
    .cv-testimonials { padding: 80px 20px; }
    .cv-cta { padding: 80px 20px; }
    .cv-faq { padding: 80px 20px; }

    .cv-spotlight { padding: 36px 28px; }
    .cv-spotlight__text { font-size: 17px; }
    .cv-spotlight__quote { font-size: 56px; }

    .cv-phone { width: 240px; }
    .cv-phone__screen { min-height: 320px; padding: 12px 16px 20px; }
    .cv-phone__card-price { font-size: 26px; }
}

@media (max-width: 600px) {
    .cv-hero { padding: 70px 16px 60px; }
    .cv-hero__actions { flex-direction: column; align-items: center; }
    .cv-btn { width: 100%; max-width: 320px; }

    .cv-feature-card { width: 240px; min-width: 240px; padding: 24px; }

    .cv-timeline__track { padding-left: 50px; }
    .cv-timeline__circle { left: -50px; width: 40px; height: 40px; font-size: 12px; }
    .cv-timeline__content h3 { font-size: 17px; }

    .cv-section-title { font-size: clamp(1.5rem, 5vw, 2rem); }
}

@media (max-width: 480px) {
    .cv-phone { width: 220px; }
    .cv-phone__screen { min-height: 280px; }
    .cv-phone__card-price { font-size: 24px; }
    .cv-spotlight { padding: 28px 20px; }
    .cv-spotlight__text { font-size: 16px; }
}
