/* ───────────── RESET & BASE ───────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --blue:       #37469D;
  --blue-dark:  #2A3580;
  --blue-mid:   #4A5CB5;
  --blue-light: #7B8FD4;
  --blue-pale:  #EEF1FF;
  --accent:     #82AAFF;
  --bg:         #F6F8FF;
  --dark:       #0D1B3E;
  --dark2:      #1A2B5A;
  --text:       #1A1A2E;
  --muted:      #6B7280;
  --white:      #FFFFFF;
  --radius:     16px;
  --shadow:     0 8px 32px rgba(55,70,157,.14);
  --shadow-lg:  0 20px 60px rgba(55,70,157,.22);
  --nav-h:      68px;
  --transition: .35s cubic-bezier(.4,0,.2,1);
}
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--blue-light); border-radius: 3px; }

/* ───────────── NAV ───────────── */
#nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 clamp(1rem, 5vw, 4rem);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(18px) saturate(1.6);
  -webkit-backdrop-filter: blur(18px) saturate(1.6);
  border-bottom: 1px solid rgba(55,70,157,.1);
  transition: background var(--transition), box-shadow var(--transition);
}
#nav.scrolled { box-shadow: 0 2px 20px rgba(55,70,157,.15); }

.nav-logo {
  display: flex; align-items: center; gap: .6rem;
  font-weight: 800; font-size: 1.15rem; color: var(--blue);
}
.nav-links {
  display: flex; align-items: center; gap: .3rem;
  list-style: none;
}
.nav-links a {
  padding: .5rem .9rem; border-radius: 10px;
  font-size: .9rem; font-weight: 500; color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.nav-links a:hover, .nav-links a.active { background: var(--blue-pale); color: var(--blue); }
.nav-cta {
  background: var(--blue) !important; color: var(--white) !important;
  padding: .5rem 1.2rem !important; border-radius: 10px !important;
  font-weight: 600 !important;
  transition: background var(--transition), transform var(--transition) !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  padding: .5rem; border-radius: 8px;
  transition: background var(--transition);
}
.hamburger:hover { background: var(--blue-pale); }
.hamburger span {
  width: 24px; height: 2px; background: var(--text); border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: white; padding: 1rem 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(55,70,157,.1);
  box-shadow: 0 10px 30px rgba(55,70,157,.1);
  z-index: 999;
  /* slide-down animation */
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .25s;
}
.mobile-menu.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
@media (min-width: 901px) { .mobile-menu { display: none !important; } }
.mobile-menu a {
  display: block; padding: .8rem 1rem; border-radius: 10px;
  font-weight: 500; color: var(--text);
  transition: background var(--transition), color var(--transition);
}
.mobile-menu a:hover { background: var(--blue-pale); color: var(--blue); }
.mobile-menu a.cta {
  background: var(--blue); color: white; text-align: center;
  margin-top: .5rem; font-weight: 600;
}

/* ───────────── HERO ───────────── */
#home {
  min-height: 100svh; padding-top: var(--nav-h);
  position: relative; overflow: hidden;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 40%, #1e3a8a 70%, var(--blue) 100%);
}
#home::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
  0%   { background-position: 0 0; }
  100% { background-position: 60px 60px; }
}
.orb {
  position: absolute; border-radius: 50%; filter: blur(80px); opacity: .35;
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.orb1 { width: 500px; height: 500px; background: #37469D; top: -100px; right: -100px; }
.orb2 { width: 400px; height: 400px; background: #1e3a8a; bottom: -80px; left: -60px; animation-delay: -4s; }
.orb3 { width: 300px; height: 300px; background: #82AAFF; top: 40%; left: 40%; animation-delay: -2s; opacity: .15; }
@keyframes orbFloat {
  from { transform: translate(0,0) scale(1); }
  to   { transform: translate(30px,-30px) scale(1.1); }
}

.hero-inner {
  position: relative; z-index: 1;
  max-width: 1200px; margin: 0 auto;
  padding: 5rem clamp(1.5rem, 5vw, 4rem) 5rem;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(130,170,255,.18); color: var(--accent);
  border: 1px solid rgba(130,170,255,.3);
  padding: .35rem .9rem; border-radius: 50px;
  font-size: .8rem; font-weight: 600; letter-spacing: .05em;
  text-transform: uppercase; margin-bottom: 1.5rem;
}
.hero-badge::before { content: '●'; font-size: .5rem; animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.3} }
.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; line-height: 1.1;
  color: white; letter-spacing: -.02em; margin-bottom: 1.5rem;
}
.hero-title .gradient-word {
  background: linear-gradient(90deg, var(--accent), #c7d7ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-desc {
  font-size: clamp(.95rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.72); line-height: 1.7;
  margin-bottom: 2.5rem; max-width: 520px;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }
.btn-store {
  display: inline-flex; align-items: center; gap: .75rem;
  padding: .85rem 1.6rem; border-radius: var(--radius);
  font-weight: 600; font-size: .95rem;
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-store:hover { transform: translateY(-3px); }
.btn-play { background: white; color: var(--blue); box-shadow: 0 4px 20px rgba(0,0,0,.2); }
.btn-play:hover { box-shadow: 0 8px 30px rgba(0,0,0,.3); }
.btn-web {
  background: rgba(255,255,255,.12); color: white;
  border: 1px solid rgba(255,255,255,.25); backdrop-filter: blur(8px);
}
.btn-web:hover { background: rgba(255,255,255,.2); }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3rem;
  padding-top: 2rem; border-top: 1px solid rgba(255,255,255,.12);
}
.stat-item { display: flex; flex-direction: column; gap: .2rem; }
.stat-num { font-size: 1.8rem; font-weight: 800; color: white; line-height: 1; }
.stat-label { font-size: .8rem; color: rgba(255,255,255,.5); font-weight: 500; letter-spacing: .04em; }

/* phone mockup */
.hero-visual { display: flex; justify-content: center; align-items: center; position: relative; }
.phone-wrap {
  position: relative; width: clamp(220px, 28vw, 300px);
  animation: phoneFloat 5s ease-in-out infinite alternate;
}
@keyframes phoneFloat {
  from { transform: translateY(0) rotate(-2deg); }
  to   { transform: translateY(-20px) rotate(2deg); }
}
.phone-frame {
  width: 100%; aspect-ratio: 9/19;
  background: linear-gradient(135deg, #1c2a60 0%, #0d1b3e 100%);
  border-radius: 36px;
  border: 2px solid rgba(255,255,255,.15);
  box-shadow: 0 40px 80px rgba(0,0,0,.5), 0 0 0 1px rgba(255,255,255,.06), inset 0 1px 0 rgba(255,255,255,.1);
  display: flex; flex-direction: column; overflow: hidden;
}
.phone-notch {
  width: 100px; height: 22px; background: #0a1228;
  border-radius: 0 0 18px 18px; margin: 0 auto;
  flex-shrink: 0; position: relative; z-index: 1;
}
.phone-screen { flex: 1; padding: 12px 10px; display: flex; flex-direction: column; gap: 8px; }
.phone-header {
  height: 36px; background: rgba(55,70,157,.5); border-radius: 10px;
  display: flex; align-items: center; padding: 0 10px; gap: 8px;
}
.ph-dot  { width: 8px; height: 8px; border-radius: 50%; }
.ph-line { height: 8px; border-radius: 4px; background: rgba(255,255,255,.3); }
.phone-card {
  background: rgba(255,255,255,.08); border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1); padding: 10px;
}
.pc-title { height: 8px; width: 60%; border-radius: 4px; background: rgba(255,255,255,.3); margin-bottom: 6px; }
.pc-sub   { height: 6px; width: 80%; border-radius: 4px; background: rgba(255,255,255,.15); margin-bottom: 4px; }
.pc-sub2  { height: 6px; width: 50%; border-radius: 4px; background: rgba(255,255,255,.1); }
.phone-map {
  flex: 1; background: linear-gradient(135deg, rgba(55,70,157,.3), rgba(30,58,138,.3));
  border-radius: 10px; border: 1px solid rgba(255,255,255,.1);
  position: relative; overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(255,255,255,.06) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(255,255,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
}
.map-pin {
  position: absolute; top: 35%; left: 50%;
  transform: translate(-50%,-50%);
  width: 14px; height: 14px; background: var(--accent);
  border-radius: 50% 50% 50% 0; transform: translate(-50%,-50%) rotate(-45deg);
  box-shadow: 0 0 0 4px rgba(130,170,255,.3);
  animation: pinPulse 2s ease-in-out infinite;
}
@keyframes pinPulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(130,170,255,.3); }
  50%      { box-shadow: 0 0 0 10px rgba(130,170,255,.1); }
}
.phone-tab-bar {
  height: 46px; background: rgba(13,27,62,.7);
  border-radius: 0 0 34px 34px;
  display: flex; align-items: center; justify-content: space-around; padding: 0 16px;
}
.tab-icon { width: 22px; height: 22px; display: flex; flex-direction: column; align-items: center; gap: 3px; }
.tab-dot  { width: 4px; height: 4px; border-radius: 2px; background: rgba(255,255,255,.3); }
.tab-dot.active { background: var(--accent); }
.bubble {
  position: absolute; background: rgba(255,255,255,.06);
  backdrop-filter: blur(10px); border: 1px solid rgba(255,255,255,.12);
  border-radius: 12px; padding: .5rem .8rem;
  color: white; font-size: .72rem; font-weight: 500; white-space: nowrap;
  display: flex; align-items: center; gap: .4rem;
}
.bubble .bicon { font-size: 1rem; }
.bub1 { top: 15%; right: -30%; animation: bubbleFloat 6s ease-in-out infinite alternate; }
.bub2 { bottom: 25%; left: -35%; animation: bubbleFloat 7s ease-in-out infinite alternate-reverse; }
.bub3 { top: 55%; right: -25%; animation: bubbleFloat 5s ease-in-out infinite alternate; animation-delay: -2s; }
@keyframes bubbleFloat {
  from { transform: translate(0,0); }
  to   { transform: translate(8px,-12px); }
}

/* ───────────── SECTIONS COMMON ───────────── */
.section { padding: 6rem clamp(1.5rem, 5vw, 4rem); }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section-tag {
  display: inline-block;
  background: var(--blue-pale); color: var(--blue);
  padding: .3rem .9rem; border-radius: 50px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  margin-bottom: 1rem;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin-bottom: 1rem;
}
.section-sub { font-size: 1.05rem; color: var(--muted); line-height: 1.7; max-width: 560px; }

/* reveal */
.reveal {
  opacity: 0; transform: translateY(40px);
  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left  { opacity: 0; transform: translateX(-40px); transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal-right { opacity: 0; transform: translateX(40px);  transition: opacity .7s cubic-bezier(.4,0,.2,1), transform .7s cubic-bezier(.4,0,.2,1); }
.reveal-left.visible, .reveal-right.visible { opacity: 1; transform: translateX(0); }
.delay-1 { transition-delay: .1s !important; }
.delay-2 { transition-delay: .2s !important; }
.delay-3 { transition-delay: .3s !important; }
.delay-4 { transition-delay: .4s !important; }
.delay-5 { transition-delay: .5s !important; }
.delay-6 { transition-delay: .6s !important; }

/* ───────────── FEATURES ───────────── */
#features { background: white; }
.features-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem; margin-top: 3.5rem;
}
.feat-card {
  padding: 2rem; border-radius: 20px; background: var(--bg);
  border: 1px solid rgba(55,70,157,.1);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative; overflow: hidden;
}
.feat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--accent));
  transform: scaleX(0); transform-origin: left;
  transition: transform .4s cubic-bezier(.4,0,.2,1);
}
.feat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: rgba(55,70,157,.2); }
.feat-card:hover::before { transform: scaleX(1); }
.feat-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: var(--blue-pale); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; margin-bottom: 1.25rem;
  transition: background var(--transition), transform var(--transition);
}
.feat-card:hover .feat-icon { background: var(--blue); color: white; transform: scale(1.1); }
.feat-title { font-size: 1.1rem; font-weight: 700; margin-bottom: .5rem; }
.feat-desc  { font-size: .9rem; color: var(--muted); line-height: 1.6; }
.feat-highlight {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
  margin-top: 5rem; padding-top: 5rem; border-top: 1px solid rgba(55,70,157,.1);
}
.feat-highlight.reverse { direction: rtl; }
.feat-highlight.reverse > * { direction: ltr; }
.fh-visual {
  background: linear-gradient(135deg, var(--dark), var(--dark2));
  border-radius: 24px; padding: 2.5rem;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.fh-visual::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(55,70,157,.2) 0%, transparent 100%);
}
.fh-inner { position: relative; z-index: 1; }
.fh-list { list-style: none; display: flex; flex-direction: column; gap: .9rem; margin-top: 1.5rem; }
.fh-list li { display: flex; align-items: center; gap: .75rem; font-size: .95rem; }
.fh-visual .fh-list li { color: rgba(255,255,255,.85); }
.fh-check {
  width: 22px; height: 22px; border-radius: 50%;
  background: rgba(130,170,255,.2); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem; flex-shrink: 0;
}
.fh-title { font-size: 2rem; font-weight: 800; color: white; line-height: 1.2; }
.fh-sub   { font-size: .9rem; color: rgba(255,255,255,.55); margin-top: .5rem; line-height: 1.6; }

