/* ════════════════════════════════
   HOMEPAGE — Prodelium
   Mesh gradients, GSAP-ready, SaaS style
════════════════════════════════ */

/* ── Hide base layout blobs on homepage ── */
body:has(.hero) .blob { display: none; }

/* ── Reset main padding for homepage ── */
body:has(.hero) main { padding-top: 0; }

/* ── Homepage variables (mapped to design system) ── */
:root {
    --violet-deep: var(--color-primary);
    --violet-mid: var(--color-primary-light);
    --violet-light: #9B92EC;
    --violet-pale: #D4D0F4;
    --violet-wash: #EDEBFA;
    --violet-glow: rgba(91, 75, 219, 0.25);
    --indigo: var(--color-primary-dark);
    --fuchsia: #9B6FE8;
}

/* ── Shared section spacing ── */
.hp-section {
    position: relative;
    z-index: 1;
    padding: 64px 24px;
}
.hp-container {
    max-width: 1140px;
    margin: 0 auto;
}

/* ── Label pill ── */
.hp-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    color: var(--color-primary);
    background: rgba(91, 75, 219, 0.08);
    border: 1px solid rgba(91, 75, 219, 0.15);
    border-radius: 100px;
    letter-spacing: 0.02em;
    margin-bottom: 20px;
}
.hp-pill svg {
    width: 14px;
    height: 14px;
    stroke: var(--color-primary);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    flex-shrink: 0;
}

/* ════════════════════════════════
   SECTION 1 — HERO
════════════════════════════════ */
.hero {
    position: relative;
    padding: 120px 24px 50px;
    text-align: center;
    background: #fff url('/img/mesh-bg.webp') center top / cover no-repeat;
}
.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.65);
    pointer-events: none;
    z-index: 0;
}
.hero::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to bottom, transparent, #fff);
    pointer-events: none;
}

/* Old mesh/orbs removed — using background image now */
.hero-mesh, .hero-orb { display: none; }

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--font-display);
    font-size: clamp(48px, 6vw, 80px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: 24px;
}
/* ── Gradient text utility ── */
.text-gradient {
    display: inline;
    background: linear-gradient(135deg, #5B4BDB, #7B6FE8, #9B92EC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: var(--color-primary); /* fallback */
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 400;
    color: var(--color-text-secondary);
    line-height: 1.7;
    max-width: 600px;
    margin: 0 auto 15px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: var(--color-primary);
    border: none;
    border-radius: 10px;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(91, 75, 219, 0.25);
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 28px rgba(91, 75, 219, 0.35);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: var(--color-primary);
    background: transparent;
    border: 1.5px solid rgba(91, 75, 219, 0.3);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-outline:hover {
    border-color: var(--color-primary);
    background: rgba(91, 75, 219, 0.05);
}

.hero-reassurance {
    font-size: 0.82rem;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.01em;
}
.hero-reassurance span {
    margin: 0 8px;
    opacity: 0.4;
}

/* ════════════════════════════════
   SECTION 2 — VIDEO
════════════════════════════════ */
.video-section {
    padding: 0 24px 60px;
    background: #fff;
}
.video-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(108, 58, 237, 0.12), 0 4px 20px rgba(108, 58, 237, 0.08);
    position: relative;
    aspect-ratio: 16 / 9;
    background: linear-gradient(135deg, var(--violet-deep), var(--violet-mid), var(--fuchsia));
}
.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.video-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--violet-deep), var(--violet-mid), var(--fuchsia));
}
.video-placeholder-logo {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: -0.02em;
}

/* ════════════════════════════════
   SECTION 3 — LOGOS
════════════════════════════════ */
.logos-section {
    padding: 40px 24px 80px;
    background: #fff;
}

/* Integrations row */
.logos-integrations {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 48px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.logos-integrations img {
    height: 28px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.45;
    transition: opacity 0.3s, filter 0.3s;
}
.logos-integrations img:hover {
    filter: grayscale(0);
    opacity: 1;
}
.logo-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--muted);
    opacity: 0.5;
    filter: grayscale(1);
    transition: opacity 0.3s, filter 0.3s;
}
.logo-placeholder:hover {
    opacity: 1;
    filter: grayscale(0);
}
.logo-placeholder svg {
    width: 22px;
    height: 22px;
}

