/* ==================================================
   ECOMNIGHTHQ — SERVICES PAGE STYLESHEET
   Premium Design System Matching Main Site
   ================================================== */

:root {
    --font-display: 'Clash Display', sans-serif;
    --font-body: 'Satoshi', sans-serif;
    --font-mono: 'Inter Tight', monospace;
    --nav-height: 80px;
    --ticker-height: 34px;
    --ease-out-expo: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-out-quart: cubic-bezier(0.25, 1, 0.5, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ===== DARK THEME (Default) ===== */
[data-theme="dark"] {
    --bg-void: #000000;
    --bg-surface: rgba(8, 8, 12, 0.85);
    --bg-glass: rgba(12, 12, 16, 0.5);
    --bg-glass-hover: rgba(18, 18, 24, 0.6);
    --text-primary: #FFFFFF;
    --text-secondary: #B0B0BC;
    --text-muted: #6B6B78;
    --accent: #4D7CFF;
    --accent-dim: rgba(77, 124, 255, 0.15);
    --accent-glow: rgba(77, 124, 255, 0.4);
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.1);
    --border-hover: rgba(255, 255, 255, 0.15);
    --green: #34D399;
    --green-dim: rgba(52, 211, 153, 0.1);
    --panel-bg: rgba(10, 10, 14, 0.9);
    --panel-float-bg: rgba(10, 10, 14, 0.92);
    --ticker-bg: rgba(5, 5, 8, 0.95);
    --nav-scrolled-bg: rgba(5, 5, 8, 0.85);
    --mobile-menu-bg: rgba(0, 0, 0, 0.95);
    --btn-primary-bg: #FFFFFF;
    --btn-primary-color: #000000;
    --btn-ghost-bg: rgba(255, 255, 255, 0.03);
    --btn-ghost-border: rgba(255, 255, 255, 0.1);
    --btn-ghost-hover-bg: rgba(255, 255, 255, 0.06);
    --metric-card-bg: rgba(255, 255, 255, 0.02);
    --logo-svg-color: #FFFFFF;
}

/* ===== LIGHT THEME ===== */
[data-theme="light"] {
    --bg-void: #F8F9FC;
    --bg-surface: rgba(255, 255, 255, 0.9);
    --bg-glass: rgba(255, 255, 255, 0.7);
    --bg-glass-hover: rgba(255, 255, 255, 0.85);
    --text-primary: #0F1419;
    --text-secondary: #536471;
    --text-muted: #8899A6;
    --accent: #2563EB;
    --accent-dim: rgba(37, 99, 235, 0.1);
    --accent-glow: rgba(37, 99, 235, 0.3);
    --border-subtle: rgba(0, 0, 0, 0.06);
    --border-glass: rgba(0, 0, 0, 0.08);
    --border-hover: rgba(0, 0, 0, 0.15);
    --green: #059669;
    --green-dim: rgba(5, 150, 105, 0.08);
    --panel-bg: rgba(255, 255, 255, 0.95);
    --panel-float-bg: rgba(255, 255, 255, 0.97);
    --ticker-bg: rgba(255, 255, 255, 0.98);
    --nav-scrolled-bg: rgba(255, 255, 255, 0.9);
    --mobile-menu-bg: rgba(255, 255, 255, 0.98);
    --btn-primary-bg: #0F1419;
    --btn-primary-color: #FFFFFF;
    --btn-ghost-bg: rgba(0, 0, 0, 0.03);
    --btn-ghost-border: rgba(0, 0, 0, 0.1);
    --btn-ghost-hover-bg: rgba(0, 0, 0, 0.06);
    --metric-card-bg: rgba(0, 0, 0, 0.02);
    --logo-svg-color: #0F1419;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); background: var(--bg-void); color: var(--text-primary); line-height: 1.6; overflow-x: hidden; cursor: none; }
a { text-decoration: none; color: inherit; cursor: none; }
button { cursor: none; border: none; background: none; font-family: inherit; }
img, video { max-width: 100%; display: block; }

/* ===== CUSTOM CURSOR ===== */
.custom-cursor { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 99999; }
.cursor-dot { position: absolute; width: 6px; height: 6px; background: var(--accent); border-radius: 50%; transform: translate(-50%, -50%); }
.cursor-ring { position: absolute; width: 36px; height: 36px; border: 1.5px solid var(--accent); border-radius: 50%; opacity: 0.5; transform: translate(-50%, -50%); transition: width 0.3s, height 0.3s, opacity 0.3s; }
@media (max-width: 1024px) { .custom-cursor { display: none; } body, a, button { cursor: auto; } }

/* ===== TICKER ===== */
.top-ticker { position: fixed; top: 0; left: 0; width: 100%; height: var(--ticker-height); background: var(--ticker-bg); border-bottom: 1px solid var(--border-subtle); z-index: 1000; overflow: hidden; backdrop-filter: blur(10px); }
.ticker-track { display: flex; align-items: center; height: 100%; animation: tickerScroll 40s linear infinite; white-space: nowrap; gap: 24px; padding: 0 24px; }
.ticker-track span { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.ticker-track .dot { color: var(--accent); font-size: 8px; }
.ticker-track .icon-sm { width: 12px; height: 12px; color: var(--accent); }
@keyframes tickerScroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ===== BACKGROUND ===== */
.bg-elements { position: fixed; top: 0; left: 0; width: 100%; height: 100%; pointer-events: none; z-index: 0; }
.bg-grid { position: absolute; inset: 0; background-image: linear-gradient(var(--border-subtle) 1px, transparent 1px), linear-gradient(90deg, var(--border-subtle) 1px, transparent 1px); background-size: 60px 60px; opacity: 0.3; }
.bg-glow { position: absolute; border-radius: 50%; filter: blur(120px); opacity: 0.15; }
.bg-glow-1 { width: 600px; height: 600px; background: var(--accent); top: -200px; right: -200px; }
.bg-glow-2 { width: 500px; height: 500px; background: var(--green); bottom: -200px; left: -200px; opacity: 0.08; }

/* ===== MAIN CONTENT ===== */
.services-page { position: relative; z-index: 1; padding-top: calc(var(--ticker-height) + var(--nav-height)); }
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
@media (max-width: 768px) { .container { padding: 0 20px; } .services-hero { padding: 32px 0 60px; } }

/* ===== SECTION HEADERS ===== */
.section-header { text-align: center; margin-bottom: 60px; }
.section-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: 1.5px; padding: 6px 16px; background: var(--accent-dim); border: 1px solid rgba(77, 124, 255, 0.2); border-radius: 100px; margin-bottom: 20px; }
.section-title { font-family: var(--font-display); font-size: clamp(32px, 5vw, 48px); font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 16px; }
.section-desc { font-size: 17px; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }

/* ===== SECTION 1: HERO ===== */
.services-hero { padding: 40px 0 80px; text-align: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; padding: 8px 20px; background: var(--accent-dim); border: 1px solid rgba(77, 124, 255, 0.2); border-radius: 100px; margin-bottom: 32px; }
.badge-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(1.5); } }
.badge-text { font-family: var(--font-mono); font-size: 12px; font-weight: 500; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; }
.hero-title { font-family: var(--font-display); font-size: clamp(36px, 6vw, 64px); font-weight: 700; line-height: 1.1; color: var(--text-primary); margin-bottom: 24px; max-width: 900px; margin-left: auto; margin-right: auto; }
.text-gradient { background: linear-gradient(135deg, var(--accent), var(--green)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-description { font-size: 18px; color: var(--text-secondary); line-height: 1.8; max-width: 680px; margin: 0 auto 40px; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 48px; flex-wrap: wrap; }
.hero-trust { display: flex; align-items: center; justify-content: center; gap: 32px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); font-family: var(--font-mono); }
.trust-item svg { width: 16px; height: 16px; color: var(--green); }

/* ===== BUTTONS (shared) ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 100px; font-family: var(--font-body); font-weight: 500; font-size: 0.88rem; letter-spacing: 0.2px; transition: all 0.4s var(--ease-out-expo); cursor: pointer; position: relative; overflow: hidden; white-space: nowrap; text-decoration: none; border: none; }
.btn-lg { padding: 16px 36px; font-size: 0.95rem; }
.btn-primary { background: var(--btn-primary-bg); color: var(--btn-primary-color); box-shadow: 0 2px 12px rgba(0,0,0,0.1); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 8px 30px rgba(0,0,0,0.2); }
.btn-ghost { background: var(--btn-ghost-bg); border: 1px solid var(--btn-ghost-border); color: var(--text-primary); }
.btn-ghost:hover { background: var(--btn-ghost-hover-bg); border-color: var(--border-hover); transform: translateY(-1px); }
.btn-text { position: relative; z-index: 2; pointer-events: none; }
.btn-icon { width: 18px; height: 18px; flex-shrink: 0; transition: transform 0.3s ease; }
.btn:hover .btn-icon { transform: translateX(3px); }
.btn-shine { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent); transition: left 0.6s var(--ease-out-expo); }
.btn-primary:hover .btn-shine { left: 100%; }

/* ===== SECTION 2: SERVICES OVERVIEW ===== */
.services-overview { padding: 80px 0 100px; }
.services-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.service-card { position: relative; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 20px; padding: 40px 32px; transition: all 0.4s var(--ease-out-expo); overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: linear-gradient(90deg, transparent, var(--accent), transparent); opacity: 0; transition: opacity 0.4s; }
.service-card:hover { transform: translateY(-4px); border-color: var(--border-hover); background: var(--bg-glass-hover); }
.service-card:hover::before { opacity: 1; }
.service-card.featured { border-color: rgba(77, 124, 255, 0.3); background: var(--accent-dim); }
.service-card.featured::before { opacity: 1; }
.card-badge { position: absolute; top: 16px; right: 16px; font-family: var(--font-mono); font-size: 10px; font-weight: 600; color: var(--accent); text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; background: var(--accent-dim); border: 1px solid rgba(77, 124, 255, 0.3); border-radius: 100px; }
.card-icon { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); border: 1px solid rgba(77, 124, 255, 0.2); border-radius: 14px; margin-bottom: 24px; }
.card-icon svg { width: 24px; height: 24px; color: var(--accent); }
.card-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.card-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; }
.card-features { list-style: none; margin-bottom: 24px; }
.card-features li { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-secondary); padding: 6px 0; }
.card-features li svg { width: 16px; height: 16px; color: var(--green); flex-shrink: 0; }
.card-link { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; font-weight: 600; color: var(--accent); transition: gap 0.3s ease; }
.card-link:hover { gap: 12px; }
.card-link svg { width: 16px; height: 16px; }

