:root {
  --bg: #070c14;
  --bg-alt: #0a111c;
  --panel: #0e1a2a;
  --panel-2: #12304a;
  --line: #1b2b41;
  --line-bright: #24405c;
  --text: #e8f2fa;
  --muted: #93a7c0;
  --brand: #00A0E0;
  --brand-2: #107090;
  --brand-deep: #0a4a66;
  --brand-light: #66d0ff;
  --grad: linear-gradient(135deg, #00A0E0 0%, #107090 100%);
  --green: #25D366;
  --green-deep: #128C7E;
  --radius: 16px;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  --mono: ui-monospace, 'Cascadia Code', 'JetBrains Mono', 'SFMono-Regular', Consolas, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4 { font-family: 'Sora', 'Inter', sans-serif; line-height: 1.2; }

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

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

::selection { background: rgba(0, 160, 224, 0.35); color: #fff; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad);
  z-index: 200;
  box-shadow: 0 0 12px rgba(0, 160, 224, 0.6);
}

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(7, 12, 20, 0.7);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.site-header.scrolled {
  background: rgba(7, 12, 20, 0.92);
  border-bottom-color: var(--line);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 11px; }

.brand-logo { height: 42px; width: auto; display: block; transition: transform 0.2s; }

.brand-name { font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: 0.3px; }

.brand-name em { color: var(--brand); font-style: normal; }

a.brand:hover .brand-logo { transform: scale(1.04); }

.footer-brand .brand-logo { height: 40px; }

.site-nav { display: flex; align-items: center; gap: 24px; }

.site-nav a { color: var(--muted); font-size: 14.5px; font-weight: 500; position: relative; transition: color 0.2s; }

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 0; height: 2px;
  background: var(--brand);
  transition: width 0.25s ease;
}

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

.site-nav a:hover::after { width: 100%; }

.site-nav .nav-cta {
  background: var(--grad);
  color: #fff;
  font-weight: 700;
  padding: 10px 18px;
  border-radius: 10px;
  box-shadow: 0 8px 20px rgba(0, 160, 224, 0.35);
  transition: transform 0.15s, box-shadow 0.15s;
}

.site-nav .nav-cta::after { display: none; }

.site-nav .nav-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(0, 160, 224, 0.5); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }

.nav-toggle span { width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.25s; }

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 120px 0 100px;
  overflow: hidden;
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(0, 160, 224, 0.22), transparent 60%),
    radial-gradient(760px 420px at -5% 115%, rgba(16, 112, 144, 0.25), transparent 60%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 160, 224, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 160, 224, 0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  mask-image: radial-gradient(60% 60% at 50% 30%, #000 0%, transparent 100%);
  -webkit-mask-image: radial-gradient(60% 60% at 50% 30%, #000 0%, transparent 100%);
  pointer-events: none;
}

.hero-inner { position: relative; display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: center; }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 160, 224, 0.1);
  color: var(--brand-light);
  border: 1px solid rgba(0, 160, 224, 0.4);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}

.badge::before {
  content: "";
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 10px var(--brand);
  animation: pulse 1.8s infinite;
}

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

.hero h1 {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 800;
  margin-bottom: 20px;
}

.grad-text {
  background: linear-gradient(90deg, #00A0E0, #66d0ff 55%, #107090);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy > p { color: var(--muted); font-size: 17px; max-width: 54ch; margin-bottom: 30px; }

.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 28px; }

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, color 0.15s, border-color 0.15s;
}