/* Trust carousel */
.trust-block {
    text-align: center;
}
.trust-label {
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 400;
    letter-spacing: 0.04em;
    margin-bottom: 20px;
}
.trust-carousel-wrap {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 10%, #000 90%, transparent 100%);
}
.trust-carousel {
    display: flex;
    gap: 60px;
    width: max-content;
    animation: trustScroll 30s linear infinite;
}
.trust-carousel img {
    height: 24px;
    width: auto;
    filter: grayscale(1);
    opacity: 0.4;
}
@keyframes trustScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ════════════════════════════════
   SECTION 4 — SPLIT STEPS + MOCKUP
════════════════════════════════ */
.problems-section {
    padding: 64px 24px;
    background: var(--bg);
}
.problems-header {
    text-align: center;
    margin-bottom: 40px;
}
.problems-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 700px;
    margin: 0 auto;
}

/* Grid 50/50 */
.s4-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: center;
}

/* Steps */
.s4-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}
.s4-step {
    display: flex;
    gap: 18px;
    align-items: flex-start;
}
.s4-step-num {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--violet-deep), var(--violet-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.92rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 4px 12px var(--violet-glow);
}
.s4-step-body h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 4px;
}
.s4-step-body p {
    font-size: 0.92rem;
    color: var(--muted);
    line-height: 1.6;
}
.s4-cta {
    margin-top: 16px;
}

/* Visual mockup wrapper */
.s4-visual {
    position: relative;
}
.s4-mockup {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow:
        0 20px 60px rgba(108, 58, 237, 0.10),
        0 4px 20px rgba(108, 58, 237, 0.06);
}

/* Titlebar */
.mock-titlebar {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 16px;
    background: var(--bg);
    border-bottom: 1px solid var(--color-border);
}
.mock-dots {
    display: flex;
    gap: 5px;
}
.mock-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}
.mock-dots span:nth-child(1) { background: #FF6B6B; }
.mock-dots span:nth-child(2) { background: #FFD93D; }
.mock-dots span:nth-child(3) { background: #6BCB77; }
.mock-titlebar-text {
    font-size: 0.7rem;
    color: var(--muted);
    font-weight: 500;
    letter-spacing: 0.01em;
}

/* Scores row */
.mock-scores {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 16px 20px 12px;
    border-bottom: 1px solid var(--color-border);
}
.mock-score {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}
.mock-score-ring {
    position: relative;
    width: 40px;
    height: 40px;
}
.mock-score-ring svg {
    width: 100%;
    height: 100%;
}
.mock-score-val {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    font-weight: 700;
    color: var(--text);
}
.mock-score-label {
    font-size: 0.62rem;
    color: var(--muted);
    font-weight: 500;
}

/* Body 2-col */
.mock-body {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 16px;
    padding: 16px 20px 20px;
}
.mock-col-left,
.mock-col-right {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.mock-field label {
    display: block;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 4px;
}
.mock-input {
    padding: 8px 10px;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text);
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    line-height: 1.4;
}
.mock-textarea {
    padding: 10px 12px;
    font-size: 0.68rem;
    color: var(--text);
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    line-height: 1.6;
}
.mock-textarea p {
    margin-bottom: 6px;
}
.mock-textarea p:last-child {
    margin-bottom: 0;
}
.mock-textarea strong {
    font-weight: 600;
}

/* Tags */
.mock-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}
.mock-tag {
    padding: 4px 10px;
    font-size: 0.62rem;
    font-weight: 500;
    color: var(--violet-deep);
    background: var(--violet-wash);
    border: 1px solid var(--violet-pale);
    border-radius: 50px;
}

/* Platform */
.mock-platform {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    font-size: 0.68rem;
    font-weight: 500;
    color: var(--text);
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
}
.mock-platform svg {
    width: 14px;
    height: 14px;
    stroke: var(--violet-mid);
}

/* Meta */
.mock-meta {
    padding: 8px 10px;
    font-size: 0.65rem;
    color: var(--muted);
    background: var(--input-bg);
    border: 1px solid var(--input-border);
    border-radius: 8px;
    line-height: 1.55;
    font-style: italic;
}

/* ════════════════════════════════
   SECTION 5 — FONCTIONNALITES
════════════════════════════════ */
.features-section {
    padding: 64px 24px;
    background: #fff;
}
.features-header {
    text-align: center;
    margin-bottom: 40px;
}
.features-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 650px;
    margin: 0 auto;
}

/* Feature row — split 50/50 */
.feat-row {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 56px;
    align-items: center;
}
.feat-row--reverse {
    grid-template-columns: 1.15fr 1fr;
}
.feat-row--reverse .feat-visual {
    order: -1;
}

/* Divider */
.feat-divider {
    height: 1px;
    background: linear-gradient(to right, transparent 5%, var(--color-border) 50%, transparent 95%);
    margin: 40px 0;
}

/* Text */
.feat-text h3 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 28px;
}

