﻿:root {
    --color-bg: #F8FAFC;
    --color-bg-soft: #FFFFFF;
    --color-bg-muted: #E5E7EB;
    --color-text-main: #0F172A;
    --color-text-secondary: #475569;
    --color-text-muted: #64748B;
    
    /* РџСЂРµРјС–Р°Р»СЊРЅРёР№ СЃРјР°СЂР°РіРґ */
    --color-accent: #059669;
    --color-accent-hover: #10B981;
    --color-accent-glow: rgba(5, 150, 105, 0.12);
    
    --color-border: rgba(15, 23, 42, 0.10);
    --color-border-hover: rgba(16, 185, 129, 0.35);
    --color-card: rgba(255, 255, 255, 0.82);
    
    --color-warning: #F59E0B;
    --color-danger: #EF4444;
    --color-success: #10B981;
    
    --shadow-premium: 0 20px 50px -18px rgba(15, 23, 42, 0.22), 0 0 40px 0 rgba(5, 150, 105, 0.04);
    --shadow-glow: 0 0 50px 0 rgba(5, 150, 105, 0.12);
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body[data-theme="dark"], html[data-theme="dark"] body {
    --color-bg: #0B0F19;
    --color-bg-soft: #111827;
    --color-bg-muted: #1F2937;
    --color-text-main: #F9FAFB;
    --color-text-secondary: #9CA3AF;
    --color-text-muted: #6B7280;
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(16, 185, 129, 0.3);
    --color-card: rgba(17, 24, 39, 0.7);
    --shadow-premium: 0 20px 50px -12px rgba(0, 0, 0, 0.5), 0 0 40px 0 rgba(5, 150, 105, 0.03);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    max-width: 100%;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    position: relative;
}

/* Р•Р»РµРіР°РЅС‚РЅС– СЂРѕР·РјРёС‚С– РїР»СЏРјРё РЅР° С„РѕРЅС– (Ambient Glow Blobs) */
body::before, body::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(5, 150, 105, 0.06) 0%, rgba(0,0,0,0) 70%);
    filter: blur(100px);
    z-index: -1;
    pointer-events: none;
}
body::before { top: 10%; left: -10%; }
body::after { top: 60%; right: -10%; background: radial-gradient(circle, rgba(16, 185, 129, 0.04) 0%, rgba(0,0,0,0) 70%); }

.container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

section {
    padding: 140px 0;
    position: relative;
}

.section-soft {
    background-color: var(--color-bg-soft);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

h1, h2, h3, h4 {
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
}

.text-accent {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--color-accent-hover);
    margin-bottom: 20px;
    border: 1px solid rgba(16, 185, 129, 0.2);
    padding: 4px 12px;
    border-radius: 30px;
    background: rgba(5, 150, 105, 0.05);
}

.section-title {
    font-size: 48px;
    margin-bottom: 24px;
}

.section-subtitle {
    font-size: 19px;
    color: var(--color-text-secondary);
    max-width: 760px;
    margin-bottom: 64px;
    font-weight: 400;
}

/* РљРЅРѕРїРєРё Р· РјС–РєСЂРѕ-Р°РЅС–РјР°С†С–С”СЋ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-decoration: none;
    border: 1px solid transparent;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 8px 30px rgba(5, 150, 105, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(5, 150, 105, 0.4), 0 0 15px rgba(16, 185, 129, 0.2);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--color-text-main);
    border-color: var(--color-border);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

/* РљР°СЂС‚РєРё Glassmorphism Р· С†С–РєР°РІРёРјРё С‚С–РЅСЏРјРё */
.card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 44px;
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-premium);
}

.card:hover {
    transform: translateY(-5px);
    border-color: var(--color-border-hover);
    box-shadow: var(--shadow-premium), var(--shadow-glow);
}

/* --- Header --- */
/* Anchor-scroll targets need this so the sticky 94px header doesn't
   overlap the top of whatever section a nav/CTA link scrolls to. */
section[id], #signup-form-anchor {
    scroll-margin-top: 110px;
}

.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
    height: 94px;
    display: flex;
    align-items: center;
    transition: var(--transition-smooth);
}

body[data-theme="dark"] .header {
    background-color: rgba(11, 15, 25, 0.75);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--color-text-main);
    font-weight: 800;
    font-size: 24px;
    letter-spacing: -0.04em;
    flex-shrink: 0;
}

.logo-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    flex-shrink: 0;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF;
    font-weight: 900;
    box-shadow: 0 4px 15px rgba(5, 150, 105, 0.3);
}

.nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 28px;
}

.nav-link {
    text-decoration: none;
    font-size: 15px;
    font-weight: 600;
    color: var(--color-text-secondary);
    transition: var(--transition-smooth);
}

.nav-link:hover {
    color: var(--color-accent-hover);
}

.header-cta-btn {
    padding: 12px 24px;
    font-size: 14px;
    border-radius: 10px;
    white-space: nowrap;
    flex-shrink: 0;
}

.theme-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid var(--color-border);
    background: var(--color-card);
    color: var(--color-text-main);
    font-size: 13px;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.theme-toggle:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-2px);
}

.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    background: none;
    border: none;
    cursor: pointer;
}

.burger span {
    display: block;
    width: 26px;
    height: 2px;
    background-color: var(--color-text-main);
    border-radius: 2px;
}

/* --- Hero Section --- */
.hero-section {
    padding: 100px 0 140px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 72px;
    align-items: center;
}

.hero-grid > *, .product-grid > *, .markets-grid > *, .security-grid > *,
.final-cta-grid > *, .comparison-grid > *, .seo-text-grid > *, .app-promo-grid > * {
    min-width: 0;
}