@media (max-width: 1200px) { .services-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 1024px) { .services-grid { grid-template-columns: repeat(2, 1fr); max-width: 700px; margin: 0 auto; } }

/* ===== SECTION 3 & 4 & 5: SERVICE DETAILS ===== */
.service-detail { padding: 100px 0; }
.service-detail.alt-bg { background: var(--bg-surface); }
.detail-header { text-align: center; margin-bottom: 60px; }

/* Process Grid */
.process-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; margin-bottom: 48px; }
.process-step { display: flex; gap: 20px; padding: 28px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 16px; transition: all 0.3s ease; }
.process-step:hover { border-color: var(--border-hover); background: var(--bg-glass-hover); transform: translateY(-2px); }
.step-number { font-family: var(--font-display); font-size: 32px; font-weight: 700; color: var(--accent); opacity: 0.6; line-height: 1; flex-shrink: 0; }
.step-content h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.step-content p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Was 1 column on mobile — turned this into a long single-file scroll.
   Paired 2-per-row instead (same treatment as the Home page Services
   redesign / store-creation page); 4 steps divides evenly with no leftover
   odd card. */
@media (max-width: 768px) {
    .process-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .process-step { flex-direction: column; padding: 20px 16px; gap: 10px; }
}

/* Features Panel */
.features-panel { background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 20px; padding: 40px; }
.panel-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text-primary); margin-bottom: 28px; }
.features-checklist { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.check-item { display: flex; align-items: center; gap: 12px; padding: 12px 16px; background: var(--metric-card-bg); border: 1px solid var(--border-subtle); border-radius: 10px; transition: all 0.3s ease; }
.check-item:hover { border-color: var(--border-hover); background: var(--bg-glass-hover); }
.check-item svg { width: 18px; height: 18px; color: var(--green); flex-shrink: 0; }
.check-item span { font-size: 14px; color: var(--text-secondary); }

@media (max-width: 768px) { .features-checklist { grid-template-columns: 1fr; } .features-panel { padding: 24px; } }

/* ===== STORE FEATURES GRID ===== */
.store-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-bottom: 60px; }
.store-feature { padding: 32px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 16px; transition: all 0.3s ease; }
.store-feature:hover { border-color: var(--border-hover); background: var(--bg-glass-hover); transform: translateY(-3px); }
.feature-icon { width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); border-radius: 12px; margin-bottom: 20px; }
.feature-icon svg { width: 22px; height: 22px; color: var(--accent); }
.store-feature h4 { font-family: var(--font-display); font-size: 16px; font-weight: 600; color: var(--text-primary); margin-bottom: 10px; }
.store-feature p { font-size: 13px; color: var(--text-secondary); line-height: 1.7; }