.feat-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.feat-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.feat-icon {
    font-size: 1.2rem;
    line-height: 1;
    flex-shrink: 0;
    margin-top: 2px;
}
.feat-list li strong {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 2px;
}
.feat-list li p {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.55;
}

/* Platform icons in list */
.feat-platform-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: rgba(240, 242, 251, 0.8);
    flex-shrink: 0;
    margin-top: 2px;
}

/* Feature visual */
.feat-visual {
    position: relative;
}
.feat-mockup {
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--color-border);
    box-shadow:
        0 20px 60px rgba(108, 58, 237, 0.10),
        0 4px 20px rgba(108, 58, 237, 0.06);
}

/* ── Platforms block (full-width) ── */
.feat-platforms-block {
    text-align: center;
}
.feat-platforms-block h3 {
    font-family: var(--font-display);
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.01em;
    color: var(--text);
    margin-bottom: 10px;
}
.feat-platforms-sub {
    font-size: 0.95rem;
    color: var(--muted);
    line-height: 1.6;
    max-width: 480px;
    margin: 0 auto 44px;
}

.feat-platforms-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.plat-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 36px 20px 28px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
    cursor: default;
}
.plat-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(120, 130, 180, 0.12);
}

.plat-card-logo {
    width: 72px;
    height: 72px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}
.plat-card:hover .plat-card-logo {
    transform: scale(1.08);
}

/* Per-platform tinted backgrounds */
.plat-card--shopify .plat-card-logo {
    background: rgba(149, 191, 71, 0.1);
}
.plat-card--shopify:hover {
    border-color: rgba(149, 191, 71, 0.35);
}
.plat-card--woo .plat-card-logo {
    background: rgba(127, 84, 179, 0.08);
}
.plat-card--woo:hover {
    border-color: rgba(127, 84, 179, 0.3);
}
.plat-card--presta .plat-card-logo {
    background: rgba(223, 0, 103, 0.06);
}
.plat-card--presta:hover {
    border-color: rgba(223, 0, 103, 0.25);
}
.plat-card--csv .plat-card-logo {
    background: var(--violet-wash);
}
.plat-card--csv:hover {
    border-color: var(--violet-pale);
}

.plat-card strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text);
}
.plat-card p {
    font-size: 0.82rem;
    color: var(--muted);
    line-height: 1.4;
}

/* SEO bar (mockup) */
.mock-seo-bar {
    position: relative;
    height: 22px;
    background: rgba(124, 158, 255, 0.1);
    border-radius: 50px;
    overflow: hidden;
}
.mock-seo-bar-fill {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, var(--accent), var(--green));
    border-radius: 50px;
}
.mock-seo-bar span {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    height: 100%;
    padding: 0 10px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
}

/* ════════════════════════════════
   SECTION 6 — PRICING
════════════════════════════════ */
.pricing-section {
    padding: 64px 24px 104px 24px;
    background: var(--bg);
}
.pricing-header {
    text-align: center;
    margin-bottom: 36px;
}
.pricing-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    margin-bottom: 12px;
}
.pricing-header p {
    font-size: 1rem;
    color: var(--muted);
    font-weight: 400;
    max-width: 480px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Toggle */
.pricing-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-bottom: 36px;
}
.pricing-toggle-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--muted);
    cursor: pointer;
    transition: color 0.2s;
}
.pricing-toggle-label.active {
    color: var(--text);
}
.pricing-toggle-switch {
    position: relative;
    width: 52px;
    height: 28px;
    background: var(--violet-pale);
    border-radius: 50px;
    cursor: pointer;
    transition: background 0.3s;
    border: none;
    padding: 0;
}
.pricing-toggle-switch::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}
.pricing-toggle-switch.annual::after {
    transform: translateX(24px);
}
.pricing-toggle-switch.annual {
    background: var(--violet-deep);
}
.pricing-badge-annual {
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--violet-deep);
    background: var(--violet-wash);
    padding: 3px 10px;
    border-radius: 50px;
    border: 1px solid var(--violet-pale);
}

/* Cards */
.pricing-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 1060px;
    margin: 0 auto;
}