.btn-primary { background: var(--grad); color: #fff; box-shadow: 0 10px 26px rgba(0, 160, 224, 0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 34px rgba(0, 160, 224, 0.5); }

.btn-ghost { background: rgba(14, 26, 42, 0.6); color: var(--text); border-color: var(--line-bright); }
.btn-ghost:hover { border-color: var(--brand); color: var(--brand-light); box-shadow: 0 0 20px rgba(0, 160, 224, 0.15); }

.btn-light { background: #fff; color: #0b1a26; }
.btn-light:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(255, 255, 255, 0.18); }

.btn-outline-light { background: rgba(255, 255, 255, 0.03); color: #fff; border-color: rgba(255, 255, 255, 0.35); }
.btn-outline-light:hover { border-color: var(--brand-light); color: var(--brand-light); }

.btn-block { display: block; text-align: center; }

.hero-points { list-style: none; display: flex; flex-wrap: wrap; gap: 18px; }

.hero-points li { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 14px; font-family: var(--mono); }

.hero-points li::before {
  content: "";
  width: 8px; height: 8px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(0, 160, 224, 0.15);
}

/* Phone visual */
.hero-visual { display: flex; justify-content: center; will-change: transform; }

.phone {
  width: 300px;
  background: linear-gradient(165deg, var(--panel-2), var(--panel));
  border: 1px solid var(--line-bright);
  border-radius: 30px;
  padding: 18px 14px 14px;
  box-shadow: var(--shadow), 0 0 60px rgba(0, 160, 224, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
  animation: float 6s ease-in-out infinite;
  position: relative;
}

@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }

.glow-ring {
  position: absolute;
  inset: -18px;
  border: 1px solid rgba(0, 160, 224, 0.18);
  border-radius: 36px;
  animation: spin 14s linear infinite;
  pointer-events: none;
}

.glow-ring::after {
  content: "";
  position: absolute;
  top: -3px; left: 50%;
  width: 6px; height: 6px;
  background: var(--brand);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--brand);
}

@keyframes spin { to { transform: rotate(360deg); } }

.phone-bar { display: flex; justify-content: center; gap: 6px; padding-bottom: 8px; border-bottom: 1px solid var(--line); }

.phone-bar span { width: 7px; height: 7px; border-radius: 50%; background: var(--brand); opacity: 0.85; }

.msg { padding: 10px 13px; border-radius: 14px; max-width: 82%; font-size: 13px; }

.msg b { display: block; font-size: 12px; margin-bottom: 3px; color: var(--brand-light); }

.msg-a { background: var(--panel-2); align-self: flex-start; border-bottom-left-radius: 4px; color: var(--text); }

.msg-b { background: rgba(0, 160, 224, 0.16); align-self: flex-end; border-bottom-right-radius: 4px; color: var(--text); border: 1px solid rgba(0, 160, 224, 0.25); }

.msg-b b { color: var(--brand-light); }

.msg span { color: var(--muted); }

.phone-footer { text-align: center; font-size: 11.5px; color: var(--muted); padding-top: 8px; border-top: 1px solid var(--line); font-family: var(--mono); }

/* ---------- Marquee ---------- */
.marquee {
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--bg-alt);
  padding: 16px 0;
  overflow: hidden;
  white-space: nowrap;
  position: relative;
}

.marquee::before, .marquee::after {
  content: "";
  position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2;
  pointer-events: none;
}

.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-alt), transparent); }
.marquee::after { right: 0; background: linear-gradient(-90deg, var(--bg-alt), transparent); }

.marquee-track { display: inline-flex; gap: 0; animation: marquee 26s linear infinite; }

.marquee-track span {
  font-family: var(--mono);
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--muted);
  padding: 0 26px;
  display: inline-flex;
  align-items: center;
  gap: 18px;
}

.marquee-track span::after {
  content: "\25C6";
  color: var(--brand);
  font-size: 9px;
}

@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Sections ---------- */
.section { padding: 100px 0; }

.section-alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

.section-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }

.eyebrow {
  display: inline-block;
  color: var(--brand-light);
  font-family: var(--mono);
  font-size: 12.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

.eyebrow::before { content: "// "; color: var(--brand-2); }

.eyebrow-light { color: var(--brand-light); }

.section-head h2 { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }

.section-head p { color: var(--muted); font-size: 16px; }

/* Grids */
.grid { display: grid; gap: 22px; }

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

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

.card, .feature {
  position: relative;
  background: linear-gradient(165deg, rgba(18, 48, 74, 0.55), rgba(14, 26, 42, 0.8));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  overflow: hidden;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.card::before, .feature::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 2px;
  background: var(--grad);
  opacity: 0;
  transition: opacity 0.25s;
}

.card:hover::before, .feature:hover::before { opacity: 1; }

.card:hover, .feature:hover {
  transform: translateY(-6px);
  border-color: var(--line-bright);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.45), 0 0 30px rgba(0, 160, 224, 0.08);
}

.card-icon { font-size: 26px; filter: drop-shadow(0 0 8px rgba(0, 160, 224, 0.4)); }

.card h3, .feature h3 { font-size: 18px; margin: 14px 0 8px; }

.card p, .feature p { color: var(--muted); font-size: 14.5px; }

.feature h3 { font-size: 16.5px; }

.feature > span { font-size: 24px; }

/* Stagger reveal */
.grid > * { transition-delay: calc(var(--i, 0) * 70ms); }

/* ---------- Pricing ---------- */
.pricing-grid { grid-template-columns: repeat(4, 1fr); }

.plan {
  position: relative;
  background: linear-gradient(165deg, rgba(18, 48, 74, 0.5), rgba(14, 26, 42, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 24px 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.plan:hover { transform: translateY(-6px); border-color: var(--line-bright); box-shadow: 0 16px 44px rgba(0, 0, 0, 0.45); }

.plan h3 { font-size: 17px; color: var(--muted); letter-spacing: 0.4px; font-family: var(--mono); }

.plan-amt { font-family: 'Sora', sans-serif; font-size: 32px; font-weight: 800; }

.plan-amt span { font-size: 14px; color: var(--muted); font-family: 'Inter', sans-serif; font-weight: 500; }

.plan ul { list-style: none; display: flex; flex-direction: column; gap: 9px; flex: 1; }

.plan ul li { color: var(--muted); font-size: 14px; padding-left: 24px; position: relative; }

.plan ul li::before {
  content: "\2713";
  position: absolute; left: 0; top: 0;
  color: var(--brand);
  font-weight: 800;
}

.plan .btn { margin-top: 8px; }

.plan-featured {
  border-color: rgba(0, 160, 224, 0.55);
  background: linear-gradient(180deg, rgba(0, 160, 224, 0.1), rgba(14, 26, 42, 0.9) 45%);
  transform: scale(1.02);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.4);
}

.plan-featured:hover { transform: scale(1.02) translateY(-6px); }

.plan-tag {
  position: absolute; top: -13px; left: 50%;
  transform: translateX(-50%);
  background: var(--grad);
  color: #fff;
  font-size: 12px; font-weight: 800; letter-spacing: 0.5px;
  padding: 5px 14px; border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 6px 16px rgba(0, 160, 224, 0.4);
}

.note { text-align: center; color: var(--muted); font-size: 14px; margin-top: 30px; }

.note a { color: var(--brand-light); font-weight: 600; }

/* ---------- Source code panel ---------- */
.source-panel {
  position: relative;
  background:
    radial-gradient(720px 300px at 100% 0%, rgba(0, 160, 224, 0.2), transparent 60%),
    linear-gradient(135deg, var(--panel-2), var(--panel));
  border: 1px solid rgba(0, 160, 224, 0.4);
  border-radius: 24px;
  padding: 60px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.source-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 160, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 160, 224, 0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

.source-copy { position: relative; max-width: 640px; }

.source-copy h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); font-weight: 800; margin-bottom: 16px; }

.source-copy > p { color: var(--muted); font-size: 16px; margin-bottom: 24px; }

.source-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 30px; }

.source-list li { color: var(--text); font-size: 15px; padding-left: 30px; position: relative; }