.hero-content h1 {
    font-size: 62px;
    margin-bottom: 28px;
    overflow-wrap: break-word;
}

.hero-desc {
    font-size: 21px;
    color: var(--color-text-secondary);
    margin-bottom: 44px;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 20px;
    margin-bottom: 56px;
}

.trust-badges {
    display: flex;
    gap: 32px;
    border-top: 1px solid var(--color-border);
    padding-top: 36px;
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-secondary);
}

.badge-item svg {
    color: var(--color-accent-hover);
}

/* Р¤РѕСЂРјР° Р· С†С–РєР°РІРѕСЋ С–РЅС‚РµСЂР°РєС‚РёРІРЅРѕСЋ С‚С–РЅРЅСЋ */
.signup-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 32px;
    padding: 48px;
    backdrop-filter: blur(30px);
    box-shadow: var(--shadow-premium);
    transition: var(--transition-smooth);
    position: relative;
}

.signup-card:hover,
.signup-card.highlight-flash {
    border-color: var(--color-accent-hover);
    box-shadow: 0 0 50px rgba(16, 185, 129, 0.25), var(--shadow-premium);
}

.signup-card h3 {
    font-size: 28px;
    margin-bottom: 10px;
}

.signup-card .form-subtitle {
    color: var(--color-text-secondary);
    font-size: 15px;
    margin-bottom: 32px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

.form-group-full {
    grid-column: span 2;
    margin-top: 14px;
    min-width: 0;
}

.form-group input {
    width: 100%;
    box-sizing: border-box;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: var(--color-text-main);
    letter-spacing: -0.01em;
}

.form-group input {
    height: 56px;
    padding: 0 18px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    font-size: 16px;
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--color-text-main);
    transition: var(--transition-smooth);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-accent-hover);
    background-color: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.15);
}

.phone-input-wrapper {
    display: flex;
    gap: 10px;
}

.country-select {
    width: 100px;
    border: 1px solid var(--color-border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.02);
    font-size: 15px;
    font-weight: 600;
}

.form-btn {
    width: 100%;
    height: 58px;
    margin-top: 28px;
}

.form-legal {
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
    margin-top: 22px;
}

.form-legal a {
    color: var(--color-text-secondary);
    text-decoration: none;
}

/* --- Stats Bar --- */
.stats-bar {
    padding: 56px 0;
    background-color: rgba(255, 255, 255, 0.55);
    border-top: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid var(--color-border);
    border-radius: 20px;
    padding: 28px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.stat-icon-box {
    width: 52px;
    height: 52px;
    border-radius: 12px;
    background-color: rgba(5, 150, 105, 0.08);
    color: var(--color-accent-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.stat-value {
    font-size: 28px;
    font-weight: 800;
    color: var(--color-text-main);
    line-height: 1.1;
}

.stat-label {
    font-size: 14px;
    color: var(--color-text-secondary);
    font-weight: 500;
    margin-top: 4px;
}

/* --- Interactive Dashboard Mockup --- */
.product-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
}

.check-list {
    list-style: none;
    margin: 36px 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.check-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 17px;
    font-weight: 500;
}

.check-list svg {
    color: var(--color-accent-hover);
    flex-shrink: 0;
}

.mockup-container {
    background-color: var(--color-bg-soft);
    border-radius: 32px;
    padding: 36px;
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-premium), 0 30px 70px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
}

.mockup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.mockup-title {
    color: var(--color-text-main);
    font-size: 16px;
    font-weight: 700;
}

.mockup-asset-value {
    font-size: 40px;
    font-weight: 800;
    color: var(--color-text-main);
    letter-spacing: -0.03em;
    font-variant-numeric: tabular-nums;
    transition: color 0.2s ease;
}

.mockup-chart-placeholder {
    height: 180px;
    margin: 28px 0;
    border-bottom: 1px solid var(--color-bg-muted);
    padding-bottom: 10px;
    overflow: hidden;
    position: relative;
}

.chart-track {
    height: 100%;
    display: flex;
    align-items: flex-end;
    gap: 10px;
    will-change: transform;
}

.chart-track.is-sliding {
    transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}

.chart-bar {
    flex: 0 0 calc((100% - 60px) / 7);
    background: linear-gradient(180deg, rgba(16, 185, 129, 0.24) 0%, rgba(16, 185, 129, 0.03) 100%);
    border-top: 2px solid var(--color-accent-hover);
    border-radius: 4px 4px 0 0;
    transition: background 0.45s ease, border-color 0.45s ease, opacity 0.45s ease;
    will-change: transform;
}

.chart-bar.down {
    background: linear-gradient(180deg, rgba(239, 68, 68, 0.22) 0%, rgba(239, 68, 68, 0.03) 100%);
    border-top-color: var(--color-danger);
}

.chart-bar.new-point {
    opacity: 0.65;
}

.mockup-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 28px;
}

.mockup-btn {
    padding: 16px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    border: none;
    transition: var(--transition-smooth);
}

.m-btn-sell {
    background-color: rgba(239, 68, 68, 0.1);
    color: #EF4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}
.m-btn-sell:hover {
    background-color: #EF4444;
    color: var(--color-text-main);
}

.m-btn-buy {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10B981;
    border: 1px solid rgba(16, 185, 129, 0.2);
}
.m-btn-buy:hover {
    background-color: #10B981;
    color: var(--color-text-main);
}

/* Р†РЅС‚РµСЂР°РєС‚РёРІРЅРёР№ РЎРєР»СЏРЅРёР№ РћРІРµСЂР»РµР№ Р·Р°РјС–СЃС‚СЊ РїСѓСЃС‚РёС… Р°Р»РµСЂС‚С–РІ */
.mockup-cta-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(11, 15, 25, 0.85);
    backdrop-filter: blur(16px);
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    text-align: center;
}

