/* ── Othoba-themed FlowPay public site ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
    --blue: #207cc9;
    --blue-dark: #1d5fab;
    --blue-light: #eef5fc;
    --blue-grad: linear-gradient(90deg, rgba(92,163,218,1) 0%, rgba(32,124,202,1) 35%, rgba(29,95,171,1) 100%);
    --dark: #1a1a1a;
    --dark2: #2d2d2d;
    --text: #333;
    --muted: #666;
    --light: #f5f5f5;
    --border: #e0e0e0;
    --white: #fff;
    --success: #00a651;
    --warning: #f5a623;
    --radius: 6px;
    --shadow: 0 2px 12px rgba(0,0,0,.08);
    --shadow-hover: 0 6px 24px rgba(0,0,0,.14);
}
body { font-family: 'Segoe UI', system-ui, -apple-system, sans-serif; color: var(--text); background: var(--white); line-height: 1.6; }
a { text-decoration: none; color: inherit; }
img { max-width: 100%; }

/* ── PANEL BAR ── */
.panel-bar { background: var(--dark); padding: 7px 0; }
.panel-bar .inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 10px; font-size: 12px; }
.panel-bar span { color: #aaa; }
.panel-btn { display: inline-flex; align-items: center; gap: 5px; padding: 3px 12px; border-radius: 3px; font-size: 12px; font-weight: 600; transition: opacity .2s; }
.panel-btn:hover { opacity: .85; }
.panel-btn.admin { background: var(--blue-grad); color: #fff; }
.panel-btn.merchant { background: #fff; color: var(--blue); }

/* ── TOP BAR ── */
.topbar { background: var(--blue-grad); color: #fff; font-size: 12px; padding: 6px 0; }
.topbar .inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: space-between; align-items: center; }
.topbar a { color: rgba(255,255,255,.85); transition: color .2s; }
.topbar a:hover { color: #fff; }
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 16px; }

/* ── NAVBAR ── */
.navbar { background: var(--white); border-bottom: 3px solid var(--blue); position: sticky; top: 0; z-index: 200; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.navbar .inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; height: 68px; gap: 32px; }
.navbar-brand { display: flex; align-items: center; flex-shrink: 0; object-fit: contain;    background: #1f75c2;    border-radius: 6px;}
.navbar-logo { height: 40px; width: auto; display: block; }
.navbar-links { display: flex; gap: 6px; margin-left: auto; align-items: center; }
.navbar-links a { font-size: 14px; font-weight: 500; color: var(--text); padding: 6px 12px; border-radius: var(--radius); transition: all .2s; }
.navbar-links a:hover { color: var(--blue); background: var(--blue-light); }
.btn { display: inline-flex; align-items: center; gap: 6px; padding: 9px 22px; border-radius: var(--radius); font-size: 14px; font-weight: 600; cursor: pointer; transition: all .2s; border: none; white-space: nowrap; }
.btn-red { background: var(--blue-grad); color: #fff; }
.btn-red:hover { background: var(--blue-dark); box-shadow: 0 4px 12px rgba(32,124,202,.35); transform: translateY(-1px); }
.btn-outline-red { background: transparent; color: var(--blue); border: 2px solid var(--blue); }
.btn-outline-red:hover { background: var(--blue-grad); color: #fff; border-color: transparent; }
.btn-white { background: #fff; color: var(--blue); }
.btn-white:hover { background: #f0f6fd; transform: translateY(-1px); }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #0d2e4f 0%, #1a5c9e 40%, #1d5fab 100%); color: #fff; padding: 70px 20px 65px; position: relative; overflow: hidden; }
.hero::after { content: ''; position: absolute; right: -80px; top: -80px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(92,163,218,.3) 0%, transparent 70%); pointer-events: none; }
.hero .inner { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(92,163,218,.2); border: 1px solid rgba(92,163,218,.45); color: #a8d4f5; padding: 5px 14px; border-radius: 20px; font-size: 12px; font-weight: 600; margin-bottom: 20px; }
.hero h1 { font-size: clamp(30px, 3.5vw, 48px); font-weight: 800; line-height: 1.2; margin-bottom: 18px; }
.hero h1 span { color: #7ec8f0; }
.hero p { font-size: 16px; color: rgba(255,255,255,.75); margin-bottom: 32px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-visual { display: flex; flex-direction: column; gap: 14px; }
.stat-card { background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 10px; padding: 18px 22px; display: flex; align-items: center; gap: 16px; backdrop-filter: blur(4px); }
.stat-card-icon { width: 44px; height: 44px; background: rgba(92,163,218,.5); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.stat-card-num { font-size: 22px; font-weight: 800; color: #fff; }
.stat-card-label { font-size: 12px; color: rgba(255,255,255,.6); }

/* ── TRUST BAR ── */
.trust-bar { background: var(--blue-grad); padding: 16px 20px; }
.trust-bar .inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; align-items: center; flex-wrap: wrap; gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 8px; color: #fff; font-size: 13px; font-weight: 600; }
.trust-item i { font-size: 16px; opacity: .9; }

/* ── SECTION ── */
.section { padding: 80px 20px; background: #fff; }
.section-alt { background: #f7f9fc; }
.section-dark { background: linear-gradient(135deg, #0d2e4f 0%, #1a5c9e 100%); }
.container { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 52px; }
.section-tag { display: inline-flex; align-items: center; gap: 6px; background: var(--blue-light); color: var(--blue); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px; border: 1px solid rgba(32,124,202,.2); }
.section-title { font-size: clamp(24px, 2.5vw, 34px); font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.section-sub { font-size: 15px; color: var(--muted); max-width: 540px; margin: 0 auto; line-height: 1.7; }
.section-dark .section-title { color: #fff; }
.section-dark .section-sub { color: rgba(255,255,255,.7); }
.section-dark .section-tag { background: rgba(92,163,218,.15); color: #a8d4f5; border-color: rgba(92,163,218,.3); }

/* ── PROVIDERS ── */
.providers-grid { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; align-items: stretch; }
.provider-card { width: 160px; background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px 16px; text-align: center; transition: all .25s; cursor: default; }
.provider-card:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); transform: translateY(-3px); }
.provider-logo { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 12px; display: block; border-radius: 8px; }
.provider-logo-placeholder { width: 64px; height: 64px; background: var(--blue-grad); border-radius: 8px; margin: 0 auto 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 24px; font-weight: 800; }
.provider-name { font-size: 13px; font-weight: 700; color: var(--dark); }
.provider-badge { display: inline-flex; align-items: center; gap: 4px; background: #e6f7ee; color: var(--success); font-size: 11px; font-weight: 600; padding: 2px 8px; border-radius: 3px; margin-top: 8px; }

/* ── FEATURES ── */
.features-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; align-items: center; }
.feature-card { flex: 1 1 280px; max-width: 340px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 28px 24px; transition: all .25s; text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.feature-card:hover { background: rgba(255,255,255,.12); border-color: rgba(92,163,218,.5); transform: translateY(-2px); }
.feature-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 16px; background: rgba(92,163,218,.2); color: #a8d4f5; border: 1px solid rgba(92,163,218,.3); }
.feature-card h3 { font-size: 16px; font-weight: 700; color: #fff; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: rgba(255,255,255,.65); line-height: 1.65; }

/* ── STEPS ── */
.steps { display: flex; flex-wrap: wrap; gap: 32px; justify-content: center; }
.step { width: 200px; text-align: center; }
.step-num { width: 52px; height: 52px; background: var(--blue-grad); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; margin: 0 auto 16px; }
.step h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.step p { font-size: 13px; color: var(--muted); }

/* ── CTA ── */
.cta-section { background: var(--blue-grad); color: #fff; padding: 70px 20px; text-align: center; }
.cta-section h2 { font-size: clamp(26px, 3vw, 38px); font-weight: 800; margin-bottom: 14px; }
.cta-section p { font-size: 16px; opacity: .88; margin-bottom: 32px; }

/* ── FOOTER ── */
.footer { background: #0d1f3c; color: #a8bdd4; font-size: 14px; }
.footer-top { padding: 56px 20px 44px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; max-width: 1200px; margin: 0 auto; }
.footer-brand-col {}
.footer-brand-text { font-size: 28px; font-weight: 900; background: var(--blue-grad);padding-bottom:5px; -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; letter-spacing: -1px; line-height: 1; }
.footer-brand-sub { font-size: 11px; color: #6a8aaa; font-weight: 500; letter-spacing: .08em; text-transform: uppercase; margin: 4px 0 16px; }
.footer-desc { font-size: 13px; line-height: 1.8; color: #7a9ab8; margin-bottom: 22px; max-width: 280px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 34px; height: 34px; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); border-radius: 6px; display: flex; align-items: center; justify-content: center; color: #7a9ab8; font-size: 13px; transition: all .2s; }
.footer-social a:hover { background: var(--blue-grad); border-color: transparent; color: #fff; }
.footer-col h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: #fff; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li a { font-size: 13px; color: #7a9ab8; transition: color .2s; display: flex; align-items: center; gap: 6px; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom { padding: 16px 20px; background: #091629; }
.footer-bottom .inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: 12px; color: #4a6a88; }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: #4a6a88; transition: color .2s; }
.footer-bottom-links a:hover { color: #fff; }

/* ── STATIC PAGES ── */
.page-hero { background: linear-gradient(135deg, #0d2e4f 0%, #1a5c9e 40%, #1d5fab 100%); color: #fff; padding: 72px 20px 64px; text-align: center; position: relative; overflow: hidden; }
.page-hero::after { content: ''; position: absolute; right: -60px; top: -60px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(92,163,218,.25) 0%, transparent 70%); pointer-events: none; }
.page-hero-inner { position: relative; max-width: 700px; margin: 0 auto; }
.page-hero .section-tag { margin-bottom: 16px; }
.page-hero h1 { font-size: clamp(28px, 3.5vw, 44px); font-weight: 800; margin-bottom: 12px; }
.page-hero p { font-size: 16px; color: rgba(255,255,255,.75); line-height: 1.7; }
.page-content { max-width: 860px; margin: 0 auto; padding: 60px 20px; }
.page-content h2 { font-size: 20px; font-weight: 800; color: var(--dark); margin: 36px 0 12px; padding-top: 36px; border-top: 1px solid var(--border); }
.page-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.page-content h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin: 20px 0 8px; }
.page-content p { font-size: 15px; color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.page-content ul { margin: 0 0 16px 20px; }
.page-content ul li { font-size: 15px; color: var(--muted); margin-bottom: 6px; }
.page-content a { color: var(--blue); }
.page-content pre { background: #1a1a1a; color: #e2e8f0; border-radius: 6px; padding: 18px 22px; font-size: 13px; overflow-x: auto; margin: 16px 0; line-height: 1.6; }
.page-content code { font-family: 'Courier New', monospace; }
.endpoint-box { background: var(--light); border: 1px solid var(--border); border-left: 3px solid var(--blue); border-radius: 4px; padding: 12px 18px; font-family: monospace; font-size: 14px; margin: 12px 0; }
.http-badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 700; margin-right: 6px; }
.http-badge.post { background: #dbeafe; color: #1d4ed8; }
.http-badge.get { background: #dcfce7; color: #15803d; }

/* ── PRICING ── */
.pricing-center { display: flex; justify-content: center; }
.plan-single { background: #fff; border: 1px solid var(--border); border-radius: 16px; overflow: hidden; box-shadow: 0 8px 40px rgba(32,124,202,.12); max-width: 900px; width: 100%; }
.plan-single-header { background: var(--blue-grad); color: #fff; padding: 48px 40px; text-align: center; }
.plan-single-tag { display: inline-block; background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3); color: #fff; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; padding: 4px 14px; border-radius: 20px; margin-bottom: 16px; }
.plan-single-price { font-size: 52px; font-weight: 900; color: #fff; line-height: 1; margin-bottom: 12px; }
.plan-single-price span { font-size: 16px; font-weight: 400; opacity: .75; }
.plan-single-desc { font-size: 15px; color: rgba(255,255,255,.8); max-width: 440px; margin: 0 auto 28px; line-height: 1.7; }
.plan-single-body { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; padding: 36px 40px; }
.plan-single-col { padding: 0 24px; border-right: 1px solid var(--border); }
.plan-single-col:first-child { padding-left: 0; }
.plan-single-col:last-child { border-right: none; padding-right: 0; }
.plan-single-col-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--blue); margin-bottom: 16px; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: 11px; }
.plan-features li { font-size: 14px; display: flex; align-items: center; gap: 9px; color: var(--text); }
.plan-features li i { color: var(--blue); font-size: 14px; flex-shrink: 0; }

/* ── FAQ ── */
.faq { max-width: 720px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.faq-item h3 i { color: var(--blue); font-size: 12px; flex-shrink: 0; }
.faq-item p { font-size: 14px; color: var(--muted); line-height: 1.75; padding-left: 20px; }

/* ── DOCS GATE ── */
.docs-gate { max-width: 520px; margin: 0 auto; text-align: center; padding: 20px 0 40px; }
.docs-gate-icon { width: 72px; height: 72px; background: var(--blue-light); border: 1px solid rgba(32,124,202,.2); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 28px; color: var(--blue); margin: 0 auto 24px; }
.docs-gate h2 { font-size: 22px; font-weight: 800; color: var(--dark); margin-bottom: 12px; }
.docs-gate p { font-size: 15px; color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.docs-gate-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-bottom: 24px; }
.docs-gate-note { font-size: 13px; color: var(--muted); background: var(--blue-light); border: 1px solid rgba(32,124,202,.15); border-radius: 8px; padding: 12px 18px; display: inline-flex; align-items: center; gap: 8px; }
.docs-gate-note i { color: var(--blue); flex-shrink: 0; }
.docs-gate-note a { color: var(--blue); font-weight: 600; }

/* ── DOCS SIDEBAR ── */
.docs-layout { display: grid; grid-template-columns: 220px 1fr; gap: 0; max-width: 1100px; margin: 0 auto; padding: 48px 20px; }
.docs-sidebar { border-right: 1px solid var(--border); padding-right: 28px; }
.docs-sidebar h4 { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; margin-top: 22px; }
.docs-sidebar h4:first-child { margin-top: 0; }
.docs-sidebar ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.docs-sidebar ul li a { font-size: 13px; color: var(--text); padding: 5px 8px; border-radius: 4px; display: block; transition: all .2s; }
.docs-sidebar ul li a:hover, .docs-sidebar ul li a.active { background: var(--blue-light); color: var(--blue); }
.docs-content { padding-left: 44px; }
.docs-content h2 { font-size: 24px; font-weight: 800; color: var(--dark); margin: 40px 0 12px; padding-top: 40px; border-top: 1px solid var(--border); }
.docs-content h2:first-child { margin-top: 0; padding-top: 0; border-top: none; }
.docs-content h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin: 20px 0 8px; }
.docs-content p { font-size: 14px; color: var(--muted); margin-bottom: 14px; line-height: 1.75; }
.docs-content ul { margin: 0 0 14px 18px; }
.docs-content ul li { font-size: 14px; color: var(--muted); margin-bottom: 5px; }
.docs-content pre { background: #1a1a1a; color: #e2e8f0; border-radius: 6px; padding: 18px 22px; font-size: 13px; overflow-x: auto; margin: 14px 0; line-height: 1.6; }
.docs-content code { font-family: 'Courier New', monospace; }
.docs-content a { color: var(--blue); }

/* ── ABOUT PAGE ── */
.about-stats-bar { background: var(--blue-grad); padding: 36px 20px; }
.about-stats-row { max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: center; gap: 0; }
.about-stat-item { flex: 1; text-align: center; padding: 0 20px; }
.about-stat-num { font-size: 34px; font-weight: 800; color: #fff; line-height: 1; margin-bottom: 6px; }
.about-stat-lbl { font-size: 12px; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .08em; font-weight: 600; }
.about-stat-divider { width: 1px; height: 48px; background: rgba(255,255,255,.2); flex-shrink: 0; }
.about-highlights-row { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 8px; }
.about-highlight-card { display: flex; align-items: center; gap: 12px; background: var(--blue-light); border: 1px solid rgba(32,124,202,.18); border-radius: 8px; padding: 14px 20px; font-size: 14px; font-weight: 600; color: var(--dark); flex: 1 1 220px; max-width: 280px; }
.about-highlight-card i { font-size: 20px; color: var(--blue); flex-shrink: 0; }

/* ── VALUES GRID ── */
.values-grid { display: flex; flex-wrap: wrap; gap: 20px; justify-content: center; }
.value-card { flex: 1 1 220px; max-width: 260px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 32px 22px; text-align: center; transition: all .25s; }
.value-card:hover { border-color: var(--blue); box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.value-icon { width: 56px; height: 56px; border-radius: 14px; background: var(--blue-light); border: 1px solid rgba(32,124,202,.15); color: var(--blue); font-size: 22px; display: flex; align-items: center; justify-content: center; margin: 0 auto 18px; }
.value-card h3 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.value-card p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── NAVBAR USER ── */
.navbar-user { display: flex; align-items: center; gap: 10px; }
.navbar-username { font-size: 13px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 5px; white-space: nowrap; }
.navbar-username i { color: var(--blue); font-size: 16px; }

/* ── API DOCS ── */
.apidocs-wrap { display: grid; grid-template-columns: 260px 1fr; min-height: calc(100vh - 200px); max-width: 1300px; margin: 0 auto; padding: 0 20px; gap: 0; }
.apidocs-sidebar { border-right: 1px solid var(--border); padding: 36px 0; }
.apidocs-sidebar-inner { position: sticky; top: 88px; max-height: calc(100vh - 110px); overflow-y: auto; padding-right: 20px; }
.apidocs-nav-group { margin-bottom: 24px; }
.apidocs-nav-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); margin-bottom: 6px; padding: 0 8px; }
.apidocs-nav-link { display: block; font-size: 13px; color: var(--text); padding: 6px 10px; border-radius: 5px; transition: all .15s; border-left: 2px solid transparent; }
.apidocs-nav-link:hover { color: var(--blue); background: var(--blue-light); }
.apidocs-nav-link.active { color: var(--blue); background: var(--blue-light); border-left-color: var(--blue); font-weight: 600; }
.apidocs-content { padding: 40px 0 60px 48px; }
.apidocs-section { padding: 36px 0; border-bottom: 1px solid var(--border); }
.apidocs-section:last-child { border-bottom: none; }
.apidocs-tag { display: inline-flex; align-items: center; background: var(--blue-light); color: var(--blue); font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; padding: 3px 10px; border-radius: 20px; margin-bottom: 10px; border: 1px solid rgba(32,124,202,.2); }
.apidocs-h1 { font-size: 28px; font-weight: 800; color: var(--dark); margin-bottom: 12px; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.apidocs-version-badge { font-size: 12px; font-weight: 600; background: var(--blue-grad); color: #fff; padding: 3px 10px; border-radius: 20px; }
.apidocs-h2 { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 14px; }
.apidocs-h3 { font-size: 14px; font-weight: 700; color: var(--dark); margin: 22px 0 10px; display: flex; align-items: center; gap: 8px; }
.apidocs-lead { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 20px; }
.apidocs-section p { font-size: 14px; color: var(--muted); line-height: 1.8; margin-bottom: 12px; }
.apidocs-card-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 8px; }
.apidocs-overview-card { display: flex; align-items: flex-start; gap: 14px; background: var(--blue-light); border: 1px solid rgba(32,124,202,.18); border-radius: 10px; padding: 18px 20px; }
.apidocs-overview-card strong { font-size: 14px; color: var(--dark); display: block; margin-bottom: 4px; }
.apidocs-overview-card p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.6; }
.apidocs-overview-icon { width: 40px; height: 40px; background: var(--blue-grad); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 16px; flex-shrink: 0; }
.apidocs-url-bar { display: flex; align-items: center; gap: 12px; background: #f8fafc; border: 1px solid var(--border); border-left: 3px solid var(--blue); border-radius: 6px; padding: 12px 16px; font-family: monospace; font-size: 14px; overflow-x: auto; }
.apidocs-method { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 4px; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.apidocs-method.post { background: #dbeafe; color: #1d4ed8; }
.apidocs-method.get  { background: #dcfce7; color: #15803d; }
.apidocs-method-label { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); flex-shrink: 0; }
.apidocs-table { width: 100%; border-collapse: collapse; font-size: 13px; margin-bottom: 16px; }
.apidocs-table th { background: #f7f9fc; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding: 10px 14px; text-align: left; border-bottom: 2px solid var(--border); }
.apidocs-table td { padding: 10px 14px; border-bottom: 1px solid var(--border); color: var(--text); vertical-align: top; line-height: 1.6; }
.apidocs-table tr:last-child td { border-bottom: none; }
.apidocs-table code { background: #f0f4f8; padding: 1px 5px; border-radius: 3px; font-size: 12px; }
.apidocs-badge { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 11px; font-weight: 700; }
.apidocs-badge.req { background: #fee2e2; color: #b91c1c; }
.apidocs-badge.opt { background: #f0fdf4; color: #15803d; }
.apidocs-alert { display: flex; align-items: flex-start; gap: 10px; padding: 12px 16px; border-radius: 6px; font-size: 13px; line-height: 1.7; margin: 14px 0; }
.apidocs-alert i { margin-top: 2px; flex-shrink: 0; }
.apidocs-alert-info { background: #eff6ff; border: 1px solid #bfdbfe; color: #1e40af; }
.apidocs-alert-warn { background: #fffbeb; border: 1px solid #fde68a; color: #92400e; }
.apidocs-alert-danger { background: #fef2f2; border: 1px solid #fecaca; color: #991b1b; }
.apidocs-pre { background: #0f172a; color: #e2e8f0; border-radius: 8px; padding: 18px 20px; font-size: 13px; overflow-x: auto; margin: 10px 0; line-height: 1.65; font-family: 'Courier New', monospace; }
.apidocs-step { display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 22px; background: var(--blue-grad); color: #fff; border-radius: 50%; font-size: 11px; font-weight: 700; flex-shrink: 0; }
.apidocs-tabs { border: 1px solid var(--border); border-radius: 8px; overflow: hidden; margin: 10px 0; }
.apidocs-tab-bar { display: flex; background: #f7f9fc; border-bottom: 1px solid var(--border); }
.apidocs-tab { padding: 9px 18px; font-size: 13px; font-weight: 600; color: var(--muted); background: none; border: none; cursor: pointer; border-bottom: 2px solid transparent; margin-bottom: -1px; transition: all .15s; }
.apidocs-tab.active { color: var(--blue); border-bottom-color: var(--blue); background: #fff; }
.apidocs-tab-content { display: none; }
.apidocs-tab-content.active { display: block; }
.apidocs-tab-content .apidocs-pre { border-radius: 0; margin: 0; }
.apidocs-flow { display: flex; flex-direction: column; gap: 0; max-width: 560px; }
.apidocs-flow-step { display: flex; align-items: flex-start; gap: 14px; background: var(--blue-light); border: 1px solid rgba(32,124,202,.18); border-radius: 8px; padding: 14px 18px; }
.apidocs-flow-step strong { font-size: 14px; color: var(--dark); display: block; margin-bottom: 3px; }
.apidocs-flow-step p { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.5; }
.apidocs-flow-icon { width: 36px; height: 36px; background: var(--blue-grad); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 14px; flex-shrink: 0; }
.apidocs-flow-arrow { text-align: center; color: var(--blue); font-size: 14px; padding: 4px 0; margin-left: 18px; }
.apidocs-status { display: inline-block; padding: 2px 8px; border-radius: 4px; font-size: 11px; font-weight: 700; font-family: monospace; }
.apidocs-status.s302 { background: #dbeafe; color: #1d4ed8; }
.apidocs-status.s200 { background: #dcfce7; color: #15803d; }
.apidocs-status.s401 { background: #fee2e2; color: #b91c1c; }
.apidocs-status.s404 { background: #fef3c7; color: #92400e; }
.apidocs-status-pill { display: inline-block; padding: 3px 10px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.apidocs-status-pill.pending   { background: #fef3c7; color: #92400e; }
.apidocs-status-pill.paid      { background: #dcfce7; color: #15803d; }
.apidocs-status-pill.failed    { background: #fee2e2; color: #b91c1c; }
.apidocs-status-pill.cancelled { background: #f3f4f6; color: #374151; }
.apidocs-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.apidocs-list li { font-size: 14px; color: var(--muted); padding-left: 20px; position: relative; line-height: 1.7; }
.apidocs-list li::before { content: ''; position: absolute; left: 0; top: 9px; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.apidocs-divider { border: none; border-top: 2px solid var(--border); margin: 8px 0; }

/* ── LEGAL PAGES ── */
.legal-layout { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: start; }
.legal-toc-inner { position: sticky; top: 88px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 20px; box-shadow: var(--shadow); }
.legal-toc-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 7px; }
.legal-toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.legal-toc ul li a { font-size: 13px; color: var(--text); padding: 6px 10px; border-radius: 5px; display: block; transition: all .2s; line-height: 1.4; }
.legal-toc ul li a:hover { background: var(--blue-light); color: var(--blue); }
.legal-toc ul li a.active { background: var(--blue-light); color: var(--blue); font-weight: 600; }
.legal-content { display: flex; flex-direction: column; gap: 0; }
.legal-section { padding: 32px 0; border-bottom: 1px solid var(--border); }
.legal-section:first-child { padding-top: 0; }
.legal-section:last-child { border-bottom: none; }
.legal-section h2 { font-size: 18px; font-weight: 800; color: var(--dark); margin-bottom: 14px; display: flex; align-items: center; gap: 12px; }
.legal-num { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; background: var(--blue-grad); color: #fff; border-radius: 6px; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.legal-section p { font-size: 15px; color: var(--muted); line-height: 1.8; margin-bottom: 10px; }
.legal-section ul { margin: 8px 0 0 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.legal-section ul li { font-size: 15px; color: var(--muted); line-height: 1.7; padding-left: 20px; position: relative; }
.legal-section ul li::before { content: ''; position: absolute; left: 0; top: 10px; width: 6px; height: 6px; background: var(--blue); border-radius: 50%; }
.legal-section a { color: var(--blue); font-weight: 500; }
.legal-section a:hover { text-decoration: underline; }

/* ── CONTACT PAGE ── */
.contact-layout { display: grid; grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
.contact-form-card { background: #fff; border: 1px solid var(--border); border-radius: 12px; padding: 36px 32px; box-shadow: var(--shadow); }
.contact-form-title { font-size: 20px; font-weight: 800; color: var(--dark); margin-bottom: 24px; }
.contact-form { display: flex; flex-direction: column; gap: 18px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.cf-group { display: flex; flex-direction: column; gap: 6px; }
.cf-group label { font-size: 13px; font-weight: 600; color: var(--dark); }
.cf-group input, .cf-group textarea { border: 1px solid var(--border); border-radius: var(--radius); padding: 10px 14px; font-size: 14px; font-family: inherit; color: var(--text); background: #fafafa; transition: border-color .2s, box-shadow .2s; outline: none; resize: vertical; }
.cf-group input:focus, .cf-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(32,124,202,.1); background: #fff; }
.cf-group input::placeholder, .cf-group textarea::placeholder { color: #bbb; }
.contact-info-card { background: var(--blue-grad); border-radius: 12px; padding: 36px 28px; color: #fff; }
.contact-info-card h3 { font-size: 18px; font-weight: 800; margin-bottom: 10px; }
.contact-info-card > p { font-size: 14px; color: rgba(255,255,255,.75); line-height: 1.7; margin-bottom: 28px; }
.contact-info-items { display: flex; flex-direction: column; gap: 20px; }
.contact-info-item { display: flex; align-items: flex-start; gap: 14px; }
.contact-info-icon { width: 40px; height: 40px; background: rgba(255,255,255,.15); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.contact-info-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.6); margin-bottom: 3px; }
.contact-info-value { font-size: 14px; font-weight: 600; color: #fff; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
    .hero .inner { grid-template-columns: 1fr; }
    .hero-visual { display: none; }
    .about-stats-row { flex-wrap: wrap; gap: 24px; }
    .about-stat-divider { display: none; }
    .plan-single-body { grid-template-columns: 1fr; }
    .plan-single-col { border-right: none; border-bottom: 1px solid var(--border); padding: 0 0 20px; margin-bottom: 20px; }
    .plan-single-col:last-child { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
    .plan-single-header { padding: 36px 24px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
    .docs-layout { grid-template-columns: 1fr; }
    .docs-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding-right: 0; padding-bottom: 20px; margin-bottom: 20px; }
    .docs-content { padding-left: 0; }
    .contact-layout { grid-template-columns: 1fr; }
    .cf-row { grid-template-columns: 1fr; }
    .legal-layout { grid-template-columns: 1fr; }
    .legal-toc-inner { position: static; }
    .apidocs-wrap { grid-template-columns: 1fr; }
    .apidocs-sidebar { border-right: none; border-bottom: 1px solid var(--border); padding-bottom: 20px; }
    .apidocs-sidebar-inner { position: static; }
    .apidocs-content { padding-left: 0; }
    .apidocs-card-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
    .footer-grid { grid-template-columns: 1fr; }
    .topbar .inner { flex-direction: column; gap: 4px; }
    .navbar-links .nav-hide { display: none; }
}