@media (max-width: 1024px) { .store-features-grid { grid-template-columns: repeat(2, 1fr); } }
/* Kept at 2 columns on phones instead of collapsing to 1 (same reasoning as
   .process-grid above) — 6 features / 6 payment features both divide
   evenly into 3 rows of 2. */
@media (max-width: 640px) { .store-features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } .store-feature { padding: 20px 16px; } }

/* Results Gallery — each screenshot is framed consistently (padded card with
   a neutral backdrop + object-fit:contain) instead of hard-cropping with
   object-fit:cover, since the source dashboard screenshots don't all share
   the same internal aspect ratio; cropping them to a fixed box zoomed each
   one differently and made the row look mismatched/messy. Framing them
   instead — like a browser/window card — keeps every screenshot fully
   visible and reads as one consistent, deliberate set regardless of the
   underlying image shape. */
.results-gallery { margin-top: 48px; }
.gallery-title { font-family: var(--font-display); font-size: 22px; font-weight: 600; color: var(--text-primary); margin-bottom: 24px; text-align: center; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gallery-item {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    transition: all 0.35s var(--ease-out-expo);
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}
.gallery-item:hover { border-color: var(--accent); background: var(--bg-glass-hover); transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,0.22); }
.gallery-item img { width: 100%; height: 100%; object-fit: contain; border-radius: 10px; background: #fff; }

@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
/* Reverted back to 1 column — this grid is rebuilt into a JS mobile slider
   (initMobileSlider() in script.js moves the images into one .mobile-slide
   at a time, with arrows/dots also appended as children of THIS SAME
   .gallery-grid element). A 2-column grid here put the slider track in the
   left cell and the arrows/dots in the right cell instead of stacked full-
   width below it, breaking the slider's layout. Single column is required
   for the slider to render correctly. */
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr; } .gallery-item { aspect-ratio: 16/11; } }

