/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0b1120;
  --surface: #111827;
  --surface2: #1a2436;
  --fg: #f7f6f3;
  --fg-muted: #8899aa;
  --accent: #e8b94a;
  --accent-dim: rgba(232, 185, 74, 0.12);
  --teal: #06b6d4;
  --green: #22c55e;
  --red: #ef4444;
  --border: rgba(255,255,255,0.07);
  --radius: 16px;
  --radius-sm: 10px;
}

html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Figtree', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

::selection { background: var(--accent); color: var(--bg); }

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

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 { font-family: 'Sora', sans-serif; font-weight: 700; line-height: 1.2; }

/* ===== LAYOUT ===== */
.section-inner { max-width: 1140px; margin: 0 auto; padding: 0 32px; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(11,17,32,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 0 32px;
  height: 64px; display: flex; align-items: center; justify-content: space-between;
}
.nav-logo {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; color: var(--fg);
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 18px;
}
.nav-links { display: flex; gap: 32px; }
.nav-links a {
  color: var(--fg-muted); text-decoration: none; font-size: 14px;
  font-weight: 500; transition: color 0.2s;
}
.nav-links a:hover { color: var(--fg); }

/* ===== HERO ===== */
.hero {
  min-height: 100vh; padding: 120px 32px 80px;
  display: flex; flex-direction: column; justify-content: center;
  position: relative;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(232,185,74,0.07) 0%, transparent 70%);
}
.hero-inner {
  max-width: 1140px; margin: 0 auto; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--accent-dim); border: 1px solid rgba(232,185,74,0.2);
  border-radius: 100px; padding: 6px 16px; font-size: 13px; font-weight: 500;
  color: var(--accent); margin-bottom: 28px;
}
.badge-dot {
  width: 6px; height: 6px; background: var(--accent);
  border-radius: 50%; animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.4; } }

.hero-headline {
  font-size: clamp(42px, 5vw, 68px); font-weight: 800;
  color: var(--fg); margin-bottom: 20px; letter-spacing: -0.03em;
  line-height: 1.05;
}
.hero-sub {
  font-size: 18px; color: var(--fg-muted); line-height: 1.7;
  margin-bottom: 40px; max-width: 440px;
}
.hero-stats {
  display: flex; align-items: center; gap: 0;
  border: 1px solid var(--border); border-radius: var(--radius-sm);
  overflow: hidden; width: fit-content;
}
.stat { padding: 16px 28px; text-align: center; }
.stat-num { display: block; font-family: 'Sora', sans-serif; font-size: 22px; font-weight: 700; color: var(--accent); }
.stat-label { display: block; font-size: 12px; color: var(--fg-muted); margin-top: 2px; text-transform: uppercase; letter-spacing: 0.05em; }
.stat-div { width: 1px; height: 40px; background: var(--border); }

/* ===== HERO VISUAL ===== */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-seal { position: absolute; right: -20px; top: 20px; opacity: 0.5; }

/* ===== PHONE MOCKUP ===== */
.phone-mockup { perspective: 1000px; }
.phone-frame {
  width: 280px; background: var(--surface); border-radius: 36px;
  padding: 3px; box-shadow: 0 40px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05), inset 0 1px 0 rgba(255,255,255,0.05);
  transform: rotateY(-8deg) rotateX(4deg);
}
.phone-screen { background: #0f1729; border-radius: 33px; overflow: hidden; padding-bottom: 4px; }
.app-header {
  display: flex; align-items: center; gap: 8px; padding: 14px 16px 10px;
  border-bottom: 1px solid var(--border);
}
.app-logo-mark { width: 20px; height: 20px; }
.app-title { font-family: 'Sora', sans-serif; font-size: 13px; font-weight: 700; flex: 1; }
.app-menu { display: flex; flex-direction: column; gap: 3px; }
.menu-line { width: 16px; height: 2px; background: var(--fg-muted); border-radius: 1px; }

.app-search { padding: 10px 12px; }
.search-bar {
  background: var(--surface2); border-radius: 10px; padding: 9px 12px;
  display: flex; align-items: center; gap: 8px; font-size: 11px; color: var(--fg-muted);
  border: 1px solid var(--border);
}
.search-icon { opacity: 0.6; }

.app-filter-row { display: flex; gap: 6px; padding: 0 12px 10px; }
.filter-chip {
  background: var(--surface2); border: 1px solid var(--border);
  border-radius: 20px; padding: 4px 10px; font-size: 10px; color: var(--fg-muted);
}
.filter-chip.active { background: var(--accent-dim); border-color: rgba(232,185,74,0.3); color: var(--accent); }

.app-map {
  height: 100px; background: #111827; margin: 0 12px; border-radius: 12px;
  position: relative; overflow: hidden;
}
.map-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 20px 20px;
}
.map-pin { position: absolute; }
.p1 { top: 30%; left: 45%; }
.p2 { top: 50%; left: 25%; }
.p3 { top: 25%; left: 65%; }
.p4 { top: 60%; left: 55%; }
.pin-dot {
  width: 12px; height: 12px; background: rgba(232,185,74,0.3);
  border: 2px solid var(--accent); border-radius: 50%;
}
.pin-dot.available { background: var(--accent); }
.pin-card {
  position: absolute; bottom: 18px; left: 16px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 8px; padding: 6px 8px; min-width: 90px;
}
.pin-name { font-size: 10px; font-weight: 600; }
.pin-rating { font-size: 9px; color: var(--accent); }
.pin-dist { font-size: 9px; color: var(--fg-muted); }
.map-user-pin {
  position: absolute; bottom: 35%; right: 38%;
  width: 14px; height: 14px; background: rgba(6,182,212,0.2);
  border: 2px solid var(--teal); border-radius: 50%;
}
.map-user-pin::after {
  content: ''; position: absolute; inset: 3px;
  background: var(--teal); border-radius: 50%;
}

