/* ==================================================
   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; }

@media (max-width: 768px) { .process-grid { grid-template-columns: 1fr; } }

/* 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); } }
@media (max-width: 640px) { .store-features-grid { grid-template-columns: 1fr; } }

/* Results Gallery */
.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: 16px; }
.gallery-item { border-radius: 12px; overflow: hidden; border: 1px solid var(--border-glass); transition: all 0.3s ease; aspect-ratio: 4/3; }
.gallery-item:hover { border-color: var(--border-hover); transform: scale(1.02); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 1024px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr; } }

/* ===== 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); } }
@media (max-width: 640px) { .why-grid { grid-template-columns: 1fr; } }

/* ===== SECTION 7: SUCCESS RESULTS ===== */
.success-results { padding: 100px 0; background: var(--bg-surface); }
.results-showcase { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.result-item { position: relative; border-radius: 16px; overflow: hidden; border: 1px solid var(--border-glass); transition: all 0.4s ease; aspect-ratio: 16/10; }
.result-item:hover { border-color: var(--accent); transform: scale(1.02); }
.result-item img { width: 100%; height: 100%; object-fit: cover; }
.result-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,0.7), transparent); display: flex; align-items: flex-end; }
.result-badge { font-family: var(--font-mono); font-size: 11px; font-weight: 600; color: var(--green); text-transform: uppercase; letter-spacing: 1px; padding: 4px 12px; background: var(--green-dim); border: 1px solid rgba(52, 211, 153, 0.3); border-radius: 100px; }

@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-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;
        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); } }
@media (max-width: 640px) { .payment-features-grid { grid-template-columns: 1fr; } }

/* 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: 1 column */
@media (max-width: 600px) { .services-grid { grid-template-columns: 1fr; max-width: 400px; margin: 0 auto; } }