/* ===== COURSE MODULES TIMELINE ===== */
.modules-timeline { position: relative; padding-left: 40px; margin-bottom: 60px; }
.modules-timeline::before { content: ''; position: absolute; left: 18px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--accent), var(--green)); opacity: 0.3; border-radius: 2px; }
.module-item { display: flex; align-items: flex-start; gap: 24px; padding: 24px 0; position: relative; }
.module-item::before { content: ''; position: absolute; left: -27px; top: 32px; width: 12px; height: 12px; background: var(--accent); border-radius: 50%; border: 3px solid var(--bg-void); }
.module-marker { width: 48px; height: 48px; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); border: 1px solid rgba(77, 124, 255, 0.2); border-radius: 12px; flex-shrink: 0; }
.module-num { font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--accent); }
.module-info h4 { font-family: var(--font-display); font-size: 17px; font-weight: 600; color: var(--text-primary); margin-bottom: 8px; }
.module-info p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

/* Course Highlights */
.course-highlights { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.highlight-card { text-align: center; padding: 32px 20px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 16px; transition: all 0.3s ease; }
.highlight-card:hover { border-color: var(--border-hover); transform: translateY(-3px); }
.highlight-number { font-family: var(--font-display); font-size: 36px; font-weight: 700; color: var(--accent); margin-bottom: 8px; }
.highlight-label { font-size: 13px; color: var(--text-secondary); font-weight: 500; }

@media (max-width: 768px) { .course-highlights { grid-template-columns: repeat(2, 1fr); } .modules-timeline { padding-left: 20px; } }

/* ===== SECTION 6: WHY CHOOSE ===== */
.why-choose { padding: 100px 0; }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card { padding: 36px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 20px; transition: all 0.4s var(--ease-out-expo); text-align: center; }
.why-card:hover { border-color: var(--border-hover); background: var(--bg-glass-hover); transform: translateY(-4px); }
.why-icon { width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; background: var(--accent-dim); border: 1px solid rgba(77, 124, 255, 0.2); border-radius: 16px; margin: 0 auto 20px; }
.why-icon svg { width: 26px; height: 26px; color: var(--accent); }
.why-card h4 { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 12px; }
.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.7; }