/* ───────────── WEBAPP ───────────── */
#webapp {
  background: linear-gradient(135deg, var(--blue) 0%, var(--dark2) 100%);
  position: relative; overflow: hidden;
}
#webapp::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(130,170,255,.2) 0%, transparent 60%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,.08) 0%, transparent 50%);
}
.webapp-inner { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.webapp-title { font-size: clamp(2rem, 4vw, 3rem); font-weight: 900; color: white; line-height: 1.15; margin-bottom: 1.2rem; }
.webapp-desc { font-size: 1.05rem; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 2.5rem; }
.btn-primary {
  display: inline-flex; align-items: center; gap: .75rem;
  background: white; color: var(--blue);
  padding: 1rem 2rem; border-radius: var(--radius);
  font-weight: 700; font-size: 1rem;
  box-shadow: 0 8px 30px rgba(0,0,0,.2);
  transition: transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 40px rgba(0,0,0,.3); }
.webapp-browser {
  background: white; border-radius: 20px;
  box-shadow: 0 30px 80px rgba(0,0,0,.4); overflow: hidden;
}
.browser-bar {
  background: #F1F3F4; padding: .75rem 1rem;
  display: flex; align-items: center; gap: .75rem;
  border-bottom: 1px solid #e0e0e0;
}
.br-dots { display: flex; gap: 6px; }
.br-dots span { width: 12px; height: 12px; border-radius: 50%; }
.br-red { background: #FF5F57; } .br-yellow { background: #FFBD2E; } .br-green { background: #28CA41; }
.br-url {
  flex: 1; background: white; border-radius: 6px;
  padding: .35rem .75rem; font-size: .75rem; color: var(--muted);
  border: 1px solid #e0e0e0; display: flex; align-items: center; gap: .4rem;
}
.br-url-icon { color: #28CA41; font-size: .7rem; }
.browser-content {
  background: linear-gradient(135deg, var(--dark) 0%, #1e3a8a 100%);
  padding: 2rem; min-height: 200px; display: flex; flex-direction: column; gap: 1rem;
}
.bc-bar { height: 8px; border-radius: 4px; background: rgba(255,255,255,.2); }
.bc-bar.short { width: 60%; }
.bc-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; margin-top: .5rem; }
.bc-card {
  background: rgba(255,255,255,.08); border-radius: 10px;
  border: 1px solid rgba(255,255,255,.1); padding: 1rem;
}
.bc-dot  { width: 6px; height: 6px; border-radius: 3px; background: var(--accent); margin-bottom: .4rem; }
.bc-line { height: 5px; border-radius: 3px; background: rgba(255,255,255,.2); margin-bottom: .3rem; }
.bc-line.sm { width: 70%; }

/* ───────────── LEGAL ───────────── */
#legal { background: var(--bg); }
.legal-tabs {
  display: flex; gap: .5rem; background: white; padding: .4rem;
  border-radius: 14px; border: 1px solid rgba(55,70,157,.1);
  width: fit-content; margin-bottom: 3rem; margin-top: 2rem;
}
.legal-tab {
  padding: .6rem 1.4rem; border-radius: 10px;
  font-size: .9rem; font-weight: 600; color: var(--muted);
  transition: background var(--transition), color var(--transition); cursor: pointer;
}
.legal-tab.active { background: var(--blue); color: white; }
.legal-panel { display: none; }
.legal-panel.active { display: block; }
.legal-content {
  background: white; border-radius: 20px;
  border: 1px solid rgba(55,70,157,.08);
  padding: 2.5rem clamp(1.5rem, 4vw, 3rem);
  box-shadow: 0 4px 20px rgba(55,70,157,.06);
}
.legal-content h2 {
  font-size: 1.5rem; font-weight: 800; margin-bottom: 1.5rem;
  color: var(--blue); padding-bottom: 1rem; border-bottom: 2px solid var(--blue-pale);
}
.legal-content h3 { font-size: 1.1rem; font-weight: 700; margin: 1.8rem 0 .75rem; color: var(--text); }
.legal-content p  { color: var(--muted); line-height: 1.8; margin-bottom: 1rem; font-size: .95rem; }
.legal-content ul { padding-left: 1.5rem; margin-bottom: 1rem; }
.legal-content ul li { color: var(--muted); line-height: 1.8; font-size: .95rem; margin-bottom: .4rem; }
.legal-content a  { color: var(--blue); text-decoration: underline; }
/* accordion */
.legal-accord {
  border-bottom: 1px solid rgba(55,70,157,.08);
}
.legal-accord summary {
  font-size: 1rem; font-weight: 700; color: var(--text);
  padding: 1.1rem 0; cursor: pointer;
  list-style: none; display: flex; justify-content: space-between; align-items: center;
  user-select: none;
  transition: color var(--transition);
}
.legal-accord summary::-webkit-details-marker { display: none; }
.legal-accord summary::after {
  content: '+'; color: var(--blue); font-size: 1.3rem; font-weight: 300;
  flex-shrink: 0; margin-left: 1rem; line-height: 1;
}
.legal-accord[open] summary { color: var(--blue); }
.legal-accord[open] summary::after { content: '−'; }
.legal-accord-body { padding: 0 0 1.2rem; }
.legal-accord-body p, .legal-accord-body ul, .legal-accord-body li {
  color: var(--muted); line-height: 1.8; font-size: .95rem;
}
.legal-accord-body ul { padding-left: 1.5rem; }
.legal-accord-body ul li { margin-bottom: .3rem; }
.legal-accord-body a { color: var(--blue); text-decoration: underline; }

.legal-date {
  font-size: .8rem; color: var(--blue-light); font-weight: 500;
  background: var(--blue-pale); padding: .3rem .8rem; border-radius: 50px;
  display: inline-block; margin-bottom: 2rem;
}

/* ───────────── FOOTER ───────────── */
footer { background: var(--dark); padding: 3rem clamp(1.5rem, 5vw, 4rem) 2rem; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1fr auto; gap: 2rem; align-items: start;
}
.footer-logo { font-size: 1.2rem; font-weight: 800; color: white; margin-bottom: .5rem; display: flex; align-items: center; gap: .5rem; }
.footer-sub  { font-size: .85rem; color: rgba(255,255,255,.4); line-height: 1.6; max-width: 360px; }
.footer-links { display: flex; flex-direction: column; gap: .6rem; text-align: right; }
.footer-links a { font-size: .85rem; color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px; margin: 2rem auto 0;
  padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.08);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: .5rem;
  font-size: .8rem; color: rgba(255,255,255,.3);
}

/* ───────────── LEGAL STANDALONE PAGE ───────────── */
#page-legal {
  display: none;
  position: fixed; inset: 0; z-index: 950;
  background: var(--bg); overflow-y: auto;
}
#page-legal.active { display: block; }

.lp-nav {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(55,70,157,.1);
  padding: 0 clamp(1.5rem, 5vw, 4rem);
  height: 64px; display: flex; align-items: center; gap: 1rem;
  box-shadow: 0 2px 12px rgba(55,70,157,.08);
}
.lp-back {
  display: flex; align-items: center; gap: .5rem;
  padding: .5rem .9rem; border-radius: 10px;
  font-size: .9rem; font-weight: 600; color: var(--blue);
  background: var(--blue-pale);
  transition: background var(--transition), transform var(--transition);
  cursor: pointer;
}
.lp-back:hover { background: #dde3ff; transform: translateX(-2px); }
.lp-nav-logo { font-size: 1rem; font-weight: 800; color: var(--blue); margin-left: .5rem; }
.lp-nav-logo span { color: var(--muted); font-weight: 400; }

.lp-hero {
  background: linear-gradient(135deg, var(--dark) 0%, var(--dark2) 60%, #1e3a8a 100%);
  padding: 3.5rem clamp(1.5rem, 5vw, 4rem);
  text-align: center;
}
.lp-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 900; color: white; margin-bottom: .6rem; }
.lp-hero p  { color: rgba(255,255,255,.6); font-size: 1rem; }

.lp-content {
  max-width: 860px; margin: 0 auto;
  padding: 3rem clamp(1.5rem, 5vw, 3rem) 5rem;
}

/* ───────────── PERSUASION STRIP ───────────── */
.cta-strip {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
  text-align: center; position: relative; overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 50%, rgba(130,170,255,.2) 0%, transparent 60%);
}
.cta-strip-inner { position: relative; z-index: 1; max-width: 700px; margin: 0 auto; }
.cta-strip h2 { font-size: clamp(1.8rem, 4vw, 2.4rem); font-weight: 900; color: white; margin-bottom: 1rem; }
.cta-strip p  { font-size: 1.05rem; color: rgba(255,255,255,.75); margin-bottom: 2rem; line-height: 1.7; }
.cta-strip-buttons { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }

/* trust badges */
.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 1.5rem;
  margin-top: 2rem;
}
.trust-badge {
  display: flex; align-items: center; gap: .5rem;
  color: rgba(255,255,255,.6); font-size: .85rem; font-weight: 500;
}
.trust-badge .tb-icon { font-size: 1rem; }