.mockup-cta-overlay.show {
    opacity: 1;
    visibility: visible;
}

.overlay-content h4 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--color-text-main);
}

.overlay-content p {
    font-size: 15px;
    color: var(--color-text-secondary);
    margin-bottom: 24px;
}

/* --- Features --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background-color: rgba(5, 150, 105, 0.08);
    color: var(--color-accent-hover);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
}

.features-grid h3 {
    font-size: 24px;
    margin-bottom: 14px;
}

.features-grid p {
    color: var(--color-text-secondary);
    font-size: 16px;
}

/* --- Markets Widget (7 Currency Pairs) --- */
.markets-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 88px;
    align-items: center;
}

.ai-explain-box {
    background: rgba(5, 150, 105, 0.03);
    border-left: 4px solid var(--color-accent);
    border-radius: 4px 16px 16px 4px;
    padding: 28px;
    margin-top: 36px;
    border-top: 1px solid var(--color-border);
    border-right: 1px solid var(--color-border);
    border-bottom: 1px solid var(--color-border);
}

.ai-explain-box p {
    font-size: 16px;
    color: var(--color-text-secondary);
}

.market-widget {
    background-color: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 36px;
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(20px);
}

.widget-header {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
}

.widget-header span {
    font-size: 13px;
    font-weight: 700;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.market-row {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    padding: 18px 0;
    border-bottom: 1px solid var(--color-border);
    align-items: center;
    font-weight: 600;
    transition: background-color 0.4s ease, box-shadow 0.4s ease, padding 0.2s ease, border-radius 0.2s ease;
}

.market-row:last-child {
    border-bottom: none;
}

.market-row:hover {
    background-color: rgba(255, 255, 255, 0.02);
    padding-left: 6px;
    padding-right: 6px;
    border-radius: 8px;
}

/* РљРѕСЂРѕС‚РєРёР№ СЃРїР°Р»Р°С… СѓСЃСЊРѕРіРѕ СЂСЏРґРєР° РїСЂРё Р·РјС–РЅС– С†С–РЅРё */
.market-row.row-pulse-up {
    background-color: rgba(16, 185, 129, 0.1);
    box-shadow: inset 3px 0 0 0 var(--color-success);
    border-radius: 8px;
}

.market-row.row-pulse-down {
    background-color: rgba(239, 68, 68, 0.1);
    box-shadow: inset 3px 0 0 0 var(--color-danger);
    border-radius: 8px;
}

.asset-info {
    display: flex;
    flex-direction: column;
}

.asset-ticker {
    color: var(--color-text-main);
    font-size: 16px;
    font-weight: 700;
    margin-left: 20px;
}

.asset-fullname {
    color: var(--color-text-muted);
    font-size: 13px;
    font-weight: 400;
    margin-left: 20px;
}

.asset-price {
    color: var(--color-text-main);
    font-variant-numeric: tabular-nums;
    font-size: 16px;
    text-align: right;
    padding-right: 16px;
    transition: color 0.2s ease;
}

.asset-change {
    text-align: right;
    font-weight: 700;
    font-size: 15px;
    transition: color 0.2s ease;
}

.trend-up { color: var(--color-success); }
.trend-down { color: var(--color-danger); }

/* --- Mobile App Promo --- */
.app-promo-grid {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 64px;
    align-items: center;
}

.app-promo-visual {
    position: relative;
    display: flex;
    justify-content: center;
    padding: 40px 0;
}

.app-cta-wrap {
    display: flex;
    justify-content: center;
    margin-top: 36px;
}

.app-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 380px;
    height: 380px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.22) 0%, rgba(0,0,0,0) 70%);
    filter: blur(40px);
    z-index: 0;
}

.app-phone-image {
    position: relative;
    z-index: 1;
    max-width: 320px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    animation: appFloat 5s ease-in-out infinite;
}

@keyframes appFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-16px); }
}

/* --- How It Works (РџР»Р°РІРЅР° РїРѕСЏРІР° + РЎРїРѕР»СѓС‡РЅР° Р›С–РЅС–СЏ) --- */
.steps-container {
    position: relative;
    margin-top: 40px;
}

/* Р РѕР·СѓРјРЅР° Р»С–РЅС–СЏ Р·РІ'СЏР·РєСѓ */
.steps-connecting-line {
    position: absolute;
    top: 52px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: linear-gradient(90deg, var(--color-border) 0%, var(--color-accent) 50%, var(--color-border) 100%);
    z-index: 1;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    position: relative;
    z-index: 2;
}

.step-card {
    background-color: var(--color-bg);
    border: 1px solid var(--color-border);
    border-radius: 24px;
    padding: 36px;
    transition: var(--transition-smooth);
    opacity: 0;
    transform: translateY(30px);
}

/* РљР»Р°СЃРёС‡РЅРёР№ fade-in РµС„РµРєС‚ С‡РµСЂРµР· JS СЃРєСЂРѕР»Р» */
.step-card.revealed {
    opacity: 1;
    transform: translateY(0);
}

.step-number {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: var(--color-text-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 16px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(5, 150, 105, 0.4);
}

.step-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
}

.step-card p {
    color: var(--color-text-secondary);
    font-size: 15px;
}

/* --- Security & Honest Pros/Cons --- */
.security-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 88px;
    align-items: center;
}