@media (max-width: 1024px) { .why-grid { grid-template-columns: repeat(2, 1fr); } }
/* 2-up on phones instead of a single tall column. There are 5 why-cards (an
   odd number), so the last one is centered full-width below the two pairs
   instead of sitting alone in the left column — same "2-up-1-below"
   treatment used for the Home page Services redesign. */
@media (max-width: 640px) {
    .why-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
    .why-card { padding: 24px 18px; }
    .why-card:last-child:nth-child(odd) { grid-column: 1 / -1; max-width: calc(50% - 7px); margin: 0 auto; }
}

/* ===== SECTION 7: SUCCESS RESULTS — "Results & Feedback" carousel, ported
   1:1 from the 1-to-1 Coaching page (same combined screenshot+video row,
   avatar/metric footer, arrows-only nav) under "svc-result-*" names. ===== */
.success-results { padding: 100px 0; background: var(--bg-surface); }

.svc-results-carousel { position:relative; }
.svc-results-grid {
    display:flex;
    align-items:flex-start;
    gap:20px;
    overflow-x:auto;
    /* Explicitly hidden, not left as the default "visible" — see the
       identical note on .ch-results-grid in coaching/style.css: leaving
       overflow-y unset here makes the browser silently compute it as auto
       (since overflow-x isn't visible), turning this row into its own
       near-zero-range vertical scroll target. Any visitor whose wheel/
       touch-drag landed on this row while scrolling the PAGE would then
       have that scroll swallowed here instead of passing through — the
       page just stalled. Pinning overflow-y to hidden stops that. */
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-behavior:smooth;
    padding:4px 4px 16px;
    margin:0 -4px;
    -ms-overflow-style:none;
    scrollbar-width:none;
    /* Always LTR scroll axis regardless of page language — see the identical
       note on .ch-results-grid in coaching/style.css for why this matters
       for the seamless-loop math below. */
    direction:ltr;
}
/* Visually mirror card order for Arabic — see the identical note on
   .ch-results-grid in coaching/style.css. */
html[dir="rtl"] .svc-results-grid { flex-direction: row-reverse; }
html[dir="rtl"] .svc-results-grid .svc-result-card,
html[dir="rtl"] .svc-results-grid .svc-result-video-info { direction:rtl; }
.svc-results-grid::-webkit-scrollbar { display:none; }
.svc-results-grid { cursor:grab; }
.svc-results-grid.svc-results-grid-dragging { cursor:grabbing; scroll-snap-type:none; user-select:none; }
.svc-results-grid.svc-results-grid-dragging .svc-result-card { pointer-events:none; }

.svc-result-card {
    scroll-snap-align:start;
    scroll-snap-stop:always;
    flex:0 0 auto;
    width:280px;
    border-radius:16px;
    border:1px solid var(--border-glass);
    background:var(--card-bg, rgba(255,255,255,0.03));
    padding:0;
    transition:all 0.3s var(--ease-out-expo);
    position:relative;
    overflow:hidden;
    display:flex;
    flex-direction:column;
}
/* Same fixed-visual-order fix as coaching/style.css's .ch-results-nav —
   see that comment for the full explanation of the RTL flex main-start bug. */
.svc-results-nav { display:flex; direction:ltr; justify-content:center; gap:12px; margin-top:20px; }
.svc-results-nav-btn {
    width:44px; height:44px; border-radius:50%;
    border:1px solid var(--border-glass);
    background:var(--card-bg, rgba(255,255,255,0.03));
    color:var(--text-primary);
    display:flex; align-items:center; justify-content:center;
    cursor:pointer;
    transition:all 0.2s;
}
.svc-results-nav-btn:hover { background:var(--accent-dim); border-color:var(--accent); color:var(--accent); }
.svc-results-nav-btn:disabled { opacity:0.35; cursor:default; }
.svc-results-nav-btn:disabled:hover { background:var(--card-bg, rgba(255,255,255,0.03)); border-color:var(--border-glass); color:var(--text-primary); }
.svc-results-nav-btn svg { width:20px; height:20px; }
.svc-result-card::before { content:''; position:absolute; inset:0; background:radial-gradient(ellipse at top,var(--accent-dim),transparent 60%); opacity:0; transition:opacity 0.3s; pointer-events:none; z-index:1; }
.svc-result-card:hover { border-color:var(--border-hover); transform:translateY(-4px); }
.svc-result-card:hover::before { opacity:1; }

