/* ==========================================================================
   CK Phone — Corporate Stylesheet
   Brand colors per CI: #0D1B3D, #2563EB, #00B8D9, #22D3A5, #F2F4F7
   Fonts: Plus Jakarta Sans (EN), Prompt (TH) — loaded via Google Fonts
   ========================================================================== */

/* ---------- Web Fonts (Prompt local fallback) ---------- */
@font-face {
  font-family: 'Prompt';
  src: url('../fonts/Prompt-Light.ttf') format('truetype');
  font-weight: 300; font-display: swap;
}
@font-face {
  font-family: 'Prompt';
  src: url('../fonts/Prompt-Regular.ttf') format('truetype');
  font-weight: 400; font-display: swap;
}
@font-face {
  font-family: 'Prompt';
  src: url('../fonts/Prompt-Medium.ttf') format('truetype');
  font-weight: 500; font-display: swap;
}
@font-face {
  font-family: 'Prompt';
  src: url('../fonts/Prompt-SemiBold.ttf') format('truetype');
  font-weight: 600; font-display: swap;
}
@font-face {
  font-family: 'Prompt';
  src: url('../fonts/Prompt-Bold.ttf') format('truetype');
  font-weight: 700; font-display: swap;
}

/* ---------- Variables ---------- */
:root {
  --c-navy:   #0D1B3D;
  --c-blue:   #2563EB;
  --c-cyan:   #00B8D9;
  --c-mint:   #22D3A5;
  --c-bg:     #F2F4F7;
  --c-white:  #FFFFFF;
  --c-ink:    #0D1B3D;
  --c-muted:  #6B7280;
  --c-line:   #E5E8EE;
  --c-warn:   #F59E0B;
  --c-danger: #EF4444;
  --c-success:#16A34A;

  --grad-brand: linear-gradient(135deg, #2563EB 0%, #00B8D9 60%, #22D3A5 100%);
  --grad-dark:  linear-gradient(135deg, #0D1B3D 0%, #11245A 100%);

  --r-sm: 8px; --r-md: 14px; --r-lg: 22px; --r-xl: 32px;
  --sh-sm: 0 2px 8px rgba(13,27,61,.06);
  --sh-md: 0 12px 32px rgba(13,27,61,.10);
  --sh-lg: 0 24px 60px rgba(13,27,61,.16);

  --t-fast: .18s ease;
  --t-slow: .35s cubic-bezier(.2,.7,.2,1);

  --font-heading: 'Plus Jakarta Sans', 'Prompt', system-ui, -apple-system, Segoe UI, sans-serif;
  --font-body:    'Prompt', 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--c-ink);
  background: var(--c-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; display: block; }
a { color: var(--c-blue); text-decoration: none; transition: color var(--t-fast); }
a:hover { color: var(--c-cyan); }
h1, h2, h3, h4 { font-family: var(--font-heading); font-weight: 700; line-height: 1.2; margin: 0 0 .5em; color: var(--c-navy); letter-spacing: -.01em; }
h1 { font-size: clamp(2rem, 4.8vw, 3.6rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.4rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }

/* ---------- Layout helpers ---------- */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.section { padding: clamp(48px, 8vw, 96px) 0; }
.section-alt { background: var(--c-bg); }
.card-form { max-width:680px; margin:0 auto; background:#fff; border-radius:var(--r-xl); padding:36px; box-shadow:var(--sh-sm); }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
.form-row { display:flex; gap:12px; flex-wrap:wrap; align-items:center; margin-top:18px; }
.form-note { display:block; margin-top:16px; }
.lead-msg { color:var(--c-mint); font-weight:600; }
.mt-0 { margin:0; }
.catalog-subtitle { color:var(--c-muted); margin:6px 0 0; }
.catalog-note { margin-top:24px; color:var(--c-muted); font-size:.88rem; }
.cta-title { margin-bottom:12px; }
.cta-actions { display:flex; gap:12px; flex-wrap:wrap; justify-content:flex-end; }
.icon-inline { flex-shrink:0; }
.grid { display: grid; gap: 24px; }
.center { text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.78rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--c-blue), var(--c-mint));
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
  margin-bottom: 14px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: .02em;
  cursor: pointer;
  transition: transform var(--t-fast), box-shadow var(--t-fast), background var(--t-fast), color var(--t-fast);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: var(--grad-brand);
  color: #fff;
  box-shadow: 0 8px 24px rgba(37,99,235,.30);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px rgba(37,99,235,.40); color: #fff; }
.btn-outline { background: transparent; color: var(--c-navy); border-color: rgba(13,27,61,.18); }
.btn-outline:hover { background: var(--c-navy); color: #fff; }
.btn-ghost { background: rgba(255,255,255,.10); color: #fff; border-color: rgba(255,255,255,.25); }
.btn-ghost:hover { background: #fff; color: var(--c-navy); }
.btn-line { background: #06C755; color: #fff; border-color: #06C755; gap: 8px; }
.btn-line:hover { background: #05a847; border-color: #05a847; color: #fff; transform: translateY(-2px); box-shadow: 0 10px 24px rgba(6,199,85,.35); }
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-block { width: 100%; justify-content: center; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.85);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(13,27,61,.06);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 10px 0; gap: 16px;
}
.brand { display: flex; align-items: center; gap: 14px; font-family: var(--font-heading); font-weight: 800; color: var(--c-navy); font-size: 1.35rem; }
.brand img { width: 56px; height: 56px; border-radius: 14px; object-fit: cover; box-shadow: 0 4px 14px rgba(37,99,235,.22); }
.brand-tag { font-family: var(--font-body); font-weight: 400; color: var(--c-muted); font-size: .78rem; display: block; line-height: 1; }
.nav-links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--c-navy); font-weight: 500; padding: 8px 14px; border-radius: 10px; }
.nav-links a:hover { background: var(--c-bg); color: var(--c-blue); }
.nav-actions { display: flex; gap: 10px; align-items: center; }
.nav-toggle {
  display: none; background: transparent; border: 0; padding: 8px;
  color: var(--c-navy);
}
.nav-toggle svg { width: 28px; height: 28px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--grad-dark);
  color: #fff;
  padding: clamp(64px, 10vw, 140px) 0 clamp(72px, 12vw, 160px);
}
.hero-logo-bg {
  position: absolute; right: -40px; top: 50%; transform: translateY(-50%);
  z-index: 0; pointer-events: none;
}
.hero-logo-bg img {
  width: clamp(260px, 36vw, 520px);
  height: clamp(260px, 36vw, 520px);
  object-fit: cover;
  border-radius: 50%;
  opacity: .08;
  filter: blur(2px) grayscale(20%);
}
.hero::before, .hero::after {
  content: ""; position: absolute; border-radius: 50%; filter: blur(80px); opacity: .55; z-index: 0;
}
.hero::before { width: 460px; height: 460px; background: var(--c-blue); top: -120px; left: -80px; }
.hero::after { width: 360px; height: 360px; background: var(--c-mint); bottom: -120px; right: -80px; }
.hero .container { position: relative; z-index: 1; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 48px;
}
.hero h1 {
  color: #fff;
  font-size: clamp(2.1rem, 5.2vw, 4rem);
  margin-bottom: 18px;
}
.hero h1 .accent {
  background: linear-gradient(120deg, #fff 30%, var(--c-mint) 60%, var(--c-cyan) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero p.lead {
  font-size: 1.15rem; color: rgba(255,255,255,.85); max-width: 560px; margin-bottom: 28px;
}
.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 28px; }
.hero-trust { display: flex; gap: 28px; flex-wrap: wrap; color: rgba(255,255,255,.78); font-size: .9rem; }
.hero-trust span { display: flex; align-items: center; gap: 8px; }
.hero-trust span::before { content: "✓"; color: var(--c-mint); font-weight: 700; }

.hero-card {
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--r-xl);
  padding: 28px;
  box-shadow: var(--sh-lg);
}
.hero-card-title { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: #fff; margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.hero-card-title::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--c-mint); box-shadow: 0 0 0 4px rgba(34,211,165,.25); }
.payment-row { display: grid; grid-template-columns: 1fr auto; padding: 14px 0; border-top: 1px solid rgba(255,255,255,.08); color: rgba(255,255,255,.92); align-items: center; }
.payment-row:first-of-type { border-top: 0; }
.payment-row strong { font-family: var(--font-heading); font-weight: 700; }
.payment-row .pm { color: var(--c-mint); font-weight: 700; }
.payment-row small { display: block; color: rgba(255,255,255,.6); font-size: .78rem; }

/* ---------- Stats Strip ---------- */
.stats-strip { background: #fff; border-radius: var(--r-xl); padding: 28px; box-shadow: var(--sh-md); margin-top: -60px; position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.stat .num { font-family: var(--font-heading); font-weight: 800; font-size: clamp(1.6rem, 3vw, 2.4rem); background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.stat .lbl { color: var(--c-muted); font-size: .9rem; }

/* ---------- Cards / Features (legacy 4-col) ---------- */
.features-grid { grid-template-columns: repeat(4, 1fr); }
.feature {
  background: #fff; border: 1px solid var(--c-line);
  border-radius: var(--r-lg); padding: 28px;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.feature .ic {
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center; color: #fff;
  margin-bottom: 18px;
}
.feature .ic svg { width: 26px; height: 26px; }
.feature h3 { font-size: 1.15rem; margin-bottom: 8px; }
.feature p { color: var(--c-muted); font-size: .95rem; margin: 0; }

/* ---------- Features redesign (3-col, numbered) ---------- */
.feat-intro {
  display: flex; align-items: flex-end; gap: 48px;
  margin-bottom: 48px;
}
.feat-intro > div { flex-shrink: 0; }
.feat-h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); line-height: 1.15; margin: 8px 0 0; }
.feat-accent-text {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.feat-desc {
  color: var(--c-muted); font-size: 1.05rem; line-height: 1.75;
  max-width: 480px; margin: 0; padding-bottom: 6px;
}
.features-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feat-card {
  background: #fff;
  border: 1px solid var(--c-line);
  border-radius: var(--r-xl);
  padding: 28px 28px 30px;
  position: relative;
  overflow: hidden;
  transition: transform var(--t-slow), box-shadow var(--t-slow), border-color var(--t-slow);
}
.feat-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--grad-brand);
  opacity: 0;
  transition: opacity var(--t-slow);
}
.feat-card:hover { transform: translateY(-5px); box-shadow: var(--sh-md); border-color: transparent; }
.feat-card:hover::before { opacity: 1; }
.feat-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 20px;
}
.feat-num {
  font-size: .75rem; font-weight: 700; letter-spacing: .12em;
  color: var(--c-mint); font-family: var(--f-mono, monospace);
}
.feat-ic {
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(34,211,165,.12) 0%, rgba(99,102,241,.12) 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-mint);
  flex-shrink: 0;
}
.feat-ic svg { width: 22px; height: 22px; }
.feat-card h3 { font-size: 1.05rem; margin: 0 0 10px; color: var(--c-navy); }
.feat-card p { color: var(--c-muted); font-size: .92rem; line-height: 1.65; margin: 0; }

/* ---------- ID Card Banner ---------- */
.id-banner {
  background: linear-gradient(135deg, #0D1B3D 0%, #1a3260 60%, #0f2a50 100%);
  padding: 56px 0;
}
.id-banner-inner {
  display: flex;
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
}
.id-banner-icon {
  flex-shrink: 0;
  width: 80px; height: 80px;
  border-radius: 20px;
  background: rgba(34,211,165,.15);
  border: 1px solid rgba(34,211,165,.3);
  display: flex; align-items: center; justify-content: center;
  color: #22D3A5;
}
.id-banner-text { flex: 1; min-width: 260px; }
.id-banner-text h2 {
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  color: #fff;
  margin: 0 0 10px;
  line-height: 1.2;
}
.id-hi {
  background: linear-gradient(90deg, #22D3A5, #60A5FA);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.id-banner-text p {
  color: rgba(255,255,255,.7);
  font-size: 1rem;
  line-height: 1.65;
  margin: 0;
}
.btn-white {
  background: #fff;
  color: #0D1B3D;
  font-weight: 700;
  border: none;
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-white:hover { background: #22D3A5; color: #fff; }

/* ---------- Installment Calculator ---------- */
.calc-wrap {
  display: grid; grid-template-columns: 1fr 360px; gap: 32px;
  align-items: start; max-width: 900px; margin: 0 auto;
}
.calc-label { display: flex; flex-direction: column; gap: 8px; font-size: .88rem; font-weight: 600; color: var(--c-navy); margin-bottom: 20px; }
.calc-select {
  padding: 12px 16px; border: 1.5px solid var(--c-line);
  border-radius: 12px; font-size: .95rem; outline: none;
  transition: border-color .2s; background: #fff;
}
.calc-select:focus { border-color: var(--c-mint); }
.calc-btn-group { display: flex; gap: 8px; flex-wrap: wrap; }
.calc-opt {
  padding: 8px 16px; border: 1.5px solid var(--c-line);
  border-radius: 10px; background: #fff; font-size: .88rem;
  font-weight: 600; cursor: pointer; color: var(--c-navy);
  transition: all .2s;
}
.calc-opt:hover { border-color: var(--c-mint); color: var(--c-mint); }
.calc-opt.is-active { background: var(--c-mint); border-color: var(--c-mint); color: #fff; }
.calc-result {
  background: var(--c-navy); border-radius: 20px; padding: 28px;
  color: #fff; position: sticky; top: 90px;
}
.calc-result-main { text-align: center; margin-bottom: 20px; }
.calc-result-label { font-size: .8rem; color: rgba(255,255,255,.6); margin-bottom: 4px; }
.calc-result-val {
  font-size: clamp(2rem,5vw,3rem); font-family: var(--font-heading);
  font-weight: 900; color: #22D3A5;
}
.calc-result-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.calc-result-details > div { display: flex; justify-content: space-between; font-size: .85rem; }
.calc-result-details span { color: rgba(255,255,255,.6); }
.calc-result-details strong { color: #fff; }
@media (max-width: 860px) {
  .calc-wrap { grid-template-columns: 1fr; }
  .calc-result { position: static; }
}

@media (max-width: 720px) {
  .id-banner-inner { flex-direction: column; align-items: flex-start; gap: 20px; }
  .id-banner { padding: 40px 0; }
}

/* ---------- Why CK Phone (3-card) ---------- */
.why-section { background: var(--c-bg); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  background: #fff;
  border-radius: 20px;
  padding: 36px 32px;
  border: 1px solid var(--c-line);
  transition: transform .3s ease, box-shadow .3s ease;
}
.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(13,27,61,.1);
  border-color: transparent;
}
.why-icon {
  width: 56px; height: 56px;
  border-radius: 16px;
  background: linear-gradient(135deg, #EEF9F6 0%, #EEF2FF 100%);
  display: flex; align-items: center; justify-content: center;
  color: #22D3A5;
  margin-bottom: 20px;
}
.why-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #0D1B3D;
  margin: 0 0 12px;
}
.why-card p {
  color: #6B7280;
  font-size: .95rem;
  line-height: 1.7;
  margin: 0;
}
@media (max-width: 900px) {
  .why-grid { grid-template-columns: 1fr; gap: 16px; }
}

/* ---------- How It Works ---------- */
.steps { grid-template-columns: repeat(4, 1fr); position: relative; }
.step { text-align: center; padding: 28px 16px; position: relative; }
.step .num-circle {
  width: 64px; height: 64px; border-radius: 50%;
  background: #fff; color: var(--c-blue); border: 2px solid var(--c-blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-heading); font-weight: 800; font-size: 1.4rem;
  margin: 0 auto 16px;
  transition: all var(--t-slow);
}
.step:hover .num-circle { background: var(--grad-brand); color: #fff; border-color: transparent; transform: scale(1.05); }
.step h3 { font-size: 1.1rem; margin-bottom: 8px; }
.step p { color: var(--c-muted); font-size: .9rem; margin: 0; }

/* ---------- Catalog ---------- */
.catalog-head {
  display: flex; justify-content: space-between; align-items: end; flex-wrap: wrap; gap: 16px; margin-bottom: 28px;
}
.tabs {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.tab {
  background: #fff; border: 1px solid var(--c-line); border-radius: 999px;
  padding: 8px 18px; font-family: var(--font-heading); font-weight: 600; font-size: .88rem; color: var(--c-navy);
  cursor: pointer; transition: all var(--t-fast);
}
.tab.is-active { background: var(--c-navy); color: #fff; border-color: var(--c-navy); }
.tab:hover:not(.is-active) { border-color: var(--c-blue); color: var(--c-blue); }

.product-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 20px; }
.product {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg);
  padding: 20px; transition: all var(--t-slow);
  position: relative; overflow: hidden;
}
.product::before {
  content: ""; position: absolute; inset: 0;
  background: var(--grad-brand);
  opacity: 0; transition: opacity var(--t-slow);
  z-index: 0;
}
.product:hover { transform: translateY(-6px); box-shadow: var(--sh-md); border-color: transparent; }
.product > * { position: relative; z-index: 1; }
.product-img {
  display: flex; align-items: center; justify-content: center;
  height: 170px; margin-bottom: 14px;
  background: linear-gradient(135deg, #f5f8ff 0%, #eaf4ff 100%);
  border-radius: var(--r-md);
  overflow: hidden;
}
.product-img img.product-photo {
  width: 100%; height: 100%;
  object-fit: contain;
  transition: transform var(--t-slow);
  padding: 10px;
}
.product:hover .product-img img.product-photo { transform: scale(1.07); }
.product-img svg { filter: drop-shadow(0 6px 12px rgba(37,99,235,.18)); }
.product:hover .product-img { background: linear-gradient(135deg, #e6efff 0%, #d8f0ff 100%); }
.product-tag {
  display: inline-block; font-size: .72rem; font-weight: 700; padding: 4px 10px; border-radius: 999px;
  background: rgba(34,211,165,.16); color: #047857; margin-bottom: 10px;
  letter-spacing: .02em;
}
.product-name { font-family: var(--font-heading); font-weight: 700; font-size: 1.05rem; color: var(--c-navy); margin: 0 0 6px; }
.product-storage { display: inline-block; font-size: .72rem; font-weight: 700; color: var(--c-blue); background: rgba(37,99,235,.10); border-radius: 999px; padding: 1px 8px; margin-left: 4px; vertical-align: middle; letter-spacing: .03em; }
.product-price { color: var(--c-muted); font-size: .85rem; margin-bottom: 12px; }
.product-price b { color: var(--c-navy); font-size: 1.15rem; font-family: var(--font-heading); }
.product-month { background: var(--c-bg); border-radius: var(--r-md); padding: 12px; margin-top: 10px; }
.product-month .from { color: var(--c-muted); font-size: .75rem; }
.product-month .amt { font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: var(--c-blue); }
.product-month .term { color: var(--c-muted); font-size: .8rem; }

/* ---------- CTA Banner ---------- */
.cta-banner {
  background: var(--grad-brand); color: #fff;
  border-radius: var(--r-xl); padding: 48px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 24px; align-items: center;
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ""; position: absolute; right: -60px; top: -60px;
  width: 280px; height: 280px; border-radius: 50%;
  background: rgba(255,255,255,.10);
}
.cta-banner h2 { color: #fff; }
.cta-banner p { color: rgba(255,255,255,.92); margin: 0; }
.cta-banner .btn-primary { background: #fff; color: var(--c-blue); box-shadow: 0 12px 28px rgba(0,0,0,.18); }
.cta-banner .btn-primary:hover { background: var(--c-navy); color: #fff; }

/* ---------- Testimonials ---------- */
.tst-grid { grid-template-columns: repeat(3, 1fr); }
.tst { background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-lg); padding: 28px; }
.tst .stars { color: #F5A623; margin-bottom: 12px; letter-spacing: 2px; }
.tst p { color: var(--c-ink); font-style: italic; }
.tst .author { display: flex; align-items: center; gap: 12px; margin-top: 14px; }
.tst .avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--grad-brand); color: #fff; display: flex; align-items: center; justify-content: center; font-family: var(--font-heading); font-weight: 700; }
.tst .name { font-weight: 600; color: var(--c-navy); }
.tst .role { color: var(--c-muted); font-size: .85rem; }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: #fff; border: 1px solid var(--c-line); border-radius: var(--r-md);
  padding: 18px 22px; margin-bottom: 12px; transition: border-color var(--t-fast);
}
.faq details[open] { border-color: var(--c-blue); box-shadow: var(--sh-sm); }
.faq summary { font-family: var(--font-heading); font-weight: 600; color: var(--c-navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--c-blue); font-weight: 700; font-size: 1.4rem; transition: transform var(--t-fast); }
.faq details[open] summary::after { content: "−"; }
.faq details p { margin: 12px 0 0; color: var(--c-muted); }

/* ---------- Footer ---------- */
.site-footer {
  background: #070e1f;
  background-image:
    radial-gradient(ellipse 80% 50% at 10% 90%, rgba(37,99,235,.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 90% 10%, rgba(0,184,217,.10) 0%, transparent 55%);
  color: rgba(255,255,255,.65);
  padding: 0 0 0;
  position: relative;
  overflow: hidden;
}
.footer-topbar {
  height: 3px;
  background: var(--grad-brand);
}
.site-footer .container { padding-top: 56px; padding-bottom: 32px; }
.site-footer a { color: rgba(255,255,255,.65); text-decoration: none; transition: color var(--t-fast); }
.site-footer a:hover { color: var(--c-mint); }

/* brand row */
.footer-brand-row {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; flex-wrap: wrap; margin-bottom: 36px;
}
.footer-brand-logo {
  display: flex; align-items: center; gap: 16px;
}
.footer-brand-logo img {
  width: 54px; height: 54px; border-radius: 14px; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(255,255,255,.08), 0 8px 24px rgba(37,99,235,.30);
}
.footer-brand-name {
  font-family: var(--font-heading); font-weight: 800; font-size: 1.25rem; color: #fff;
}
.footer-brand-sub {
  font-size: .75rem; color: rgba(255,255,255,.4); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px;
}

/* social icons */
.footer-socials { display: flex; gap: 10px; }
.fsoc {
  width: 38px; height: 38px; border-radius: 10px;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.65);
  transition: background var(--t-fast), transform var(--t-fast), border-color var(--t-fast);
}
.fsoc:hover { background: var(--c-blue); border-color: var(--c-blue); color: #fff !important; transform: translateY(-3px); }
.fsoc-line:hover { background: #06C755 !important; border-color: #06C755 !important; }

/* divider */
.footer-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.10) 20%, rgba(255,255,255,.10) 80%, transparent);
  margin: 0 0 36px;
}

/* links grid */
.footer-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 36px;
}
.footer-col-label {
  font-family: var(--font-heading); font-weight: 700; font-size: .72rem;
  letter-spacing: .10em; text-transform: uppercase;
  color: rgba(255,255,255,.35); margin-bottom: 18px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
  font-size: .9rem; display: inline-flex; align-items: center; gap: 6px;
  position: relative;
}
.footer-col ul li a::after {
  content: ''; position: absolute; left: 0; bottom: -2px;
  width: 0; height: 1px; background: var(--c-mint);
  transition: width var(--t-fast);
}
.footer-col ul li a:hover::after { width: 100%; }

/* contact items */
.footer-contact-item {
  display: flex; align-items: center; gap: 10px; font-size: .9rem;
}
.footer-contact-item.no-link { color: rgba(255,255,255,.45); cursor: default; }
.fci-icon {
  width: 28px; height: 28px; border-radius: 8px; flex-shrink: 0;
  background: rgba(37,99,235,.18); border: 1px solid rgba(37,99,235,.30);
  display: flex; align-items: center; justify-content: center;
  color: var(--c-cyan);
}
.footer-line-item .fci-icon { background: rgba(37,99,235,.18); border-color: rgba(37,99,235,.30); color: var(--c-cyan); }
.footer-line-item:hover { color: var(--c-mint) !important; }

/* bottom bar */
.footer-bottom {
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 12px;
  font-size: .82rem; color: rgba(255,255,255,.35);
  text-align: center;
}
.footer-copy a { color: rgba(255,255,255,.35); }
.footer-copy a:hover { color: var(--c-mint); }
.footer-made { font-size: .82rem; }

/* ---------- Page-section common ---------- */
.section-head { text-align: center; max-width: 700px; margin: 0 auto 48px; }
.section-head p { color: var(--c-muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; }
  .features-grid, .steps, .tst-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .feat-intro { flex-direction: column; align-items: flex-start; gap: 16px; margin-bottom: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cta-banner { grid-template-columns: 1fr; padding: 32px; }
}
@media (max-width: 720px) {
  .nav-links, .nav-actions .hide-mobile { display: none; }
  .nav-toggle { display: inline-flex; }
  .nav.is-open .nav-links {
    display: flex; flex-direction: column; align-items: stretch;
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; padding: 16px 24px; gap: 6px;
    box-shadow: var(--sh-md);
    border-top: 1px solid var(--c-line);
  }
  .features-grid, .steps, .tst-grid { grid-template-columns: 1fr; }
  .features-grid-3 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .stats-strip { padding: 20px; }
  .footer-brand-row { flex-direction: column; align-items: flex-start; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .section { padding: 56px 0; }
}

/* ---------- Utility ---------- */
.is-hidden { display: none !important; }
.text-grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; color: transparent; }
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--c-navy); color: #fff; padding: 10px 16px; z-index: 999;
}
.skip-link:focus { left: 16px; top: 12px; color: #fff; }