.comparison-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 32px;
    margin-top: 64px;
}

.comp-card {
    padding: 48px;
    border-radius: 28px;
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-premium);
}

.comp-card-our {
    background-color: rgba(5, 150, 105, 0.03);
    border: 1px solid rgba(16, 185, 129, 0.15);
}

.comp-card-traditional {
    background-color: rgba(239, 68, 68, 0.02);
    border: 1px solid var(--color-border);
}

.comp-card-badge {
    display: inline-flex;
    align-items: center;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--color-accent-hover);
    background: rgba(5, 150, 105, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    padding: 4px 12px;
    border-radius: 30px;
    margin-bottom: 18px;
}

.comp-card-badge-muted {
    color: var(--color-text-muted);
    background: rgba(255, 255, 255, 0.03);
    border-color: var(--color-border);
}

.comp-card h3 {
    font-size: 26px;
    margin-bottom: 36px;
}

.comp-disclaimer {
    margin-top: 24px;
    font-size: 13px;
    color: var(--color-text-muted);
    text-align: center;
}

.comp-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.comp-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 16px;
    font-weight: 500;
}

.comp-list svg {
    flex-shrink: 0;
    margin-top: 3px;
}

/* --- Capabilities Table (Vibrant FinTech Re-design) --- */
.table-wrapper {
    width: 100%;
    overflow-x: auto;
    border: 1px solid var(--color-border);
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(20px);
    box-shadow: var(--shadow-premium);
}

.cap-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 16px;
}

.cap-table th, .cap-table td {
    padding: 24px 32px;
    border-bottom: 1px solid var(--color-border);
}

.cap-table th {
    background-color: rgba(255, 255, 255, 0.72);
    font-weight: 700;
    color: var(--color-text-main);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.08em;
}

.cap-table tr:last-child td {
    border-bottom: none;
}

.cap-table tr {
    transition: all 0.3s ease;
}

.cap-table tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.cap-table tr.highlighted-row td {
    background-color: rgba(5, 150, 105, 0.05);
    color: var(--color-text-main);
    font-weight: 600;
    border-left: 4px solid var(--color-accent-hover);
}

.cap-table-center {
    text-align: center;
    width: 120px;
}

.cap-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: var(--color-accent-hover);
    font-weight: 700;
    font-size: 14px;
}

/* --- Payments & Partners (Trust chips) --- */
.payment-container {
    max-width: 760px;
    text-align: center;
}

.payment-icons-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    margin-top: 48px;
}

.payment-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 22px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
}

.payment-chip svg {
    color: var(--color-accent-hover);
    flex-shrink: 0;
}

.payment-chip:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text-main);
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.partners-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 56px;
}

.partner-chip {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 84px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.58);
    border: 1px solid var(--color-border);
    color: var(--color-text-secondary);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: var(--transition-smooth);
}

.partner-logo {
    width: 30px;
    height: 30px;
    object-fit: contain;
    flex-shrink: 0;
}

.partner-chip:hover {
    border-color: var(--color-border-hover);
    color: var(--color-text-main);
    background: rgba(5, 150, 105, 0.04);
    transform: translateY(-3px);
}

/* --- Reviews (Gorgeous 4-Card Grid) --- */
.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.review-card {
    background: var(--color-card);
    border: 1px solid var(--color-border);
    border-radius: 28px;
    padding: 44px;
    box-shadow: var(--shadow-premium);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.review-card::before {
    content: '\2726';
    position: absolute;
    top: 24px;
    right: 30px;
    font-size: 42px;
    line-height: 1;
    color: rgba(16, 185, 129, 0.22);
    pointer-events: none;
}

.review-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-3px);
}

.stars-container {
    display: flex;
    gap: 4px;
    margin-bottom: 24px;
    color: var(--color-warning);
    font-size: 20px;
    letter-spacing: 2px;
}

.review-text {
    font-size: 18px;
    color: var(--color-text-main);
    margin-bottom: 36px;
    line-height: 1.6;
    font-weight: 400;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 18px;
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
}

.reviewer-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(5, 150, 105, 0.2) 100%);
    color: var(--color-accent-hover);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.reviewer-meta h4 {
    font-size: 16px;
    margin-bottom: 4px;
}

.reviewer-meta p {
    font-size: 14px;
    color: var(--color-text-secondary);
}

/* --- Extended SEO Framework --- */
.seo-content {
    max-width: 960px;
    margin: 0 auto;
}

.seo-intro {
    font-size: 22px;
    color: var(--color-text-main);
    margin-bottom: 56px;
    font-weight: 300;
    border-left: 4px solid var(--color-accent-hover);
    padding-left: 28px;
    line-height: 1.6;
}

.seo-text-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px 56px;
}

.seo-block h3 {
    font-size: 26px;
    margin-bottom: 16px;
}

.seo-block p {
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 14px;
}

/* --- FAQ Accordion (6 Full Items) --- */
.faq-max-width {
    max-width: 880px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--color-border);
    padding: 28px 0;
}

.faq-item:first-child {
    padding-top: 0;
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-size: 20px;
    font-weight: 700;
    color: var(--color-text-main);
    cursor: pointer;
    transition: color 0.2s ease;
}

.faq-trigger:hover {
    color: var(--color-accent-hover);
}

.faq-icon-svg {
    transition: var(--transition-smooth);
    color: var(--color-text-secondary);
    flex-shrink: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content p {
    padding-top: 18px;
    color: var(--color-text-secondary);
    font-size: 16px;
    line-height: 1.7;
}

.faq-item.active .faq-trigger { color: var(--color-accent-hover); }
.faq-item.active .faq-icon-svg { transform: rotate(180deg); color: var(--color-accent-hover); }

/* --- Final CTA & Footer --- */
.final-cta-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 72px;
    align-items: center;
}