.svc-result-media { position:relative; flex:none; width:100%; aspect-ratio:9/16; background:#05060a; display:flex; align-items:center; justify-content:center; overflow:hidden; isolation:isolate; }
.svc-result-media span { font-size:12px; color:var(--text-muted); font-family:var(--font-mono); padding:0 16px; text-align:center; }
.svc-result-media img,
.svc-result-media video { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.svc-result-media video { cursor:pointer; }

.svc-result-info { padding:14px 18px 18px; flex:none; }
.svc-result-identity { display:flex; align-items:center; gap:10px; margin-bottom:8px; }
.svc-result-avatar-sm { position:relative; width:36px; height:36px; border-radius:50%; flex-shrink:0; background:var(--accent-dim); border:2px solid var(--accent); display:flex; align-items:center; justify-content:center; font-family:var(--font-display); font-size:14px; font-weight:700; color:var(--accent); overflow:hidden; }
.svc-result-avatar-sm img { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; border-radius:50%; }
.svc-result-name { font-family:var(--font-display); font-size:15px; font-weight:700; color:var(--text-primary); }
.svc-result-tag { font-size:12.5px; color:var(--text-secondary); line-height:1.5; }
.svc-result-metric { margin-top:8px; display:flex; align-items:center; gap:6px; }
.svc-result-metric-val { font-family:var(--font-display); font-size:16px; font-weight:700; color:var(--green); }
.svc-result-metric-label { font-size:13.5px; color:var(--text-secondary); line-height:1.5; }

.svc-result-video-info .svc-result-identity { margin-bottom:0; }
.video-play-btn { position:absolute; top:50%; left:50%; transform:translate(-50%, -50%); width:56px; height:56px; border-radius:50%; background:rgba(77,124,255,0.9); border:2px solid rgba(255,255,255,0.2); display:flex; align-items:center; justify-content:center; transition:all 0.3s; z-index:25; cursor:pointer; pointer-events:auto; }
.video-play-btn svg { width:22px; height:22px; color:#fff; margin-left:3px; pointer-events:none; }
.svc-result-video-wrapper:hover .video-play-btn { transform:translate(-50%, -50%) scale(1.1); background:var(--accent); box-shadow:0 0 30px var(--accent-glow); }
.video-play-btn.hidden { opacity:0; pointer-events:none; }
/* Click-to-play facade for a testimonial card whose video URL
   resolved to Wistia/YouTube/Vimeo instead of a directly-uploaded
   file — sits in place of the native <video> for that case. */
.svc-result-embed-facade { position:absolute; inset:0; width:100%; height:100%; cursor:pointer; background-color:#05060a; }
.svc-result-embed-facade iframe, .svc-result-embed-facade wistia-player { position:absolute; inset:0; width:100%; height:100%; display:block; }

.svc-result-media .ecn-vc-bar { padding:6px 10px 10px; gap:4px; }
.svc-result-media .ecn-vc-btn { width:28px; height:28px; }
.svc-result-media .ecn-vc-time { font-size:10px; min-width:32px; }
.svc-result-media .ecn-vc-chip span { display:none; }
.svc-result-media .ecn-vc-chip { width:26px; height:26px; padding:0; border-radius:50%; }

@media (max-width: 768px) {
    .svc-result-card { width:85vw; max-width:340px; }
}

@media (max-width: 768px) { .results-showcase { grid-template-columns: 1fr; } }

/* ===== SECTION 8: FAQ ===== */
.faq-section { padding: 100px 0; }
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { border: 1px solid var(--border-glass); border-radius: 14px; margin-bottom: 12px; overflow: hidden; transition: all 0.3s ease; background: var(--bg-glass); }
.faq-item:hover { border-color: var(--border-hover); }
.faq-item.active { border-color: rgba(77, 124, 255, 0.3); background: var(--accent-dim); }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; text-align: left; font-size: 15px; font-weight: 600; color: var(--text-primary); }
.faq-icon { width: 20px; height: 20px; color: var(--text-muted); transition: transform 0.3s ease; flex-shrink: 0; }
.faq-item.active .faq-icon { transform: rotate(45deg); color: var(--accent); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.4s var(--ease-out-expo), padding 0.3s ease; }
.faq-item.active .faq-answer { max-height: 300px; }
.faq-answer p { padding: 0 24px 20px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; }

/* ===== SECTION 9: FINAL CTA ===== */
.final-cta { padding: 100px 0 120px; }
.cta-card { position: relative; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 28px; padding: 80px 60px; text-align: center; overflow: hidden; }
.cta-glow { position: absolute; top: -100px; left: 50%; transform: translateX(-50%); width: 600px; height: 400px; background: radial-gradient(ellipse, var(--accent-glow), transparent 70%); opacity: 0.2; pointer-events: none; }
.cta-content { position: relative; z-index: 1; }
.cta-title { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); font-weight: 700; color: var(--text-primary); line-height: 1.2; margin-bottom: 20px; }
.cta-desc { font-size: 17px; color: var(--text-secondary); max-width: 550px; margin: 0 auto 36px; line-height: 1.7; }
.cta-scarcity { font-size: 13px; font-weight: 600; color: var(--accent); background: rgba(77,124,255,0.1); border: 1px solid rgba(77,124,255,0.25); border-radius: 30px; padding: 10px 22px; display: inline-block; max-width: 480px; margin: -16px auto 28px; line-height: 1.5; }
.cta-buttons { display: flex; align-items: center; justify-content: center; gap: 16px; margin-bottom: 32px; flex-wrap: wrap; }
.cta-trust { display: flex; align-items: center; justify-content: center; gap: 24px; flex-wrap: wrap; }
.cta-trust-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: var(--text-muted); font-family: var(--font-mono); }
.cta-trust-item svg { width: 16px; height: 16px; color: var(--green); }

@media (max-width: 768px) { .cta-card { padding: 48px 24px; border-radius: 20px; } }

/* ===== FOOTER ===== */
.premium-footer { position: relative; padding: 0 40px; }
.footer-divider { padding: 0 0 60px; }
.footer-divider-line { height: 1px; background: linear-gradient(90deg, transparent, var(--border-glass), var(--accent), var(--border-glass), transparent); }
.footer-container { max-width: 1200px; margin: 0 auto; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; }
.footer-logo-mark { width: 28px; height: 28px; display: flex; align-items: center; justify-content: center; color: var(--logo-svg-color); }
.footer-logo-text { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-primary); }
.footer-brand-desc { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 20px; max-width: 320px; }
.footer-socials { display: flex; gap: 12px; }
.footer-social-link { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; background: var(--btn-ghost-bg); border: 1px solid var(--btn-ghost-border); color: var(--text-muted); transition: all 0.3s ease; }
.footer-social-link:hover { color: var(--accent); border-color: var(--accent); background: var(--accent-dim); }
.footer-col-title { font-family: var(--font-display); font-size: 14px; font-weight: 600; color: var(--text-primary); margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.5px; }
.footer-links-list { list-style: none; }
.footer-links-list li { margin-bottom: 10px; }
.footer-link { font-size: 14px; color: var(--text-secondary); transition: color 0.3s ease; }
.footer-link:hover { color: var(--accent); }
.footer-contact-list { list-style: none; }
.footer-contact-item { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; color: var(--text-muted); }
.footer-contact-item svg { flex-shrink: 0; }

