@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Noto+Sans+Thai:wght@400;500;600;700;800&display=swap');

:root {
  --orange: #ff6b35;
  --orange-dark: #e85a28;
  --orange-deep: #d94e1f;
  --orange-light: #fff4ee;
  --orange-glow: rgba(255, 107, 53, 0.35);
  --navy: #0f1729;
  --navy-soft: #475569;
  --white: #ffffff;
  --gradient-start: #fffbf7;
  --gradient-mid: #ffe5d0;
  --gradient-end: #ffbf80;
  --shadow: 0 20px 50px rgba(217, 78, 31, 0.12);
  --shadow-sm: 0 8px 24px rgba(15, 23, 41, 0.08);
  --shadow-orange: 0 16px 48px rgba(255, 107, 53, 0.28);
  --radius: 16px;
  --radius-lg: 28px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Noto Sans Thai', 'Inter', system-ui, sans-serif;
  color: var(--navy);
  background: linear-gradient(165deg, var(--gradient-start) 0%, var(--gradient-mid) 40%, var(--gradient-end) 100%);
  background-attachment: fixed;
  min-height: 100vh;
  line-height: 1.5;
}

body.page-inner {
  background: linear-gradient(165deg, var(--gradient-start) 0%, #fff 55%);
}

.container { width: min(1180px, 94%); margin: 0 auto; }

/* Header */
.site-header {
  padding: 0.85rem 0;
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(15, 23, 41, 0.06);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  color: var(--navy);
  font-weight: 800;
  font-size: 1.2rem;
  white-space: nowrap;
}

.brand-tld { font-weight: 600; color: var(--orange); font-size: 0.85em; }

.brand-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--orange), #ff9f5a);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.15rem;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
}

.brand-light { color: white; }
.brand-light .brand-tld { color: #ffb88c; }

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.75rem;
  flex-wrap: wrap;
}

.nav a {
  text-decoration: none;
  color: var(--navy-soft);
  font-weight: 500;
  font-size: 0.92rem;
  transition: color 0.2s;
}