/* ───────────── LANG SWITCHER ───────────── */
.lang-btn {
  padding: .35rem .85rem; border-radius: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .06em;
  color: var(--blue); border: 1.5px solid var(--blue);
  background: var(--blue-pale);
  transition: background var(--transition), color var(--transition);
  margin-left: .5rem;
}
.lang-btn:hover { background: var(--blue); color: white; }

/* ───────────── MOBILE PLATFORMS STRIP ───────────── */
.mobile-platforms {
  display: none;
  background: white;
  border-top: 1px solid rgba(55,70,157,.1);
  border-bottom: 1px solid rgba(55,70,157,.1);
  padding: 2.5rem clamp(1.5rem, 5vw, 2rem);
}
.mp-inner { max-width: 500px; margin: 0 auto; text-align: center; }
.mp-tag { margin-bottom: .75rem !important; }
.mp-title { font-size: 1.5rem; font-weight: 800; margin-bottom: .75rem; color: var(--text); }
.mp-desc  { font-size: .95rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.75rem; }
.mp-platforms { display: flex; justify-content: center; gap: 1.5rem; }
.mp-plat {
  display: flex; flex-direction: column; align-items: center; gap: .25rem;
  flex: 1; max-width: 120px;
  background: var(--bg); border-radius: 14px;
  padding: 1rem .75rem;
  border: 1px solid rgba(55,70,157,.1);
}
.mp-icon { font-size: 1.8rem; }
.mp-plat-name { font-size: .9rem; font-weight: 700; color: var(--text); }
.mp-plat-sub  { font-size: .72rem; color: var(--muted); }

/* ───────────── RESPONSIVE ───────────── */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .mobile-platforms { display: block; }
  .hero-inner { grid-template-columns: 1fr; gap: 3rem; text-align: center; }
  .hero-desc  { margin: 0 auto 2.5rem; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-visual { display: none; }
  .feat-highlight { grid-template-columns: 1fr; gap: 2rem; }
  .feat-highlight.reverse { direction: ltr; }
  .webapp-inner { grid-template-columns: 1fr; }
  .webapp-browser { display: none; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-links { text-align: left; flex-direction: row; flex-wrap: wrap; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 600px) {
  .features-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .stat-num { font-size: 1.5rem; }
}
