/* ===== Karda — dark premium fintech (v2 layout) ===== */
:root {
  --bg: #0a0b0f;
  --bg-2: #0f1117;
  --surface: #14171f;
  --surface-2: #1a1e28;
  --ink: #f5f7fa;
  --muted: #9aa3b2;
  --faint: #626b7a;
  --line: rgba(255,255,255,0.09);
  --line-2: rgba(255,255,255,0.14);
  --bronze: #d8a878;
  --bronze-2: #b5793f;
  --warm: #9a6b35;
  --grad: linear-gradient(110deg, #e0b486, #b5793f);
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1180px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: "Inter", system-ui, sans-serif; background: var(--bg); color: var(--ink); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; position: relative; }
h1, h2, h3, h4, .logo-text { font-family: "Sora", "Inter", sans-serif; line-height: 1.08; letter-spacing: -0.02em; }
a { color: inherit; text-decoration: none; }
svg { display: block; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

.glow { position: fixed; inset: 0; z-index: -1; overflow: hidden; }
.glow span { position: absolute; border-radius: 50%; filter: blur(130px); opacity: 0.16; }
.g1 { width: 620px; height: 620px; background: var(--bronze); top: -240px; left: 50%; transform: translateX(-50%); }
.g2 { width: 520px; height: 520px; background: var(--warm); bottom: -260px; right: -120px; opacity: 0.14; }

/* ===== Floating pill header ===== */
.site-header { position: sticky; top: 14px; z-index: 100; padding: 0 16px; }
.header-inner { max-width: 1000px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; padding: 11px 12px 11px 18px; background: rgba(16,17,23,0.7); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border: 1px solid var(--line); border-radius: 999px; box-shadow: 0 16px 40px -24px rgba(0,0,0,0.9); }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-mark { display: block; border-radius: 9px; }
.logo-text { font-weight: 800; font-size: 20px; }
.nav { display: flex; align-items: center; gap: 6px; }
.nav > a:not(.nav-cta):not(.nav-x) { color: var(--muted); font-weight: 500; font-size: 14.5px; padding: 8px 12px; border-radius: 999px; transition: color 0.18s, background 0.18s; }
.nav > a:not(.nav-cta):not(.nav-x):hover { color: var(--ink); background: rgba(255,255,255,0.05); }
.nav-x { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 600; color: var(--ink); padding: 7px 12px; border: 1px solid var(--line-2); border-radius: 999px; transition: border-color 0.18s; }
.nav-x:hover { border-color: var(--bronze); }
.nav-cta { background: var(--grad); color: #14110b; font-weight: 700; font-size: 14.5px; padding: 10px 17px; border-radius: 999px; transition: transform 0.18s, box-shadow 0.18s; }
.nav-cta:hover { transform: translateY(-1px); box-shadow: 0 12px 28px -10px rgba(216,168,120,0.5); }
.burger { display: none; flex-direction: column; gap: 5px; background: transparent; border: 1px solid var(--line-2); border-radius: 11px; padding: 9px; cursor: pointer; }
.burger span { width: 20px; height: 2px; background: var(--ink); transition: 0.3s; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Buttons / pill / eyebrow ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 26px; border-radius: 999px; font-family: "Sora", sans-serif; font-weight: 600; font-size: 15px; cursor: pointer; border: 1px solid transparent; transition: transform 0.18s, box-shadow 0.18s, background 0.18s; }
.btn-block { width: 100%; }
.btn-primary { background: var(--grad); color: #14110b; box-shadow: 0 14px 32px -14px rgba(216,168,120,0.55); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 18px 40px -14px rgba(216,168,120,0.7); }
.btn-ghost { background: var(--surface); border-color: var(--line-2); color: var(--ink); }
.btn-ghost:hover { transform: translateY(-2px); border-color: var(--bronze); }
.pill { display: inline-flex; align-items: center; gap: 8px; padding: 7px 16px; border-radius: 999px; background: var(--surface); border: 1px solid var(--line); font-size: 13px; font-weight: 500; color: var(--muted); margin-bottom: 24px; }
.pill::first-letter { color: var(--bronze); }
.eyebrow { display: inline-block; color: var(--bronze); font-weight: 700; font-size: 13px; letter-spacing: 0.08em; text-transform: uppercase; }

/* ===== Hero (centered) ===== */
.hero { max-width: 920px; margin: 0 auto; padding: 70px 24px 40px; text-align: center; }
.hero-title { font-size: clamp(42px, 7vw, 76px); font-weight: 800; }
.hero-sub { font-size: 19px; color: var(--muted); max-width: 600px; margin: 24px auto 30px; }
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero-note { font-size: 13px; color: var(--faint); margin-top: 18px; }

/* ===== Dashboard mock ===== */
.dash { max-width: 1000px; margin: 56px auto 0; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line-2); border-radius: var(--radius); box-shadow: 0 50px 100px -40px rgba(0,0,0,0.9); overflow: hidden; text-align: left; }
.dash-top { display: flex; align-items: center; gap: 7px; padding: 13px 18px; border-bottom: 1px solid var(--line); }
.dd { width: 11px; height: 11px; border-radius: 50%; background: rgba(255,255,255,0.14); }
.dd:nth-child(1){ background:#e0795f; } .dd:nth-child(2){ background:#d8b34e; } .dd:nth-child(3){ background:#67c08a; }
.dash-url { margin-left: 10px; font-size: 12px; color: var(--faint); }
.dash-body { display: grid; grid-template-columns: 190px 1fr; min-height: 320px; }
.dash-nav { background: rgba(0,0,0,0.25); border-right: 1px solid var(--line); padding: 18px 14px; display: flex; flex-direction: column; gap: 5px; }
.dn-logo { width: 28px; height: 28px; border-radius: 8px; background: var(--grad); margin-bottom: 12px; }
.dn { font-size: 13.5px; color: var(--muted); padding: 10px 12px; border-radius: 10px; font-weight: 500; }
.dn.active { background: rgba(216,168,120,0.12); color: var(--bronze); font-weight: 600; }
.dash-content { padding: 22px 24px; }
.dc-head { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 18px; }
.dc-label { display: block; font-size: 12px; color: var(--muted); }
.dc-big { font-family: "Sora"; font-size: 34px; font-weight: 800; }
.dc-chip { font-size: 12px; color: var(--bronze); background: rgba(216,168,120,0.12); border: 1px solid rgba(216,168,120,0.3); padding: 6px 12px; border-radius: 999px; }
.dc-chart { display: flex; align-items: flex-end; gap: 9px; height: 90px; margin-bottom: 22px; }
.dc-chart span { flex: 1; height: var(--h); background: var(--grad); border-radius: 6px 6px 0 0; opacity: 0.85; }
.dc-chart span:last-child { opacity: 1; }
.dc-tx { display: grid; gap: 8px; }
.tx { display: flex; align-items: center; gap: 12px; padding: 11px 13px; background: rgba(255,255,255,0.03); border: 1px solid var(--line); border-radius: 12px; }
.tx-ic { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 8px; background: rgba(255,255,255,0.06); font-size: 14px; }
.tx-info { flex: 1; display: flex; flex-direction: column; }
.tx-info strong { font-size: 14px; }
.tx-info span { font-size: 12px; color: var(--faint); }
.tx-amt { font-family: "Sora"; font-weight: 600; font-size: 14px; }
.tx-tag { font-size: 11px; font-weight: 600; padding: 4px 9px; border-radius: 999px; }
.tx-tag.ok { color: #6ee0a0; background: rgba(80,200,140,0.14); }
.tx-tag.warn { color: var(--bronze); background: rgba(216,168,120,0.14); }

/* ===== Marquee ===== */
.marquee { margin: 64px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: hidden; white-space: nowrap; background: var(--bg-2); }
.marquee-track { display: inline-flex; flex-wrap: nowrap; width: max-content; animation: scroll 48s linear infinite; }
.marquee-track span { flex: 0 0 auto; white-space: nowrap; font-family: "Sora"; font-weight: 700; font-size: 14px; letter-spacing: 0.08em; color: #4a5260; padding: 14px 0; }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ===== Sections ===== */
.section { max-width: var(--maxw); margin: 0 auto; padding: 72px 24px; }
.section-head { text-align: center; max-width: 600px; margin: 0 auto 44px; }
.section-head h2 { font-size: clamp(28px, 4vw, 44px); font-weight: 800; margin: 12px 0 12px; }
.section-head p { color: var(--muted); font-size: 17px; }

/* ===== Bento ===== */
.bento { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.b { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; transition: transform 0.22s, border-color 0.22s, background 0.22s; }
.b:hover { transform: translateY(-4px); border-color: var(--line-2); background: var(--surface-2); }
.b-ic { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; background: rgba(216,168,120,0.12); color: var(--bronze); font-size: 21px; font-weight: 700; margin-bottom: 14px; }
.b h3 { font-size: 19px; margin-bottom: 8px; }
.b p { color: var(--muted); font-size: 14.5px; }
.b-wide2 { grid-column: span 2; display: flex; align-items: center; justify-content: space-between; gap: 24px; background: linear-gradient(120deg, var(--surface-2), var(--surface)); }
.b-wide2 .b-txt { max-width: 320px; }
.b-full { grid-column: span 3; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.mini-card { width: 230px; aspect-ratio: 1.585; flex: none; border-radius: 16px; background: linear-gradient(135deg, #1f2533, #0e1016); border: 1px solid var(--line-2); padding: 18px; position: relative; box-shadow: 0 24px 50px -28px rgba(0,0,0,0.9); display: flex; flex-direction: column; justify-content: space-between; }
.mini-card::after { content: ""; position: absolute; top: -30%; right: -10%; width: 150px; height: 150px; background: radial-gradient(circle, rgba(216,168,120,0.35), transparent 70%); }
.mc-brand { font-family: "Sora"; font-weight: 800; color: var(--bronze); font-size: 16px; }
.mc-chip { width: 34px; height: 26px; border-radius: 6px; background: linear-gradient(135deg,#d9c779,#b89a3e); }
.mc-num { font-family: "Sora"; letter-spacing: 0.08em; color: #e8ecf2; font-size: 14px; }
.sync-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.sync-chips span { font-family: "Sora"; font-weight: 600; font-size: 14px; color: var(--muted); background: rgba(255,255,255,0.04); border: 1px solid var(--line); padding: 10px 18px; border-radius: 12px; }

/* ===== Numbers ===== */
.numbers { max-width: var(--maxw); margin: 8px auto; padding: 36px 24px; display: flex; flex-wrap: wrap; justify-content: center; gap: 16px 0; }
.num { flex: 1; min-width: 160px; text-align: center; padding: 0 24px; border-left: 1px solid var(--line); }
.num:first-child { border-left: none; }
.num strong { display: block; font-family: "Sora"; font-size: clamp(30px, 4vw, 44px); font-weight: 800; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.num span { font-size: 13px; color: var(--muted); }

/* ===== Showcase ===== */
.show { max-width: var(--maxw); margin: 0 auto; padding: 40px 24px; display: grid; gap: 28px; }
.show-row { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.show-row.reverse .show-text { order: 2; }
.show-text h2 { font-size: clamp(26px, 3.4vw, 36px); font-weight: 800; margin: 12px 0 12px; }
.show-text p { color: var(--muted); font-size: 16px; }
.show-mock { background: var(--bg-2); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 18px; }
.txm { display: flex; align-items: center; gap: 12px; padding: 12px; border-bottom: 1px solid var(--line); }
.txm:last-of-type { border-bottom: none; }
.txm-ic { width: 32px; height: 32px; display: grid; place-items: center; border-radius: 9px; background: rgba(255,255,255,0.05); font-size: 15px; }
.txm div { flex: 1; display: flex; flex-direction: column; }
.txm strong { font-size: 14px; }
.txm span { font-size: 12px; color: var(--faint); }
.txm b { font-family: "Sora"; font-size: 14px; }
.txm.live { justify-content: center; color: var(--bronze); font-size: 12px; font-weight: 600; border-bottom: none; padding-top: 14px; }
.txm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--bronze); margin-right: 8px; box-shadow: 0 0 0 4px rgba(216,168,120,0.2); }
.receipt-mock { display: grid; place-items: center; }
.rc { width: 260px; background: #f3efe6; color: #2a2620; border-radius: 12px; padding: 22px; box-shadow: 0 30px 60px -30px rgba(0,0,0,0.8); }
.rc-row { display: flex; justify-content: space-between; font-family: "Sora"; font-weight: 800; font-size: 15px; letter-spacing: 0.06em; margin-bottom: 16px; }
.rc-line { height: 9px; border-radius: 4px; background: #ddd5c5; margin-bottom: 9px; }
.rc-line.short { width: 60%; }
.rc-stamp { margin-top: 16px; text-align: center; font-size: 13px; font-weight: 700; color: #6b5a32; border: 2px dashed #b59a55; border-radius: 8px; padding: 8px; }

/* ===== Mission ===== */
.mission-sec { max-width: 860px; margin: 0 auto; padding: 80px 24px; text-align: center; }
.mission-quote { font-family: "Sora"; font-size: clamp(28px, 4.4vw, 46px); font-weight: 800; line-height: 1.18; letter-spacing: -0.02em; margin: 18px 0 22px; }
.mission-sub { color: var(--muted); font-size: 17px; max-width: 640px; margin: 0 auto 26px; }
.mission-meta { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.mission-meta span { font-size: 12.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 8px 14px; border-radius: 999px; }

/* ===== Pricing strip ===== */
.price-strip { display: grid; grid-template-columns: repeat(3, 1fr); background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.ps-col { padding: 32px 28px; border-left: 1px solid var(--line); position: relative; }
.ps-col:first-child { border-left: none; }
.ps-featured { background: linear-gradient(180deg, rgba(216,168,120,0.08), transparent); }
.ps-badge { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; color: #14110b; background: var(--grad); padding: 4px 11px; border-radius: 999px; }
.ps-col h3 { font-size: 19px; margin-bottom: 8px; }
.ps-amt { font-family: "Sora"; font-size: 36px; font-weight: 800; margin-bottom: 18px; }
.ps-amt span { font-family: "Inter"; font-size: 13px; font-weight: 500; color: var(--muted); }
.ps-col ul { list-style: none; display: grid; gap: 10px; margin-bottom: 24px; }
.ps-col li { padding-left: 26px; position: relative; font-size: 14.5px; }
.ps-col li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 18px; height: 18px; background: rgba(216,168,120,0.16); color: var(--bronze); border-radius: 50%; display: grid; place-items: center; font-size: 10px; font-weight: 700; }

/* ===== Contact ===== */
.contact { display: grid; grid-template-columns: 1fr 1fr; gap: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.contact-info { padding: 40px; }
.contact-info h2 { font-size: clamp(26px, 3.6vw, 36px); font-weight: 800; margin: 12px 0 12px; }
.contact-info > p { color: var(--muted); margin-bottom: 26px; }
.contact-list { list-style: none; display: grid; gap: 16px; margin-bottom: 24px; }
.contact-list li { display: grid; gap: 3px; }
.ci-label { font-size: 12px; text-transform: uppercase; letter-spacing: 0.05em; color: var(--bronze); font-weight: 700; }
.contact-list a:hover { color: var(--bronze); }
.socials { display: flex; gap: 12px; flex-wrap: wrap; }
.socials a { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; padding: 9px 15px; border: 1px solid var(--line-2); border-radius: 999px; transition: transform 0.18s, border-color 0.18s; }
.socials a:hover { transform: translateY(-2px); border-color: var(--bronze); }
.contact-form { padding: 40px; background: var(--bg-2); border-left: 1px solid var(--line); display: grid; gap: 14px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--muted); }
.field input, .field textarea, .field select { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius-sm); padding: 12px 14px; color: var(--ink); font-family: inherit; font-size: 15px; resize: vertical; transition: border-color 0.18s, box-shadow 0.18s; }
.field select { appearance: none; }
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--bronze); box-shadow: 0 0 0 3px rgba(216,168,120,0.16); }
.field input.invalid, .field textarea.invalid { border-color: #ff6b6b; }
.form-note { font-size: 12px; color: var(--faint); text-align: center; }
.form-note a { color: var(--bronze); }
.form-success { color: var(--bronze); font-weight: 600; text-align: center; }

/* ===== Footer ===== */
.site-footer { border-top: 1px solid var(--line); margin-top: 40px; background: var(--bg-2); }
.footer-top { max-width: var(--maxw); margin: 0 auto; display: grid; grid-template-columns: 1.8fr 1fr 1.2fr 1.2fr; gap: 32px; padding: 52px 24px 30px; }
.footer-brand p { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer-col h4 { font-size: 15px; margin-bottom: 14px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; margin-bottom: 9px; transition: color 0.18s; }
.footer-col a:hover { color: var(--bronze); }
.footer-disclosure { max-width: var(--maxw); margin: 0 auto; padding: 0 24px 22px; color: var(--faint); font-size: 12px; line-height: 1.6; }
.footer-bottom { max-width: var(--maxw); margin: 0 auto; padding: 20px 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: var(--faint); font-size: 13px; }

/* ===== Legal pages ===== */
.legal-body h3 { font-size: 20px; margin: 32px 0 10px; }
.legal-body p, .legal-body li { color: var(--muted); font-size: 16px; margin-bottom: 12px; }
.legal-body strong { color: var(--ink); }
.legal-body a { color: var(--bronze); }
.legal-body ul { list-style: none; display: grid; gap: 8px; margin: 8px 0 16px; }
.legal-body ul li { padding-left: 24px; position: relative; }
.legal-body ul li::before { content: "→"; position: absolute; left: 0; color: var(--bronze); font-weight: 700; }
.legal-note { background: rgba(216,168,120,0.08); border: 1px solid rgba(216,168,120,0.3); border-radius: var(--radius-sm); padding: 16px 18px; font-size: 14px; color: var(--ink); margin-bottom: 8px; }
.legal-note strong { color: var(--bronze); }

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ===== Responsive ===== */
@media (max-width: 940px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .b-wide2, .b-full { grid-column: span 2; }
  .b-wide2, .b-full { flex-direction: column; align-items: flex-start; }
  .show-row, .contact { grid-template-columns: 1fr; }
  .show-row.reverse .show-text { order: 0; }
  .price-strip { grid-template-columns: 1fr; }
  .ps-col { border-left: none; border-top: 1px solid var(--line); }
  .ps-col:first-child { border-top: none; }
  .contact-form { border-left: none; border-top: 1px solid var(--line); }
}
@media (max-width: 660px) {
  .header-inner { padding: 10px 10px 10px 16px; }
  .nav { position: fixed; inset: 70px 14px auto 14px; flex-direction: column; align-items: stretch; gap: 4px; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 10px; transform: translateY(-150%); opacity: 0; transition: transform 0.32s ease, opacity 0.32s ease; box-shadow: 0 24px 50px -20px rgba(0,0,0,0.9); }
  .nav.open { transform: translateY(0); opacity: 1; }
  .nav > a { padding: 13px 14px; }
  .nav-x, .nav-cta { justify-content: center; text-align: center; }
  .burger { display: flex; }
  .bento { grid-template-columns: 1fr; }
  .b-wide2, .b-full { grid-column: auto; }
  .dash-body { grid-template-columns: 1fr; }
  .dash-nav { flex-direction: row; flex-wrap: wrap; border-right: none; border-bottom: 1px solid var(--line); }
  .dn-logo { display: none; }
  .numbers { gap: 24px; }
  .num { border-left: none; min-width: 40%; }
  .show-row, .contact-info, .contact-form { padding: 26px; }
  .section { padding: 52px 20px; }
  .hero { padding: 48px 20px 30px; }
  .mini-card { width: 100%; max-width: 280px; }
}
