/*
Theme Name: Crypto Pay
Theme URI: https://shiftmarkets.com
Author: Shift
Description: Settl - Crypto Payment Gateway for Modern Platforms
Version: 7.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: crypto-pay
*/

/* ============================================
   CSS Variables & Design Tokens
   ============================================ */
:root {
    --teal: #00C8BE;
    --teal-dark: #009E96;
    --teal-light: #E6FAF9;
    --navy: #151A32;
    --navy-2: #1A2E42;
    --muted: #6B7585;
    --sub: #4B5563;
    --border: #E5E7EB;
    --border-faint: #F3F4F6;
    --bg-alt: #F8FAFB;
    --white: #FFFFFF;
    --font-body: 'Inter', system-ui, sans-serif;
    --font-head: 'Reddit Sans', 'Inter', sans-serif;
    --radius: 16px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg: 0 16px 56px rgba(0,0,0,0.12);
}

/* ============================================
   Reset & Base
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--white); color: var(--navy); line-height: 1.6; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.15; letter-spacing: -0.02em; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 40px; }

/* ============================================
   Buttons
   ============================================ */
.btn { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; font-size: 15px; border-radius: 10px; transition: all 0.22s ease; cursor: pointer; text-decoration: none; }
.btn-primary { background: #05DFE6; color: var(--navy); padding: 16px; border-radius: 12px; width: 189px; height: 49px; justify-content: center; box-shadow: none; font-weight: 400; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,200,190,0.42); }
.btn-ghost { background: transparent; color: var(--navy); padding: 12px 24px; border: 1.5px solid var(--border); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: 12px; }
.btn-white-outline { background: transparent; color: #fff; padding: 15px 32px; font-size: 16px; border-radius: 12px; border: 1.5px solid rgba(255,255,255,0.4); }
.btn-white-outline:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.7); }

/* ============================================
   Utility
   ============================================ */
.cursor-glow { position: fixed; width: 400px; height: 400px; pointer-events: none; z-index: 0; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(0,200,190,0.06) 0%, transparent 70%); border-radius: 50%; transition: opacity 0.3s; }
.section-animate { opacity: 0; transform: translateY(30px); transition: opacity 0.7s ease, transform 0.7s ease; }
.section-animate.visible { opacity: 1; transform: translateY(0); }

/* ============================================
   Navigation
   ============================================ */