.final-cta-content h2 {
    font-size: 58px;
    line-height: 1.1;
    margin-bottom: 28px;
}

.footer-top {
    padding: 88px 0 56px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr repeat(3, 1fr);
    gap: 64px;
}

.footer-brand p {
    color: var(--color-text-secondary);
    margin-top: 20px;
    font-size: 15px;
    max-width: 320px;
}

.footer-links-col h4 {
    color: var(--color-text-main);
    font-size: 16px;
    margin-bottom: 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.footer-links-col a {
    color: var(--color-text-secondary);
    text-decoration: none;
    font-size: 15px;
    transition: var(--transition-smooth);
}

.footer-links-col a:hover {
    color: var(--color-accent-hover);
}

.footer-bottom {
    padding: 44px 0;
    border-top: 1px solid var(--color-border);
}

.disclaimer {
    font-size: 13px;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 28px;
    text-align: center;
    max-width: 920px;
    margin-left: auto;
    margin-right: auto;
}

.footer-meta-links {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: var(--color-text-muted);
    flex-wrap: wrap;
    gap: 20px;
    text-align: center;
}

body[data-theme="dark"] .stats-bar { background-color: rgba(17, 24, 39, 0.4); }
body[data-theme="dark"] .table-wrapper { background: rgba(17, 24, 39, 0.4); }
body[data-theme="dark"] .cap-table th { background-color: rgba(17, 24, 39, 0.8); }
body[data-theme="dark"] .partner-chip { background: rgba(255, 255, 255, 0.02); }

body[data-theme="dark"] .market-widget { background-color: rgba(17, 24, 39, 0.6); }
body[data-theme="light"] .hero-section,
body[data-theme="light"] section,
body[data-theme="light"] .section-soft {
    background-color: transparent;
}
body[data-theme="light"] .mockup-container,
body[data-theme="light"] .market-widget,
body[data-theme="light"] .signup-card,
body[data-theme="light"] .review-card,
body[data-theme="light"] .card {
    background: rgba(255, 255, 255, 0.88);
    color: var(--color-text-main);
}
body[data-theme="light"] .mockup-container {
    box-shadow: 0 24px 60px -24px rgba(15, 23, 42, 0.35), 0 0 0 1px rgba(15, 23, 42, 0.05);
}
body[data-theme="light"] .market-widget {
    box-shadow: 0 24px 60px -26px rgba(15, 23, 42, 0.30);
}
.platform-cta-wrap,
.markets-cta-wrap {
    display: flex;
    justify-content: center;
}
.platform-cta-wrap { margin-top: 8px; }
.markets-cta-wrap { margin-top: 36px; }


#final-cta {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#final-cta .final-cta-content h2 {
    color: #F9FAFB !important;
}

#final-cta .final-cta-content .section-subtitle {
    color: #CBD5E1 !important;
}

/* --- Premium Footer: always dark in Light and Dark themes --- */
.site-footer {
    background: #0F172A !important;
    color: #F8FAFC !important;
    border-top: 1px solid rgba(16, 185, 129, 0.22);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04), 0 -28px 80px -60px rgba(16, 185, 129, 0.55);
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(16, 185, 129, 0.55), transparent);
    pointer-events: none;
}

.site-footer .footer-top,
.site-footer .footer-bottom {
    background: transparent !important;
}

.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.site-footer .logo,
.site-footer .logo span,
.site-footer .footer-links-col h4 {
    color: #FFFFFF !important;
}

.site-footer .footer-brand p,
.site-footer .footer-links-col a,
.site-footer .disclaimer,
.site-footer .footer-meta-links {
    color: #94A3B8 !important;
}

.site-footer .footer-links-col a:hover {
    color: #10B981 !important;
}

.site-footer .disclaimer strong {
    color: #CBD5E1 !important;
}

body[data-theme="light"] .site-footer,
body[data-theme="dark"] .site-footer {
    background: #0F172A !important;
    color: #F8FAFC !important;
}

/* Avoid any light strip below the footer in light theme */
html {
    background: #0F172A;
}

.mockup-container {
    background-color: #111827 !important;
}
.mockup-container .mockup-title,
.mockup-container .mockup-asset-value,
.mockup-container .overlay-content h4 {
    color: #F9FAFB !important;
}
.mockup-container .overlay-content p {
    color: #9CA3AF !important;
}
.mockup-cta-overlay {
    background: rgba(11, 15, 25, 0.9) !important;
}



/* --- Responsive Viewports --- */
@media (max-width: 1200px) {
    .hero-grid, .product-grid, .markets-grid, .security-grid, .final-cta-grid, .comparison-grid, .seo-text-grid, .app-promo-grid {
        grid-template-columns: 1fr;
        gap: 64px;
    }
    .hero-content { text-align: center; }
    .hero-actions, .trust-badges { justify-content: center; }
    .features-grid, .reviews-grid, .partners-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid { grid-template-columns: repeat(2, 1fr); }
    .steps-connecting-line { display: none; }
}

