:root {
    --home-bg: #f4f6f8;
    --home-card: #fff;
    --home-surface: #ffffff;
    --home-soft: #f8fafc;
    --home-blue: #315fae;
    --home-blue-dark: #214989;
    --home-text: #172033;
    --home-muted: #657087;
    --home-line: #d8dde6;
    --home-green: #0f9f58;
    --home-shadow: 0 7px 22px rgba(23, 32, 51, .045);
    --home-radius: 12px;
    --home-radius-small: 9px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body.landing-body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    color: var(--home-text);
    background: var(--home-bg);
    -webkit-font-smoothing: antialiased;
}
a { color: inherit; }
.landing-container { width: min(1160px, calc(100% - 40px)); margin: 0 auto; }
.landing-header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(244,246,248,.94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--home-line);
}
.nav-shell { min-height: 68px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.landing-brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 700; font-size: 18px; }
.landing-brand-mark {
    width: 36px; height: 36px; display: grid; place-items: center;
    background: var(--home-blue); color: #fff; border: 1px solid var(--home-blue-dark); font-size: 12px;
}
.landing-nav { display: flex; align-items: center; gap: 8px; }
.landing-nav a { padding: 9px 11px; text-decoration: none; color: #465166; font-weight: 500; font-size: 13px; }
.landing-nav a:hover { color: var(--home-blue); }
.landing-nav .nav-dashboard { background: var(--home-blue); color: #fff; border: 1px solid var(--home-blue-dark); }

.hero-section { padding: 82px 0 70px; background: linear-gradient(180deg, #f7f8fa 0%, #eef2f7 100%); border-bottom: 1px solid var(--home-line); }
.hero-grid { display: grid; grid-template-columns: 1.18fr .82fr; gap: 64px; align-items: center; }
.hero-kicker, .section-eyebrow { color: var(--home-blue); font-weight: 700; font-size: 11px; letter-spacing: .09em; margin-bottom: 13px; }
.hero-copy h1 { margin: 0; max-width: 790px; font-size: clamp(36px, 5vw, 58px); line-height: 1.08; letter-spacing: -.045em; }
.hero-copy h1 span { color: var(--home-blue); }
.hero-text { max-width: 720px; margin: 20px 0 0; color: var(--home-muted); font-size: 16px; line-height: 1.8; }
.hero-tags { display: flex; flex-wrap: wrap; gap: 9px; margin: 24px 0 0; }
.hero-tags span { background: #fff; border: 1px solid var(--home-line); padding: 8px 11px; font-size: 12px; font-weight: 500; box-shadow: 0 4px 14px rgba(30,45,70,.04); }
.hero-actions, .docs-actions, .cta-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.landing-btn { min-height: 43px; display: inline-flex; align-items: center; justify-content: center; padding: 10px 16px; text-decoration: none; border: 1px solid var(--home-line); font-size: 13px; font-weight: 600; transition: transform .16s ease, box-shadow .16s ease, background .16s ease; }
.landing-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(27,45,75,.10); }
.landing-btn.primary { background: var(--home-blue); color: #fff; border-color: var(--home-blue-dark); }
.landing-btn.secondary { background: #fff; }
.hero-note { color: var(--home-muted); font-size: 12px; margin-top: 14px; }

.hero-terminal { background: var(--home-surface); border: 1px solid #d9e0e9; box-shadow: var(--home-shadow); }
.terminal-head { min-height: 42px; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; background: linear-gradient(180deg, #3d6dc0, #2f5ba8); color: #fff; font-size: 11px; font-weight: 700; }
.terminal-dot { color: #c8ffe1; }
.terminal-body { padding: 22px; }
.muted-line { color: var(--home-muted); font-size: 11px; text-transform: uppercase; margin-bottom: 2px; }
.terminal-body > strong { font-size: 16px; }
.terminal-divider { border-top: 1px dashed #d8e0e9; margin: 18px 0; }
.terminal-row { display: flex; justify-content: space-between; gap: 20px; padding: 8px 0; border-bottom: 1px solid rgba(120,120,110,.14); color: #555c69; font-size: 12px; }
.terminal-row b { color: #1c2636; }
.terminal-success { margin-top: 18px; border: 1px solid #add8c0; background: #e9f8ef; color: #147744; padding: 12px; text-align: center; font-weight: 700; font-size: 12px; }
.terminal-webhook { margin-top: 8px; color: var(--home-muted); text-align: center; font-family: monospace; font-size: 11px; }

.stats-section, .landing-section { padding: 72px 0; }
.stats-section { background: #fff; border-bottom: 1px solid var(--home-line); }
.landing-section.alt { background: #fff; border-top: 1px solid var(--home-line); border-bottom: 1px solid var(--home-line); }
.section-title-row { display: flex; align-items: end; justify-content: space-between; gap: 20px; }
.landing-section h2, .stats-section h2, .cta-section h2 { margin: 0; font-size: clamp(26px, 3vw, 36px); letter-spacing: -.03em; line-height: 1.2; }
.section-title-row p, .section-lead { color: var(--home-muted); line-height: 1.75; margin: 9px 0 0; max-width: 760px; }
.stats-grid { display: grid; grid-template-columns: 1.5fr repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat-card { background: var(--home-surface); border: 1px solid #d9e0e9; padding: 20px; min-height: 118px; display: flex; flex-direction: column; justify-content: space-between; }
.stat-card span { color: var(--home-muted); font-size: 11px; text-transform: uppercase; letter-spacing: .04em; }
.stat-card strong { font-size: 27px; letter-spacing: -.03em; }
.stat-card.wide strong { color: var(--home-blue); }

.steps-grid, .feature-grid { display: grid; gap: 14px; margin-top: 30px; }
.steps-grid { grid-template-columns: repeat(3, 1fr); }
.feature-grid { grid-template-columns: repeat(3, 1fr); }
.step-card, .feature-card { background: var(--home-card); border: 1px solid var(--home-line); padding: 22px; box-shadow: 0 7px 22px rgba(30,45,70,.035); }
.step-no { width: 32px; height: 32px; display: grid; place-items: center; background: var(--home-blue); color: #fff; font-weight: 700; margin-bottom: 18px; font-size: 12px; }
.step-card h3, .feature-card h3, .provider-card h3 { margin: 0 0 8px; font-size: 16px; }
.step-card p, .feature-card p, .provider-card p { margin: 0; color: var(--home-muted); line-height: 1.75; font-size: 13px; }
.feature-icon { font-size: 24px; margin-bottom: 15px; }
.feature-card code { font-size: 11px; background: #f0f3f7; padding: 2px 5px; }

.section-label { color: var(--home-muted); font-size: 11px; font-weight: 600; margin-bottom: 6px; }
.provider-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 28px; }
.provider-card { display: flex; gap: 16px; background: var(--home-surface); border: 1px solid #d9e0e9; padding: 22px; }
.provider-icon { width: 44px; height: 44px; flex: 0 0 44px; display: grid; place-items: center; background: #fff; border: 1px solid var(--home-line); font-size: 20px; }
.provider-icon.green { color: #22b96b; }
.provider-pill { display: inline-block; margin-top: 14px; padding: 5px 8px; background: #e8f7ef; border: 1px solid #b8dcc8; color: #147744; font-size: 10px; font-weight: 700; letter-spacing: .04em; }
.risk-note { margin-top: 14px; padding: 12px 14px; background: #f4f7fc; border: 1px solid #cbd8ea; color: #435775; font-size: 12px; line-height: 1.6; }

.security-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.security-list { display: grid; border-top: 1px solid var(--home-line); }
.security-list div { display: flex; gap: 12px; align-items: flex-start; padding: 13px 0; border-bottom: 1px solid var(--home-line); color: #465166; font-size: 13px; }
.security-list span { color: var(--home-green); font-weight: 700; }
.security-list strong { color: var(--home-text); }

.docs-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.code-card { margin: 0; background: #101827; color: #e6edf6; border: 1px solid #2a3547; padding: 22px; overflow-x: auto; line-height: 1.7; font-size: 12px; }
.code-card code { font-family: "SFMono-Regular", Consolas, monospace; }
.pricing-section { padding-top: 18px; }
.pricing-card { background: var(--home-surface); border: 1px solid #d9e0e9; padding: 28px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.pricing-card p { color: var(--home-muted); margin: 9px 0 0; max-width: 760px; line-height: 1.7; }

.faq-wrap { max-width: 900px; }
.faq-list { margin-top: 26px; border-top: 1px solid var(--home-line); }
.faq-list details { border-bottom: 1px solid var(--home-line); background: #fff; }
.faq-list summary { cursor: pointer; padding: 17px 4px; font-weight: 600; font-size: 13px; list-style: none; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; color: var(--home-blue); font-size: 18px; font-weight: 500; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list p { margin: 0; padding: 0 4px 17px; color: var(--home-muted); line-height: 1.7; }

.cta-section { padding: 64px 0; background: #203f78; color: #fff; }
.cta-card { display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.cta-card p { margin: 10px 0 0; color: #dbe6f8; }
.section-eyebrow.light { color: #bcd5ff; }
.landing-btn.light-btn { background: #fff; color: #203f78; border-color: #fff; }
.landing-btn.ghost-btn { background: transparent; color: #fff; border-color: #7694c5; }

.landing-footer { background: #111827; color: #d4dbea; padding: 52px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr repeat(3, 1fr); gap: 38px; }
.footer-brand-col p { color: #98a4b9; max-width: 380px; line-height: 1.7; font-size: 12px; }
.footer-grid h4 { color: #fff; margin: 4px 0 14px; font-size: 12px; }
.footer-grid > div:not(.footer-brand-col) a { display: block; text-decoration: none; color: #aeb9cb; margin: 9px 0; font-size: 12px; }
.footer-grid a:hover { color: #fff; }
.footer-bottom { margin-top: 38px; padding-top: 18px; border-top: 1px solid #2a3546; display: flex; justify-content: space-between; gap: 20px; color: #7f8ba0; font-size: 11px; }

@media (max-width: 900px) {
    .landing-nav a:not(.nav-dashboard) { display: none; }
    .hero-section { padding: 58px 0 52px; }
    .hero-grid, .security-grid, .docs-grid { grid-template-columns: 1fr; gap: 34px; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .steps-grid, .feature-grid { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
    .footer-grid > div:last-child { display: none; }
}
@media (max-width: 620px) {
    body.landing-body { font-size: 13px; }
    .landing-container { width: min(100% - 28px, 1160px); }
    .nav-shell { min-height: 60px; }
    .landing-brand { font-size: 16px; }
    .landing-brand-mark { width: 32px; height: 32px; }
    .landing-nav .nav-dashboard { padding: 8px 10px; font-size: 11px; }
    .hero-copy h1 { font-size: 34px; }
    .hero-text { font-size: 14px; }
    .hero-tags span { font-size: 11px; }
    .stats-section, .landing-section { padding: 52px 0; }
    .stats-grid, .steps-grid, .feature-grid, .provider-grid { grid-template-columns: 1fr; }
    .stat-card { min-height: 100px; }
    .stat-card strong { font-size: 24px; }
    .pricing-card, .cta-card { flex-direction: column; align-items: flex-start; }
    .cta-actions, .hero-actions { width: 100%; }
    .cta-actions .landing-btn, .hero-actions .landing-btn { flex: 1; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .footer-brand-col { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; }
}


/* ===== PayKita Brand Logo ===== */
.landing-brand--logo { gap: 0 !important; }
.landing-brand-logo { display:block; width:154px; max-width:100%; height:auto; object-fit:contain; }
.footer-brand-logo { width:132px; }
@media (max-width: 700px) {
  .landing-brand-logo { width:132px; }
  .footer-brand-logo { width:116px; }
}

/* =========================================================
   PAYKITA LANDING · GLOBAL SURFACE SYSTEM
   Blue + white + cool gray + green only
   ========================================================= */
:root {
    --surface-bg: #f4f6f8;
    --surface-card: #ffffff;
    --surface-soft: #f8fafc;
    --surface-line: #d9e0e9;
    --surface-line-soft: #e5e9ef;
    --surface-text: #172033;
    --surface-muted: #657087;
    --surface-blue: #315fae;
    --surface-blue-dark: #214989;
    --surface-blue-soft: #edf3fc;
    --surface-green: #0f9f58;
    --surface-green-soft: #eaf7f0;
    --surface-radius: 12px;
    --surface-radius-small: 9px;
    --surface-shadow: 0 7px 22px rgba(23, 32, 51, .045);
    --surface-shadow-hover: 0 12px 28px rgba(23, 32, 51, .065);
}

body.landing-body {
    background: var(--surface-bg) !important;
    color: var(--surface-text) !important;
}

.surface-card {
    background: var(--surface-card) !important;
    border: 1px solid var(--surface-line) !important;
    border-radius: var(--surface-radius) !important;
    box-shadow: var(--surface-shadow) !important;
    overflow: hidden;
    transition: border-color .16s ease, box-shadow .16s ease, transform .16s ease;
}

.surface-card:hover {
    border-color: #ccd6e3 !important;
    box-shadow: var(--surface-shadow-hover) !important;
}

/* Header / navigation */
.landing-header {
    background: rgba(248, 250, 252, .94) !important;
    border-bottom-color: var(--surface-line) !important;
}

.landing-nav a {
    border-radius: 8px;
}

.landing-nav .nav-dashboard {
    background: var(--surface-blue) !important;
    border: 1px solid var(--surface-blue) !important;
    border-radius: 8px !important;
    color: #fff !important;
}

.landing-nav .nav-dashboard:hover {
    background: var(--surface-blue-dark) !important;
}

/* Hero */
.hero-section {
    background:
        radial-gradient(circle at 75% 16%, rgba(49, 95, 174, .07), transparent 27%),
        linear-gradient(180deg, #f8fafc 0%, #f1f4f8 100%) !important;
    border-bottom-color: var(--surface-line) !important;
}

.hero-kicker,
.section-eyebrow {
    color: var(--surface-blue) !important;
}

.hero-tags span {
    background: #fff !important;
    border: 1px solid var(--surface-line) !important;
    border-radius: 999px !important;
    box-shadow: none !important;
}

.landing-btn {
    border-radius: 8px !important;
}

.landing-btn.primary {
    background: var(--surface-blue) !important;
    border-color: var(--surface-blue) !important;
}

.landing-btn.primary:hover {
    background: var(--surface-blue-dark) !important;
    border-color: var(--surface-blue-dark) !important;
}

.landing-btn.secondary {
    background: #fff !important;
    border-color: var(--surface-line) !important;
    color: #334155 !important;
}

.landing-btn.secondary:hover {
    background: var(--surface-soft) !important;
    border-color: #bdc9d8 !important;
}

/* Payment preview = surface card, no cream */
.hero-terminal {
    background: #fff !important;
    border-color: var(--surface-line) !important;
    border-radius: var(--surface-radius) !important;
}

.terminal-head {
    min-height: 48px !important;
    padding: 12px 15px !important;
    background: var(--surface-soft) !important;
    border-bottom: 1px solid var(--surface-line-soft) !important;
    color: var(--surface-blue-dark) !important;
    font-size: 10px !important;
    letter-spacing: .035em;
}

.terminal-dot {
    display: inline-flex;
    align-items: center;
    padding: 5px 8px;
    border-radius: 999px;
    background: var(--surface-green-soft) !important;
    color: var(--surface-green) !important;
    font-size: 9px;
}

.terminal-body {
    background: #fff !important;
}

.terminal-divider {
    border-top: 1px solid var(--surface-line-soft) !important;
}

.terminal-row {
    border-bottom-color: var(--surface-line-soft) !important;
    color: var(--surface-muted) !important;
}

.terminal-row b {
    color: var(--surface-text) !important;
}

.terminal-success {
    border: 1px solid #c5e5d2 !important;
    border-radius: 8px !important;
    background: var(--surface-green-soft) !important;
    color: var(--surface-green) !important;
}

/* Sections */
.stats-section,
.landing-section,
.landing-section.alt {
    background: var(--surface-bg) !important;
}

.stats-section,
.landing-section.alt {
    border-color: var(--surface-line) !important;
}

/* Statistics */
.stat-card {
    background: #fff !important;
    border-color: var(--surface-line) !important;
    border-radius: var(--surface-radius) !important;
    padding: 20px !important;
}

.stat-card strong {
    color: var(--surface-text) !important;
}

.stat-card.wide strong {
    color: var(--surface-blue) !important;
}

/* Steps / features */
.step-card,
.feature-card {
    background: #fff !important;
    border-color: var(--surface-line) !important;
    border-radius: var(--surface-radius) !important;
}

.step-no {
    border-radius: 8px !important;
    background: var(--surface-blue) !important;
}

.feature-icon {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    margin-bottom: 15px !important;
    border: 1px solid #d4dfed;
    border-radius: 9px;
    background: var(--surface-blue-soft);
    font-size: 19px !important;
}

.feature-card code {
    border-radius: 5px;
    background: #f1f5f9 !important;
    color: var(--surface-blue-dark);
}

/* Providers */
.provider-card {
    background: #fff !important;
    border-color: var(--surface-line) !important;
    border-radius: var(--surface-radius) !important;
}

.provider-icon {
    border-color: #d4dfed !important;
    border-radius: 9px !important;
    background: var(--surface-blue-soft) !important;
}

.provider-pill {
    border-color: #c5e5d2 !important;
    border-radius: 999px !important;
    background: var(--surface-green-soft) !important;
    color: var(--surface-green) !important;
}

.risk-note {
    margin-top: 14px !important;
    padding: 13px 14px !important;
    border: 1px solid #cbd8ea !important;
    border-left: 3px solid var(--surface-blue) !important;
    border-radius: 9px !important;
    background: #f4f7fc !important;
    color: #435775 !important;
}

/* Security */
.security-list {
    gap: 9px !important;
    border-top: 0 !important;
}

.security-list div {
    padding: 12px 13px !important;
    border: 1px solid var(--surface-line) !important;
    border-radius: 9px !important;
    background: #fff !important;
}

/* Documentation */
.code-card.code-surface {
    border-color: #2c3b52 !important;
    border-radius: var(--surface-radius) !important;
    background: #111827 !important;
    box-shadow: var(--surface-shadow) !important;
}

/* Pricing */
.pricing-section {
    background: var(--surface-bg) !important;
}

.pricing-card {
    background: #fff !important;
    border-color: var(--surface-line) !important;
    border-radius: var(--surface-radius) !important;
    box-shadow: var(--surface-shadow) !important;
}

/* FAQ becomes true surface cards */
.faq-list {
    display: grid !important;
    gap: 9px !important;
    margin-top: 26px !important;
    border-top: 0 !important;
}

.faq-list details {
    overflow: hidden;
    border: 1px solid var(--surface-line) !important;
    border-radius: 10px !important;
    background: #fff !important;
    box-shadow: 0 4px 14px rgba(23, 32, 51, .03);
}

.faq-list summary {
    padding: 15px 16px !important;
}

.faq-list p {
    padding: 0 16px 16px !important;
}

/* CTA stays brand blue; no warm accents */
.cta-section {
    background: linear-gradient(135deg, #214989 0%, #315fae 100%) !important;
}

.landing-btn.light-btn {
    border-radius: 8px !important;
    color: var(--surface-blue-dark) !important;
}

.landing-btn.ghost-btn {
    border-radius: 8px !important;
    border-color: rgba(255, 255, 255, .55) !important;
}

/* Footer */
.landing-footer {
    background: #111827 !important;
}

@media (max-width: 620px) {
    .surface-card {
        border-radius: 10px !important;
    }
}