.pricing-card {
    position: relative;
    padding: 36px 32px;
    border-radius: 20px;
    border: 1px solid var(--color-border);
    background: #fff;
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.pricing-card > a {
    margin-top: auto;
}
.pricing-card:hover {
    transform: translateY(-4px);
}

/* Popular card */
.pricing-card--popular {
    background: linear-gradient(165deg, var(--violet-wash), #fff 40%);
    border-color: var(--violet-pale);
    box-shadow: 0 12px 40px rgba(108, 58, 237, 0.12);
    transform: scale(1.02);
    z-index: 1;
}
.pricing-card--popular:hover {
    transform: scale(1.02) translateY(-4px);
    box-shadow: 0 16px 50px rgba(108, 58, 237, 0.18);
}
.pricing-popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 5px 16px;
    font-size: 0.74rem;
    font-weight: 600;
    color: #fff;
    background: linear-gradient(135deg, var(--violet-deep), var(--violet-mid));
    border-radius: 50px;
    box-shadow: 0 4px 12px var(--violet-glow);
    white-space: nowrap;
}

/* Enterprise card */
.pricing-card--enterprise {
    background: var(--text);
    border-color: rgba(255, 255, 255, 0.08);
    color: #fff;
}
.pricing-card--enterprise .pricing-card-name,
.pricing-card--enterprise .pricing-card-price,
.pricing-card--enterprise .pricing-card-desc,
.pricing-card--enterprise .pricing-card-feature {
    color: rgba(255, 255, 255, 0.9);
}
.pricing-card--enterprise .pricing-card-desc {
    color: rgba(255, 255, 255, 0.55);
}
.pricing-card--enterprise .pricing-card-feature::before {
    color: var(--violet-light);
}

.pricing-card-name {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.pricing-card-price {
    font-family: var(--font-display);
    font-size: 3.4rem;
    font-weight: 800;
    color: var(--color-text-primary);
    letter-spacing: -0.03em;
    line-height: 1;
    margin-bottom: 4px;
}
.pricing-card-price span {
    font-size: 0.95rem;
    font-weight: 400;
    color: var(--muted);
}
.pricing-card--enterprise .pricing-card-price span {
    color: rgba(255, 255, 255, 0.5);
}
.pricing-card-credits {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 6px;
}
.pricing-card--enterprise .pricing-card-credits {
    color: rgba(255, 255, 255, 0.5);
}
.pricing-card-desc {
    font-size: 0.82rem;
    color: var(--muted);
    margin-bottom: 24px;
    line-height: 1.5;
}

.pricing-card-features {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    padding-bottom: 4px;
}
.pricing-card-feature {
    font-size: 0.85rem;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-card-feature::before {
    content: '✓';
    font-weight: 700;
    color: var(--violet-mid);
    font-size: 0.8rem;
}

.pricing-card .btn-primary {
    width: 100%;
    justify-content: center;
}
.pricing-card .btn-outline {
    width: 100%;
    justify-content: center;
}

.btn-white-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 15px;
    font-weight: 600;
    color: #fff;
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-white-outline:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

/* Price animation */
.pricing-card-price .price-value {
    display: inline-block;
    font-size: inherit; font-weight: inherit; color: inherit;
    transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.2s;
}
.pricing-card-price .price-value.switching {
    transform: translateY(-8px);
    opacity: 0;
}

/* ════════════════════════════════
   SECTION 7 — TEMOIGNAGES
════════════════════════════════ */
.testimonials-section {
    padding: 64px 24px;
    background: #fff;
    overflow: hidden;
}
.testimonials-header {
    text-align: center;
    margin-bottom: 36px;
}
.testimonials-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

.testimonials-rows {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.testimonial-row {
    position: relative;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
}
.testimonial-track {
    display: flex;
    gap: 20px;
    width: max-content;
}
.testimonial-row:hover .testimonial-track {
    animation-play-state: paused;
}
.testimonial-track--left {
    animation: scrollLeft 40s linear infinite;
}
.testimonial-track--right {
    animation: scrollRight 40s linear infinite;
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.testimonial-card {
    flex-shrink: 0;
    width: 340px;
    padding: 24px;
    background: #fff;
    border: 1px solid var(--color-border);
    border-radius: 16px;
    transition: box-shadow 0.3s;
}
.testimonial-card:hover {
    box-shadow: 0 8px 24px rgba(120, 130, 180, 0.1);
}
.testimonial-stars {
    display: flex;
    gap: 2px;
    margin-bottom: 12px;
}
.testimonial-stars svg {
    width: 16px;
    height: 16px;
    fill: #FBBF24;
}
.testimonial-quote {
    font-size: 0.88rem;
    color: var(--text);
    font-style: italic;
    line-height: 1.65;
    margin-bottom: 16px;
    font-weight: 400;
}
.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}
.testimonial-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--violet-pale), var(--violet-wash));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--violet-deep);
}
.testimonial-name {
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text);
}
.testimonial-role {
    font-size: 0.76rem;
    color: var(--muted);
    font-weight: 400;
}