@media (max-width: 768px) {
    section { padding: 90px 0; }
    .section-title, .final-cta-content h2 { font-size: 38px; }
    .hero-content h1 { font-size: 44px; }
    .nav, .header .btn-primary { display: none; }
    .theme-toggle { height: 38px; padding: 0 12px; font-size: 12px; }
    .burger { display: flex; }

    .nav.mobile-active {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 94px; left: 0; width: 100%;
        background: var(--color-bg);
        padding: 40px 24px;
        border-bottom: 1px solid var(--color-border);
        gap: 28px;
        z-index: 999;
    }

    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 40px; }
    .partners-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
    .partner-chip { height: auto; min-height: 64px; padding: 10px 12px; font-size: 14px; }
    /* Capabilities table: reduce padding and font on tablets */
    .cap-table { font-size: 14px; }
    .cap-table th, .cap-table td { padding: 16px 14px; }
    .cap-table-center { width: 80px; }
}

@media (max-width: 480px) {
    .hero-content h1 { font-size: 34px; }
    .form-grid, .stats-grid, .features-grid, .steps-grid, .reviews-grid, .partners-grid { grid-template-columns: 1fr; }
    .hero-actions { flex-direction: column; width: 100%; }
    .hero-actions .btn { width: 100%; }
    .partner-chip { height: auto; min-height: 60px; padding: 10px 14px; font-size: 14px; flex-wrap: wrap; text-align: center; }

    /* Capabilities table: compact layout for phones */
    .cap-table { font-size: 13px; }
    .cap-table th, .cap-table td { padding: 12px 10px; }
    .cap-table-center { width: 60px; }
    .cap-check { width: 22px; height: 22px; }
}

/* ============================================================
   Chat widget lead-capture form (#cq-form-card / #cq-isolated-form)
   ============================================================ */
.cq-pure-custom-form {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
}

.cq-field-group {
    position: relative !important;
    width: 100% !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cq-pure-custom-form .iti {
    width: 100% !important;
    display: block !important;
}

.cq-pure-custom-form input[type="text"],
.cq-pure-custom-form input[type="email"],
.cq-pure-custom-form input[type="tel"] {
    display: block !important;
    width: 100% !important;
    height: 48px !important;
    box-sizing: border-box !important;
    background-color: var(--color-bg-muted) !important;
    color: var(--color-text-main) !important;
    border: 1px solid var(--color-border) !important;
    border-radius: 8px !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-right: 16px !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 48px !important;
    outline: none !important;
    margin: 0 !important;
    box-shadow: none !important;
    transition: var(--transition-smooth) !important;
}

.cq-pure-custom-form input[type="text"],
.cq-pure-custom-form input[type="email"] {
    padding-left: 16px !important;
}

/* padding-left intentionally NOT forced for the tel input вЂ” intl-tel-input
   manages it dynamically (via its own CSS custom property) to leave room for
   the flag + dial-code widget it injects; overriding it here caused the two
   to visually overlap. */

.cq-pure-custom-form input:focus {
    border-color: var(--color-accent) !important;
}

#cq-custom-submit-btn {
    width: 100% !important;
    height: 48px !important;
    box-sizing: border-box !important;
    background: linear-gradient(135deg, var(--color-accent-hover) 0%, var(--color-accent) 100%) !important;
    color: #ffffff !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 0 !important;
    line-height: 48px !important;
    text-align: center !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: var(--shadow-glow) !important;
    display: block !important;
    margin-top: 4px !important;
    transition: opacity 0.2s ease, transform 0.2s ease !important;
}

#cq-custom-submit-btn:hover {
    opacity: 0.95 !important;
    transform: translateY(-1px) !important;
}

.cq-pure-custom-form .error-msg {
    display: block;
    color: var(--color-danger);
    font-size: 12px;
    margin-top: 4px;
}
.cq-pure-custom-form .error-msg.hide {
    display: none;
}
.cq-pure-custom-form input.error {
    border-color: var(--color-danger) !important;
}

.cq-pure-custom-form .form-preloader {
    display: flex;
    justify-content: center;
    padding: 8px 0;
}
.cq-pure-custom-form .form-preloader.hidden {
    display: none;
}
.cq-pure-custom-form .form-preloader .spinner {
    animation: cq-spin 1s linear infinite;
}
.cq-pure-custom-form .form-preloader .path {
    stroke: var(--color-accent);
    stroke-dasharray: 90, 150;
    stroke-dashoffset: 0;
}
@keyframes cq-spin {
    100% { transform: rotate(360deg); }
}

/* Trust/payment icon row under signup forms */
.trust-payment-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
}
.trust-payment-icons img {
    height: 20px;
    width: auto;
    object-fit: contain;
    display: block;
}
/* Each badge gets its own white chip so dark logos (Apple Pay) stay visible
   regardless of the surrounding section's background (light or dark theme). */
.trust-payment-icons span.trust-chip {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 6px;
    padding: 5px 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.15);
}

/* ============================================================
   Legal / content pages (about, contact, faq, sign, conditions, privacy)
   ============================================================ */
.legal-page {
    padding: 160px 0 120px;
}

.legal-wrapper {
    max-width: 920px;
    margin: 0 auto;
    padding: 46px;
    border-radius: 30px;
    background: var(--color-card);
    border: 1px solid var(--color-border);
    box-shadow: var(--shadow-premium);
}

.legal-wrapper h1 {
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.1;
    margin-bottom: 24px;
    color: var(--color-text-main);
}

.legal-wrapper h2 {
    font-size: 22px;
    margin: 34px 0 12px;
    color: var(--color-text-main);
}

.legal-wrapper p,
.legal-wrapper li {
    color: var(--color-text-secondary);
    line-height: 1.85;
    margin-bottom: 14px;
}

.legal-wrapper ul {
    padding-left: 22px;
}

.legal-wrapper form {
    margin: 24px 0 32px;
    max-width: 560px;
}

@media (max-width: 768px) {
    .legal-wrapper {
padding: 28px 20px;
    }
}


