/* 1S LABS — main stylesheet */
:root {
  --navy: #0a1730;
  --navy-2: #12244a;
  --ink: #0f172a;
  --text: #334155;
  --muted: #64748b;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-soft: #f5f8fc;
  --brand: #2456e6;
  --brand-dark: #1a3fb0;
  --brand-2: #0ea5c6;
  --accent: #f5b301;
  --ok: #16a34a;
  --danger: #dc2626;
  --line-green: #06c755;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(15, 23, 42, .08);
  --shadow-lg: 0 24px 60px rgba(10, 23, 48, .18);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font-family: "IBM Plex Sans Thai", "Noto Sans Thai", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: "Prompt", "IBM Plex Sans Thai", sans-serif; color: var(--ink); line-height: 1.3; margin: 0 0 .5em; }
a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }
img, svg { max-width: 100%; }
.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); background: #e8eefc; padding: 6px 14px; border-radius: 999px; margin-bottom: 14px; }
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); }
.section-head p { color: var(--muted); font-size: 17px; margin: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font: inherit; font-weight: 600; font-size: 16px; padding: 13px 24px; border-radius: 12px; border: 2px solid transparent; cursor: pointer; transition: .2s; text-decoration: none !important; line-height: 1.2; }
.btn-primary { background: var(--brand); color: #fff; box-shadow: 0 8px 20px rgba(36, 86, 230, .3); }
.btn-primary:hover { background: var(--brand-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--brand); border-color: var(--brand); }
.btn-outline:hover { background: #eef3ff; }
.btn-ghost-light { background: rgba(255,255,255,.08); color: #fff; border-color: rgba(255,255,255,.35); }
.btn-ghost-light:hover { background: rgba(255,255,255,.16); }
.btn-line { background: var(--line-green); color: #fff; }
.btn-line:hover { background: #05b04b; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: not-allowed; transform: none; }

/* Top bar + header */
.topbar { background: var(--navy); color: #cbd5e1; font-size: 13.5px; }
.topbar .container { display: flex; justify-content: space-between; gap: 16px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: #e2e8f0; }
.topbar span + span::before { content: "·"; margin: 0 10px; color: #475569; }
.site-header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none !important; }
.logo-mark { width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; display: grid; place-items: center; font-family: Prompt, sans-serif; font-weight: 700; font-size: 17px; }
.logo-text { font-family: Prompt, sans-serif; font-weight: 700; font-size: 20px; line-height: 1.1; }
.logo-text small { display: block; font-weight: 400; font-size: 11.5px; color: var(--muted); letter-spacing: .02em; }
.nav-links { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--ink); font-weight: 500; padding: 8px 12px; border-radius: 8px; font-size: 15px; }
.nav-links a:hover { background: var(--bg-soft); text-decoration: none; }
.nav-cta { display: flex; gap: 10px; align-items: center; }
.menu-toggle { display: none; background: none; border: 1px solid var(--line); border-radius: 10px; width: 44px; height: 44px; cursor: pointer; font-size: 22px; color: var(--ink); }

/* Hero */
.hero { background: radial-gradient(1200px 500px at 85% -10%, rgba(14,165,198,.35), transparent 60%), radial-gradient(900px 500px at -10% 110%, rgba(36,86,230,.45), transparent 60%), var(--navy); color: #dbe4f3; padding: 80px 0 96px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero .badge { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); padding: 7px 14px; border-radius: 999px; font-size: 14px; margin-bottom: 22px; }
.hero .badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
.hero h1 { color: #fff; font-size: clamp(32px, 4.6vw, 54px); font-weight: 700; }
.hero h1 .hl { background: linear-gradient(90deg, #7dd3fc, #a5b4fc); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.lead { font-size: 18.5px; color: #c3cfe4; max-width: 580px; margin: 0 0 30px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 36px; }
.hero-trust { display: grid; grid-template-columns: repeat(3, auto); gap: 14px 28px; justify-content: start; font-size: 14.5px; }
.hero-trust div { display: flex; align-items: center; gap: 8px; }
.hero-trust svg { flex: none; color: #4ade80; }

.dash { background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); padding: 22px; color: var(--text); position: relative; }
.dash-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.dash-head strong { color: var(--ink); font-family: Prompt, sans-serif; }
.dash-tag { font-size: 12px; background: var(--bg-soft); color: var(--muted); padding: 4px 10px; border-radius: 999px; }
.kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-bottom: 16px; }
.kpi { background: var(--bg-soft); border-radius: 12px; padding: 12px; }
.kpi span { font-size: 12px; color: var(--muted); display: block; }
.kpi b { font-family: Prompt, sans-serif; font-size: 20px; color: var(--ink); }
.kpi em { font-style: normal; font-size: 12px; color: var(--ok); font-weight: 600; }
.bars { display: flex; align-items: flex-end; gap: 8px; height: 130px; padding: 10px 4px 0; border-bottom: 1px solid var(--line); }
.bars i { flex: 1; border-radius: 6px 6px 0 0; background: linear-gradient(180deg, var(--brand-2), var(--brand)); opacity: .9; }
.dash-legend { display: flex; justify-content: space-between; font-size: 12px; color: var(--muted); margin-top: 8px; }
.dash-note { font-size: 11.5px; color: var(--muted); margin-top: 10px; text-align: right; }
.float-chip { position: absolute; background: #fff; border-radius: 14px; box-shadow: var(--shadow); padding: 10px 14px; display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--ink); }
.float-chip b { display: block; font-family: Prompt, sans-serif; }
.float-chip .ic { width: 34px; height: 34px; border-radius: 10px; display: grid; place-items: center; color: #fff; font-weight: 700; }
.chip-1 { left: -34px; bottom: 40px; }
.chip-2 { right: -22px; top: -22px; }

/* Platforms strip */
.platforms { border-bottom: 1px solid var(--line); background: #fff; }
.platforms .container { display: flex; align-items: center; justify-content: center; gap: 18px 44px; flex-wrap: wrap; padding-top: 26px; padding-bottom: 26px; color: var(--muted); font-weight: 600; }
.platforms .label { font-weight: 500; font-size: 14px; }
.platforms .pf { display: flex; align-items: center; gap: 8px; color: #475569; }

/* Cards / services */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: .25s; }
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #cdd8f2; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: #eaf0ff; color: var(--brand); margin-bottom: 18px; }
.card h3 { font-size: 20px; }
.card p { margin: 0 0 14px; color: var(--muted); }
.card ul { margin: 0; padding: 0; list-style: none; }
.card ul li { padding-left: 24px; position: relative; margin-bottom: 6px; font-size: 15px; }
.card ul li::before { content: ""; position: absolute; left: 2px; top: 9px; width: 12px; height: 7px; border-left: 2px solid var(--ok); border-bottom: 2px solid var(--ok); transform: rotate(-45deg); }

/* Process */
.steps { counter-reset: step; }
.step { position: relative; padding: 28px 24px 24px; background: #fff; border-radius: var(--radius); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: "0" counter(step); font-family: Prompt, sans-serif; font-weight: 700; font-size: 34px; color: transparent; -webkit-text-stroke: 1.5px var(--brand); display: block; margin-bottom: 8px; }
.step h3 { font-size: 18px; }
.step p { margin: 0; color: var(--muted); font-size: 15px; }

/* Pricing */
.tabs { display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; margin-bottom: 36px; }
.tab { font: inherit; font-weight: 600; padding: 11px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; cursor: pointer; color: var(--ink); }
.tab[aria-selected="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.tab-intro { text-align: center; color: var(--muted); max-width: 680px; margin: -16px auto 32px; }
.pricing-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pricing-grid.two { grid-template-columns: repeat(2, minmax(0, 380px)); justify-content: center; }
.price-card { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 32px 28px; display: flex; flex-direction: column; position: relative; }
.price-card.popular { border: 2px solid var(--brand); box-shadow: 0 20px 50px rgba(36, 86, 230, .15); }
.price-card .ribbon { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--brand); color: #fff; font-size: 13px; font-weight: 600; padding: 5px 16px; border-radius: 999px; white-space: nowrap; }
.price-card h3 { font-size: 22px; margin-bottom: 4px; }
.price-card .for { color: var(--muted); font-size: 14.5px; min-height: 48px; }
.price { margin: 18px 0 4px; display: flex; align-items: baseline; gap: 6px; }
.price b { font-family: Prompt, sans-serif; font-size: 40px; color: var(--ink); }
.price span { color: var(--muted); }
.price-sub { font-size: 13px; color: var(--muted); margin-bottom: 20px; }
.price-card ul { list-style: none; margin: 0 0 26px; padding: 0; flex: 1; }
.price-card li { padding: 7px 0 7px 28px; position: relative; font-size: 15px; border-bottom: 1px dashed var(--line); }
.price-card li:last-child { border-bottom: 0; }
.price-card li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 7px; border-left: 2px solid var(--brand); border-bottom: 2px solid var(--brand); transform: rotate(-45deg); }
.price-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.price-actions .btn { padding: 12px 10px; font-size: 15px; }
.pricing-notes { margin: 36px auto 0; max-width: 860px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px; font-size: 14.5px; color: var(--muted); }
.pricing-notes ul { margin: 0; padding-left: 20px; }

/* Case studies */
.placeholder-note { background: #fff7e0; border: 1px dashed #e0a800; color: #7a5a00; padding: 10px 14px; border-radius: 10px; font-size: 14px; margin: 0 auto 28px; max-width: 860px; text-align: center; }
.case { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; }
.case-top { padding: 22px 24px; background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #fff; }
.case-top small { color: #93c5fd; font-weight: 600; }
.case-top h3 { color: #fff; font-size: 19px; margin: 4px 0 0; }
.case-body { padding: 22px 24px; flex: 1; display: flex; flex-direction: column; }
.case-body p { margin: 0 0 16px; font-size: 15px; color: var(--muted); }
.case-metrics { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: auto; }
.case-metrics div { background: var(--bg-soft); border-radius: 10px; padding: 10px; text-align: center; }
.case-metrics b { display: block; font-family: Prompt, sans-serif; color: var(--brand); font-size: 19px; }
.case-metrics span { font-size: 12px; color: var(--muted); }
.quote { margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; font-style: italic; color: var(--text); }
.quote cite { display: block; font-style: normal; font-weight: 600; color: var(--ink); margin-top: 6px; font-size: 14px; }

/* Why / about */
.why { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.why-list { display: grid; gap: 18px; }
.why-item { display: flex; gap: 16px; }
.why-item .num { flex: none; width: 44px; height: 44px; border-radius: 12px; background: #eaf0ff; color: var(--brand); display: grid; place-items: center; font-weight: 700; font-family: Prompt, sans-serif; }
.why-item h3 { font-size: 18px; margin-bottom: 2px; }
.why-item p { margin: 0; color: var(--muted); font-size: 15px; }
.company-card { background: var(--navy); color: #cbd5e1; border-radius: 22px; padding: 34px; box-shadow: var(--shadow-lg); }
.company-card h3 { color: #fff; font-size: 22px; }
.company-card table { width: 100%; border-collapse: collapse; font-size: 15px; }
.company-card th, .company-card td { text-align: left; padding: 11px 0; border-bottom: 1px solid rgba(255,255,255,.1); vertical-align: top; }
.company-card th { color: #94a3b8; font-weight: 500; width: 40%; padding-right: 12px; }
.company-card td { color: #fff; font-weight: 500; }
.status-pill { display: inline-flex; align-items: center; gap: 6px; background: rgba(34,197,94,.15); color: #4ade80; padding: 2px 10px; border-radius: 999px; font-size: 14px; }
.company-card .verify { display: inline-block; margin-top: 18px; color: #93c5fd; font-size: 14.5px; }

/* FAQ */
.faq { max-width: 860px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary { cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 600; color: var(--ink); list-style: none; position: relative; font-size: 16.5px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 22px; top: 50%; transform: translateY(-50%); font-size: 24px; color: var(--brand); font-weight: 400; }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 0; padding: 0 22px 20px; color: var(--muted); }

/* Contact */
.contact-wrap { background: linear-gradient(135deg, var(--navy), #13306b); border-radius: 26px; padding: 52px; color: #cbd5e1; display: grid; grid-template-columns: 1fr 1fr; gap: 40px; }
.contact-wrap h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); }
.contact-list { display: grid; gap: 14px; }
.contact-item { display: flex; gap: 16px; align-items: center; background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); padding: 16px 18px; border-radius: 14px; color: #fff; text-decoration: none !important; transition: .2s; }
a.contact-item:hover { background: rgba(255,255,255,.12); }
.contact-item .ic { flex: none; width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; }
.contact-item small { display: block; color: #94a3b8; font-size: 13px; }
.contact-item b { font-size: 17px; word-break: break-all; }

/* Footer */
.site-footer { background: #07122a; color: #94a3b8; padding: 64px 0 28px; font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 36px; margin-bottom: 40px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer a { color: #cbd5e1; }
.site-footer .logo-text { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-size: 13.5px; }
.disclaimer { font-size: 12.5px; color: #64748b; margin-top: 14px; line-height: 1.6; }

/* Floating contact */
.fab { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: flex; flex-direction: column; gap: 10px; }
.fab a { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; color: #fff; box-shadow: 0 10px 24px rgba(0,0,0,.2); transition: .2s; }
.fab a:hover { transform: scale(1.07); }
.fab .f-line { background: var(--line-green); }
.fab .f-phone { background: var(--brand); }

/* Cookie banner */
.cookie { position: fixed; left: 18px; bottom: 18px; z-index: 70; max-width: 420px; background: #fff; border: 1px solid var(--line); border-radius: 16px; box-shadow: var(--shadow-lg); padding: 20px; font-size: 14px; display: none; }
.cookie.show { display: block; }
.cookie p { margin: 0 0 14px; }
.cookie .row { display: flex; gap: 8px; }
.cookie .btn { padding: 9px 16px; font-size: 14px; }

/* Modal */
.modal { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 16px; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(7, 18, 42, .65); }
.modal-box { position: relative; background: #fff; border-radius: 22px; width: 100%; max-width: 560px; max-height: calc(100vh - 32px); overflow-y: auto; box-shadow: var(--shadow-lg); }
.modal-head { padding: 22px 26px 18px; border-bottom: 1px solid var(--line); display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; position: sticky; top: 0; background: #fff; z-index: 2; border-radius: 22px 22px 0 0; }
.modal-head h3 { margin: 0; font-size: 20px; }
.modal-head p { margin: 2px 0 0; color: var(--muted); font-size: 14.5px; }
.modal-close { background: var(--bg-soft); border: 0; width: 38px; height: 38px; border-radius: 10px; font-size: 22px; cursor: pointer; color: var(--ink); flex: none; }
.modal-body { padding: 24px 26px 26px; }
.view { display: none; }
.view.active { display: block; }
.choice-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.choice { border: 2px solid var(--line); border-radius: 16px; padding: 22px 18px; text-align: center; cursor: pointer; background: #fff; font: inherit; transition: .2s; color: var(--text); }
.choice:hover { border-color: var(--brand); background: #f6f9ff; }
.choice .ic { width: 54px; height: 54px; margin: 0 auto 12px; border-radius: 14px; display: grid; place-items: center; background: #eaf0ff; color: var(--brand); }
.choice b { display: block; font-family: Prompt, sans-serif; font-size: 17px; color: var(--ink); margin-bottom: 4px; }
.choice span { font-size: 13.5px; color: var(--muted); }
.back-link { background: none; border: 0; color: var(--brand); font: inherit; font-weight: 600; cursor: pointer; padding: 0; margin-bottom: 16px; }
.summary { background: var(--bg-soft); border-radius: 14px; padding: 16px 18px; margin-bottom: 20px; font-size: 15px; }
.summary .row { display: flex; justify-content: space-between; padding: 3px 0; }
.summary .total { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 10px; font-weight: 700; color: var(--ink); font-size: 17px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field.full { grid-column: 1 / -1; }
.field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.field input, .field select { font: inherit; font-size: 16px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 10px; background: #fff; color: var(--ink); width: 100%; }
.field input:focus, .field select:focus { outline: none; border-color: var(--brand); box-shadow: 0 0 0 4px rgba(36, 86, 230, .12); }
.field input.invalid { border-color: var(--danger); }
.field .err { color: var(--danger); font-size: 12.5px; min-height: 0; }
.card-input { position: relative; }
.card-input .brand-ic { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: 12px; font-weight: 700; color: var(--muted); }
.fieldset-title { font-family: Prompt, sans-serif; font-weight: 600; color: var(--ink); margin: 22px 0 12px; display: flex; align-items: center; gap: 8px; }
.secure-note { display: flex; gap: 10px; align-items: flex-start; background: #ecfdf3; color: #166534; padding: 12px 14px; border-radius: 10px; font-size: 13.5px; margin: 16px 0; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; margin: 14px 0 18px; }
.check input { margin-top: 5px; width: 18px; height: 18px; flex: none; }
.form-msg { padding: 12px 14px; border-radius: 10px; font-size: 14.5px; margin-bottom: 14px; display: none; }
.form-msg.show { display: block; }
.form-msg.error { background: #fef2f2; color: #991b1b; }
.form-msg.info { background: #eff6ff; color: #1e40af; }
.contact-options { display: grid; gap: 12px; }
.contact-opt { display: flex; align-items: center; gap: 14px; padding: 16px; border: 1.5px solid var(--line); border-radius: 14px; color: var(--ink); text-decoration: none !important; transition: .2s; }
.contact-opt:hover { border-color: var(--brand); background: #f6f9ff; }
.contact-opt .ic { width: 46px; height: 46px; border-radius: 12px; display: grid; place-items: center; color: #fff; flex: none; }
.contact-opt small { display: block; color: var(--muted); font-size: 13px; }
.contact-opt b { word-break: break-all; }
.success { text-align: center; padding: 10px 0; }
.success .ic { width: 72px; height: 72px; border-radius: 50%; background: #dcfce7; color: var(--ok); display: grid; place-items: center; margin: 0 auto 16px; }
.pay-logos { display: flex; gap: 8px; align-items: center; justify-content: center; margin-top: 12px; color: var(--muted); font-size: 12px; font-weight: 700; }
.pay-logos span { border: 1px solid var(--line); border-radius: 6px; padding: 3px 8px; }

/* Policy pages */
.policy { max-width: 860px; margin: 0 auto; padding: 56px 20px 88px; }
.policy h1 { font-size: clamp(28px, 4vw, 40px); }
.policy h2 { font-size: 22px; margin-top: 36px; }
.policy .updated { color: var(--muted); margin-bottom: 28px; }
.policy li { margin-bottom: 6px; }
.policy .box { background: var(--bg-soft); border: 1px solid var(--line); border-radius: 14px; padding: 18px 22px; }

/* Responsive */
@media (max-width: 1024px) {
  .nav-links { display: none; position: absolute; top: 72px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 12px 20px 20px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links a { display: block; padding: 12px; }
  .menu-toggle { display: grid; place-items: center; }
  .hero-grid, .why, .contact-wrap { grid-template-columns: 1fr; }
  .grid-3, .pricing-grid { grid-template-columns: 1fr 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .chip-1 { left: 10px; }
  .chip-2 { right: 10px; }
}
@media (max-width: 680px) {
  .section { padding: 64px 0; }
  .container { padding: 0 16px; }
  .topbar .hide-sm { display: none; }
  .nav-cta .btn-primary { display: none; }
  .grid-3, .grid-4, .pricing-grid, .pricing-grid.two, .footer-grid { grid-template-columns: 1fr; }
  .hero { padding: 56px 0 72px; }
  .hero-trust { grid-template-columns: 1fr; }
  .float-chip { display: none; }
  .contact-wrap { padding: 32px 20px; border-radius: 20px; }
  .choice-grid, .form-grid { grid-template-columns: 1fr; }
  .modal { padding: 0; align-items: flex-end; }
  .modal-box { border-radius: 22px 22px 0 0; max-height: 92vh; }
  .modal-head, .modal-body { padding-left: 18px; padding-right: 18px; }
  .cookie { left: 12px; right: 84px; bottom: 12px; }
  .kpis { grid-template-columns: 1fr 1fr 1fr; }
  .kpi b { font-size: 16px; }
}

/* =========================================================
   Visual polish v2
   ========================================================= */
::selection { background: #c7d6ff; color: var(--ink); }
.section-head { max-width: 860px; }
.section-head h2 { letter-spacing: -.01em; text-wrap: balance; }
.section-head p, .hero h1, .cta-band h2 { text-wrap: balance; }
.section-head h2::after { content: ""; display: block; width: 56px; height: 4px; border-radius: 4px; margin: 16px auto 0; background: linear-gradient(90deg, var(--brand), var(--brand-2)); }
.eyebrow { background: linear-gradient(90deg, #e8eefc, #e3f6fb); }

/* Header */
.site-header { transition: box-shadow .25s; }
.site-header.scrolled { box-shadow: 0 6px 24px rgba(15, 23, 42, .08); border-bottom-color: transparent; }
.nav-links a { position: relative; }
.nav-links a::after { content: ""; position: absolute; left: 12px; right: 12px; bottom: 4px; height: 2px; border-radius: 2px; background: var(--brand); transform: scaleX(0); transition: transform .25s; }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a:hover { background: transparent; }
.btn-primary { background: linear-gradient(135deg, var(--brand), #3b6ff5); }
.btn-primary:hover { background: linear-gradient(135deg, var(--brand-dark), var(--brand)); box-shadow: 0 12px 28px rgba(36, 86, 230, .38); }
.btn-white { background: #fff; color: var(--navy); }
.btn-white:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(0,0,0,.2); }

/* Hero */
.hero { position: relative; isolation: isolate; padding: 96px 0 120px; }
.hero-deco { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);
  background-size: 48px 48px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%);
          mask-image: radial-gradient(ellipse 80% 70% at 60% 40%, #000 30%, transparent 75%); }
.orb { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .55; animation: float 14s ease-in-out infinite; }
.o1 { width: 420px; height: 420px; background: #2456e6; right: 4%; top: -120px; }
.o2 { width: 340px; height: 340px; background: #0ea5c6; left: -80px; bottom: -140px; animation-delay: -7s; }
@keyframes float { 0%,100% { transform: translate(0,0); } 50% { transform: translate(30px, 25px); } }
.hero h1 { letter-spacing: -.015em; }
.hero h1 .hl { background: linear-gradient(90deg, #7dd3fc, #a5b4fc, #7dd3fc); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; animation: shine 6s linear infinite; }
@keyframes shine { to { background-position: 200% center; } }
.hero-trust { grid-template-columns: repeat(3, auto); gap: 10px; }
.hero-trust div { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); padding: 8px 14px; border-radius: 999px; }

.dash { border: 1px solid rgba(255,255,255,.6); box-shadow: 0 30px 80px rgba(3, 10, 30, .45), 0 0 0 8px rgba(255,255,255,.06); transform: perspective(1200px) rotateY(-5deg) rotateX(2deg); transition: transform .5s; }
.dash:hover { transform: none; }
.kpi { border: 1px solid var(--line); background: linear-gradient(180deg, #fff, var(--bg-soft)); }
.chart { width: 100%; height: 140px; display: block; }
.chart-line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2s .4s ease-out forwards; }
@keyframes draw { to { stroke-dashoffset: 0; } }
.dash-legend { justify-content: flex-start; gap: 18px; }
.dash-legend span { display: inline-flex; align-items: center; gap: 6px; }
.lg { width: 14px; height: 3px; border-radius: 2px; display: inline-block; }
.lg-a { background: linear-gradient(90deg, var(--brand-2), var(--brand)); }
.lg-b { background: repeating-linear-gradient(90deg, #cbd5e1 0 4px, transparent 4px 7px); }
.float-chip { animation: bob 5s ease-in-out infinite; }
.chip-2 { animation-delay: -2.5s; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Platforms */
.platforms .container { gap: 10px 12px; }
.platforms .pf { background: var(--bg-soft); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; font-size: 14px; }
.platforms .pf::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--brand), var(--brand-2)); }

/* Service cards */
.card { position: relative; overflow: hidden; }
.card::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: linear-gradient(90deg, var(--brand), var(--brand-2)); transform: scaleX(0); transform-origin: left; transition: transform .35s; }
.card:hover::before { transform: scaleX(1); }
.card .icon { color: #fff; box-shadow: 0 10px 22px -10px rgba(15, 23, 42, .5); }
.grid-3 .card:nth-child(1) .icon { background: linear-gradient(135deg, #2456e6, #5b8cff); }
.grid-3 .card:nth-child(2) .icon { background: linear-gradient(135deg, #0ea5c6, #38d0e8); }
.grid-3 .card:nth-child(3) .icon { background: linear-gradient(135deg, #4f46e5, #818cf8); }
.grid-3 .card:nth-child(4) .icon { background: linear-gradient(135deg, #0d9488, #2dd4bf); }
.grid-3 .card:nth-child(5) .icon { background: linear-gradient(135deg, #db7c00, #f5b301); }
.grid-3 .card:nth-child(6) .icon { background: linear-gradient(135deg, #db2777, #f472b6); }

/* Process */
.steps { position: relative; }
.step { transition: .25s; }
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.step::before { -webkit-text-stroke: 0; background: linear-gradient(135deg, var(--brand), var(--brand-2)); -webkit-background-clip: text; background-clip: text; color: transparent; font-size: 40px; }

/* Pricing */
.tabs { background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 6px; width: fit-content; max-width: 100%; margin-left: auto; margin-right: auto; box-shadow: var(--shadow); }
.tab { border: 0; background: transparent; transition: .2s; }
.tab:hover { background: var(--bg-soft); }
.tab[aria-selected="true"] { background: linear-gradient(135deg, var(--navy), var(--navy-2)); box-shadow: 0 6px 16px rgba(10,23,48,.25); }
.price-card { transition: transform .25s, box-shadow .25s; }
.price-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.price-card.popular { background: radial-gradient(500px 220px at 100% 0%, rgba(14,165,198,.35), transparent 60%), linear-gradient(160deg, #0d1d40, #142a5c); border: 0; color: #c3cfe4; box-shadow: 0 30px 60px rgba(10, 23, 48, .3); transform: translateY(-8px); }
.price-card.popular:hover { transform: translateY(-12px); }
.price-card.popular h3, .price-card.popular .price b { color: #fff; }
.price-card.popular .for, .price-card.popular .price span, .price-card.popular .price-sub { color: #94a3b8; }
.price-card.popular li { border-bottom-color: rgba(255,255,255,.1); }
.price-card.popular li::before { border-color: #67e8f9; }
.price-card.popular .btn-outline { color: #fff; border-color: rgba(255,255,255,.4); }
.price-card.popular .btn-outline:hover { background: rgba(255,255,255,.1); }
.price-card.popular .btn-primary { background: #fff; color: var(--navy); box-shadow: none; }
.price-card.popular .ribbon { background: linear-gradient(90deg, #f5b301, #ffd25e); color: #3b2a00; }
.pricing-notes { border-left: 4px solid var(--brand); }
#pricingGrid { transition: opacity .2s; }
#pricingGrid.fade { opacity: 0; }

/* Cases */
.case { transition: .25s; }
.case:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.case-top { position: relative; overflow: hidden; }
.case-top::after { content: ""; position: absolute; right: -40px; top: -40px; width: 140px; height: 140px; border-radius: 50%; background: radial-gradient(circle, rgba(14,165,198,.5), transparent 70%); }

/* CTA band */
.cta-band { background: linear-gradient(120deg, var(--brand) 0%, #1e40af 45%, var(--brand-2) 100%); color: #e0e9ff; padding: 56px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.15) 1px, transparent 1px); background-size: 22px 22px; -webkit-mask-image: linear-gradient(90deg, transparent, #000); mask-image: linear-gradient(90deg, transparent, #000); }
.cta-inner { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(24px, 3vw, 34px); margin-bottom: 6px; }
.cta-band p { margin: 0; }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* About */
.why-item { padding: 14px; border-radius: 14px; transition: background .2s; }
.why-item:hover { background: var(--bg-soft); }
.why-item .num { background: linear-gradient(135deg, var(--brand), var(--brand-2)); color: #fff; }
.company-card { background: radial-gradient(400px 200px at 100% 0%, rgba(14,165,198,.25), transparent 60%), linear-gradient(160deg, #0d1d40, #142a5c); }

/* FAQ */
.faq details { transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: #c7d4ef; box-shadow: var(--shadow); }
.faq summary::after { width: 30px; height: 30px; border-radius: 50%; background: #eaf0ff; display: grid; place-items: center; font-size: 20px; line-height: 1; }

/* Contact */
.contact-wrap { background: radial-gradient(500px 300px at 100% 0%, rgba(14,165,198,.3), transparent 60%), linear-gradient(135deg, var(--navy), #13306b); }

/* Footer */
.site-footer { background: linear-gradient(180deg, #07122a, #050d1f); }
.site-footer a:hover { color: #fff; }

/* Floating LINE pulse */
.fab .f-line { position: relative; }
.fab .f-line::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--line-green); animation: pulse 2.2s ease-out infinite; }
@keyframes pulse { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }

/* Reveal on scroll (added by JS only, so content stays visible without JS) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (max-width: 1024px) {
  .dash, .price-card.popular { transform: none; }
}
@media (max-width: 680px) {
  .hero { padding: 56px 0 80px; }
  .hero-trust { grid-template-columns: 1fr; justify-items: start; }
  .tabs { border-radius: 18px; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  .chart-line { stroke-dashoffset: 0; }
}