.app-notary-card {
  margin: 10px 12px 0; background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px; padding: 10px; display: flex; align-items: center; gap: 10px;
}
.notary-avatar {
  width: 36px; height: 36px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px; color: var(--bg); flex-shrink: 0;
}
.notary-info { flex: 1; min-width: 0; }
.notary-name { font-size: 12px; font-weight: 600; }
.notary-meta { font-size: 9px; color: var(--fg-muted); margin-top: 1px; }
.notary-tags { display: flex; gap: 4px; margin-top: 4px; }
.tag {
  background: var(--surface2); border-radius: 4px; padding: 2px 5px;
  font-size: 8px; color: var(--fg-muted);
}
.notary-book { text-align: center; flex-shrink: 0; }
.book-price { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--accent); }
.book-btn {
  background: var(--accent); color: var(--bg); border-radius: 6px;
  padding: 4px 12px; font-size: 10px; font-weight: 700; margin-top: 2px;
}

.app-sos-bar {
  margin: 8px 12px 12px; background: var(--accent-dim);
  border: 1px solid rgba(232,185,74,0.2); border-radius: 10px;
  padding: 8px 12px; display: flex; align-items: center; gap: 8px;
  font-size: 10px; color: var(--accent); font-weight: 600;
}
.sos-icon { flex-shrink: 0; }
.app-sos-bar span { flex: 1; }
.sos-arrow { opacity: 0.6; }

.hero-scroll-hint {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
}
.scroll-line {
  width: 1px; height: 48px; background: linear-gradient(to bottom, var(--accent), transparent);
  margin: 0 auto; animation: scrollAnim 2s ease-in-out infinite;
}
@keyframes scrollAnim {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ===== SECTION STYLES ===== */
.section-eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--accent);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(28px, 3.5vw, 44px); font-weight: 800;
  margin-bottom: 16px; letter-spacing: -0.02em;
}
.section-sub { font-size: 17px; color: var(--fg-muted); max-width: 560px; line-height: 1.7; }

/* ===== HOW IT WORKS ===== */
.how-it-works { padding: 120px 0; }
.section-header { text-align: center; margin-bottom: 64px; }
.steps-grid {
  display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: center;
  gap: 0;
}
.step-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  position: relative; transition: border-color 0.3s;
}
.step-card:hover { border-color: rgba(232,185,74,0.2); }
.step-num {
  font-family: 'Sora', sans-serif; font-size: 48px; font-weight: 800;
  color: var(--accent); opacity: 0.15; position: absolute; top: 20px; right: 24px;
  line-height: 1;
}
.step-icon { margin-bottom: 20px; }
.step-title { font-size: 18px; font-weight: 700; margin-bottom: 10px; }
.step-body { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }
.step-connector { display: flex; align-items: center; justify-content: center; padding: 0 12px; }
.connector-line { height: 1px; width: 40px; background: var(--border); }
.connector-dot { width: 8px; height: 8px; background: var(--accent); border-radius: 50%; margin-left: -4px; }

/* ===== FEATURES ===== */
.features { padding: 120px 0; background: radial-gradient(ellipse 60% 50% at 80% 50%, rgba(232,185,74,0.04) 0%, transparent 70%); }
.features-layout { display: grid; grid-template-columns: 1fr 1.6fr; gap: 80px; align-items: start; }
.features-header { position: sticky; top: 96px; }
.features-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-radius: var(--radius); overflow: hidden; }
.feature-card {
  background: var(--surface); padding: 28px 28px 32px;
  transition: background 0.3s;
}
.feature-card:hover { background: var(--surface2); }
.feature-icon-wrap { margin-bottom: 16px; }
.feature-card h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
.feature-card p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ===== SOS ===== */
.sos-section { padding: 120px 0; }
.sos-inner { max-width: 1140px; margin: 0 auto; padding: 0 32px; text-align: center; }
.sos-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--accent); color: var(--bg);
  border-radius: 100px; padding: 8px 20px; font-size: 13px; font-weight: 700;
  margin-bottom: 28px;
}
.sos-title { font-size: clamp(30px, 4vw, 52px); font-weight: 800; margin-bottom: 20px; letter-spacing: -0.02em; max-width: 700px; margin-left: auto; margin-right: auto; }
.sos-body { font-size: 18px; color: var(--fg-muted); max-width: 560px; margin: 0 auto 56px; line-height: 1.7; }
.sos-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 720px; margin: 0 auto 32px; }
.sos-tier {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 32px; text-align: left;
}
.sos-tier-featured {
  border-color: rgba(232,185,74,0.4); background: linear-gradient(135deg, rgba(232,185,74,0.05) 0%, transparent 60%);
}
.sos-tier-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 24px; }
.tier-name { font-family: 'Sora', sans-serif; font-size: 14px; font-weight: 700; color: var(--accent); text-transform: uppercase; letter-spacing: 0.08em; }
.tier-price { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800; }
.tier-note { font-size: 13px; color: var(--fg-muted); font-weight: 400; }
.tier-features { list-style: none; display: flex; flex-direction: column; gap: 10px; }
.tier-features li { display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--fg-muted); }
.sos-guarantee { font-size: 14px; color: var(--fg-muted); max-width: 480px; margin: 0 auto; }
.sos-guarantee strong { color: var(--fg); }