/* ── Offerra form / integration extras ── */
.hidden, .hide { display: none !important; }
.form-grid {
  display: grid;
  gap: 14px;
  grid-template-columns: 1fr 1fr;
  margin-bottom: 14px;
}
.field-full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 6px; text-align: left; }
.field-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--color-text-secondary);
}
.input, .leadform input[type="text"], .leadform input[type="email"], .leadform input[type="tel"] {
  width: 100%;
  height: 56px;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  color: var(--color-text-main);
  border-radius: 12px;
  padding: 12px 14px;
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
  font: inherit;
}
.input:focus, .leadform input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-glow);
}
.leadform .btn-block, .leadform .submit, .leadform button[type="submit"] {
  width: 100%;
  height: 58px;
  margin-top: 4px;
}
.form-heading, .form-subtitle {
  text-align: center;
  color: var(--color-text-secondary);
  font-size: 0.92rem;
  margin-bottom: 18px;
}
.signup-card h3 { text-align: center; margin-bottom: 8px; }
.form-legal {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--color-text-muted);
  text-align: center;
}
.form-already-registered { text-align: center; padding: 12px 0; }
.form-already-registered__icon {
  width: 48px; height: 48px; margin: 0 auto 10px; border-radius: 50%;
  background: var(--color-accent-glow); color: var(--color-accent);
  display: grid; place-items: center; font-size: 1.4rem; font-weight: 800;
}
.form-already-registered__title { font-weight: 700; margin-bottom: 6px; }
.form-already-registered__text { color: var(--color-text-secondary); font-size: 0.92rem; }
.form-message { margin-top: 12px; color: var(--color-danger); font-size: 0.9rem; }
.spinner {
  width: 28px; height: 28px; border: 3px solid var(--color-border);
  border-top-color: var(--color-accent); border-radius: 50%;
  animation: spin 0.8s linear infinite; margin: 12px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }
.iti { width: 100%; }
.iti__selected-dial-code { color: var(--color-text-main) !important; }
.payment-icons { margin-top: 14px; text-align: center; }
.payment-icons-list {
  display: flex; flex-wrap: wrap; gap: 10px 12px; list-style: none;
  margin: 0; padding: 0; align-items: center; justify-content: center;
}
.payment-icons-list li { display: flex; align-items: center; line-height: 0; }
.payment-icons-list img { height: 22px; width: auto; max-width: 56px; object-fit: contain; opacity: 0.9; }

/* Page chrome (secondary pages) */
.page-hero { padding: 64px 0 24px; }
.page-panel {
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: 28px; padding: 32px; box-shadow: var(--shadow-premium);
  backdrop-filter: blur(16px);
}
.prose p, .prose li { color: var(--color-text-secondary); margin-bottom: 12px; }
.prose h2 { font-size: 1.25rem; margin: 28px 0 10px; }
.prose ul { padding-left: 18px; list-style: disc; }
.thanks-page { padding: 100px 0; text-align: center; }
.thanks-icon {
  width: 64px; height: 64px; margin: 0 auto 18px; border-radius: 50%;
  background: var(--color-accent-glow); color: var(--color-accent);
  display: grid; place-items: center; font-size: 1.8rem; font-weight: 800;
}
.nav-mobile {
  display: flex; flex-direction: column; gap: 4px; padding: 8px 24px 20px;
  border-top: 1px solid var(--color-border); background: var(--color-bg);
}
.nav-mobile[hidden] { display: none !important; }
.nav-mobile a { color: var(--color-text-main); padding: 12px 0; font-weight: 500; text-decoration: none; }
@media (min-width: 960px) {
  .burger, .menu-toggle, .nav-mobile { display: none !important; }
}

/* Platform image helper */
.platform-figure { margin: 0; text-align: center; }
.platform-figure-media { display: flex; justify-content: center; }
.platform-figure-img.app-phone-image,
.app-phone-image {
  display: block; width: auto; max-width: min(100%, 320px); height: auto;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
}
.platform-figure-caption { margin-top: 0.75rem; font-size: 0.82rem; color: var(--color-text-muted); }
.app-promo-visual .platform-figure-caption { display: none; }