.source-list li::before {
  content: "\2713";
  position: absolute; left: 0;
  width: 19px; height: 19px;
  display: grid; place-items: center;
  background: var(--grad);
  color: #fff;
  border-radius: 50%;
  font-size: 12px; font-weight: 800;
  box-shadow: 0 4px 10px rgba(0, 160, 224, 0.4);
}

.source-price { display: inline-block; font-family: var(--mono); color: var(--brand-light); margin-bottom: 22px; }

.source-panel .hero-actions { margin-bottom: 0; }

/* ---------- About / stats ---------- */
.about-wrap { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 56px; align-items: start; }

.about-side h2 { font-size: clamp(1.7rem, 3.2vw, 2.3rem); font-weight: 800; margin-bottom: 18px; }

.about-side p { color: var(--muted); font-size: 15.5px; margin-bottom: 16px; }

.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }

.stat {
  background: linear-gradient(165deg, rgba(18, 48, 74, 0.5), rgba(14, 26, 42, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
  transition: border-color 0.25s, transform 0.25s;
}

.stat:hover { transform: translateY(-4px); border-color: var(--line-bright); }

.stat b {
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.stat span { color: var(--muted); font-size: 13.5px; }

/* ---------- Contact ---------- */
.contact-grid { grid-template-columns: repeat(3, 1fr); }

.contact-card {
  display: block;
  background: linear-gradient(165deg, rgba(18, 48, 74, 0.5), rgba(14, 26, 42, 0.85));
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

a.contact-card:hover { transform: translateY(-6px); border-color: rgba(0, 160, 224, 0.5); box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4); }

.contact-card h3 { font-size: 17px; margin: 14px 0 6px; }

.contact-card p { color: var(--muted); font-size: 14.5px; }

.contact-card .card-icon { color: var(--brand-light); }

/* ---------- Footer ---------- */
.site-footer { background: var(--bg-alt); border-top: 1px solid var(--line); padding: 56px 0 24px; }

.footer-inner { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; }

.footer-brand { max-width: 380px; }

.footer-brand .brand { margin-bottom: 14px; }

.footer-brand p { color: var(--muted); font-size: 14px; }

.footer-links { display: flex; flex-direction: column; gap: 10px; }

.footer-links a { color: var(--muted); font-size: 14px; transition: color 0.2s; }

.footer-links a:hover { color: var(--brand-light); }

.footer-bottom {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--muted); font-size: 13px;
}

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px; bottom: 22px;
  width: 54px; height: 54px;
  display: grid; place-items: center;
  background: var(--green);
  color: #06231a;
  border-radius: 50%;
  font-size: 26px;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.4);
  z-index: 90;
  transition: transform 0.2s;
}

.wa-float:hover { transform: scale(1.08) rotate(4deg); }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }

.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .phone { animation: none; }
  .marquee-track { animation-duration: 90s; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards, .features { grid-template-columns: repeat(2, 1fr); }
  .pricing-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner, .about-wrap { grid-template-columns: 1fr; }
  .hero-visual { order: -1; }
  .phone { width: 260px; }
  .source-panel { padding: 40px 28px; }
}

@media (max-width: 640px) {
  .section { padding: 72px 0; }
  .cards, .features, .pricing-grid, .contact-grid, .stats { grid-template-columns: 1fr; }
  .plan-featured { transform: none; }
  .plan-featured:hover { transform: translateY(-6px); }
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed;
    top: 70px; right: 0;
    width: min(78vw, 300px);
    height: calc(100vh - 70px);
    background: rgba(10, 17, 28, 0.98);
    backdrop-filter: blur(14px);
    border-left: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding: 26px 22px;
    transform: translateX(100%);
    transition: transform 0.28s ease;
  }
  .site-nav.open { transform: none; }
  .site-nav a { font-size: 16px; padding: 9px 0; width: 100%; }
  .site-nav .nav-cta { text-align: center; }
  .hero { padding: 80px 0 70px; }
  .wa-float { right: 16px; bottom: 16px; width: 48px; height: 48px; }
}