.site-nav { position: fixed; top: 0; left: 0; right: 0; z-index: 200; height: 68px; padding: 0 52px; display: flex; align-items: center; justify-content: space-between; background: transparent; border-bottom: none; transition: background 0.3s, border-color 0.3s; }
.site-nav.scrolled { background: rgba(255,255,255,0.92); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); border-bottom: 1px solid var(--border); }
.site-nav.scrolled .nav-links a { color: var(--sub); }
.site-nav.scrolled .nav-links a:hover { color: var(--navy); }
.site-nav.scrolled .nav-links .current-menu-item a, .site-nav.scrolled .nav-links .current_page_item a { color: var(--navy); }
.nav-logo { display: flex; align-items: center; gap: 8px; }
.nav-links { display: flex; gap: 36px; list-style: none; margin: 0; padding: 0; }
.nav-links li { list-style: none; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,0.7); transition: color 0.2s; text-decoration: none; }
.nav-links .current-menu-item a, .nav-links .current_page_item a { color: #fff; }
.nav-links a:hover { color: #fff; }
.nav-cta { display: flex; gap: 12px; align-items: center; }
.logo-text-path { fill: #fff; transition: fill 0.4s ease; }
.site-nav.scrolled .logo-text-path { fill: #151A32; }
.site-nav .btn-primary { border: none; }
.nav-mobile-toggle { display: none; width: 40px; height: 40px; align-items: center; justify-content: center; }

/* Mobile hamburger + drawer */
.nav-toggle { display: none; width: 44px; height: 44px; padding: 0; border: none; background: transparent; color: #fff; cursor: pointer; flex-direction: column; justify-content: center; align-items: center; gap: 10px; box-sizing: border-box; }
.nav-toggle span { display: block; width: 22px; height: 2px; background: currentColor; border-radius: 2px; transition: transform 0.25s, opacity 0.25s; transform-origin: center; }
.nav-toggle span:nth-child(2) { display: none; }
body.menu-open .nav-toggle span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
body.menu-open .nav-toggle span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.site-nav.scrolled .nav-toggle,
body.single-post .nav-toggle { color: var(--navy); }
body.menu-open .nav-toggle { color: #fff; }

.mobile-drawer { display: none; position: fixed; top: 68px; left: 0; right: 0; bottom: 0; background: #151A32; color: #fff; z-index: 199; padding: 32px 24px; overflow-y: auto; transform: translateY(-8px); opacity: 0; pointer-events: none; transition: transform 0.25s ease, opacity 0.2s ease; }
body.menu-open .mobile-drawer { transform: translateY(0); opacity: 1; pointer-events: auto; }
.mobile-drawer-links,
.mobile-drawer .nav-links { display: block; list-style: none; margin: 0 0 24px; padding: 0; }
.mobile-drawer-links li,
.mobile-drawer .nav-links li { list-style: none; display: block; }
.mobile-drawer-links a,
.mobile-drawer .nav-links a { display: block; padding: 16px 0; font-size: 20px; font-weight: 600; color: #fff; border-bottom: 1px solid rgba(255,255,255,0.12); text-decoration: none; font-family: var(--font-head); }
.mobile-drawer-links a:hover,
.mobile-drawer .nav-links a:hover { color: var(--teal); }
.mobile-drawer .btn { display: inline-flex; width: 100%; justify-content: center; margin-top: 8px; }
body.menu-open { overflow: hidden; }
body.menu-open .site-nav { background: #151A32; border-bottom: 1px solid rgba(255,255,255,0.08); }
body.menu-open .logo-text-path { fill: #fff; }

@media (max-width: 900px) {
    .nav-toggle { display: flex; }
    .mobile-drawer { display: block; }
    .site-nav { overflow: visible; }
}

/* ============================================
   Hero Section (Dark)
   ============================================ */
.hero { position: relative; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; overflow: hidden; padding-top: 68px; padding-bottom: 100px; background: #0a1628; }
.hero::before { content: ''; position: absolute; inset: -20%; width: 140%; height: 140%; background: url('img/hero-bg-new.png') center center / cover no-repeat; pointer-events: none; opacity: 0.85; }
.hero::after { content: ''; position: absolute; inset: 0; width: 100%; height: 100%; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px 256px; opacity: 0.08; mix-blend-mode: overlay; pointer-events: none; z-index: 0; }
.hero-body { position: relative; z-index: 1; padding: 80px 0 60px; }
.hero-inner { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; max-width: 1180px; margin: 0 auto; padding: 0 40px; }
.hero-left { display: flex; flex-direction: column; align-items: flex-start; }
.hero-h1 { font-size: clamp(38px, 4vw, 54px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.08; color: #fff; margin-bottom: 24px; font-family: var(--font-head); }
.hero-sub { font-size: 17px; line-height: 1.7; color: rgba(255,255,255,0.65); max-width: 480px; margin-bottom: 36px; }
.hero-right { display: flex; align-items: center; justify-content: center; }
/* Deposit Feed Widget */
.deposit-widget { width: 100%; max-width: 380px; background: #fff; border-radius: 24px; overflow: hidden; box-shadow: 0 24px 64px rgba(13,31,45,0.10), 0 4px 16px rgba(13,31,45,0.05); padding: 28px 28px 24px; position: relative; z-index: 1; }
.dw-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 22px; }
.dw-header-title { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: #0ab4d4; }
.dw-live-badge { display: flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; color: #0ab4d4; letter-spacing: 0.05em; }
.dw-pulse { width: 7px; height: 7px; border-radius: 50%; background: #0ab4d4; animation: dwPulse 1.8s ease-in-out infinite; }
@keyframes dwPulse { 0%,100%{opacity:1} 50%{opacity:0.3} }
.dw-big-num { font-size: 44px; font-weight: 800; letter-spacing: -2px; line-height: 1; color: #0D1F2D; margin-bottom: 6px; }
.dw-total-sub { display: flex; align-items: center; gap: 5px; font-size: 12px; color: #94a3b8; margin-bottom: 24px; }
.dw-up-arrow { color: #0ab4d4; font-weight: 700; }
.dw-divider { height: 1px; background: #f1f5f9; margin-bottom: 18px; }
.dw-section-label { font-size: 10px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #94a3b8; margin-bottom: 12px; }
.dw-tx-list { display: flex; flex-direction: column; gap: 6px; }
.dw-tx-row { display: flex; align-items: center; background: #f8fafc; border-radius: 10px; padding: 11px 14px; border: 1px solid transparent; transition: border-color 0.4s, background 0.4s; animation: dwFadeUp 0.35s cubic-bezier(0.23,1,0.32,1); }
.dw-tx-row.flash { background: rgba(10,180,212,0.05); border-color: rgba(10,180,212,0.25); }
@keyframes dwFadeUp { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
.dw-tx-info { flex:1; min-width:0; }
.dw-tx-name { font-size: 13px; font-weight: 600; color: #0D1F2D; }
.dw-tx-qty { font-size: 11px; color: #94a3b8; margin-top: 1px; }
.dw-tx-right { text-align: right; flex-shrink:0; }
.dw-tx-amount { font-size: 13px; font-weight: 700; color: #0ab4d4; }
.dw-tx-time { font-size: 11px; color: #94a3b8; margin-top: 1px; }

/* Crypto Badges */
.hero-badges { display: flex; justify-content: center; align-items: center; gap: 24px; padding: 0 40px; position: absolute; bottom: 30px; left: 0; right: 0; z-index: 1; flex-wrap: wrap; border-top: none; }
.badge-pill { display: flex; align-items: center; justify-content: center; gap: 10px; font-size: 14px; font-weight: 500; color: #fff; background: rgba(16, 20, 34, 0.50); border: none; padding: 12px 20px; border-radius: 12px; backdrop-filter: blur(1px); height: 46px; }
.badge-pill-dot { width: 10px; height: 10px; border-radius: 50%; }
.badge-pill-more { background: rgba(16, 20, 34, 0.50); border: none; color: #fff; font-weight: 600; }

/* ============================================
   Partner Logos Marquee
   ============================================ */
.partners { padding: 24px 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden; background: var(--white); }
.marquee-track { display: flex; align-items: center; animation: marquee 30s linear infinite; }
.marquee-track img { height: 26px; opacity: 0.6; filter: brightness(0); transition: opacity 0.3s; padding: 0 32px; flex-shrink: 0; }
.marquee-track img:hover { opacity: 0.8; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-25%); } }

/* ============================================
   Features / Capabilities Section
   ============================================ */
.capabilities { padding: 100px 0; background: var(--white); }
.capabilities h2 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 700; text-align: left; margin-bottom: 60px; color: var(--navy); }
.capabilities-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.capabilities-list { display: flex; flex-direction: column; gap: 8px; max-width: 420px; }
.capability-item { display: flex; align-items: flex-start; gap: 16px; padding: 20px; border-radius: 14px; transition: opacity 0.7s ease, transform 0.7s ease, background 0.2s; cursor: default; }
.capability-item:hover { background: var(--bg-alt); }
.capability-icon { flex-shrink: 0; width: 44px; height: 44px; border-radius: 12px; background: #00A5B7; display: flex; align-items: center; justify-content: center; color: #fff; }
.capability-icon svg { width: 22px; height: 22px; }
.capability-text h3 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.capability-text p { font-size: 14px; color: var(--muted); line-height: 1.5; }

/* Dashboard Mockup Cards Stack (Dark Theme) */
.capabilities-visual { position: relative; }
.mockup-stack { position: relative; width: 100%; min-height: 520px; }
.mockup-card-dark { position: absolute; background: radial-gradient(ellipse 118% 125% at 96% 0%, rgba(139, 193, 221, 0.20) 0%, rgba(27, 58, 74, 0.20) 54%, rgba(5, 32, 46, 0.20) 100%), #05202E; border-radius: 18px; border: none; box-shadow: 0 9px 14px rgba(5, 223, 230, 0.10); padding: 22px; transition: transform 0.3s ease; }
.mockup-card-dark:hover { transform: translateY(-2px); }
.mockup-deposit:hover { transform: translateX(-50%) translateY(-2px); }
.mockup-label-dark { font-size: 9px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--teal); margin-bottom: 10px; }

/* Auto-conversion card (dark) - small, overlaps top-right of white card */
.mockup-auto-convert { top: -15px; right: -15px; width: 210px; z-index: 6; padding: 14px; }
.convert-dark-row { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.convert-dark-side { display: flex; flex-direction: column; align-items: center; gap: 4px; }
.convert-dark-token { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: #fff; padding: 6px 10px; background: rgba(255,255,255,0.06); border-radius: 8px; }
.convert-dark-token .dot { width: 20px; height: 20px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 9px; font-weight: 500; color: #fff; }
.convert-dark-status { font-size: 10px; font-weight: 600; }
.convert-dark-status.received { color: var(--teal); }
.convert-dark-status.settled { color: var(--teal); }
.convert-dark-arrow { display: flex; align-items: center; justify-content: center; padding: 0 2px; }
.convert-dark-info { display: flex; justify-content: space-between; align-items: center; margin-bottom: 8px; }
.convert-dark-rate { font-size: 10px; color: rgba(255,255,255,0.4); }
.convert-dark-rate-value { font-size: 10px; color: var(--teal); font-weight: 600; }
.convert-dark-status-line { font-size: 10px; color: var(--teal); font-weight: 600; display: flex; align-items: center; gap: 5px; }
.status-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); display: inline-block; }

/* Deposit crypto card - WHITE, large, center - the main card */
.mockup-deposit { top: 20%; left: 50%; transform: translateX(-50%); width: 320px; z-index: 3; background: #fff !important; border: 1px solid #B9CBE3 !important; box-shadow: 0 9px 13px 0 rgba(0,0,0,0.04) !important; padding: 22px; border-radius: 17px !important; transition: transform 0.3s ease; }
.mockup-deposit .mockup-label-dark { color: var(--teal); font-size: 11px; }
.deposit-qr { display: flex; justify-content: center; margin-bottom: 16px; }
.qr-placeholder { background: rgba(0, 165, 183, 0.04); border-radius: 10px; padding: 10px; display: flex; align-items: center; justify-content: center; }
.qr-placeholder svg { width: 100px; height: 100px; }
.deposit-divider { height: 1px; background: #E2E8F0; margin: 16px 0; }
.deposit-address { display: flex; flex-direction: column; gap: 8px; text-align: center; }
.deposit-address-box { font-size: 12px; color: var(--navy); font-family: 'SF Mono', 'Fira Code', monospace; font-weight: 600; background: #F1F5F9; border-radius: 8px; padding: 10px 14px; }
.deposit-amount-label { font-size: 11px; color: var(--muted); }

/* API integration card (dark) - small, overlaps bottom-left of white card */
.mockup-api { bottom: -15px; left: -15px; width: 240px; z-index: 6; padding: 14px; }
.api-code-dark { font-family: 'SF Mono', 'Fira Code', monospace; font-size: 10px; line-height: 1.6; color: rgba(255,255,255,0.6); background: rgba(0,0,0,0.3); border-radius: 8px; padding: 12px; }
.api-code-dark .api-brace { color: rgba(255,255,255,0.4); }
.api-code-dark .api-key { color: #79c0ff; }
.api-code-dark .api-str { color: #a5d6ff; }
.api-code-dark .api-num { color: var(--teal); }

/* ============================================
   Stats / Numbers Section
   ============================================ */
.numbers { padding: 80px 0; background: var(--white); }
.numbers h2 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 700; text-align: left; margin-bottom: 16px; color: var(--navy); }
.numbers-subtitle { font-size: 16px; color: var(--muted); text-align: left; max-width: 700px; margin: 0 0 48px; line-height: 1.6; }
.numbers-grid { display: flex; justify-content: space-between; align-items: center; text-align: center; background: var(--white); border: 1.5px solid rgba(0, 200, 190, 0.25); border-radius: 20px; padding: 48px 60px; box-shadow: 0 5px 20px rgba(5, 223, 230, 0.15); }
.number-item { flex: 1; }
.number-item:first-child { text-align: left; }
.number-item:last-child { text-align: right; }
.number-value { font-family: var(--font-head); font-size: clamp(48px, 6vw, 68px); font-weight: 700; color: var(--navy); letter-spacing: -0.03em; line-height: 1; }
.number-value .teal { color: var(--teal); font-style: normal; }
.number-label { font-size: 14px; color: var(--muted); margin-top: 4px; }

/* ============================================
   Infrastructure / Advantages Section
   ============================================ */
.advantages { padding: 100px 0; background: var(--white); }
.advantages .container { background: #EFF5F9; border-radius: 20px; padding: 55px 98px 88px; }
.advantages h2 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 700; text-align: center; margin-bottom: 60px; color: var(--navy); }
.advantages-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 900px; margin: 0 auto; }
.advantage-card { background: var(--white); border: none; border-radius: 20px; padding: 32px; box-shadow: 0 7px 12px #DCE9ED; transition: transform 0.25s ease, box-shadow 0.25s ease; }
.advantage-card:hover { transform: translateY(-4px); box-shadow: 0 10px 20px #DCE9ED; }
.advantage-icon { width: 48px; height: 48px; border-radius: 14px; background: #00A5B7; display: flex; align-items: center; justify-content: center; color: #fff; margin-bottom: 20px; }
.advantage-icon svg { width: 24px; height: 24px; }
.advantage-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.advantage-card p { font-size: 14px; color: var(--muted); line-height: 1.6; }

/* ============================================
   Infrastructure Agents Section
   ============================================ */
.agents { padding: 100px 0; background: var(--white); }
.agents h2 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 700; text-align: center; margin-bottom: 60px; color: var(--navy); }

/* Top row: 3 separate numbered cards */
.agents-top-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 20px; }
.agent-numbered-card { padding: 19px 25px 58px 23px; border: 1px solid #00A5B7; border-radius: 10px; background: #fff; box-shadow: 0 8px 12px rgba(5, 223, 230, 0.15); display: flex; flex-direction: column; gap: 22px; }
.agent-number { font-size: 16px; font-weight: 500; color: #00A5B7; }
.agent-numbered-card h3 { font-size: 18px; font-weight: 700; color: var(--navy); margin: 0; }
.agent-numbered-card p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }

/* Bottom row: One big card */
.agents-bottom-row { display: grid; grid-template-columns: 1fr 2fr; border: 1px solid #00A5B7; border-radius: 10px; background: #fff; box-shadow: 0 8px 12px rgba(5, 223, 230, 0.15); overflow: hidden; }
.agents-bottom-left { padding: 36px 32px; display: flex; flex-direction: column; justify-content: center; border-right: 1px solid #00A5B7; }
.agents-bottom-left h3 { font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.agents-bottom-left p { font-size: 14px; color: var(--muted); line-height: 1.6; margin: 0; }
.agents-bottom-right { display: grid; grid-template-columns: 1fr 1fr; gap: 0; }
.agents-feature-item { padding: 28px 24px; }
.agents-feature-item:nth-child(1) { border-right: 1px solid #00A5B7; }
.agents-feature-item:nth-child(2) { }
.agents-feature-item:nth-child(3) { border-right: 1px solid #00A5B7; }
.agents-feature-item h4 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.feature-dot { width: 7px; height: 7px; border-radius: 50%; background: #00A5B7; display: inline-block; flex-shrink: 0; }
.agents-feature-item p { font-size: 13px; color: var(--muted); line-height: 1.5; margin: 0; padding-left: 15px; }

/* ============================================
   Institutional Liquidity Section
   ============================================ */
.liquidity { padding: 100px 0; background: var(--white); }
.liquidity-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.liquidity-left h2 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 700; color: var(--navy); margin-bottom: 24px; line-height: 1.15; }
.liquidity-desc { font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 460px; }
.liquidity-right { display: flex; flex-direction: column; gap: 16px; }
.liquidity-card { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 28px 32px; border: 1.5px solid rgba(0, 200, 190, 0.25); border-radius: 16px; background: var(--white); transition: transform 0.25s ease, box-shadow 0.25s ease; }
.liquidity-card:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(0, 200, 190, 0.12); }
.liquidity-card-text { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--navy); }
.liquidity-card-icon { flex-shrink: 0; width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; }
.liquidity-card-icon img { width: 38px; height: 38px; object-fit: contain; }

/* ============================================
   Platform Integration Section
   ============================================ */
.integration { padding: 80px 0; background: var(--white); }
.integration h2 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 700; text-align: center; margin-bottom: 20px; color: var(--navy); }
.integration-subtitle { font-size: 17px; color: var(--text); text-align: center; max-width: 600px; margin: 0 auto 60px; line-height: 1.6; }

/* ============================================
   Transparent Fees Section (Dark)
   ============================================ */
.fees { padding: 80px 0; background: var(--white); }
.fees-inner { background: #0a1628; border-radius: 24px; padding: 80px 60px; text-align: center; position: relative; overflow: hidden; }
.fees-inner::before { content: ''; position: absolute; inset: -20%; width: 140%; height: 140%; background: url('img/hero-bg-new.png') center center / cover no-repeat; pointer-events: none; opacity: 0.85; }
.fees-inner::after { content: ''; position: absolute; inset: 0; width: 100%; height: 100%; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px 256px; opacity: 0.05; mix-blend-mode: multiply; pointer-events: none; z-index: 0; border-radius: 24px; }
.fees-content { position: relative; z-index: 1; text-align: center; max-width: 960px; margin: 0 auto; }
.fees h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: #fff; margin-bottom: 36px; font-style: normal; }
.fees-grid { display: flex; justify-content: center; gap: 24px; margin-bottom: 36px; flex-wrap: nowrap; }
.fee-item { display: flex; flex-direction: row; align-items: center; gap: 10px; background: rgba(27, 30, 47, 0.50); backdrop-filter: blur(3px); border-radius: 20px; padding: 24px 26px 24px 25px; flex: 1; max-width: 281px; }
.fee-item svg { flex-shrink: 0; width: 29px; height: 30px; background: #05DFE6; border-radius: 6px; padding: 4px; }
.fee-item span { font-size: 16px; font-weight: 600; color: #fff; }
.fees .btn-primary { position: relative; z-index: 1; }

/* ============================================
   Timeline / Onboarding Section
   ============================================ */
.timeline { padding: 100px 0; background: var(--white); }
.timeline h2 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 700; text-align: center; margin-bottom: 16px; color: var(--navy); }
.timeline-subtitle { font-size: 16px; color: var(--muted); text-align: center; max-width: 560px; margin: 0 auto 60px; line-height: 1.6; }
.timeline-horizontal { display: grid; grid-template-columns: repeat(4, 1fr); position: relative; max-width: 1100px; margin: 0 auto; gap: 0; }
.timeline-step { display: contents; }
.timeline-step-header { display: flex; align-items: center; grid-row: 1; }
.timeline-step-content { grid-row: 2; padding-right: 28px; padding-top: 39px; }
.timeline-pill { font-family: var(--font-body); font-size: 16px; font-weight: 600; height: 44px; padding: 0 20px; border-radius: 8.364px; white-space: nowrap; position: relative; z-index: 2; text-transform: uppercase; letter-spacing: 1.6px; display: flex; align-items: center; justify-content: center; flex: 1; }
.timeline-pill-active { background: #00A5B7; color: #fff; }
.timeline-pill-outline { background: #EAF9FB; color: #00B1B7; border: 1px solid #00A5B7; }
.timeline-line { width: 40px; height: 2px; background: #00A5B7; opacity: 0.4; flex-shrink: 0; }
.timeline-step:last-child .timeline-line { display: none; }
.timeline-step h3 { font-family: var(--font-head); font-size: 25px; font-weight: 400; color: #151A32; margin-bottom: 12px; line-height: 35px; letter-spacing: -1px; min-height: 70px; }
.timeline-step p { font-size: 14px; color: #08536E; line-height: 1.6; }

/* ============================================
   Built for Modern Platforms Section
   ============================================ */
.platforms { padding: 80px 0; background: var(--white); }
.platforms-inner { background: linear-gradient(135deg, rgba(5, 223, 230, 0.12) 0%, rgba(200, 240, 240, 0.15) 50%, rgba(255, 255, 255, 0.3) 100%); border-radius: 24px; padding: 60px 40px; text-align: center; position: relative; overflow: hidden; }
.platforms-inner::before { content: ''; position: absolute; inset: -20%; width: 140%; height: 140%; background: url('img/platforms-bg.png') center center / cover no-repeat; pointer-events: none; opacity: 0.35; }
.platforms-inner::after { content: ''; position: absolute; inset: 0; width: 100%; height: 100%; background: url('img/noise.png') repeat; background-size: 256px 256px; opacity: 0.05; mix-blend-mode: multiply; pointer-events: none; z-index: 0; border-radius: 24px; }
.platforms h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: #151A32; margin-bottom: 48px; }
.platforms-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; max-width: 900px; margin: 0 auto; }
.platform-card { background: var(--white); border: none; border-radius: 20px; padding: 28px; text-align: left; box-shadow: 0px 7px 12px rgba(0,177,183,0.18); transition: transform 0.25s ease, box-shadow 0.25s ease; position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 20px; }
.platform-card:hover { transform: translateY(-4px); box-shadow: 0px 12px 24px rgba(0,177,183,0.28); }
.platform-icon { width: 42px; height: 42px; border-radius: 11px; background: #00A5B7; display: flex; align-items: center; justify-content: center; color: #fff; flex-shrink: 0; }
.platform-icon svg { width: 20px; height: 20px; }
.platform-card h3 { font-size: 20px; font-weight: 600; color: var(--navy); }

/* ============================================
   Testimonial Section
   ============================================ */
.testimonials { padding: 100px 0; background: var(--white); }
.testimonials h2 { font-size: clamp(32px, 3.5vw, 46px); font-weight: 700; text-align: left; margin-bottom: 48px; color: var(--navy); }
.testimonial-slider { position: relative; width: 100%; margin: 0; overflow: hidden; }
.testimonial-track { display: flex; transition: transform 0.4s ease; }
.testimonial-card { display: flex; gap: 40px; align-items: stretch; background: #F4F8FB; border: none; border-radius: 20px; padding: 32px; box-sizing: border-box; flex: 0 0 100%; max-width: 100%; }
.testimonial-logo { flex-shrink: 0; width: 300px; min-height: 280px; background: url('img/feedback-bg.png') center/cover no-repeat; border-radius: 14px; display: flex; align-items: center; justify-content: center; overflow: hidden; position: relative; }
.testimonial-logo::after { content: ''; position: absolute; inset: 0; background: rgba(0,0,0,0.3); border-radius: 14px; }
.testimonial-logo img { max-width: 140px; max-height: 120px; object-fit: contain; position: relative; z-index: 1; filter: brightness(0) invert(1); }
.testimonial-content { flex: 1; display: flex; flex-direction: column; justify-content: center; padding: 16px 0; overflow: hidden; min-width: 0; }
.testimonial-author { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 20px; }
.testimonial-author .highlight { color: #00A5B7; }
.testimonial-quote { font-size: 17px; color: var(--navy); line-height: 1.7; margin-bottom: 24px; display: -webkit-box; -webkit-line-clamp: 6; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; word-break: break-word; }
.testimonial-date { font-size: 13px; font-weight: 700; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; text-align: right; }
.testimonial-dots { display: flex; justify-content: flex-start; align-items: center; gap: 8px; margin-top: 28px; background: #EFF5F9; border-radius: 25.5px; padding: 14px 20px; width: fit-content; }
.testimonial-dot { width: 7px; height: 7px; border-radius: 50%; background: #C8DDE8; cursor: pointer; transition: background 0.2s; }
.testimonial-dot.active { background: var(--navy); width: 8px; height: 8px; }
.testimonial-arrow { width: 32px; height: 32px; border-radius: 50%; border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; background: transparent; transition: opacity 0.2s; }
.testimonial-arrow:hover { opacity: 0.6; }
.testimonial-arrow svg { width: 8px; height: 13px; }

/* ============================================
   CTA Section (Dark)
   ============================================ */
.cta { padding: 0 40px 80px; background: var(--white); }
.cta-inner { background: url('img/get-free-bg.png') 20% center / cover no-repeat; border-radius: 24px; padding: 80px 60px; text-align: center; position: relative; overflow: hidden; }
.cta-inner::before { content: none; }
.cta-inner h2 { font-size: clamp(28px, 3vw, 40px); font-weight: 700; color: #151A32; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-inner .cta-subtitle { font-size: 16px; color: #151A32; margin-bottom: 32px; position: relative; z-index: 1; line-height: 26px; }
.cta-inner .btn { position: relative; z-index: 1; background: #fff; color: #151A32; }

/* ============================================
   Footer
   ============================================ */
.site-footer { padding: 60px 0 0; background: #121421; border-top: none; color: #B2C8D7; }
.footer-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 48px; }
.footer-left { display: flex; flex-direction: column; gap: 32px; }
.footer-brand { flex-shrink: 0; }
.footer-brand svg { display: block; }
.footer-nav { display: flex; gap: 32px; }
.footer-nav a { font-size: 15px; font-weight: 500; color: #B2C8D7; transition: color 0.2s; text-decoration: none; }
.footer-nav a:hover { color: var(--teal); }
.footer-right { display: flex; flex-direction: column; align-items: flex-end; }
.footer-right h4 { font-size: 13px; font-weight: 700; color: #fff; margin-bottom: 16px; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-social-links { display: flex; gap: 20px; }
.footer-social-links a { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; color: #B2C8D7; transition: color 0.2s; }
.footer-social-links a:hover { color: var(--teal); }
.footer-social-links svg { width: 22px; height: 22px; }
.footer-disclaimer { padding: 32px 0; border-top: 1px solid rgba(178, 200, 215, 0.2); }
.footer-disclaimer p { font-size: 11px; color: #B2C8D7; line-height: 1.6; }
.footer-bar { display: flex; justify-content: space-between; align-items: center; padding: 20px 0; border-top: 1px solid rgba(178, 200, 215, 0.2); margin-top: 20px; }
.footer-bar p { font-size: 12px; color: #B2C8D7; }

/* ============================================
   Demo Request Modal
   ============================================ */
.demo-modal-overlay { position: fixed; inset: 0; z-index: 1000; background: rgba(0,0,0,0.5); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s ease; }
.demo-modal-overlay.active { opacity: 1; pointer-events: all; }
.demo-modal { background: var(--white); border-radius: 24px; width: 100%; max-width: 520px; max-height: 90vh; overflow-y: auto; padding: 40px; box-shadow: var(--shadow-lg); position: relative; }
.demo-modal-close { position: absolute; top: 16px; right: 16px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: var(--muted); transition: background 0.2s, color 0.2s; }
.demo-modal-close:hover { background: var(--border-faint); color: var(--navy); }
.demo-modal-header { margin-bottom: 28px; }
.demo-modal-header h3 { font-size: 24px; font-weight: 500; color: var(--navy); margin-bottom: 6px; }
.demo-modal-header .highlight { color: var(--teal); }
.demo-modal-header p { font-size: 14px; color: var(--muted); }
.demo-form { display: flex; flex-direction: column; gap: 16px; }
.demo-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.demo-form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
.demo-form-group input,
.demo-form-group textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--border); border-radius: 10px; font-size: 14px; font-family: var(--font-body); color: var(--navy); background: var(--white); transition: border-color 0.2s; }
.demo-form-group input:focus,
.demo-form-group textarea:focus { outline: none; border-color: var(--teal); box-shadow: 0 0 0 3px rgba(0,200,190,0.12); }
.demo-form-group input::placeholder,
.demo-form-group textarea::placeholder { color: var(--muted); }
.demo-submit-btn { width: 100%; justify-content: center; margin-top: 8px; }
.demo-btn-loading { display: inline-flex; align-items: center; gap: 8px; }
.demo-success { text-align: center; padding: 40px 20px; }
.demo-success h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-top: 16px; margin-bottom: 8px; }
.demo-success p { font-size: 14px; color: var(--muted); }

/* ============================================
   Responsive Design
   ============================================ */
@media (max-width: 1100px) {
    .hero-inner { gap: 40px; }
    .capabilities-layout { gap: 40px; }
    .mockup-stack { min-height: 400px; }
}

@media (max-width: 900px) {
    .site-nav { padding: 0 24px; max-width: 100%; overflow: hidden; }
    .nav-links { display: none; }
    .nav-cta { display: none; }
    .nav-mobile-toggle { display: flex; }

    .hero { display: flex; flex-direction: column; padding-bottom: 40px; min-height: auto; }
    .hero-body { display: contents; }
    .hero-inner { display: contents; }
    .hero-left { order: 1; padding: 60px 24px 0; align-items: flex-start; text-align: left; position: relative; z-index: 1; }
    .hero-left .btn { width: 100%; text-align: center; }
    .hero-sub { margin-left: 0; margin-right: 0; }
    .hero-badges { position: relative; bottom: auto; padding: 20px 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; justify-items: center; order: 2; z-index: 1; }
    .badge-pill { width: 100%; font-size: 13px; padding: 10px 12px; }
    .badge-pill-more { order: -1; grid-column: 1 / -1; width: auto; justify-self: center; padding: 10px 20px; }
    .hero-right { order: 3; padding: 0 24px 0; max-width: 100%; position: relative; max-height: 480px; overflow: hidden; margin-bottom: -40px; border-radius: 24px; z-index: 1; }
    .hero-right::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 140px; background: linear-gradient(to bottom, transparent, rgba(21, 26, 50, 1)); z-index: 2; pointer-events: none; }
    .deposit-widget { max-width: 100%; border-radius: 24px; padding: 18px 20px 16px; }
    .dw-header { margin-bottom: 12px; }
    .dw-big-num { min-height: 34px; font-size: clamp(26px, 7vw, 36px); }
    .dw-total-sub { margin-bottom: 14px; }
    .dw-divider { margin-bottom: 10px; }
    .dw-section-label { margin-bottom: 6px; }
    .dw-tx-list { gap: 4px; }
    .dw-tx-row { min-height: 40px; padding: 7px 12px; }
    .dw-tx-name, .dw-tx-sub { white-space: nowrap; font-size: 12px; }
    .dw-tx-amount, .dw-tx-time { white-space: nowrap; }
    .dw-tx-amount { font-size: 12px; }
    .dw-tx-qty, .dw-tx-time { font-size: 10px; }
    .card-glow-wrap { max-width: 360px; }

    /* Capabilities / Infrastructure Without Tradeoffs */
    .capabilities { padding: 60px 0; }
    .capabilities h2 { text-align: center; margin-bottom: 32px; }
    .capabilities-layout { grid-template-columns: 1fr; }
    .capabilities-visual { display: block; }
    .mockup-stack { min-height: 480px; transform: scale(0.85); transform-origin: top center; }
    .mockup-auto-convert { transform: scale(0.8); transform-origin: top right; }
    .mockup-deposit { width: 280px; }
    .mockup-api { transform: scale(0.8); transform-origin: bottom left; bottom: -50px; }
    .capabilities-list { max-width: 100%; gap: 4px; }
    .capability-item { padding: 14px 16px; gap: 12px; }
    .capability-icon { width: 38px; height: 38px; border-radius: 10px; }
    .capability-icon svg { width: 18px; height: 18px; }
    .capability-text h3 { font-size: 15px; margin-bottom: 2px; }
    .capability-text p { font-size: 13px; }

    .numbers-grid { gap: 40px; flex-wrap: wrap; }

    /* Infrastructure Without Tradeoffs cards */
    .advantages { padding: 60px 0; }
    .advantages .container { padding: 36px 24px 48px; }
    .advantages h2 { margin-bottom: 32px; }
    .advantages-grid { grid-template-columns: 1fr; max-width: 500px; gap: 16px; }
    .advantage-card { padding: 24px; text-align: center; align-items: center; display: flex; flex-direction: column; }
    .advantage-icon { width: 40px; height: 40px; margin-bottom: 14px; }
    .advantage-card h3 { font-size: 16px; margin-bottom: 6px; }
    .advantage-card p { font-size: 13px; }

    .timeline { padding: 60px 0; }
    .timeline-subtitle { margin: 0 auto 32px; }
    .timeline-horizontal { display: flex; flex-direction: column; align-items: center; gap: 0; }
    .timeline-step { display: flex; flex-direction: column; align-items: center; text-align: left; background: #fff; border: 2px solid #00A5B7; border-radius: 15px; padding: 15px 32px 30px; width: 100%; max-width: 340px; gap: 20px; position: relative; margin-bottom: 30px; }
    .timeline-step:last-child { margin-bottom: 0; }
    .timeline-step::after { content: ''; position: absolute; bottom: -31px; left: 50%; width: 2px; height: 30px; background: #00A5B7; opacity: 0.4; }
    .timeline-step:last-child::after { display: none; }
    .timeline-step-header { justify-content: center; width: 100%; }
    .timeline-pill { font-size: 14px; height: 40px; padding: 0 20px; letter-spacing: 1.2px; flex: 1; }
    .timeline-line { display: none; }
    .timeline-step-content { padding: 0; }
    .timeline-step h3 { font-size: 18px; font-weight: 600; min-height: auto; line-height: 1.3; margin-bottom: 8px; }
    .timeline-step p { font-size: 13px; }

    .platforms-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
    .platform-card { align-items: center; text-align: center; }

    /* Infrastructure Agents Can Operate */
    .agents { padding: 60px 0; }
    .agents h2 { margin-bottom: 32px; }
    .agents-top-row { grid-template-columns: 1fr; gap: 14px; margin-bottom: 14px; }
    .agent-numbered-card { padding: 18px 20px 28px; gap: 14px; }
    .agent-numbered-card h3 { font-size: 16px; }
    .agent-numbered-card p { font-size: 13px; }
    .agents-bottom-row { grid-template-columns: 1fr; }
    .agents-bottom-left { padding: 24px 20px; border-right: none; border-bottom: 1px solid #00A5B7; }
    .agents-bottom-left h3 { font-size: 18px; margin-bottom: 12px; }
    .agents-bottom-left p { font-size: 13px; }
    .agents-bottom-right { grid-template-columns: 1fr; }
    .agents-feature-item { padding: 18px 20px; }
    .agents-feature-item:nth-child(1) { border-right: none; border-bottom: 1px solid rgba(0,165,183,0.25); }
    .agents-feature-item:nth-child(2) { border-bottom: 1px solid rgba(0,165,183,0.25); }
    .agents-feature-item:nth-child(3) { border-right: none; border-bottom: 1px solid rgba(0,165,183,0.25); }
    .agents-feature-item h4 { font-size: 13px; }
    .agents-feature-item p { font-size: 12px; }
    .agents-grid { grid-template-columns: repeat(2, 1fr); }
    .integration-grid { flex-direction: column; align-items: center; }

    /* Institutional Liquidity */
    .liquidity { padding: 60px 0; }
    .liquidity-layout { grid-template-columns: 1fr; gap: 32px; text-align: center; }
    .liquidity-desc { margin: 0 auto; }
    .liquidity-card { padding: 20px 24px; gap: 12px; flex-direction: column-reverse; text-align: center; }
    .liquidity-card-text { font-size: 16px; }
    .liquidity-card-icon { width: 44px; height: 44px; }

    /* Transparent Fees */
    .fees { padding: 60px 0; }
    .fees-inner { padding: 48px 24px; }
    .fees h2 { margin-bottom: 24px; }
    .fee-item { padding: 18px 20px; border-radius: 16px; }
    .fee-item span { font-size: 14px; }

    .testimonial-card { flex-direction: column; text-align: center; }
    .testimonial-logo { width: 100%; height: 120px; }
    .testimonial-date { text-align: center; }

    .footer-top { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 16px; }
    .footer-left { display: contents; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-nav { flex-direction: column; gap: 16px; }
    .footer-right { align-items: flex-start; }
    .footer-columns { flex-wrap: wrap; gap: 32px; }
    .footer-bar { flex-direction: column; gap: 12px; text-align: center; }

    .cta { padding: 0 24px 60px; }
    .cta-inner { padding: 60px 32px; }
}

/* ============================================
   Company Page
   ============================================ */
.company-hero { position: relative; min-height: 50vh; display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 140px 40px 80px; background: #0a1628; text-align: center; }
.company-hero::before { content: ''; position: absolute; inset: -20%; width: 140%; height: 140%; background: url('img/hero-bg-new.png') center center / cover no-repeat; pointer-events: none; opacity: 0.85; }
.company-hero-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.company-hero h1 { font-size: clamp(32px, 4vw, 52px); font-weight: 800; color: #fff; margin-bottom: 20px; line-height: 1.2; font-family: var(--font-head); }
.company-hero p { font-size: 16px; color: rgba(255,255,255,0.75); line-height: 1.7; max-width: 600px; margin: 0 auto; }

.company-stats { padding: 80px 0; background: var(--white); }
.company-stats-grid { display: flex; justify-content: center; gap: 60px; flex-wrap: wrap; }
.company-stat { text-align: center; min-width: 160px; }
.company-stat-value { font-family: var(--font-head); font-size: clamp(40px, 5vw, 70px); font-weight: 800; color: var(--navy); line-height: 1.1; letter-spacing: -0.03em; }
.company-stat-prefix { color: var(--navy); }
.company-stat-suffix-unit { color: var(--navy); }
.company-stat-plus { color: #00B1B7; }
.company-stat-label { font-size: 15px; color: var(--muted); margin-top: 8px; font-weight: 500; }

.company-team { padding: 60px 0; background: #EFF5F9; }
.team-card { background: var(--white); border-radius: 24px; padding: 60px; max-width: 900px; margin: 0 auto; box-shadow: 0 2px 20px rgba(0,0,0,0.06); }
.team-card h2 { font-size: 50px; font-weight: 700; color: #151A32; text-align: center; margin-bottom: 12px; font-family: var(--font-head); line-height: 151%; letter-spacing: -0.5px; }
.team-subtitle { font-size: 16px; color: #334055; text-align: center; font-family: 'Inter', sans-serif; font-weight: 500; line-height: 27px; max-width: 540px; margin: 0 auto 48px; }
.team-members { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.team-member { position: relative; text-align: center; border-radius: 20px; overflow: hidden; }
.team-photo { width: 100%; aspect-ratio: 327/460; border-radius: 20px; overflow: hidden; background: linear-gradient(135deg, #1a2e42, #0a1628); position: relative; z-index: 1; }
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-photo::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60%; background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%); border-radius: 0 0 20px 20px; pointer-events: none; }
.team-info { position: absolute; bottom: 20px; left: 20px; z-index: 2; text-align: left; }
.team-info h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 2px; }
.team-role { font-size: 13px; color: rgba(255,255,255,0.7); font-weight: 500; }
.team-toggle { position: absolute; bottom: 16px; right: 16px; width: 36px; height: 36px; border-radius: 50%; background: var(--teal); color: #fff; border: 3px solid rgba(255,255,255,0.3); display: flex; align-items: center; justify-content: center; cursor: pointer; transition: transform 0.3s, background 0.3s; z-index: 3; }
.team-toggle:hover { background: var(--teal-dark); }
.team-toggle .plus-v { transition: opacity 0.3s; }
.team-member.open .team-toggle .plus-v { opacity: 0; }
.team-member.open .team-toggle { border-color: rgba(255,255,255,0.3); }
.team-member-content { position: absolute; inset: 0; background: #0a1628; border-radius: 20px; padding: 24px 20px 20px; display: flex; flex-direction: column; z-index: 2; opacity: 0; pointer-events: none; transition: opacity 0.35s ease; overflow-y: auto; }
.team-member.open .team-member-content { opacity: 1; pointer-events: auto; }
.team-member-content .team-bio-text { font-size: 12px; color: rgba(255,255,255,0.85); font-family: 'Inter', sans-serif; font-weight: 400; line-height: 20px; text-align: left; flex: 1; min-height: 0; overflow-y: auto; }
.team-member-content h3 { color: #fff; font-family: var(--font-head); font-size: 20px; font-weight: 600; line-height: 1.3; margin-bottom: 2px; text-align: left; flex-shrink: 0; padding-top: 12px; }
.team-member-content .team-role-open { color: rgba(255,255,255,0.7); font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 500; line-height: 1.5; display: block; text-align: left; flex-shrink: 0; }
.team-bio { display: none; }

/* Company Page — Testimonials overrides */
/* Company Page — Partners Floating Slider */
.company-partners { padding: 40px 0; background: #EFF5F9; }
.company-partners-wrapper { max-width: 1300px; margin: 0 auto; overflow: hidden; position: relative; }
.company-partners-wrapper::before, .company-partners-wrapper::after { content: ''; position: absolute; top: 0; bottom: 0; width: 200px; z-index: 2; pointer-events: none; }
.company-partners-wrapper::before { left: 0; background: linear-gradient(to right, #EFF5F9 0%, transparent 100%); }
.company-partners-wrapper::after { right: 0; background: linear-gradient(to left, #EFF5F9 0%, transparent 100%); }
.company-partners-row { overflow: visible; padding: 20px 0; }
.company-partners-row + .company-partners-row { margin-top: 0; }
.company-partners-track { display: flex; gap: 20px; width: max-content; animation: partnerScrollLeft 30s linear infinite; }
.company-partners-row[data-direction="right"] .company-partners-track { animation: partnerScrollRight 30s linear infinite; }
.company-partners:hover .company-partners-track { animation-play-state: paused; }
.company-partner-card { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 13px; box-shadow: 0 10px 25px 0 #DCE9ED; padding: 24px 32px; height: 90px; flex-shrink: 0; width: calc((1180px - 80px) / 5); }
.company-partner-card img { max-width: 120px; max-height: 32px; object-fit: contain; filter: brightness(0); opacity: 0.7; }
@keyframes partnerScrollLeft { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
@keyframes partnerScrollRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0); } }

.company-cta.cta { background: #F8FAFB; }
.company-testimonials.testimonials { background: #EFF5F9; padding: 40px 0 60px; }
.company-testimonials h2 { text-align: center; }
.company-testimonials .testimonial-dots { display: none; }
.company-testimonials .testimonial-card { background: #fff; border: none; box-shadow: 0 10px 25px 0 #DCE9ED; border-radius: 20px; padding: 35px 40px 35px 35px; }

/* ============================================
   Contact Us Page
   ============================================ */
/* ============================================
   Blog Page
   ============================================ */
/* Single post page: light-bg nav overrides */
body.single-post .site-nav .nav-links a { color: var(--sub); }
body.single-post .site-nav .nav-links a:hover { color: var(--navy); }
body.single-post .site-nav .logo-text-path { fill: var(--navy); }

.blog-hero { position: relative; padding: 140px 40px 80px; background: #0a1628; overflow: hidden; }
.blog-hero::before { content: ''; position: absolute; inset: -20%; width: 140%; height: 140%; background: url('img/hero-bg-new.png') center center / cover no-repeat; pointer-events: none; opacity: 0.85; }
.blog-hero::after { content: ''; position: absolute; inset: 0; width: 100%; height: 100%; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px 256px; opacity: 0.08; mix-blend-mode: overlay; pointer-events: none; z-index: 0; }
.blog-hero-inner { position: relative; z-index: 1; max-width: 1180px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.blog-hero-left h1 { font-size: clamp(32px, 5vw, 60px); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 20px; font-family: var(--font-head); letter-spacing: -1px; max-width: 543px; }
.blog-hero-left h1 .br-mobile { display: none; }
.blog-hero-left p { font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 28px; max-width: 440px; }
.blog-subscribe-form { display: flex; gap: 12px; margin-bottom: 24px; max-width: 440px; }
.blog-subscribe-form input { flex: 1; padding: 14px 18px; border: none; border-radius: 10px; background: #fff; font-family: var(--font-body); font-size: 15px; color: var(--navy); outline: none; box-shadow: 0 2px 8px rgba(0,0,0,0.04); }
.blog-subscribe-form input::placeholder { color: #9CA3AF; }
.blog-subscribe-form .btn { padding: 14px 28px; border-radius: 10px; }
.blog-social { display: flex; align-items: center; gap: 16px; color: #fff; font-size: 14px; }
.blog-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; color: #fff; transition: opacity 0.2s; }
.blog-social a + a { margin-left: -8px; }
.blog-social a:hover { opacity: 0.8; }

.blog-featured { display: block; background: transparent; color: #fff; text-decoration: none; }
.blog-featured-image { width: 100%; aspect-ratio: 16/9; background: rgba(255,255,255,0.08); border-radius: 16px; overflow: hidden; margin-bottom: 20px; }
.blog-featured-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-featured h3 { font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 10px; font-family: var(--font-head); line-height: 1.3; }
.blog-featured p { font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; margin-bottom: 16px; }
.blog-featured .blog-date { color: rgba(255,255,255,0.75); }
.blog-featured-footer { display: flex; align-items: center; justify-content: space-between; }
.blog-date { font-size: 14px; font-weight: 500; color: var(--navy); line-height: 27px; }
.blog-arrow { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; border-radius: 7px; background: #00A5B7; color: #fff; transition: transform 0.2s; }
.blog-featured:hover .blog-arrow, .blog-card:hover .blog-arrow { transform: translateX(3px); }

.blog-grid-section { padding: 60px 0 100px; background: #fff; }
.blog-filter-bar { margin-bottom: 32px; }
.blog-filter select { box-sizing: border-box; width: 140px; height: 49px; padding: 12px 40px 12px 19px; border: none; border-radius: 12px; background: #EFF5F9 url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236B7585' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 14px center; font-family: var(--font-body); font-size: 14px; color: var(--navy); cursor: pointer; appearance: none; -webkit-appearance: none; }
.blog-filter select:focus { outline: none; border-color: var(--teal); }

.blog-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.blog-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; color: var(--navy); text-decoration: none; transition: box-shadow 0.25s, transform 0.25s; }
.blog-card:hover { box-shadow: 0 5px 17.5px 0 rgba(178, 237, 239, 0.80); transform: translateY(-2px); }
.blog-card-image { width: 100%; aspect-ratio: 16/9; background: #B4E6EC; overflow: hidden; }
.blog-card-image img { width: 100%; height: 100%; object-fit: cover; }
.blog-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.blog-card-body h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 10px; font-family: var(--font-head); line-height: 35px; letter-spacing: -1px; }
.blog-card-body p { font-size: 14px; font-weight: 400; color: var(--navy); line-height: 24px; margin-bottom: 20px; flex: 1; }
.blog-card-footer { display: flex; align-items: center; justify-content: space-between; }

.blog-empty { grid-column: 1 / -1; text-align: center; padding: 60px 20px; color: var(--muted); font-size: 15px; }

.blog-pagination { display: flex; justify-content: center; gap: 16px; margin-top: 60px; }
.blog-page-btn { display: inline-flex; align-items: center; justify-content: center; width: 48px; height: 48px; border: 2px solid var(--teal); border-radius: 14px; color: var(--teal); background: #fff; transition: background 0.2s, color 0.2s; text-decoration: none; }
.blog-page-btn:hover { background: var(--teal); color: #fff; }
.blog-page-btn.disabled { opacity: 0.4; pointer-events: none; }

@media (max-width: 900px) {
    .blog-hero { padding: 120px 24px 60px; }
    .blog-hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .blog-featured { display: none; }
    .blog-hero-left { text-align: center; }
    .blog-hero-left h1 { margin-left: auto; margin-right: auto; }
    .blog-hero-left h1 .br-desktop { display: none; }
    .blog-hero-left h1 .br-mobile { display: inline; }
    .blog-hero-left p { margin-left: auto; margin-right: auto; }
    .blog-subscribe-form { margin-left: auto; margin-right: auto; justify-content: center; }
    .blog-social { justify-content: center; }
    .blog-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 600px) {
    .blog-hero { padding: 100px 20px 48px; }
    .blog-subscribe-form { flex-direction: column; }
    .blog-subscribe-form .btn { width: 100%; }
    .blog-grid { grid-template-columns: 1fr; }
    .blog-hero-left h1 { font-size: 28px; }
}

.single-post-section { padding: 140px 0 80px; background: #fff; }
article.single-post { max-width: 780px; margin: 0 auto; }
.single-back { display: inline-block; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 24px; }
.single-back:hover { color: var(--navy); }
.single-post h1 { font-size: clamp(28px, 3.5vw, 42px); font-weight: 800; color: var(--navy); line-height: 1.2; margin-bottom: 16px; font-family: var(--font-head); }
.single-meta { margin-bottom: 32px; }
.single-post-image { margin-bottom: 32px; border-radius: 16px; overflow: hidden; }
.single-post-image img { width: 100%; height: auto; display: block; }
.single-post-content { font-size: 16px; line-height: 1.8; color: var(--navy); }
.single-post-content p { margin-bottom: 16px; }
.single-post-content h2 { font-size: 28px; margin: 32px 0 16px; font-family: var(--font-head); }
.single-post-content h3 { font-size: 22px; margin: 24px 0 12px; font-family: var(--font-head); }
.single-post-content a { color: var(--teal); }
.single-post-content ul, .single-post-content ol { margin: 16px 0 16px 24px; }
.single-post-content li { margin-bottom: 8px; }


.contact-page { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 140px 40px 80px; background: #0a1628; text-align: center; overflow: hidden; }
.contact-page::before { content: ''; position: absolute; inset: -20%; width: 140%; height: 140%; background: url('img/hero-bg-new.png') center center / cover no-repeat; pointer-events: none; opacity: 0.85; z-index: 0; }
.contact-page::after { content: ''; position: absolute; inset: 0; width: 100%; height: 100%; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"); background-repeat: repeat; background-size: 256px 256px; opacity: 0.08; mix-blend-mode: overlay; pointer-events: none; z-index: 0; }
.contact-page-inner { position: relative; z-index: 1; max-width: 760px; width: 100%; margin: 0 auto; }
.contact-page h1 { font-size: clamp(36px, 5vw, 60px); font-weight: 700; color: #fff; margin: 0 auto 16px; line-height: 1.2; font-family: var(--font-head); letter-spacing: -1px; text-align: center; max-width: 511px; }
.contact-page h1 .highlight { color: inherit; }
.contact-subtitle { font-size: 16px; font-weight: 400; color: #fff; line-height: 26px; max-width: 483px; margin: 0 auto 40px; text-align: center; font-family: var(--font-body); }

.contact-form { max-width: 973px; margin: 0 auto; background: #fff; border-radius: 10px; padding: 34px 29px; box-shadow: 0 10px 25px 0 rgba(5, 118, 150, 0.15); display: flex; flex-direction: column; align-items: flex-end; gap: 23px; }
.contact-form-grid { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form-left, .contact-form-right { display: flex; flex-direction: column; gap: 16px; }
.contact-form-group input,
.contact-form-group textarea { width: 100%; font-family: var(--font-body); font-size: 15px; padding: 16px 18px; border: none; border-radius: 6px; background: #EFF5F9; color: var(--navy); outline: none; transition: box-shadow 0.2s; }
.contact-form-group input:focus,
.contact-form-group textarea:focus { box-shadow: 0 0 0 2px var(--teal); }
.contact-form-group input::placeholder,
.contact-form-group textarea::placeholder { color: #6B7585; font-weight: 400; }
.contact-form-message { flex: 1; }
.contact-form-message textarea { height: 100%; min-height: 100%; resize: none; }
.contact-form-actions { display: flex; justify-content: flex-end; }
.contact-submit-btn { display: flex; width: 187px; height: 62px; padding: 16px 32px; justify-content: center; align-items: center; gap: 24px; flex-shrink: 0; border-radius: 12px; background: #05DFE6; color: #151A32; font-family: var(--font-body); font-size: 22px; font-weight: 600; line-height: 1.35; font-feature-settings: 'liga' off, 'clig' off; border: none; }
.contact-submit-btn:hover { background: #05DFE6; opacity: 0.9; }
.contact-btn-loading { display: inline-flex; align-items: center; gap: 8px; }
.contact-btn-loading svg { animation: spin 1s linear infinite; }

.contact-success { text-align: center; padding: 56px 32px; max-width: 520px; margin: 32px auto 0; background: rgba(255, 255, 255, 0.04); border: 1px solid rgba(255, 255, 255, 0.08); border-radius: 20px; backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.contact-success-icon { margin-bottom: 20px; display: inline-flex; width: 64px; height: 64px; align-items: center; justify-content: center; border-radius: 50%; background: rgba(0, 200, 190, 0.12); border: 1px solid rgba(0, 200, 190, 0.3); }
.contact-success-icon svg { width: 32px; height: 32px; }
.contact-success h3 { font-family: var(--font-head); font-size: 28px; font-weight: 700; color: #fff; margin: 0 0 12px; line-height: 1.2; }
.contact-success p { font-size: 16px; color: rgba(255, 255, 255, 0.72); margin: 0; line-height: 1.5; }

@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

@media (max-width: 900px) {
    .contact-page { padding: 120px 24px 60px; }
    .contact-form { padding: 28px 20px; }
}
@media (max-width: 600px) {
    .contact-page { padding: 100px 20px 48px; }
    .contact-form-grid { grid-template-columns: 1fr; }
    .contact-form-message textarea { min-height: 120px; }
    .contact-form { align-items: stretch; }
    .contact-form-actions { justify-content: center; }
    .contact-submit-btn { width: 140px; height: 48px; padding: 12px 24px; font-size: 16px; gap: 12px; }
}

@media (max-width: 900px) {
    .company-hero { padding: 120px 24px 60px; min-height: auto; }
    .company-stats-grid { gap: 32px; }
    .company-stat { min-width: 120px; }
    .team-card { padding: 32px 24px; }
    .team-members { grid-template-columns: repeat(3, 1fr); gap: 20px; }
}

@media (max-width: 600px) {
    .company-hero { padding: 100px 20px 48px; }
    .company-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 24px; }
    .company-stat-value { font-size: 40px; }
    .team-members { grid-template-columns: 1fr; max-width: 280px; margin: 0 auto; }
    .team-card { padding: 32px 20px; }
}

@media (max-width: 600px) {
    .container { padding: 0 20px; }
    .hero-h1 { font-size: 36px; }
    .numbers h2, .numbers-subtitle { display: none; }
    .numbers-grid { flex-direction: column; gap: 24px; text-align: center; border: none; box-shadow: none; padding: 0; }
    .number-item:first-child, .number-item:last-child { text-align: center; }
    .number-value { font-size: 55px; font-weight: 800; line-height: 108px; letter-spacing: -0.55px; }
    .number-label { font-size: 20px; font-weight: 500; color: #334055; line-height: 33px; }
    .fees-grid { flex-direction: column; align-items: center; gap: 16px; }
    .platforms-grid { grid-template-columns: 1fr; max-width: 340px; margin: 0 auto; }
    .agents-grid { grid-template-columns: 1fr; max-width: 240px; margin: 0 auto; }
    .demo-form-row { grid-template-columns: 1fr; }
}

/* ============================================
   Toast Notifications
   ============================================ */
.settl-toast-wrap {
    position: fixed;
    top: 88px;
    right: 24px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 10px;
    pointer-events: none;
    max-width: calc(100vw - 48px);
}
.settl-toast {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 260px;
    max-width: 400px;
    padding: 14px 18px;
    background: #1A2E42;
    color: #fff;
    border-radius: 12px;
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), 0 4px 8px rgba(0, 0, 0, 0.1);
    pointer-events: auto;
    border-left: 4px solid var(--teal);
    opacity: 1;
    transform: translateX(0);
    transition: transform 0.3s ease, opacity 0.25s ease;
}
.settl-toast.leaving {
    opacity: 0;
    transform: translateX(120%);
}
.settl-toast-error {
    border-left-color: #FF6B6B;
}
.settl-toast-icon {
    display: inline-flex;
    flex-shrink: 0;
    color: var(--teal);
}
.settl-toast-error .settl-toast-icon {
    color: #FF6B6B;
}
.settl-toast-msg {
    flex: 1;
    word-break: break-word;
}
@media (max-width: 600px) {
    .settl-toast-wrap {
        top: auto;
        bottom: 20px;
        right: 16px;
        left: 16px;
        max-width: none;
    }
    .settl-toast {
        min-width: 0;
        width: 100%;
        max-width: none;
        transform: translateY(0);
    }
    .settl-toast.leaving {
        transform: translateY(calc(100% + 32px));
        opacity: 0;
    }
}

/* ============================================
   Blog Subscribe — loading state
   ============================================ */
.blog-subscribe-form.is-loading button {
    opacity: 0.6;
    pointer-events: none;
}