/* ===== TRUST ===== */
.trust-section { padding: 120px 0; }
.trust-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.trust-body { font-size: 17px; color: var(--fg-muted); margin-bottom: 36px; line-height: 1.7; }
.trust-items { display: flex; flex-direction: column; gap: 24px; }
.trust-item { display: flex; gap: 16px; align-items: flex-start; }
.trust-check {
  width: 28px; height: 28px; background: var(--accent-dim); border: 1px solid rgba(232,185,74,0.2);
  border-radius: 50%; display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 2px;
}
.trust-item strong { display: block; font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.trust-item p { font-size: 14px; color: var(--fg-muted); line-height: 1.6; }

/* ===== NOTARY PROFILE CARD ===== */
.notary-profile-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px; margin-top: 0;
}
.np-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.np-avatar {
  width: 44px; height: 44px; background: var(--accent); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; color: var(--bg);
}
.np-name { font-family: 'Sora', sans-serif; font-size: 18px; font-weight: 700; flex: 1; }
.np-badge {
  display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 600; color: var(--teal);
}
.np-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border);
  border-radius: 10px; overflow: hidden; margin-bottom: 20px;
}
.np-stat { background: var(--surface2); padding: 12px; text-align: center; }
.np-stat-val { display: block; font-family: 'Sora', sans-serif; font-size: 20px; font-weight: 700; color: var(--accent); }
.np-stat-key { display: block; font-size: 10px; color: var(--fg-muted); text-transform: uppercase; letter-spacing: 0.05em; margin-top: 2px; }
.np-details { display: flex; flex-direction: column; gap: 8px; margin-bottom: 20px; }
.np-row { display: flex; justify-content: space-between; font-size: 12px; }
.np-row span:first-child { color: var(--fg-muted); }
.np-val { color: var(--fg); font-weight: 500; }
.np-val.clean { color: var(--green); font-weight: 600; }
.np-reviews { border-top: 1px solid var(--border); padding-top: 16px; }
.review-stars { color: var(--accent); font-size: 11px; margin-bottom: 6px; }
.review-text { font-size: 12px; font-style: italic; color: var(--fg-muted); line-height: 1.5; }
.review-meta { font-size: 10px; color: var(--fg-muted); margin-top: 4px; opacity: 0.6; }

/* ===== CLOSING ===== */
.closing-section { padding: 120px 0; }
.closing-inner { max-width: 760px; margin: 0 auto; padding: 0 32px; text-align: center; }
.closing-seal { margin-bottom: 32px; }
.closing-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; margin-bottom: 20px; letter-spacing: -0.02em; }
.closing-body { font-size: 18px; color: var(--fg-muted); line-height: 1.7; margin-bottom: 40px; }
.closing-vision {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 28px 36px; text-align: left;
}
.vision-label { display: block; font-size: 11px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--accent); margin-bottom: 8px; }
.closing-vision p { font-size: 16px; color: var(--fg-muted); font-style: italic; line-height: 1.6; }

/* ===== FOOTER ===== */
.footer { border-top: 1px solid var(--border); padding: 48px 0; }
.footer-inner { max-width: 1140px; margin: 0 auto; padding: 0 32px; }
.footer-top { display: flex; align-items: center; gap: 16px; margin-bottom: 32px; }
.footer-brand { display: flex; align-items: center; gap: 8px; }
.footer-brand-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 16px; }
.footer-tagline { font-size: 14px; color: var(--fg-muted); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--fg-muted); padding-top: 24px;
  border-top: 1px solid var(--border);
}
.footer-links { display: flex; gap: 20px; }
.footer-links a { color: var(--fg-muted); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: var(--fg); }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-text { text-align: center; }
  .hero-sub { max-width: 100%; }
  .hero-stats { margin: 0 auto; }
  .hero-visual { order: -1; }
  .hero-seal { display: none; }
  .phone-frame { transform: rotateY(0) rotateX(0) scale(0.85); }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step-connector { display: none; }
  .features-layout { grid-template-columns: 1fr; gap: 40px; }
  .features-header { position: static; }
  .trust-layout { grid-template-columns: 1fr; gap: 40px; }
  .sos-cards { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
@media (max-width: 600px) {
  .hero { padding: 100px 20px 60px; }
  .features-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
}