/* Lisa chat (keep Offerra widget, sample chrome) */
.lisa-chat {
  position: fixed; right: 12px; bottom: 12px; z-index: 200;
  width: 360px; max-width: calc(100vw - 24px);
}
.lisa-fab {
  position: absolute; right: 0; bottom: 0; width: 60px; height: 60px;
  border-radius: 50%; border: 0; color: #fff; cursor: pointer;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #059669, #10B981);
  box-shadow: 0 12px 30px -8px rgba(5, 150, 105, 0.65);
  transition: transform 0.2s;
}
.lisa-fab:hover { transform: scale(1.05); }
.lisa-fab__dot {
  position: absolute;
  top: -1px;
  right: -1px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  padding: 0;
  border-radius: 50%;
  background: var(--color-warning);
  color: #fff;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--color-bg-soft);
  box-sizing: border-box;
  transform: scale(0);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  z-index: 10;
}
.lisa-fab__dot.is-visible {
  transform: scale(1);
}
.lisa-fab__dot.is-hidden {
  transform: scale(0) !important;
}
.lisa-panel {
  position: absolute; right: 0; bottom: 0; width: 100%;
  height: min(640px, 85vh); max-height: 85vh;
  display: flex; flex-direction: column;
  background: var(--color-card); border: 1px solid var(--color-border);
  border-radius: 24px; box-shadow: var(--shadow-premium);
  backdrop-filter: blur(20px); overflow: hidden;
  opacity: 0; transform: translateY(20px); pointer-events: none;
  transition: var(--transition-smooth);
}
.lisa-panel.is-open { opacity: 1; transform: none; pointer-events: auto; }
.lisa-panel[hidden] { display: none !important; }
.lisa-panel:not([hidden]) { display: flex; }
.lisa-panel__head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 20px; border-bottom: 1px solid var(--color-border); flex-shrink: 0;
}
.lisa-panel__identity { display: flex; align-items: center; gap: 12px; }
.lisa-avatar {
  position: relative; width: 48px; height: 48px; border-radius: 50%;
  border: 0; overflow: hidden; background: transparent; flex-shrink: 0;
}
.lisa-avatar img {
  width: 100%; height: 100%; object-fit: contain; object-position: center center;
  display: block; image-rendering: auto;
}
.lisa-avatar__online {
  position: absolute; right: 0; bottom: 0; width: 10px; height: 10px; border-radius: 50%;
  background: var(--color-success); border: 2px solid var(--color-card);
}
.lisa-panel__identity h4 { margin: 0; font-size: 0.95rem; }
.lisa-panel__identity p { margin: 2px 0 0; font-size: 0.75rem; color: var(--color-text-secondary); font-weight: 500; }
.lisa-panel__close { border: 0; background: transparent; color: var(--color-text-muted); cursor: pointer; padding: 6px; display: flex; }
.lisa-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; display: flex; flex-direction: column; overscroll-behavior: contain; }
.lisa-messages { padding: 16px 20px 8px; display: flex; flex-direction: column; gap: 12px; align-items: stretch; flex: 0 0 auto; }
.lisa-bubble { max-width: 88%; width: fit-content; padding: 10px 14px; border-radius: 16px; font-size: 0.9rem; line-height: 1.45; text-align: left; display: inline-block; }
.lisa-bubble--bot { align-self: flex-start; margin-right: auto; background: var(--color-bg-muted); border-bottom-left-radius: 6px; }
.lisa-bubble--user { align-self: flex-end; margin-left: auto; background: var(--color-accent); color: #fff; border-bottom-right-radius: 6px; }
.lisa-typing { padding: 0 20px 8px; font-size: 0.8rem; color: var(--color-text-muted); font-style: italic; flex: 0 0 auto; }
.lisa-controls { padding: 8px 16px 16px; border-top: 0; display: flex; flex-wrap: wrap; gap: 8px; position: static; background: transparent; flex: 0 0 auto; }
.lisa-controls:empty { display: none; border: 0; padding: 0; }
.lisa-choice {
  border: 1px solid var(--color-border); background: var(--color-bg-soft); color: var(--color-text-main);
  border-radius: 999px; padding: 8px 14px; font-size: 0.82rem; font-weight: 600; cursor: pointer;
}
.lisa-choice:hover { border-color: var(--color-border-hover); background: var(--color-accent-glow); color: var(--color-accent); }
.lisa-form-wrap { padding: 12px 16px 16px; border-top: 1px solid var(--color-border); }
.lisa-form-wrap[hidden] { display: none !important; }
.lisa-leadform .form-grid { display: flex; flex-direction: column; gap: 0; }
.lisa-leadform .field { margin-bottom: 10px; }
.lisa-leadform .payment-icons { display: none; }
@media (max-width: 420px) {
  .lisa-chat { right: 12px; bottom: 12px; width: calc(100vw - 24px); }
  .form-grid { grid-template-columns: 1fr; }
}

/* Chat scroll styling (subtle, consistent with the template) */
.lisa-body {
  scrollbar-width: thin;
  scrollbar-color: rgba(16, 185, 129, 0.65) transparent;
}
.lisa-body::-webkit-scrollbar {
  width: 8px;
}
.lisa-body::-webkit-scrollbar-track {
  background: transparent;
}
.lisa-body::-webkit-scrollbar-thumb {
  background: rgba(16, 185, 129, 0.45);
  border-radius: 999px;
  border: 2px solid transparent;
  background-clip: content-box;
}

/* Keep choices directly under the latest message (no large empty gap) */
.lisa-form-wrap { margin-top: auto; }

/* Compatibility aliases used by Offerra pages */
.site-header.header { /* already .header from sample */ }
.menu-toggle.burger span { display: block; }
.section { padding: 140px 0; }
.section-sm { padding: 48px 0 96px; }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.lead {
  color: var(--color-text-secondary);
  font-size: 1.125rem;
  line-height: 1.65;
  font-weight: 400;
  margin-top: 12px;
}
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent-hover);
  margin-bottom: 10px;
}
.split-2 {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 900px) {
  .split-2 { grid-template-columns: 1.1fr 0.9fr; gap: 56px; }
}
.feature-bullets {
  list-style: none;
  padding: 0;
  margin: 20px 0 28px;
  display: grid;
  gap: 12px;
}
.feature-bullets li {
  position: relative;
  padding-left: 28px;
  color: var(--color-text-secondary);
}
.feature-bullets li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.45em;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--color-accent-hover);
  box-shadow: 0 0 0 4px var(--color-accent-glow);
}
.phone-showcase {
  display: flex;
  justify-content: center;
  align-items: center;
}
.btn-ghost {
  background: transparent;
  color: var(--color-text-main);
  border-color: var(--color-border);
}
.btn-ghost:hover {
  border-color: var(--color-border-hover);
  transform: translateY(-2px);
}
.faq-list { display: grid; gap: 12px; }
[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-reveal].is-in {
  opacity: 1;
  transform: none;
}

.form-card-title { text-align:center; margin-bottom:8px; font-size:1.35rem; }
.signup-card .form-card-title { margin-top:0; }