/* ════════════════════════════════
   SECTION 8 — FAQ
════════════════════════════════ */
.faq-section {
    padding: 64px 24px;
    background: #fff;
}
.faq-header {
    text-align: center;
    margin-bottom: 36px;
}
.faq-header h2 {
    font-family: var(--font-display);
    font-size: clamp(32px, 4vw, 52px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text);
    max-width: 600px;
    margin: 0 auto;
}

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.faq-item {
    border: 1px solid var(--color-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.open {
    border-color: var(--violet-pale);
    box-shadow: 0 4px 16px rgba(108, 58, 237, 0.06);
}
.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 20px 24px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text);
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
}
.faq-question:hover {
    color: var(--violet-deep);
}
.faq-icon {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--muted);
    transition: transform 0.3s, color 0.3s;
    flex-shrink: 0;
}
.faq-item.open .faq-icon {
    transform: rotate(45deg);
    color: var(--violet-deep);
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}
.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.7;
}

/* ════════════════════════════════
   SECTION 9 — CTA FINAL
════════════════════════════════ */
.cta-section {
    position: relative;
    padding: 80px 24px;
    text-align: center;
    overflow: hidden;
    background: url('/img/mesh-bg.webp') center center / cover no-repeat;
}
/* Old CTA orbs removed — using background image */
.cta-orb { display: none; }

.cta-content {
    position: relative;
    z-index: 1;
    max-width: 680px;
    margin: 0 auto;
}
.cta-section h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 5vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    color: var(--color-text-primary);
    margin-bottom: 18px;
}
.cta-section .cta-subtitle {
    font-size: 1.05rem;
    color: var(--color-text-secondary);
    line-height: 1.7;
    margin-bottom: 36px;
    font-weight: 400;
}
.cta-section .hero-ctas {
    margin-bottom: 20px;
}

/* CTA buttons — dark text on light mesh bg */
.cta-section .btn-primary {
    background: var(--color-text-primary);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.cta-section .btn-primary:hover {
    background: #000;
    box-shadow: 0 6px 28px rgba(0, 0, 0, 0.18);
}
.cta-section .btn-outline {
    color: var(--color-text-primary);
    border-color: rgba(0, 0, 0, 0.15);
}
.cta-section .btn-outline:hover {
    border-color: var(--color-text-primary);
    background: rgba(0, 0, 0, 0.03);
}

.cta-reassurance {
    font-size: 0.82rem;
    color: var(--color-text-secondary);
    font-weight: 400;
}
.cta-reassurance span {
    margin: 0 8px;
    opacity: 0.4;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 1024px) {
    .pricing-cards {
        grid-template-columns: 1fr;
        max-width: 420px;
    }
    .pricing-card--popular {
        transform: none;
    }
    .pricing-card--popular:hover {
        transform: translateY(-4px);
    }
}

@media (max-width: 900px) {
    .feat-row {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .feat-visual {
        order: -1;
    }
    .feat-platforms-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mock-body {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 20px 36px;
    }
    .hero h1 {
        font-size: 2.8rem;
    }
    .hero-subtitle {
        font-size: 1rem;
    }

    .s4-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }
    .s4-visual {
        order: -1;
    }
    .mock-body {
        grid-template-columns: 1fr;
    }
    .problems-header h2,
    .features-header h2,
    .pricing-header h2,
    .testimonials-header h2,
    .faq-header h2 {
        font-size: 2.1rem;
    }

    .hp-section {
        padding: 40px 20px;
    }

    .logos-integrations {
        gap: 28px;
    }

    .testimonial-card {
        width: 280px;
    }

    .cta-section h2 {
        font-size: 2.6rem;
    }

    .hero-ctas {
        flex-direction: column;
        align-items: stretch;
        max-width: 320px;
        margin-left: auto;
        margin-right: auto;
    }
    .btn-primary,
    .btn-outline,
    .btn-white,
    .btn-outline-white {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2.2rem;
    }
    .cta-section h2 {
        font-size: 2rem;
    }
    .pricing-card {
        padding: 28px 24px;
    }
}