/* Newsletter */
.footer-newsletter { margin-bottom: 48px; }
.footer-newsletter-card { display: flex; align-items: center; justify-content: space-between; gap: 32px; padding: 32px; background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 16px; }
.footer-newsletter-title { font-family: var(--font-display); font-size: 18px; font-weight: 600; color: var(--text-primary); margin-bottom: 4px; }
.footer-newsletter-desc { font-size: 13px; color: var(--text-secondary); }
.footer-newsletter-form { flex-shrink: 0; }
.footer-newsletter-input-wrap { display: flex; align-items: center; gap: 8px; }
.footer-newsletter-input { padding: 12px 16px; background: var(--metric-card-bg); border: 1px solid var(--border-glass); border-radius: 10px; font-size: 14px; color: var(--text-primary); font-family: var(--font-body); outline: none; width: 240px; transition: border-color 0.3s; }
.footer-newsletter-input:focus { border-color: var(--accent); }
.footer-newsletter-input::placeholder { color: var(--text-muted); }
.footer-newsletter-btn { padding: 12px 20px; background: var(--btn-primary-bg); color: var(--btn-primary-color); border-radius: 10px; font-size: 13px; font-weight: 600; transition: all 0.3s ease; position: relative; }
.footer-newsletter-btn:hover { transform: translateY(-1px); }
.footer-newsletter-btn-text { display: inline; }
.footer-newsletter-btn-icon { display: none; }
.footer-newsletter-btn-success { display: none; }