.nav a:hover { color: var(--orange); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

/* Language dropdown */
.lang-dropdown {
  position: relative;
}

.lang-dropdown-btn {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  background: #eef1f6;
  border: 1px solid rgba(15, 23, 41, 0.08);
  border-radius: 999px;
  padding: 0.45rem 0.75rem;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.lang-dropdown-btn:hover,
.lang-dropdown.open .lang-dropdown-btn {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.15);
}

.lang-flag { font-size: 1rem; line-height: 1; }
.lang-chevron { font-size: 0.65rem; color: var(--navy-soft); }
.lang-current { max-width: 72px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.lang-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 200px;
  background: white;
  border-radius: 12px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(15, 23, 41, 0.08);
  list-style: none;
  margin: 0;
  padding: 0.4rem;
  z-index: 300;
}

.lang-dropdown-menu li { margin: 0; }

.lang-dropdown-menu a {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.75rem;
  border-radius: 8px;
  text-decoration: none;
  color: var(--navy);
  transition: background 0.15s;
}

.lang-dropdown-menu a:hover { background: var(--orange-light); }
.lang-dropdown-menu a.active {
  background: var(--orange-light);
  color: var(--orange);
  font-weight: 700;
}

.lang-dropdown-menu .lang-name {
  font-weight: 600;
  font-size: 0.9rem;
  flex: 1;
}

.lang-dropdown-menu .lang-sub {
  font-size: 0.7rem;
  color: var(--navy-soft);
}

.btn-contact {
  background: var(--orange);
  color: white !important;
  padding: 0.6rem 1.15rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  font-size: 0.88rem;
  box-shadow: 0 6px 16px rgba(255, 107, 53, 0.35);
  transition: transform 0.15s;
}

.btn-contact:hover { transform: translateY(-1px); }

.nav-toggle {
  display: none;
  background: #eef1f6;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  font-size: 1.25rem;
  cursor: pointer;
}

main { padding-bottom: 4rem; }

/* Hero */
.landing-hero {
  text-align: center;
  padding: 2.5rem 0 1rem;
  position: relative;
}

.hero-badge {
  display: inline-block;
  background: white;
  color: var(--orange);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(255, 107, 53, 0.2);
}

.social-proof {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  font-size: 0.88rem;
  color: var(--navy-soft);
}

.rating { color: #f59e0b; font-weight: 600; }

.avatar-stack { display: flex; }

.avatar-stack span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 2px solid white;
  margin-left: -10px;
  background: linear-gradient(135deg, #667eea, #764ba2);
}

.avatar-stack span:first-child { margin-left: 0; }
.avatar-stack span:nth-child(2) { background: linear-gradient(135deg, #f093fb, #f5576c); }
.avatar-stack span:nth-child(3) { background: linear-gradient(135deg, #4facfe, #00f2fe); }
.avatar-stack span:nth-child(4) { background: linear-gradient(135deg, #43e97b, #38f9d7); }
.avatar-stack span:nth-child(5) { background: linear-gradient(135deg, #fa709a, #fee140); }

.landing-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.12;
  max-width: 780px;
  margin: 0 auto 1rem;
  letter-spacing: -0.03em;
}

/* Coming soon hero (index.html) */
.landing-hero--soon {
  padding: 3rem 0 1.5rem;
}

.hero-coming-title {
  margin: 0 auto 0.75rem;
  max-width: 900px;
  line-height: 1.05;
  letter-spacing: -0.04em;
}

.hero-coming-th {
  display: block;
  font-size: clamp(3.5rem, 15vw, 7.5rem);
  font-weight: 800;
  background: linear-gradient(120deg, var(--orange-deep) 0%, var(--orange) 45%, #ff9f5a 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
}

.hero-coming-hook {
  display: block;
  margin-top: 0.35rem;
  font-size: clamp(1.65rem, 5vw, 3.25rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1.15;
}

.hero-coming-en {
  display: block;
  margin-top: 0.65rem;
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--navy-soft);
  opacity: 0.85;
}

.hero-app-name {
  margin: 0 auto 1rem;
  font-size: clamp(1.15rem, 2.8vw, 1.65rem);
  font-weight: 700;
  color: var(--orange-deep);
  letter-spacing: 0.01em;
}

.landing-hero--soon .hero-sub strong {
  color: var(--orange-deep);
  font-weight: 700;
}

.landing-hero--soon .hero-sub {
  margin-bottom: 1.25rem;
}

.landing-hero--soon .social-proof {
  margin-bottom: 1.75rem;
}

.hero-sub {
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--navy-soft);
  max-width: 620px;
  margin: 0 auto 1.75rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--orange), #ff8f5a);
  color: white;
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 10px 28px rgba(255, 107, 53, 0.4);
  transition: transform 0.15s, box-shadow 0.2s;
  display: inline-block;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 36px rgba(255, 107, 53, 0.5);
}

.btn-outline {
  background: white;
  color: var(--navy);
  padding: 0.9rem 2rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  font-size: 1rem;
  border: 2px solid var(--navy);
  transition: all 0.2s;
}

.btn-outline:hover { background: var(--navy); color: white; }
.btn-on-dark { border-color: white; color: white; background: transparent; }
.btn-on-dark:hover { background: white; color: var(--navy); }
.btn-block { display: block; text-align: center; width: 100%; }

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  padding: 1.25rem 2rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg);
  max-width: 640px;
  margin: 0 auto 1rem;
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-stats div { text-align: center; }
.hero-stats strong { display: block; font-size: 1.5rem; color: var(--navy); }
.hero-stats span { font-size: 0.8rem; color: var(--navy-soft); }

/* Hero visual */
.hero-visual {
  position: relative;
  max-width: 1000px;
  margin: 0 auto 3rem;
  min-height: 520px;
  padding: 0 1rem;
}

.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.5;
  z-index: 0;
}

.blob-1 { width: 300px; height: 300px; background: #ff9f5a; top: 10%; left: 10%; }
.blob-2 { width: 250px; height: 250px; background: #ffd4a8; bottom: 20%; right: 10%; }

.phone-mockup {
  position: relative;
  z-index: 5;
  width: min(300px, 88vw);
  margin: 0 auto;
  background: linear-gradient(145deg, #1a2332, #0f1729);
  border-radius: 40px;
  padding: 14px;
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
}

.phone-screen {
  background: #f8fafc;
  border-radius: 30px;
  padding: 1rem 1.1rem 1.25rem;
  min-height: 480px;
}

.phone-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.75rem;
}

.phone-header-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-bottom: 1rem;
}

.phone-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff9f5a);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.phone-greeting { font-size: 0.85rem; font-weight: 700; color: var(--navy); }
.phone-sub { font-size: 0.7rem; color: #94a3b8; }

.phone-balance-label { font-size: 0.7rem; color: #64748b; }
.phone-balance { font-size: 1.75rem; font-weight: 800; margin: 0.15rem 0; }
.phone-change { font-size: 0.8rem; color: #16a34a; font-weight: 600; margin-bottom: 0.75rem; }

.phone-chart {
  height: 90px;
  margin-bottom: 0.75rem;
  border-radius: 10px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(255, 107, 53, 0.08), transparent);
}

.phone-chart svg { width: 100%; height: 100%; display: block; }

.phone-quick {
  display: flex;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.phone-quick button {
  flex: 1;
  border: none;
  background: white;
  border-radius: 10px;
  padding: 0.45rem 0.25rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: var(--navy);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  cursor: default;
  font-family: inherit;
}

.phone-tx-title { font-size: 0.72rem; font-weight: 700; margin-bottom: 0.4rem; }

.phone-tx {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid #e2e8f0;
  font-size: 0.72rem;
}

.tx-icon { font-size: 1rem; }
.tx-name { color: var(--navy); font-weight: 500; }
.tx-amt { font-weight: 700; }
.tx-amt.neg { color: #ef4444; }
.tx-amt.pos { color: #16a34a; }

/* Float cards */
.float-card {
  position: absolute;
  background: white;
  border-radius: var(--radius);
  padding: 1rem 1.2rem;
  box-shadow: var(--shadow);
  z-index: 10;
  border: 1px solid rgba(15, 23, 41, 0.05);
}

.float-card h4 { margin: 0; font-size: 0.72rem; color: #64748b; font-weight: 500; }
.float-card .big-num { font-size: 1.25rem; font-weight: 800; margin: 0.35rem 0; }
.float-card small { font-size: 0.68rem; color: #94a3b8; }

.card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 0.25rem; }
.pill-up { background: #dcfce7; color: #16a34a; font-size: 0.65rem; font-weight: 700; padding: 0.2rem 0.5rem; border-radius: 999px; }

.chart-card { left: 0; top: 8%; width: 210px; }
.deposit-card { right: 0; top: 5%; width: 190px; }
.community-card { left: 0; bottom: 8%; width: 240px; display: flex; align-items: center; gap: 0.75rem; }
.ai-card { right: 0; bottom: 12%; width: 200px; display: flex; align-items: center; gap: 0.5rem; }
.ai-dot { width: 10px; height: 10px; background: #22c55e; border-radius: 50%; animation: pulse 2s infinite; }
.ai-card p { margin: 0; font-size: 0.78rem; }

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

.mini-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 56px;
  margin: 0.5rem 0;
}

.mini-bars span {
  flex: 1;
  background: linear-gradient(180deg, var(--orange), #ffc9a8);
  border-radius: 3px 3px 0 0;
}

.mini-bars span:nth-child(1) { height: 30%; }
.mini-bars span:nth-child(2) { height: 45%; }
.mini-bars span:nth-child(3) { height: 38%; }
.mini-bars span:nth-child(4) { height: 62%; }
.mini-bars span:nth-child(5) { height: 48%; }
.mini-bars span:nth-child(6) { height: 78%; }
.mini-bars span:nth-child(7) { height: 55%; }
.mini-bars span:nth-child(8) { height: 70%; }
.mini-bars span:nth-child(9) { height: 85%; }

.chart-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.58rem;
  color: #94a3b8;
}

.progress-bar {
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  margin: 0.5rem 0;
  overflow: hidden;
}

.progress-bar div { height: 100%; width: 72%; background: linear-gradient(90deg, var(--orange), #ff9f5a); border-radius: 4px; }

.community-card p { margin: 0; font-weight: 700; font-size: 0.82rem; }

/* Friend philosophy */
.friend-section {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 2.5rem;
}

.friend-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-top: 1.5rem;
}

.friend-card {
  background: linear-gradient(180deg, #fff 0%, var(--orange-light) 100%);
  border: 1px solid rgba(255, 107, 53, 0.15);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
}

.friend-icon {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.friend-card h3 {
  margin: 0 0 0.65rem;
  font-size: 1.1rem;
  font-weight: 800;
}

.friend-card p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--navy-soft);
  line-height: 1.6;
}

/* Trust */
.trust-banner {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: var(--radius-lg);
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.trust-banner h2 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin: 0 0 1.25rem; font-weight: 700; }

.logo-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem 2.5rem;
}

.logo-row span {
  font-weight: 800;
  font-size: 1rem;
  color: #cbd5e1;
  letter-spacing: 0.05em;
}

/* Sections */
.section-block { margin-bottom: 3.5rem; }
.section-alt {
  background: rgba(255, 255, 255, 0.65);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  margin-left: -1.5%;
  margin-right: -1.5%;
  width: calc(100% + 3%);
}

.section-kicker {
  text-align: center;
  color: var(--orange);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin: 0 0 0.5rem;
}

.section-title {
  text-align: center;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 800;
  margin: 0 0 0.75rem;
  letter-spacing: -0.02em;
}

.section-title.align-left { text-align: left; }
.section-desc { text-align: center; color: var(--navy-soft); max-width: 560px; margin: 0 auto 2rem; }

/* Loan cards */
.loan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.loan-card {
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 41, 0.06);
  transition: transform 0.25s, box-shadow 0.25s;
}

.loan-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.loan-card.featured {
  border: 2px solid var(--orange);
  background: linear-gradient(180deg, #fff 0%, var(--orange-light) 100%);
}

.card-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--orange);
  color: white;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
}

.loan-card .icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--orange), #ff9f5a);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  margin-bottom: 1rem;
}

.loan-card h3 { margin: 0 0 0.5rem; font-size: 1.15rem; }
.loan-card > p { margin: 0 0 1rem; font-size: 0.9rem; color: var(--navy-soft); line-height: 1.55; }

.loan-meta {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem;
  font-size: 0.82rem;
  color: var(--navy-soft);
}

.loan-meta li { padding: 0.25rem 0; border-top: 1px dashed #e2e8f0; }
.link-arrow { color: var(--orange); font-weight: 700; font-size: 0.9rem; }

.loan-app-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.loan-app-tags span {
  font-size: 0.68rem;
  background: var(--orange-light);
  color: var(--orange);
  padding: 0.25rem 0.5rem;
  border-radius: 6px;
  font-weight: 600;
}

/* Service detail pages */
.service-hero { padding: 2rem 0 1.5rem; }
.service-hero-icon { font-size: 3rem; display: block; margin-bottom: 0.5rem; }
.service-intro {
  max-width: 640px;
  margin: 1rem auto 1.25rem;
  color: var(--navy-soft);
  line-height: 1.65;
}

.service-meta-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem 1.5rem;
  background: white;
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  max-width: 720px;
  margin: 0 auto;
  font-size: 0.88rem;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.service-panel {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.service-panel h2 {
  margin: 0 0 1rem;
  font-size: 1.15rem;
}

.detail-list {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--navy-soft);
  line-height: 1.85;
}

.detail-list.check li { list-style: none; position: relative; padding-left: 0.25rem; }
.detail-list.check li::before { content: '✓ '; color: var(--orange); font-weight: 700; }

.service-docs { margin-bottom: 1.25rem; }

.docs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

.doc-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8fafc;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.doc-num {
  width: 28px;
  height: 28px;
  background: var(--orange);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.8rem;
  flex-shrink: 0;
}

.service-app-section {
  background: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  margin-bottom: 1.5rem;
}

.service-app-layout {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 2rem;
  align-items: start;
  margin-top: 1.5rem;
}

.service-app-features {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.service-app-card {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  background: white;
  padding: 1rem;
  border-radius: var(--radius);
  text-decoration: none;
  color: inherit;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.service-app-card:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.service-app-card h3 { margin: 0 0 0.25rem; font-size: 0.95rem; }
.service-app-card p { margin: 0; font-size: 0.82rem; color: var(--navy-soft); line-height: 1.45; }
.sapp-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-app-phone .app-phone-mini { margin: 0 auto; }

.service-cta {
  text-align: center;
  background: linear-gradient(135deg, var(--navy), #1e3a5f);
  color: white;
  padding: 2.5rem 1.5rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.service-cta h2 { margin: 0 0 0.5rem; }
.service-cta p { margin: 0 0 1.25rem; opacity: 0.9; }
.service-cta .btn-outline { border-color: white; color: white; }

/* Features */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.feature-item {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
}

.feature-item:hover { transform: translateY(-3px); }

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--orange-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}

.feature-item h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.feature-item p { margin: 0; font-size: 0.88rem; color: var(--navy-soft); line-height: 1.55; }

/* Calculator */
.calc-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: start;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}

.calc-info > p:not(.section-kicker) {
  color: var(--navy-soft);
  line-height: 1.65;
  margin: 0 0 1.25rem;
}

.calc-statement-drop {
  border: 2px dashed rgba(255, 107, 53, 0.45);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #fffaf7 0%, #fff5f0 100%);
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  cursor: pointer;
}

.calc-statement-drop:hover,
.calc-statement-drop.is-dragover {
  border-color: var(--orange);
  background: var(--orange-light);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.12);
}

.calc-statement-drop.is-processing {
  pointer-events: none;
  opacity: 0.85;
}

.calc-statement-drop.is-done {
  border-style: solid;
  border-color: #86efac;
  background: #f0fdf4;
  cursor: default;
}

.calc-statement-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
}

.calc-statement-icon {
  display: flex;
  margin-bottom: 0.25rem;
}

.calc-statement-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--navy);
}

.calc-statement-desc {
  margin: 0;
  font-size: 0.85rem;
  color: var(--navy-soft);
  line-height: 1.55;
  max-width: 320px;
}

.calc-statement-hint {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.calc-statement-btn {
  margin-top: 0.5rem;
  cursor: pointer;
}

.calc-statement-done {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0;
}

.calc-statement-done-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #22c55e;
  color: white;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
}

.calc-statement-done p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--navy);
  font-weight: 600;
  line-height: 1.5;
}

.calc-or {
  text-align: center;
  margin: 1.25rem 0 0;
  position: relative;
}

.calc-or span {
  display: inline-block;
  padding: 0 0.75rem;
  background: white;
  font-size: 0.78rem;
  font-weight: 700;
  color: #94a3b8;
  position: relative;
  z-index: 1;
}

.calc-or::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 1px;
  background: #e2e8f0;
}

.calc-manual-label {
  margin: 0 0 1rem;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.calc-form label {
  display: block;
  margin-bottom: 1.25rem;
  font-weight: 600;
  font-size: 0.9rem;
}

.calc-form input[type="range"] {
  width: 100%;
  margin: 0.5rem 0;
  accent-color: var(--orange);
}

.calc-form output {
  display: block;
  color: var(--orange);
  font-weight: 800;
  font-size: 1.1rem;
}

.calc-result {
  background: var(--orange-light);
  padding: 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 1rem;
}

.calc-result span { display: block; font-size: 0.85rem; color: var(--navy-soft); }
.calc-result strong { font-size: 2rem; color: var(--navy); }

/* Steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.step-card {
  background: white;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--orange);
}

.step-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 107, 53, 0.25);
  display: block;
  margin-bottom: 0.5rem;
}

.step-card h3 { margin: 0 0 0.5rem; font-size: 1rem; }
.step-card p { margin: 0; font-size: 0.85rem; color: var(--navy-soft); line-height: 1.5; }

/* AI section */
.ai-section { background: transparent; }

.ai-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: center;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 107, 53, 0.15);
}

.ai-badge-247 {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: linear-gradient(135deg, #1e293b, #334155);
  color: #fbbf24;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  box-shadow: 0 4px 12px rgba(30, 41, 59, 0.25);
}

.ai-badge-247::before {
  content: '🌙';
  font-size: 0.9rem;
}

.ai-list { padding-left: 1.2rem; color: var(--navy-soft); line-height: 1.8; }
.ai-note { display: block; margin: 1rem 0; color: #94a3b8; font-size: 0.85rem; }

.float-card.ai-card {
  background: linear-gradient(135deg, #1e293b, #0f1729);
  color: white;
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.float-card.ai-card p {
  color: rgba(255, 255, 255, 0.9);
}

.float-card.ai-card strong {
  color: #fbbf24;
}

.screen-ai .mini-row:first-of-type {
  background: #1e293b;
  color: #fbbf24;
  border-color: #334155;
  font-weight: 600;
}

.ai-chat {
  background: #f1f5f9;
  border-radius: var(--radius);
  padding: 1.25rem;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.chat-bubble {
  max-width: 88%;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  font-size: 0.88rem;
  line-height: 1.5;
}

.chat-bubble.bot {
  background: white;
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: var(--shadow-sm);
}

.chat-bubble.user {
  background: var(--orange);
  color: white;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}

.chat-input {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.chat-input input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  font-family: inherit;
  font-size: 0.85rem;
}

.chat-input button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: var(--orange);
  color: white;
  cursor: pointer;
}

/* Floating friend chat — icon FAB at bottom center */
.chatbot-widget {
  position: fixed;
  bottom: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10000;
  font-family: inherit;
  isolation: isolate;
  width: min(380px, calc(100vw - 2rem));
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.chatbot-widget .chatbot-fab,
.chatbot-widget .chatbot-panel {
  pointer-events: auto;
}

.chatbot-fab {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: white;
  color: white;
  cursor: pointer;
  box-shadow:
    0 14px 36px rgba(255, 107, 53, 0.4),
    0 0 0 3px rgba(255, 107, 53, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.9) inset;
  transition: transform 0.22s cubic-bezier(0.34, 1.2, 0.64, 1), box-shadow 0.22s, background 0.22s;
  position: relative;
  z-index: 2;
  overflow: visible;
}

.chatbot-fab-brand {
  position: absolute;
  bottom: -11px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.2rem 0.45rem 0.2rem 0.2rem;
  background: linear-gradient(135deg, var(--orange-deep) 0%, var(--orange) 50%, #ff9f5a 100%);
  border: 2px solid white;
  border-radius: 99px;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
  white-space: nowrap;
  z-index: 4;
  pointer-events: none;
}

.chatbot-fab-brand-247 {
  display: inline-block;
  background: var(--navy);
  color: #4ade80;
  font-size: 0.55rem;
  font-weight: 800;
  padding: 0.1rem 0.3rem;
  border-radius: 99px;
  letter-spacing: 0.03em;
}

.chatbot-fab-brand-friend {
  color: white;
  font-size: 0.62rem;
  font-weight: 800;
  padding-right: 0.1rem;
}

.chatbot-widget.open .chatbot-fab-brand {
  display: none;
}

.chatbot-fab::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.35) 0%, transparent 70%);
  opacity: 0.6;
  z-index: -1;
  animation: chatbot-glow 2.8s ease-in-out infinite;
}

.chatbot-fab:hover {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 18px 44px rgba(255, 107, 53, 0.5),
    0 0 0 1px rgba(255, 255, 255, 0.32) inset;
}

.chatbot-fab:active {
  transform: translateY(-1px) scale(0.98);
}

.chatbot-widget.open .chatbot-fab {
  z-index: 3;
  background: linear-gradient(145deg, var(--navy) 0%, #1e293b 100%);
  box-shadow: 0 10px 28px rgba(15, 23, 41, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.12) inset;
}

.chatbot-widget.open .chatbot-fab::before {
  opacity: 0;
  animation: none;
}

.chatbot-widget.open .chatbot-fab-hint,
.chatbot-widget.open .chatbot-fab-face-wrap {
  display: none;
}

/* Speech bubble nudge above friend */
.chatbot-fab-hint {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  animation: chatbot-hint-float 3s ease-in-out infinite;
}

.chatbot-fab-hint-text {
  display: block;
  white-space: nowrap;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--navy);
  background: white;
  padding: 0.45rem 0.75rem;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(15, 23, 41, 0.12), 0 0 0 1px rgba(255, 107, 53, 0.2);
}

.chatbot-fab-hint.is-dismissed {
  display: none;
}

.chatbot-fab-hint::after {
  content: '';
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  border: 6px solid transparent;
  border-top-color: white;
  filter: drop-shadow(0 2px 2px rgba(15, 23, 41, 0.06));
}

@keyframes chatbot-hint-float {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-4px); }
}

.chatbot-fab-face-wrap {
  position: relative;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-fab-face {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  animation: chatbot-friend-bounce 2.2s ease-in-out infinite;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.35);
}

.chatbot-fab-friend {
  width: 100%;
  height: 100%;
  display: block;
}

.chatbot-fab-chat-badge {
  position: absolute;
  bottom: -2px;
  right: -4px;
  width: 22px;
  height: 22px;
  background: linear-gradient(145deg, var(--orange), #ff9f5a);
  border-radius: 50%;
  border: 2px solid white;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(255, 107, 53, 0.45);
  animation: chatbot-badge-pulse 2s ease-in-out infinite;
}

.chatbot-fab-chat-badge svg {
  width: 14px;
  height: 14px;
  display: block;
}

@keyframes chatbot-friend-bounce {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes chatbot-badge-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.chatbot-fab:hover .chatbot-fab-face {
  animation: chatbot-friend-wiggle 0.5s ease-in-out;
}

@keyframes chatbot-friend-wiggle {
  0%, 100% { transform: rotate(0); }
  25% { transform: rotate(-6deg); }
  75% { transform: rotate(6deg); }
}

.chatbot-fab-icon {
  width: 28px;
  height: 28px;
  display: none;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatbot-fab-icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chatbot-widget.open .chatbot-icon-close {
  display: flex;
}

@keyframes chatbot-glow {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.08); opacity: 0.85; }
}

.chatbot-fab-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.chatbot-fab-status {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 12px;
  height: 12px;
  background: #4ade80;
  border: 2.5px solid white;
  border-radius: 50%;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.15);
  animation: chatbot-blink 1.5s ease-in-out infinite;
}

.chatbot-widget.open .chatbot-fab-status {
  display: none;
}

.chatbot-panel {
  position: absolute;
  bottom: calc(100% + 14px);
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  width: 100%;
  max-height: min(min(560px, 72vh), calc(100vh - 8rem));
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  border-radius: 24px;
  box-shadow: var(--shadow-orange), 0 0 0 1px rgba(255, 107, 53, 0.12);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(255, 107, 53, 0.15);
  animation: chatbot-slide-up 0.28s cubic-bezier(0.34, 1.2, 0.64, 1);
  z-index: 1;
}

/* hidden attribute must win over display:flex above */
.chatbot-panel[hidden] {
  display: none !important;
}

.chatbot-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 41, 0.35);
  z-index: 0;
  border: none;
  padding: 0;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.chatbot-backdrop[hidden] {
  display: none !important;
}

body.chatbot-open {
  overflow: hidden;
}

@keyframes chatbot-slide-up {
  from { opacity: 0; transform: translateY(12px) scale(0.96); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.chatbot-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1rem;
  background: linear-gradient(135deg, var(--orange-deep) 0%, var(--orange) 45%, #ff9f5a 100%);
  color: white;
}

.chatbot-header-user {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.chatbot-avatar {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
}

.chatbot-avatar svg {
  width: 100%;
  height: 100%;
  display: block;
}

.chatbot-header h2 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
}

.chatbot-online {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  opacity: 0.95;
}

.chatbot-dot {
  width: 7px;
  height: 7px;
  background: #4ade80;
  border-radius: 50%;
  animation: chatbot-blink 1.5s ease-in-out infinite;
}

@keyframes chatbot-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

.chatbot-close {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(255, 255, 255, 0.25);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-tap-highlight-color: transparent;
}

.chatbot-close:hover {
  background: rgba(255, 255, 255, 0.35);
}

.chatbot-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  min-height: 200px;
  max-height: 280px;
  background: #f8fafc;
}

.chatbot-msg {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
  align-items: flex-end;
}

.chatbot-msg.user {
  flex-direction: row-reverse;
}

.chatbot-msg-avatar {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chatbot-bubble {
  max-width: 85%;
  padding: 0.6rem 0.85rem;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.45;
}

.chatbot-msg.bot .chatbot-bubble {
  background: white;
  color: var(--navy);
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.chatbot-msg.user .chatbot-bubble {
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  color: white;
  border-bottom-right-radius: 4px;
  box-shadow: 0 4px 12px var(--orange-glow);
}

.chatbot-typing .typing-dots {
  font-style: italic;
  color: #94a3b8;
  font-size: 0.78rem;
}

.chatbot-quick {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  padding: 0.5rem 0.75rem;
  border-top: 1px solid #e2e8f0;
  background: white;
}

.chatbot-quick button {
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 99px;
  padding: 0.35rem 0.65rem;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.chatbot-quick button:hover {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange);
}

.chatbot-form {
  display: flex;
  gap: 0.5rem;
  padding: 0.65rem 0.75rem;
  background: white;
  border-top: 1px solid #e2e8f0;
}

.chatbot-form input {
  flex: 1;
  border: 1px solid #e2e8f0;
  border-radius: 99px;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  outline: none;
}

.chatbot-form input:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

.chatbot-form button {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--orange), #ff9f5a);
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chatbot-note {
  margin: 0;
  padding: 0.35rem 0.75rem 0.5rem;
  font-size: 0.6rem;
  color: #94a3b8;
  text-align: center;
  background: white;
}

@media (max-width: 768px) {
  .chatbot-widget {
    width: calc(100vw - 1.5rem);
    bottom: max(1rem, env(safe-area-inset-bottom, 0px));
  }

  .chatbot-fab {
    width: 60px;
    height: 60px;
  }

  .chatbot-fab-brand-247 {
    font-size: 0.5rem;
  }

  .chatbot-fab-brand-friend {
    font-size: 0.56rem;
  }

  .chatbot-fab-face-wrap {
    width: 48px;
    height: 48px;
  }

  .chatbot-fab-face {
    width: 44px;
    height: 44px;
  }

  .chatbot-fab-hint-text {
    font-size: 0.68rem;
    max-width: 160px;
    white-space: normal;
    text-align: center;
  }

  .chatbot-panel {
    max-height: min(68vh, calc(100vh - 7rem));
  }
}

@media (min-width: 769px) {
  .chatbot-widget {
    width: min(400px, calc(100vw - 2rem));
  }
}

/* Testimonials */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.testimonial {
  background: white;
  margin: 0;
  padding: 1.5rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.testimonial p { margin: 0 0 1rem; font-style: italic; color: var(--navy-soft); line-height: 1.6; }
.testimonial footer { font-weight: 700; font-size: 0.9rem; color: var(--navy); }

/* FAQ */
.faq-list { max-width: 720px; margin: 0 auto; }

.faq-item {
  background: white;
  border-radius: var(--radius);
  margin-bottom: 0.75rem;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.faq-item summary {
  padding: 1.1rem 1.25rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item p {
  margin: 0;
  padding: 0 1.25rem 1.1rem;
  color: var(--navy-soft);
  line-height: 1.6;
  font-size: 0.92rem;
}

/* CTA */
.cta-banner {
  text-align: center;
  background: linear-gradient(135deg, var(--navy), #1e3a5f);
  color: white;
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  margin-bottom: 1.5rem;
}

.cta-banner h2 { margin: 0 0 0.75rem; font-size: clamp(1.5rem, 3vw, 2rem); }
.cta-banner p { margin: 0 0 1.5rem; opacity: 0.9; max-width: 520px; margin-left: auto; margin-right: auto; }

.community-banner {
  text-align: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  font-weight: 600;
  color: var(--navy-soft);
}

/* Footer */
.site-footer {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.8);
  padding: 3rem 0 max(5.5rem, 1.5rem);
  margin-top: 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.8fr 1.2fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

/* Social networks */
.social-section {
  text-align: center;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.social-links .social-title {
  font-weight: 800;
  font-size: 1rem;
  margin: 0 0 0.35rem;
  color: var(--navy);
}

.social-links .social-desc {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: var(--navy-soft);
}

.social-icons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  justify-content: center;
}

.social-footer-grid .social-icons,
.social-section-main .social-icons {
  gap: 0.75rem;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  text-decoration: none;
  color: white;
  padding: 0.55rem 0.85rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 600;
  transition: transform 0.15s, box-shadow 0.2s;
}

.social-icon svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.social-icon:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

.social-footer .social-icon,
.social-footer-grid .social-icon {
  padding: 0.5rem;
  border-radius: 10px;
}

.social-footer-grid .social-label,
.social-footer .social-label {
  display: none;
}

.social-section-main .social-icon {
  padding: 0.65rem 1rem;
}

.social-facebook { background: #1877f2; }
.social-instagram { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-line { background: #06c755; }
.social-youtube { background: #ff0000; }
.social-tiktok { background: #000000; }
.social-x { background: #000000; }
.social-linkedin { background: #0a66c2; }
.social-whatsapp { background: #25d366; }
.social-telegram { background: #26a5e4; }
.social-threads { background: #000000; }

.footer-social-col .footer-social-hint {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  margin: 0 0 0.75rem;
  line-height: 1.5;
}

.footer-social-col .social-icons {
  justify-content: flex-start;
}

.footer-social-col .social-icon {
  padding: 0.45rem;
  border-radius: 8px;
}

.footer-social-col .social-label {
  display: none;
}

.footer-grid h4 {
  color: white;
  margin: 0 0 1rem;
  font-size: 0.95rem;
}

.footer-grid a {
  display: block;
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
}

.footer-grid a:hover { color: var(--orange); }
.footer-brand p { font-size: 0.9rem; margin-top: 0.75rem; max-width: 280px; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
}

/* App features page */
.app-page-hero {
  text-align: center;
  padding: 2rem 0 1.5rem;
}

.app-page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 800;
  max-width: 720px;
  margin: 0 auto 1rem;
  line-height: 1.15;
}

.app-page-hero p {
  color: var(--navy-soft);
  max-width: 600px;
  margin: 0 auto 1.5rem;
  line-height: 1.65;
}

/* App Store & Google Play badges */
.app-store-section {
  margin-top: 1.5rem;
  text-align: center;
}

.store-coming-soon {
  display: inline-block;
  margin: 0 0 0.85rem;
  padding: 0.35rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--orange-deep);
  background: var(--orange-light);
  border-radius: 999px;
  border: 1px solid rgba(255, 107, 53, 0.25);
}

.app-store-section--on-dark .store-coming-soon {
  color: white;
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
}

.store-badges-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.75rem 1rem;
}

.store-badge-link {
  display: block;
  line-height: 0;
  border-radius: 8px;
  transition: transform 0.2s, opacity 0.2s;
}

.store-badge-link img {
  display: block;
  width: min(150px, 42vw);
  height: auto;
  border-radius: 6px;
}

.store-badge-disabled {
  cursor: not-allowed;
  opacity: 0.88;
  position: relative;
  filter: grayscale(0.15);
}

.store-badge-disabled:hover {
  transform: none;
}

.cta-banner .store-notify-btn {
  margin-top: 1.25rem;
}

.cta-banner .app-store-section {
  margin-top: 0.5rem;
}

.app-highlights {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 3rem;
}

.highlight-pill {
  background: white;
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 41, 0.06);
}

.highlight-pill strong {
  display: block;
  font-size: 1.35rem;
  color: var(--orange);
  margin-bottom: 0.25rem;
}

.highlight-pill span {
  font-size: 0.82rem;
  color: var(--navy-soft);
}

.app-features-list {
  margin-bottom: 3rem;
}

.app-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
  background: white;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 41, 0.05);
}

.app-feature-row.reverse {
  direction: rtl;
}

.app-feature-row.reverse > * {
  direction: ltr;
}

.app-feature-copy .feature-tag {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.03em;
}

.feature-icon-lg {
  margin-bottom: 0.75rem;
}

/* Branded feature icons */
.wp-feat-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 0;
}

.wp-feat-icon-svg {
  display: block;
  filter: drop-shadow(0 4px 12px rgba(255, 107, 53, 0.25));
}

.wp-feat-icon--friend .wp-feat-icon-svg {
  filter: drop-shadow(0 4px 14px rgba(255, 107, 53, 0.35));
}

.wp-feat-icon--has-badge {
  position: relative;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
}

.wp-feat-icon-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
  background: linear-gradient(135deg, var(--orange-deep) 0%, var(--orange) 50%, #ff9f5a 100%);
  border: 2px solid white;
  box-shadow: 0 4px 12px rgba(255, 107, 53, 0.35);
  border-radius: 99px;
  z-index: 1;
  padding: 0.28rem 0.65rem 0.28rem 0.3rem;
}

.wp-feat-icon-badge-247 {
  display: inline-block;
  background: var(--navy);
  color: #4ade80;
  font-weight: 800;
  font-size: 0.72em;
  padding: 0.12rem 0.4rem;
  border-radius: 99px;
  letter-spacing: 0.04em;
}

.wp-feat-icon-badge-friend {
  color: white;
  font-weight: 800;
  font-size: 0.85em;
  padding-right: 0.15rem;
}

.wp-feat-icon--lg .wp-feat-icon-badge {
  font-size: 0.82rem;
  padding: 0.35rem 0.75rem 0.35rem 0.35rem;
  order: -1;
}

.wp-feat-icon--lg .wp-feat-icon-badge-247 {
  font-size: 0.75em;
  padding: 0.15rem 0.45rem;
}

.wp-feat-icon--md .wp-feat-icon-badge,
.wp-feat-icon--sm .wp-feat-icon-badge {
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.62rem;
  padding: 0.18rem 0.45rem 0.18rem 0.22rem;
  border-width: 1.5px;
  gap: 0.25rem;
}

.wp-feat-icon--md.wp-feat-icon--has-badge,
.wp-feat-icon--sm.wp-feat-icon--has-badge {
  padding-top: 0.4rem;
}

.wp-feat-icon--xs .wp-feat-icon-badge {
  position: absolute;
  top: -9px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  font-size: 0.5rem;
  padding: 0.12rem 0.32rem 0.12rem 0.15rem;
  border-width: 1.5px;
  gap: 0.2rem;
}

.wp-feat-icon--xs .wp-feat-icon-badge-247 {
  padding: 0.08rem 0.28rem;
}

.wp-feat-icon--xs .wp-feat-icon-badge-friend {
  font-size: 0.8em;
}

.wp-feat-icon--xs.wp-feat-icon--has-badge {
  overflow: visible;
}

.app-feature-row#friend-ai .feature-tag {
  background: linear-gradient(135deg, #fff5f0, var(--orange-light));
}

.app-feature-row#friend-ai {
  border-color: rgba(255, 107, 53, 0.12);
  background: linear-gradient(180deg, #fffdfb 0%, white 35%);
}

.app-feature-copy h3 {
  font-size: 1.5rem;
  margin: 0 0 0.75rem;
  font-weight: 800;
}

.app-feature-copy > p {
  color: var(--navy-soft);
  line-height: 1.65;
  margin: 0 0 1rem;
}

.feature-bullets {
  margin: 0;
  padding-left: 1.2rem;
  color: var(--navy-soft);
  line-height: 1.9;
  font-size: 0.92rem;
}

.feature-bullets li::marker {
  color: var(--orange);
}

.app-phone-mini {
  background: linear-gradient(145deg, #1a2332, #0f1729);
  border-radius: 32px;
  padding: 12px;
  max-width: 280px;
  margin: 0 auto;
  box-shadow: var(--shadow);
}

.app-phone-mini-screen {
  background: #f8fafc;
  border-radius: 24px;
  padding: 1rem;
  min-height: 300px;
}

.mini-status {
  font-size: 0.65rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.mini-app-bar {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--orange);
  margin-bottom: 0.75rem;
  text-align: center;
}

.mini-screen-title {
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
  font-weight: 800;
  color: var(--navy);
}

.mini-row {
  background: white;
  border-radius: 10px;
  padding: 0.65rem 0.75rem;
  margin-bottom: 0.5rem;
  font-size: 0.78rem;
  color: var(--navy);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
  border: 1px solid #e2e8f0;
}

.screen-purpose .mini-row:nth-child(4) {
  border-color: var(--orange);
  background: var(--orange-light);
}

.screen-eligibility .mini-row:first-of-type {
  color: #16a34a;
  font-weight: 700;
}

.screen-risk .mini-row:first-of-type {
  color: #16a34a;
  font-weight: 700;
  background: #ecfdf5;
  border-color: #86efac;
}

.screen-risk .mini-row:last-child {
  background: var(--orange-light);
  border-color: rgba(255, 107, 53, 0.35);
  color: var(--orange-deep);
  font-weight: 600;
}

.screen-notify .mini-row {
  border-left: 3px solid var(--orange);
}

.screen-easypay .mini-row:last-child {
  background: #dcfce7;
  border-color: #86efac;
  color: #166534;
  font-weight: 700;
}

.app-friend-types,
.app-ploan-types {
  margin-bottom: 3rem;
}

.friend-type-grid,
.ploan-type-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.friend-type-card,
.ploan-type-card {
  background: white;
  border-radius: var(--radius);
  padding: 1.75rem;
  text-decoration: none;
  color: inherit;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s;
  border: 1px solid rgba(15, 23, 41, 0.06);
}

.friend-type-card:hover,
.ploan-type-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.friend-type-card.featured,
.ploan-type-card.featured {
  border: 2px solid var(--orange);
}

.friend-type-card span,
.ploan-type-card span {
  font-size: 2.5rem;
  display: block;
  margin-bottom: 0.75rem;
}

.friend-type-card h3,
.ploan-type-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.friend-type-card p,
.ploan-type-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--navy-soft);
}

/* Fintech app showcase (3-screen) */
.fintech-showcase {
  padding: 3rem 1.5rem 4rem;
  max-width: 1200px;
  margin: 0 auto;
}

.fintech-showcase.section-alt,
.section-block.fintech-showcase {
  background: linear-gradient(180deg, #fff8f3 0%, #ffe8d6 45%, #ffffff 100%);
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
}

.fintech-phones-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: end;
  margin: 2rem 0 1.5rem;
}

.ft-phone-wrap {
  margin: 0;
  text-align: center;
}

.ft-phone-wrap figcaption {
  margin-top: 1rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--navy-soft);
}

.ft-phone-wrap.ft-phone-featured {
  transform: translateY(-12px);
}

.ft-phone-wrap.ft-phone-featured .ft-phone {
  box-shadow: 0 32px 64px var(--orange-glow), 0 0 0 1px rgba(255, 255, 255, 0.15) inset;
}

.ft-phone {
  background: linear-gradient(145deg, #1e293b, #0f172a);
  border-radius: 36px;
  padding: 10px;
  box-shadow: 0 24px 48px rgba(15, 23, 41, 0.18);
  margin: 0 auto;
  max-width: 280px;
}

.ft-screen {
  background: #f8fafc;
  border-radius: 28px;
  padding: 0.65rem 0.75rem 2.5rem;
  min-height: 520px;
  position: relative;
  overflow: hidden;
  text-align: left;
}

.ft-status {
  display: flex;
  justify-content: space-between;
  font-size: 0.6rem;
  font-weight: 600;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.ft-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.ft-user {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ft-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), #ff9f5a);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ft-welcome {
  display: block;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--navy);
}

.ft-member {
  display: block;
  font-size: 0.58rem;
  color: #94a3b8;
}

.ft-bell { font-size: 0.85rem; }

.ft-balance-card {
  background: linear-gradient(135deg, var(--orange-deep), var(--orange) 50%, #ff9f5a);
  border-radius: 16px;
  padding: 0.85rem 1rem;
  color: white;
  margin-bottom: 0.65rem;
  box-shadow: 0 8px 24px var(--orange-glow);
}

.ft-balance-label {
  font-size: 0.58rem;
  opacity: 0.9;
}

.ft-balance-amt {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  margin: 0.15rem 0;
  letter-spacing: -0.02em;
}

.ft-balance-trend {
  font-size: 0.58rem;
  display: block;
  margin-bottom: 0.55rem;
}

.ft-balance-trend.up { color: #bbf7d0; }

.ft-balance-actions {
  display: flex;
  gap: 0.35rem;
}

.ft-balance-actions button {
  flex: 1;
  border: none;
  border-radius: 8px;
  padding: 0.4rem;
  font-size: 0.58rem;
  font-weight: 700;
  cursor: default;
}

.ft-balance-actions button:first-child {
  background: white;
  color: var(--orange-deep);
}

.ft-btn-ghost {
  background: rgba(255, 255, 255, 0.2) !important;
  color: white !important;
}

.ft-section-label {
  font-size: 0.58rem;
  font-weight: 700;
  color: #64748b;
  margin: 0.5rem 0 0.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.ft-insight-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.ft-insight {
  display: flex;
  gap: 0.35rem;
  padding: 0.45rem;
  border-radius: 10px;
  background: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.ft-insight-icon {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  flex-shrink: 0;
}

.ft-insight-green .ft-insight-icon { background: #dcfce7; color: #16a34a; }
.ft-insight-purple .ft-insight-icon { background: #ede9fe; }

.ft-insight strong {
  display: block;
  font-size: 0.55rem;
  color: var(--navy);
  line-height: 1.2;
}

.ft-insight p {
  margin: 0.1rem 0 0;
  font-size: 0.48rem;
  color: #64748b;
  line-height: 1.3;
}

.ft-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.ft-quick-item {
  text-align: center;
  background: white;
  border-radius: 10px;
  padding: 0.4rem 0.2rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ft-quick-icon {
  display: flex;
  justify-content: center;
  margin-bottom: 0.2rem;
}

.ft-quick-icon .wp-feat-icon-svg {
  filter: drop-shadow(0 2px 6px rgba(255, 107, 53, 0.3));
}

.ft-quick-item span:last-child {
  font-size: 0.48rem;
  font-weight: 600;
  color: var(--navy);
}

.ft-tx {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid #f1f5f9;
}

.ft-tx-sm { padding: 0.3rem 0; }

.ft-tx-logo {
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
  flex-shrink: 0;
}

.ft-tx-body { flex: 1; min-width: 0; }

.ft-tx-name {
  display: block;
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--navy);
}

.ft-tx-time {
  display: block;
  font-size: 0.5rem;
  color: #94a3b8;
}

.ft-tx-amt {
  font-size: 0.62rem;
  font-weight: 700;
  flex-shrink: 0;
}

.ft-tx-amt.neg { color: #ef4444; }
.ft-tx-amt.pos { color: #16a34a; }

.ft-tabbar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-around;
  padding: 0.5rem;
  background: white;
  border-top: 1px solid #e2e8f0;
  font-size: 0.85rem;
}

.ft-tabbar .active { opacity: 1; filter: none; }
.ft-tabbar span:not(.active) { opacity: 0.4; }

/* Analytics screen */
.ft-analytics-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.ft-analytics-head h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--navy);
}

.ft-export {
  width: 28px;
  height: 28px;
  background: white;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

.ft-segment {
  display: flex;
  background: #e2e8f0;
  border-radius: 8px;
  padding: 2px;
  margin-bottom: 0.65rem;
}

.ft-segment span {
  flex: 1;
  text-align: center;
  font-size: 0.52rem;
  font-weight: 600;
  padding: 0.3rem;
  border-radius: 6px;
  color: #64748b;
}

.ft-segment .active {
  background: white;
  color: var(--navy);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.ft-analytics-summary { margin-bottom: 0.5rem; }

.ft-analytics-label {
  font-size: 0.55rem;
  color: #64748b;
}

.ft-analytics-big {
  display: block;
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--navy);
}

.ft-analytics-trend {
  font-size: 0.52rem;
  font-weight: 600;
}

.ft-analytics-trend.down { color: #16a34a; }

.ft-stat-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.35rem;
  margin-bottom: 0.55rem;
}

.ft-stat-box {
  background: white;
  border-radius: 10px;
  padding: 0.45rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.ft-stat-box span {
  display: block;
  font-size: 0.5rem;
  color: #64748b;
}

.ft-stat-box strong {
  font-size: 0.75rem;
  color: var(--navy);
}

.ft-stat-box.green strong { color: #16a34a; }

.ft-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 72px;
  gap: 4px;
  margin-bottom: 0.25rem;
  padding: 0 0.15rem;
}

.ft-bar-chart span {
  flex: 1;
  height: var(--h, 50%);
  background: linear-gradient(180deg, var(--orange), #ffb88c);
  border-radius: 4px 4px 0 0;
  min-height: 8px;
}

.ft-chart-days {
  display: flex;
  justify-content: space-between;
  font-size: 0.45rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.ft-breakdown-row {
  display: grid;
  grid-template-columns: 72px 1fr 28px;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 0.35rem;
}

.ft-bd-label {
  font-size: 0.52rem;
  font-weight: 600;
  color: var(--navy);
}

.ft-bd-bar {
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.ft-bd-bar span {
  display: block;
  height: 100%;
  border-radius: 3px;
}

.ft-bd-pct {
  font-size: 0.52rem;
  font-weight: 700;
  color: #64748b;
  text-align: right;
}

/* Wallet screen */
.ft-wallet-card {
  background: white;
  border-radius: 14px;
  padding: 0.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  margin-bottom: 0.55rem;
  border: 1px solid #e2e8f0;
}

.ft-wallet-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.58rem;
  color: #64748b;
  margin-bottom: 0.25rem;
}

.ft-pill-active {
  background: #dcfce7;
  color: #16a34a;
  font-size: 0.48rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  border-radius: 99px;
}

.ft-wallet-balance {
  display: block;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
}

.ft-wallet-sub {
  font-size: 0.52rem;
  color: #94a3b8;
}

.ft-limit-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.25rem 0.5rem;
  align-items: center;
  margin-top: 0.5rem;
  font-size: 0.5rem;
  color: #64748b;
}

.ft-limit-bar {
  grid-column: 1 / -1;
  height: 5px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.ft-limit-bar span {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, var(--orange-deep), #ff9f5a);
  border-radius: 3px;
}

.ft-wallet-actions-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.35rem;
  margin-bottom: 0.5rem;
}

.ft-wa-item {
  text-align: center;
}

.ft-wa-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin: 0 auto 0.2rem;
  background: white;
  border-radius: 50%;
  font-size: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.ft-wa-item span:last-child {
  font-size: 0.48rem;
  font-weight: 600;
  color: var(--navy);
}

.ft-fab {
  position: absolute;
  bottom: 3rem;
  right: 0.75rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, var(--orange-deep), var(--orange));
  color: white;
  font-size: 1.5rem;
  font-weight: 300;
  line-height: 1;
  box-shadow: 0 8px 20px var(--orange-glow);
  cursor: default;
}

.ft-wallet-actions {
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: #94a3b8;
}

.fintech-feature-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin: 1.5rem 0;
}

.fintech-pill-icon {
  display: inline-flex;
  line-height: 0;
}

.fintech-pill-icon .wp-feat-icon-svg {
  filter: none;
}

.fintech-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.85rem;
  background: white;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.fintech-pill:hover {
  border-color: var(--orange);
  box-shadow: var(--shadow-sm);
}

.fintech-showcase-cta {
  text-align: center;
  margin: 0;
}

.fintech-showcase-compact {
  padding: 1.5rem 0;
}

.fintech-showcase-compact .fintech-phones-row {
  margin-top: 0;
}

/* Homepage app preview */
.app-preview-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.app-preview-card {
  position: relative;
  background: white;
  border-radius: var(--radius);
  padding: 1.5rem;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(15, 23, 41, 0.06);
  transition: transform 0.2s, border-color 0.2s;
}

.app-preview-card--featured {
  border: 2px solid rgba(255, 107, 53, 0.35);
  background: linear-gradient(180deg, #fff 0%, var(--orange-light) 100%);
  box-shadow: var(--shadow);
}

.app-preview-card:hover {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow: var(--shadow);
}

.app-preview-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.75rem;
  background: transparent;
}

.app-preview-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1rem;
}

.app-preview-card p {
  margin: 0 0 0.75rem;
  font-size: 0.85rem;
  color: var(--navy-soft);
  line-height: 1.5;
}

.app-preview-cta {
  text-align: center;
  margin: 0;
}

/* Blog */
.blog-hero {
  text-align: center;
  padding: 2rem 0 1.25rem;
  max-width: 720px;
  margin: 0 auto;
}

.blog-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0.5rem 0 0.75rem;
  color: var(--navy);
}

.blog-hero p {
  color: var(--navy-soft);
  margin: 0;
  line-height: 1.6;
}

.blog-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding: 0 0.5rem;
}

.blog-cat-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.9rem;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--navy);
  background: white;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}

.blog-cat-pill:hover,
.blog-cat-pill.active {
  border-color: var(--orange);
  background: var(--orange-light);
  color: var(--orange-deep);
}

.blog-section-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 1rem;
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.blog-count {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
}

.blog-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.blog-grid-compact {
  grid-template-columns: repeat(3, 1fr);
}

/* Executive one-page presentation */
.exec-plan-hero {
  text-align: center;
  padding: 2.2rem 0 1.2rem;
}

.exec-plan-hero h1 {
  margin: 0.5rem auto 0.9rem;
  max-width: 860px;
  font-size: clamp(1.6rem, 3.8vw, 2.45rem);
  line-height: 1.25;
}

.exec-plan-priority {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.exec-plan-priority span {
  background: white;
  border: 1px solid rgba(255, 107, 53, 0.25);
  color: var(--orange-deep);
  border-radius: 999px;
  padding: 0.45rem 0.8rem;
  font-size: 0.8rem;
  font-weight: 700;
}

.exec-plan-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

.exec-card {
  background: white;
  border: 1px solid rgba(15, 23, 41, 0.08);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  padding: 1.2rem 1.25rem;
}

.exec-card h2 {
  margin: 0 0 0.6rem;
  font-size: 1.05rem;
}

.exec-card h3 {
  margin: 0 0 0.45rem;
  font-size: 0.92rem;
}

.exec-card ul {
  margin: 0;
  padding-left: 1.15rem;
  color: var(--navy-soft);
  line-height: 1.7;
  font-size: 0.9rem;
}

.exec-card-wide {
  grid-column: 1 / -1;
}

.exec-workstreams {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}

.exec-workstreams section {
  background: #f8fafc;
  border-radius: 12px;
  padding: 0.85rem;
}

.exec-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.exec-timeline div {
  background: linear-gradient(180deg, #fffaf7 0%, #fff 75%);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: 12px;
  padding: 0.75rem;
}

.exec-timeline strong {
  display: block;
  font-size: 0.8rem;
  color: var(--orange-deep);
  margin-bottom: 0.2rem;
}

.exec-timeline span {
  font-size: 0.82rem;
  color: var(--navy);
}

.exec-gantt {
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
}

.exec-gantt-head {
  display: grid;
  grid-template-columns: 240px 1fr;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}

.exec-gantt-head > span {
  padding: 0.7rem 0.85rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy-soft);
}

.exec-gantt-weeks {
  display: grid;
  grid-template-columns: repeat(38, 1fr);
}

.exec-gantt-weeks span {
  padding: 0.6rem 0;
  text-align: center;
  font-size: 0.58rem;
  color: #64748b;
  border-left: 1px solid #e2e8f0;
}

.exec-gantt-row {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 48px;
  border-bottom: 1px solid #f1f5f9;
}

.exec-gantt-row:last-child {
  border-bottom: none;
}

.exec-gantt-row strong {
  padding: 0.75rem 0.85rem;
  font-size: 0.8rem;
  color: var(--navy);
  border-right: 1px solid #e2e8f0;
}

.exec-gantt-lane {
  position: relative;
  background-image: linear-gradient(to right, rgba(226, 232, 240, 0.8) 1px, transparent 1px);
  background-size: calc(100% / 38) 100%;
}

.exec-gantt-bar {
  position: absolute;
  top: 8px;
  height: 28px;
  border-radius: 999px;
  color: white;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(15, 23, 41, 0.14);
}

.exec-gantt-bar.track-design { background: linear-gradient(135deg, #fb923c, #f97316); }
.exec-gantt-bar.track-build { background: linear-gradient(135deg, #0284c7, #0369a1); }
.exec-gantt-bar.track-risk { background: linear-gradient(135deg, #7c3aed, #6d28d9); }
.exec-gantt-bar.track-uat { background: linear-gradient(135deg, #14b8a6, #0f766e); }
.exec-gantt-bar.track-launch { background: linear-gradient(135deg, #16a34a, #15803d); }

.exec-plan-cta {
  margin-top: 1.2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1e293b 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 1.7rem 1.1rem;
}

.exec-plan-cta h2 {
  margin: 0 0 0.45rem;
  font-size: clamp(1.25rem, 2.5vw, 1.7rem);
}

.exec-plan-cta p {
  margin: 0 auto 1rem;
  max-width: 780px;
  opacity: 0.92;
  font-size: 0.92rem;
}

@media (max-width: 900px) {
  .exec-plan-grid {
    grid-template-columns: 1fr;
  }

  .exec-workstreams {
    grid-template-columns: 1fr;
  }

  .exec-timeline {
    grid-template-columns: 1fr 1fr;
  }

  .exec-gantt-head,
  .exec-gantt-row {
    grid-template-columns: 1fr;
  }

  .exec-gantt-head > span,
  .exec-gantt-row strong {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }

  .exec-gantt-lane {
    min-height: 46px;
  }
}

@media print {
  body {
    background: white !important;
  }

  .site-header,
  .chatbot-widget,
  .exec-plan-cta,
  .site-footer {
    display: none !important;
  }

  main.container {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .exec-card,
  .exec-gantt {
    break-inside: avoid;
    box-shadow: none !important;
  }

  .exec-plan-grid {
    gap: 0.6rem;
  }
}

.blog-card {
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid #e2e8f0;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: rgba(255, 107, 53, 0.25);
}

.blog-card-featured {
  border-color: rgba(255, 107, 53, 0.35);
  background: linear-gradient(180deg, #fffaf7 0%, white 40%);
}

.blog-card-link {
  display: block;
  padding: 1.15rem 1.25rem 1rem;
  text-decoration: none;
  color: inherit;
  height: 100%;
}

.blog-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.65rem;
}

.blog-card-cat {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--orange);
  text-transform: none;
}

.blog-card-star {
  color: #f59e0b;
  font-size: 0.85rem;
}

.blog-card h3 {
  font-size: 1rem;
  font-weight: 800;
  color: var(--navy);
  margin: 0 0 0.5rem;
  line-height: 1.35;
}

.blog-card p {
  font-size: 0.82rem;
  color: var(--navy-soft);
  margin: 0 0 0.85rem;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-card-meta {
  display: flex;
  gap: 0.75rem;
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 600;
}

.blog-empty {
  text-align: center;
  color: var(--navy-soft);
  padding: 2rem;
}

.blog-cta-banner {
  text-align: center;
  background: linear-gradient(135deg, var(--navy) 0%, #1e293b 100%);
  color: white;
  border-radius: var(--radius-lg);
  padding: 2rem 1.5rem;
  margin: 2rem 0 3rem;
}

.blog-cta-banner h2 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.blog-cta-banner p {
  margin: 0 0 1.25rem;
  opacity: 0.9;
  font-size: 0.9rem;
}

.blog-article {
  max-width: 720px;
  margin: 0 auto 2rem;
}

.blog-breadcrumb {
  font-size: 0.8rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.blog-breadcrumb a {
  color: var(--orange);
  text-decoration: none;
  font-weight: 600;
}

.blog-breadcrumb a:hover {
  text-decoration: underline;
}

.blog-article-header {
  margin-bottom: 1.5rem;
}

.blog-article-header h1 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 800;
  color: var(--navy);
  margin: 0.5rem 0 0.75rem;
  line-height: 1.3;
}

.blog-article-lead {
  font-size: 1.05rem;
  color: var(--navy-soft);
  line-height: 1.6;
  margin: 0 0 0.75rem;
}

.blog-article-meta {
  margin-top: 0.25rem;
}

.blog-article-body p {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--navy);
  margin: 0 0 1rem;
}

.blog-tips-box {
  background: var(--orange-light);
  border: 1px solid rgba(255, 107, 53, 0.2);
  border-radius: var(--radius);
  padding: 1.15rem 1.25rem;
  margin: 1.5rem 0 0;
}

.blog-tips-box h2 {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--orange-deep);
  margin: 0 0 0.65rem;
}

.blog-tips-box ul {
  margin: 0;
  padding-left: 1.2rem;
}

.blog-tips-box li {
  font-size: 0.88rem;
  color: var(--navy);
  margin-bottom: 0.35rem;
  line-height: 1.5;
}

.blog-article-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
}

.blog-related h2 {
  font-size: 1.1rem;
  font-weight: 800;
  margin: 0 0 1rem;
}

/* Inner pages */
.page-hero { text-align: center; padding: 2.5rem 0 1.5rem; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 800; margin: 0 0 0.75rem; }
.page-hero p { color: var(--navy-soft); max-width: 560px; margin: 0 auto; }

.content-panel {
  background: white;
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  max-width: 720px;
  margin: 0 auto 2rem;
}

/* Responsive */
@media (max-width: 1024px) {
  .loan-grid, .features-grid, .steps-grid, .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calc-wrap, .ai-layout { grid-template-columns: 1fr; }

  .calc-or::before { display: none; }
  .chart-card { left: 2%; }
  .deposit-card { right: 2%; }
  .community-card { left: 2%; }
  .ai-card { right: 2%; }
}

@media (max-width: 768px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto;
  }

  .brand { grid-column: 1; }
  .header-actions { grid-column: 2; }
  .nav-toggle { display: flex; align-items: center; justify-content: center; }

  .nav {
    display: none;
    grid-column: 1 / -1;
    flex-direction: column;
    background: white;
    padding: 1rem;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    gap: 0.5rem;
  }

  .nav.open { display: flex; }

  .lang-current { display: none; }
  .float-card.chart-card,
  .float-card.deposit-card,
  .float-card.community-card,
  .float-card.ai-card { display: none; }

  .hero-visual { min-height: auto; padding-bottom: 1rem; }

  .loan-grid, .features-grid, .steps-grid, .testimonial-grid, .footer-grid,
  .app-highlights, .app-preview-grid, .friend-type-grid, .ploan-type-grid, .friend-grid,
  .fintech-phones-row, .blog-featured-grid, .blog-grid, .blog-grid-compact {
    grid-template-columns: 1fr;
  }

  .blog-categories {
    justify-content: flex-start;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 0.5rem;
    -webkit-overflow-scrolling: touch;
  }

  .blog-cat-pill {
    flex-shrink: 0;
  }

  .ft-phone-wrap.ft-phone-featured {
    transform: none;
  }

  .ft-phone {
    max-width: min(300px, 92vw);
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .social-section-main .social-label {
    display: none;
  }

  .social-section-main .social-icon {
    padding: 0.55rem;
    border-radius: 10px;
  }

  .app-feature-row,
  .app-feature-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    padding: 1.5rem;
  }

  .app-feature-visual {
    order: -1;
  }

  .service-detail-grid,
  .service-app-layout,
  .docs-grid {
    grid-template-columns: 1fr;
  }

  .service-app-phone { order: -1; }

  .hero-stats { gap: 1rem; padding: 1rem; }
  .section-alt { width: 100%; margin-left: 0; margin-right: 0; }
}

/* Coming soon landing (index.html) */
.app-preview-card--soon {
  cursor: default;
  text-decoration: none;
  color: inherit;
}

.app-preview-card--soon:hover {
  transform: translateY(-4px);
}

.app-preview-card--soon .link-arrow {
  color: var(--orange);
}

.notify-panel {
  max-width: 32rem;
  margin: 0 auto;
  text-align: center;
}

.notify-panel .coming-soon-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.25rem;
}

.notify-panel .coming-soon-form input[type="email"] {
  flex: 1 1 220px;
  min-width: 0;
  padding: 0.85rem 1rem;
  border: 1px solid rgba(15, 23, 41, 0.12);
  border-radius: 12px;
  font: inherit;
}

.notify-panel .coming-soon-form-msg {
  margin: 1rem 0 0;
  color: var(--orange-deep);
  font-weight: 600;
}

.fintech-pill--static {
  cursor: default;
  text-decoration: none;
  color: inherit;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 640px) {
  .notify-panel .coming-soon-form { flex-direction: column; }
  .notify-panel .coming-soon-form .btn-primary { width: 100%; }
}
