@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700;900&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --sky: #00d4ff;
  --sky-mid: #00b8e6;
  --sky-deep: #0099cc;
  --neon-purple: #7b5cff;
  --neon-pink: #ff3cac;
  --accent-green: #4ade80;
  --ink: #060816;
  --ink2: #0c1024;
  --ink3: #111633;
  --surface: #0d1228;
  --card: rgba(13,18,40,0.7);
  --card-border: rgba(255,255,255,0.06);
  --card-hover: rgba(0,212,255,0.04);
  --muted: #6b7fa0;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 14px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Roboto', sans-serif;
  background: var(--ink);
  color: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Grid background */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.018) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.018) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none; z-index: 0;
}

/* Ambient orbs */
body::after {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 500px 500px at 80% 5%, rgba(0,212,255,0.07) 0%, transparent 100%),
    radial-gradient(ellipse 400px 400px at 5% 60%, rgba(123,92,255,0.05) 0%, transparent 100%),
    radial-gradient(ellipse 350px 350px at 70% 90%, rgba(255,60,172,0.03) 0%, transparent 100%);
  pointer-events: none; z-index: 0;
}

/* ===== NAV ===== */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: 64px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(6,8,22,0.8);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--card-border);
}
.logo {
  font-weight: 800; font-size: 18px;
  color: var(--white); text-decoration: none;
  letter-spacing: -0.3px;
  display: flex; align-items: center; gap: 10px;
}
.logo-mark {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--sky), var(--neon-purple));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 0 20px rgba(0,212,255,0.25);
}
.logo-mark svg { width: 18px; height: 18px; }
.nav-right { display: flex; align-items: center; gap: 32px; }
.nav-right a { font-size: 13px; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-right a:hover { color: var(--white); }
.nav-cta {
  background: linear-gradient(135deg, var(--sky-deep), var(--neon-purple)) !important;
  color: var(--white) !important;
  padding: 9px 22px; border-radius: 10px;
  font-weight: 600 !important; font-size: 13px !important;
  box-shadow: 0 0 24px rgba(0,212,255,0.2);
  transition: all 0.2s !important;
}
.nav-cta:hover { box-shadow: 0 0 32px rgba(0,212,255,0.35) !important; transform: translateY(-1px); }

/* ===== COMMON ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 1; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; letter-spacing: 2px;
  text-transform: uppercase; color: var(--sky);
  margin-bottom: 16px;
}
.section-label::before { content: ''; width: 20px; height: 1.5px; background: var(--sky); }

.section-title {
  font-size: clamp(32px, 4vw, 52px); font-weight: 900;
  letter-spacing: -2px; line-height: 1.06; color: var(--white);
  margin-bottom: 16px;
}
.section-title .grad {
  background: linear-gradient(90deg, var(--sky), var(--neon-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}

.section-sub {
  font-size: 16px; color: var(--muted); line-height: 1.7; max-width: 480px;
}

/* ===== BENTO CARD BASE ===== */
.bento-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.bento-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,212,255,0.04) 0%, transparent 60%);
  opacity: 0; transition: opacity 0.35s;
  pointer-events: none;
}
.bento-card:hover {
  border-color: rgba(0,212,255,0.15);
  box-shadow: 0 0 40px rgba(0,212,255,0.06);
  transform: translateY(-2px);
}
.bento-card:hover::before { opacity: 1; }

/* ===== HERO ===== */
.hero {
  padding: 140px 0 80px;
  position: relative; z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: stretch;
}

.hero-main {
  grid-column: 1;
  display: flex; flex-direction: column; justify-content: center;
  padding: 48px 40px;
}

.hero-phone-card {
  grid-column: 2;
  display: flex; justify-content: center; align-items: center;
  padding: 32px;
}

/* Metrics row */
.hero-metrics-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}
.metric-card {
  text-align: center;
  padding: 28px 20px;
}
.metric-card .m-num {
  font-size: 36px; font-weight: 900; letter-spacing: -1px;
  background: linear-gradient(90deg, var(--sky), var(--neon-purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.metric-card .m-label {
  font-size: 12px; font-weight: 500; color: var(--muted); margin-top: 4px;
}

/* Hero buttons */
.hero-actions { display: flex; gap: 14px; align-items: center; margin-top: 40px; }

.btn-main {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, var(--sky-deep), var(--neon-purple));
  color: var(--white); padding: 14px 28px; border-radius: 12px;
  text-decoration: none; font-size: 14px; font-weight: 600;
  transition: all 0.3s;
  box-shadow: 0 0 30px rgba(0,212,255,0.2);
}
.btn-main:hover { box-shadow: 0 0 44px rgba(0,212,255,0.35); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--muted); font-size: 14px; font-weight: 500;
  text-decoration: none; transition: color 0.2s;
}
.btn-ghost:hover { color: var(--sky); }
.btn-ghost::after { content: '→'; transition: transform 0.2s; }
.btn-ghost:hover::after { transform: translateX(3px); }

/* ===== PHONE MOCKUP ===== */
.visual-stack { position: relative; width: 320px; z-index: 1; }
.visual-stack::before {
  content: '';
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 280px; height: 400px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.15) 0%, rgba(123,92,255,0.08) 40%, transparent 70%);
  filter: blur(40px); pointer-events: none; z-index: -1;
  animation: glowPulse 4s ease-in-out infinite;
}
@keyframes glowPulse {
  0%,100% { opacity: 0.6; transform: translate(-50%,-50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%,-50%) scale(1.08); }
}
.phone-frame {
  width: 270px;
  background: linear-gradient(180deg, #0f1740, #080c24);
  border-radius: 40px; padding: 12px; margin: 0 auto;
  box-shadow:
    0 60px 100px rgba(0,0,0,0.5),
    0 0 0 1.5px rgba(0,212,255,0.15),
    0 0 0 3px rgba(10,14,39,0.8),
    0 0 0 4px rgba(0,212,255,0.06),
    0 0 80px rgba(0,212,255,0.06),
    inset 0 1px 0 rgba(255,255,255,0.05);
}
.phone-screen-inner {
  background: linear-gradient(180deg, #0b1030, #070a20);
  border-radius: 30px; padding: 14px 14px 18px;
  position: relative; overflow: hidden;
}
.phone-screen-inner::before {
  content: '';
  position: absolute; top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, transparent 40%, transparent 60%, rgba(255,255,255,0.01) 100%);
  pointer-events: none; z-index: 10;
}
.pf-notch {
  width: 80px; height: 22px; background: #040714;
  border-radius: 0 0 14px 14px; margin: -14px auto 14px;
  position: relative; box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}
.pf-notch::after {
  content: ''; position: absolute; right: 18px; top: 7px;
  width: 7px; height: 7px;
  background: radial-gradient(circle, #1a2a4a, #0a1025);
  border-radius: 50%; border: 1px solid rgba(0,212,255,0.15);
}
.pf-header {
  display: flex; align-items: center; gap: 10px;
  padding-bottom: 12px; border-bottom: 1px solid rgba(255,255,255,0.06); margin-bottom: 14px;
}
.pf-avatar {
  width: 32px; height: 32px;
  background: linear-gradient(135deg, var(--sky), var(--neon-purple));
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 14px; box-shadow: 0 0 16px rgba(0,212,255,0.4);
}
.pf-name { font-size: 13px; font-weight: 700; color: #e0f2fe; }
.pf-online { font-size: 10px; color: #4ade80; margin-top: 2px; font-weight: 500; }

.cb { border-radius: 16px; padding: 10px 14px; font-size: 12px; line-height: 1.55; margin-bottom: 8px; animation: cbIn 0.4s ease both; }
@keyframes cbIn { from{opacity:0;transform:translateY(8px)} to{opacity:1;transform:translateY(0)} }
.cb-bot { background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); color: #b4ddf0; border-bottom-left-radius: 4px; }
.cb-user { background: linear-gradient(135deg, #0088bb, var(--neon-purple)); color: #fff; border-bottom-right-radius: 4px; margin-left: auto; max-width: 170px; animation-delay: 0.25s; box-shadow: 0 4px 16px rgba(0,212,255,0.2); }
.cb-bot2 { animation-delay: 0.5s; }
.cb-qr { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 6px; animation: cbIn 0.4s ease 0.75s both; }
.cb-pill { border: 1px solid rgba(0,212,255,0.25); background: rgba(0,212,255,0.06); color: var(--sky); padding: 5px 11px; border-radius: 100px; font-size: 11px; cursor: pointer; transition: all 0.25s; font-weight: 500; }
.cb-pill:hover { background: linear-gradient(135deg, var(--sky), var(--neon-purple)); color: #fff; border-color: transparent; box-shadow: 0 0 20px rgba(0,212,255,0.35); }

.side-card {
  position: absolute; background: rgba(13,18,50,0.92);
  border: 1px solid rgba(0,212,255,0.1); border-radius: 14px;
  padding: 14px 18px; backdrop-filter: blur(16px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.4), 0 0 24px rgba(0,212,255,0.06);
  animation: sideFloat ease-in-out infinite;
}
@keyframes sideFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
.sc-left { left: -55px; top: 60px; animation-duration: 4s; }
.sc-right { right: -45px; bottom: 70px; animation-duration: 5s; animation-delay: -1.5s; }
.sc-flag { font-size: 24px; margin-bottom: 5px; }
.sc-name { font-size: 11px; font-weight: 600; color: rgba(255,255,255,0.65); }
.sc-price { font-size: 16px; font-weight: 800; background: linear-gradient(90deg, var(--sky), #a78bfa); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.sc-note { font-size: 10px; color: var(--muted); margin-top: 2px; }

/* ===== TICKER ===== */
.ticker {
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  padding: 14px 0; overflow: hidden;
  position: relative; z-index: 1;
  background: rgba(6,8,22,0.6);
}
.ticker-inner { display: flex; gap: 56px; animation: tickMove 40s linear infinite; width: max-content; }
@keyframes tickMove { from{transform:translateX(0)} to{transform:translateX(-50%)} }
.tick-i { display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,0.3); font-size: 13px; font-weight: 500; white-space: nowrap; }
.tick-i span { opacity: 0.8; }

/* ===== HOW SECTION ===== */
.how-section {
  padding: 100px 0;
  position: relative; z-index: 1;
}

.how-header {
  margin-bottom: 48px;
}

.how-bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.how-item {
  padding: 28px 24px;
}
.how-item .step-num {
  font-size: 40px; font-weight: 900; letter-spacing: -2px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin-bottom: 16px;
}
.how-item .step-ico {
  width: 44px; height: 44px;
  background: rgba(0,212,255,0.08); border: 1px solid rgba(0,212,255,0.1);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 18px;
  transition: all 0.25s;
}
.how-item:hover .step-ico {
  background: rgba(0,212,255,0.15);
  box-shadow: 0 0 20px rgba(0,212,255,0.15);
}
.how-item .step-title {
  font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.9);
  margin-bottom: 8px;
}
.how-item .step-desc {
  font-size: 13px; color: var(--muted); line-height: 1.65;
}

/* ===== CTA SECTION ===== */
.cta-section {
  padding: 100px 0;
  position: relative; z-index: 1;
}

.cta-bento {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cta-main-card {
  padding: 48px 40px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, rgba(0,212,255,0.06), rgba(123,92,255,0.04));
  border-color: rgba(0,212,255,0.1);
}
.cta-main-card .section-title { margin-bottom: 14px; }

.cta-desc {
  font-size: 16px; color: rgba(255,255,255,0.4); line-height: 1.75; margin-bottom: 36px;
}

.cta-btn {
  display: inline-flex; align-items: center; gap: 10px;
  background: linear-gradient(135deg, var(--sky), var(--neon-purple));
  color: var(--white); padding: 15px 32px; border-radius: 12px;
  text-decoration: none; font-size: 15px; font-weight: 600;
  transition: all 0.3s; width: fit-content;
  box-shadow: 0 0 30px rgba(0,212,255,0.25);
}
.cta-btn:hover { box-shadow: 0 0 50px rgba(0,212,255,0.4); transform: translateY(-2px); }

.cta-trust-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.trust-card {
  padding: 24px;
}
.trust-card .t-icon { font-size: 28px; margin-bottom: 14px; }
.trust-card .t-title { font-size: 14px; font-weight: 700; color: rgba(255,255,255,0.85); margin-bottom: 6px; }
.trust-card .t-desc { font-size: 12px; color: rgba(255,255,255,0.35); line-height: 1.65; }

/* ===== FOOTER ===== */
footer {
  background: rgba(6,8,22,0.95);
  border-top: 1px solid var(--card-border);
  padding: 36px 40px;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 20px;
  position: relative; z-index: 1;
}
.f-logo { font-size: 15px; font-weight: 700; color: rgba(255,255,255,0.4); display: flex; align-items: center; gap: 8px; text-decoration: none; }
.f-logo-mark { width: 24px; height: 24px; background: linear-gradient(135deg, var(--sky-deep), var(--neon-purple)); border-radius: 6px; display: flex; align-items: center; justify-content: center; }
.f-logo-mark svg { width: 13px; height: 13px; }
.f-links { display: flex; gap: 24px; flex-wrap: wrap; }
.f-links a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.2s; }
.f-links a:hover { color: var(--sky); }
.f-copy { font-size: 11px; color: rgba(255,255,255,0.15); }

/* ===== FLOAT BUTTON ===== */
.float-btn { position: fixed; bottom: 28px; right: 28px; z-index: 999; display: flex; flex-direction: column; align-items: flex-end; gap: 10px; }
.float-tip { background: var(--ink2); border: 1px solid var(--card-border); border-radius: 10px; padding: 10px 16px; font-size: 13px; font-weight: 500; color: var(--white); box-shadow: 0 4px 24px rgba(0,0,0,0.4); white-space: nowrap; animation: fadeUp 0.3s ease 3s both; }
@keyframes fadeUp { from{opacity:0;transform:translateY(6px)} to{opacity:1;transform:translateY(0)} }
.float-circle { width: 54px; height: 54px; background: linear-gradient(135deg, #0866ff, var(--neon-purple)); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 24px rgba(8,102,255,0.5), 0 0 40px rgba(123,92,255,0.2); text-decoration: none; transition: transform 0.2s, box-shadow 0.2s; animation: popIn 0.4s ease 2.5s both; position: relative; }
@keyframes popIn { 0%{opacity:0;transform:scale(0.6)} 80%{transform:scale(1.06)} 100%{opacity:1;transform:scale(1)} }
.float-circle:hover { transform: scale(1.08); }
.float-online { position: absolute; top: 1px; right: 1px; width: 14px; height: 14px; background: var(--accent-green); border-radius: 50%; border: 2px solid var(--ink); }

/* ===== RESPONSIVE ===== */
@media (max-width: 960px) {
  .container { padding: 0 16px; }
  nav { padding: 0 16px; }
  .nav-right a:not(.nav-cta) { display: none; }
  .hero { padding: 100px 0 60px; }
  .hero-grid { display: flex !important; flex-direction: column !important; gap: 16px; }
  .hero-main { padding: 28px 20px; }
  .hero-phone-card { padding: 20px 0; overflow: visible; }
  .visual-stack { width: 260px; margin: 0 auto; }
  .phone-frame { width: 230px; }
  .sc-left, .sc-right { display: none; }
  .section-title { font-size: 28px !important; letter-spacing: -1px; line-height: 1.15; }
  .section-sub { font-size: 14px; }
  .section-label { font-size: 9px; letter-spacing: 1px; }
  .hero-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
  .hero-metrics-row { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 16px; }
  .metric-card { padding: 18px 10px; }
  .metric-card .m-num { font-size: 24px; }
  .metric-card .m-label { font-size: 10px; }
  .how-section { padding: 60px 0; }
  .how-bento { grid-template-columns: 1fr 1fr; gap: 10px; }
  .how-item { padding: 20px 16px; }
  .how-item .step-num { font-size: 28px; margin-bottom: 10px; }
  .how-item .step-ico { width: 36px; height: 36px; font-size: 16px; margin-bottom: 12px; }
  .how-item .step-title { font-size: 13px; }
  .how-item .step-desc { font-size: 11px; }
  .cta-section { padding: 60px 0; }
  .cta-bento { grid-template-columns: 1fr; gap: 16px; }
  .cta-main-card { padding: 28px 20px; }
  .cta-trust-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .trust-card { padding: 18px; }
  footer { padding: 24px 16px; flex-direction: column; text-align: center; }
  .f-links { justify-content: center; }
  .float-tip { display: none; }
}

@media (max-width: 500px) {
  .section-title { font-size: 24px !important; }
  .how-bento { grid-template-columns: 1fr; }
  .cta-trust-grid { grid-template-columns: 1fr; }
  .hero-metrics-row { grid-template-columns: repeat(3, 1fr); }
}