@media (max-width: 768px) {
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-newsletter-card { flex-direction: column; align-items: flex-start; }
    .footer-newsletter-input { width: 100%; }
    .footer-newsletter-input-wrap { width: 100%; }
    .premium-footer { padding: 0 20px; }
}

/* Footer Bottom */
.footer-bottom { padding: 24px 0 40px; border-top: 1px solid var(--border-subtle); text-align: center; }
.footer-copyright { font-size: 13px; color: var(--text-muted); }

/* ===== BACK TO TOP ===== */
.back-to-top { position: fixed; bottom: 32px; right: 32px; width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; background: var(--btn-primary-bg); color: var(--btn-primary-color); border-radius: 12px; opacity: 0; visibility: hidden; transform: translateY(10px); transition: all 0.3s ease; z-index: 100; box-shadow: 0 4px 20px rgba(0,0,0,0.2); }
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); }

/* ===== ANIMATIONS ===== */
.fade-up { opacity: 0; transform: translateY(30px); transition: all 0.6s var(--ease-out-expo); }
.fade-up.visible { opacity: 1; transform: translateY(0); }
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
/* ===== MOBILE SLIDER ===== */
@media (max-width: 768px) {
    .mobile-slider-container { position: relative; }
    .mobile-slider-wrapper { width: 100%; overflow: hidden; }
    .mobile-slider-track { position: relative; }
    .mobile-slide { width: 100%; display: block; }

    .mobile-slider-controls {
        display: flex;
        /* Fixed left-to-right visual order (prev, dots, next) regardless of
           page language — see the identical fix on coaching/style.css's
           .ch-results-nav for the full explanation. */
        direction: ltr;
        align-items: center;
        justify-content: center;
        gap: 16px;
        margin-top: 20px;
    }

    .mobile-slider-arrow {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        background: var(--card-bg, rgba(255,255,255,0.05));
        border: 1px solid var(--border-subtle, rgba(255,255,255,0.1));
        border-radius: 50%;
        color: var(--text-primary, #fff);
        cursor: pointer;
        transition: all 0.3s ease;
        flex-shrink: 0;
    }

    .mobile-slider-arrow:hover {
        background: var(--accent, #7c3aed);
        border-color: var(--accent, #7c3aed);
    }

    .mobile-slider-dots {
        display: flex;
        align-items: center;
        gap: 8px;
    }

    .mobile-slider-dot {
        width: 7px;
        height: 7px;
        border-radius: 50%;
        background: var(--border-subtle, rgba(255,255,255,0.2));
        cursor: pointer;
        transition: all 0.3s ease;
    }

    .mobile-slider-dot.active {
        background: var(--accent, #7c3aed);
        transform: scale(1.3);
    }
}
/* ===== PAYMENT GATEWAY SECTION ===== */
.payment-content { display: flex; flex-direction: column; gap: 48px; }
.payment-features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 1024px) { .payment-features-grid { grid-template-columns: repeat(2, 1fr); } }
/* Stay at 2 columns on phones (6 features divides evenly) instead of a long
   single-column stack. */
@media (max-width: 640px) { .payment-features-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }

/* Providers Panel */
.payment-providers-panel { background: var(--bg-glass); border: 1px solid var(--border-glass); border-radius: 20px; padding: 40px; }
.providers-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; margin-top: 28px; }
@media (max-width: 1024px) { .providers-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .providers-grid { grid-template-columns: repeat(2, 1fr); } }

.provider-item { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; border-radius: 14px; background: var(--metric-card-bg); border: 1px solid var(--border-subtle); transition: all 0.3s var(--ease-out-expo); }
.provider-item:hover { border-color: var(--accent); background: var(--accent-dim); transform: translateY(-3px); }
.provider-icon { width: 44px; height: 44px; border-radius: 10px; background: var(--accent-dim); display: flex; align-items: center; justify-content: center; }
.provider-icon svg { width: 22px; height: 22px; color: var(--accent); }
.provider-item span { font-size: 12px; font-weight: 600; color: var(--text-secondary); font-family: var(--font-mono); text-align: center; }

/* Services grid mobile: reverted back to 1 column per request — these 4
   cards (1-to-1 Coaching / Store Creation / Course / Payment Gateway) read
   better stacked full-width on phones than paired 2-up. */
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }
