/* ============================================================
   OUTWIRES — shared design system
============================================================ */
:root {
  --bg: #0A0E1A;
  --bg-deep: #070A13;
  --bg-card: #111827;
  --bg-raise: #0E1424;
  --border: #1E2D3D;
  --border-soft: rgba(30, 45, 61, 0.6);
  --cyan: #00C2FF;
  --cyan-dim: rgba(0, 194, 255, 0.10);
  --cyan-glow: rgba(0, 194, 255, 0.32);
  --violet: #7B2FFF;
  --violet-dim: rgba(123, 47, 255, 0.10);
  --text: #F0F4FF;
  --muted: #7A8BA0;
  --green: #25D366;
  --mint: #2EE59D;
  --red: #FF5470;
  --amber: #FFB547;
  --font: "Inter", system-ui, -apple-system, sans-serif;
  --display: "Space Grotesk", "Inter", sans-serif;
  --nav-h: 72px;
  --r-lg: 24px;
  --r-md: 16px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--nav-h) + 16px); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img, svg { display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
.container { width: min(1200px, 100% - 40px); margin-inline: auto; }
section { padding: 88px 0; position: relative; }

h1, h2, h3, h4 { font-family: var(--display); font-weight: 700; letter-spacing: -0.02em; line-height: 1.12; }
.section-head { max-width: 680px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .kicker { justify-content: center; }
.section-head h2 { font-size: clamp(30px, 4.4vw, 44px); }
.section-head p { color: var(--muted); font-size: 17px; margin-top: 15px; }
.kicker {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 11.5px; font-weight: 700; letter-spacing: 2.5px;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.kicker::before { content: ""; width: 22px; height: 2px; background: linear-gradient(90deg, var(--cyan), var(--violet)); border-radius: 2px; }
.grad-text {
  background: linear-gradient(100deg, var(--cyan) 10%, #6FD8FF 45%, var(--violet) 105%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

/* reveal-on-scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.75s cubic-bezier(.2,.6,.2,1), transform 0.75s cubic-bezier(.2,.6,.2,1); }
.reveal.visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: 0.1s; }
.reveal[data-delay="2"] { transition-delay: 0.2s; }
.reveal[data-delay="3"] { transition-delay: 0.3s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  * { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; }
}
@keyframes pulse { 50% { opacity: 0.35; } }

/* ============================================================
   NAV
============================================================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  height: var(--nav-h);
  background: rgba(7, 10, 19, 0.65);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, background 0.3s ease;
}
.nav.scrolled { border-bottom-color: var(--border-soft); background: rgba(7, 10, 19, 0.85); }
.nav-inner { height: var(--nav-h); display: flex; align-items: center; gap: 28px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--cyan), #00E0FF);
  display: grid; place-items: center;
  box-shadow: 0 0 24px var(--cyan-glow);
}
.logo-mark svg { width: 20px; height: 20px; }
.logo-text { font-family: var(--display); font-size: 21px; font-weight: 700; letter-spacing: -0.03em; }
.logo-text b { color: var(--cyan); font-weight: 700; }

.nav-links { display: flex; gap: 24px; margin-left: auto; align-items: center; }
.nav-links a { color: var(--muted); font-size: 14.5px; font-weight: 500; transition: color 0.2s; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--cyan); font-weight: 600; }

.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: flex; background: var(--bg-card); border: 1px solid var(--border);
  border-radius: 100px; padding: 3px;
}
.lang-toggle button {
  border: none; background: transparent; color: var(--muted);
  font-size: 12.5px; font-weight: 700; padding: 5px 12px; border-radius: 100px;
  transition: all 0.2s;
}
.lang-toggle button.active { background: var(--cyan); color: #021016; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  border-radius: 13px; font-weight: 700; font-size: 15px;
  padding: 13px 24px; border: 1px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s;
}
.btn-cyan { background: var(--cyan); color: #021016; box-shadow: 0 8px 28px var(--cyan-glow); }
.btn-cyan:hover { transform: translateY(-2px); box-shadow: 0 12px 36px var(--cyan-glow); }
.btn-ghost { border-color: var(--border); color: var(--text); background: rgba(17, 24, 39, 0.5); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }
.btn-wa { background: var(--green); color: #06240f; box-shadow: 0 8px 28px rgba(37,211,102,0.3); }
.btn-wa:hover { transform: translateY(-2px); }
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.nav .btn { padding: 9px 18px; font-size: 14px; }

.hamburger {
  display: none; background: none; border: none; width: 40px; height: 40px;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
}
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.25s; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.mobile-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 99;
  background: rgba(7, 10, 19, 0.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  padding: 12px 20px 24px;
  flex-direction: column; gap: 4px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a { padding: 13px 8px; font-size: 16px; font-weight: 600; color: var(--text); border-bottom: 1px solid var(--border-soft); }
.mobile-menu a.active { color: var(--cyan); }
.mobile-menu .btn { margin-top: 16px; }

@media (max-width: 1080px) {
  .nav-links { display: none; }
  .nav .btn-cyan { display: none; }
  .hamburger { display: flex; }
  .nav-actions { margin-left: auto; }
}

/* ============================================================
   PAGE HERO
============================================================ */
.page-hero {
  padding: calc(var(--nav-h) + 80px) 0 72px;
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border-soft);
  overflow: hidden; position: relative;
}
.page-hero .hero-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(0,194,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,194,255,0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, black 25%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 90% 90% at 50% 0%, black 25%, transparent 75%);
}
.page-hero::before {
  content: ""; position: absolute; top: -280px; left: 50%; transform: translateX(-50%);
  width: 1000px; height: 620px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,194,255,0.11) 0%, transparent 62%);
  pointer-events: none;
}
.page-hero-inner { position: relative; z-index: 1; max-width: 780px; }
.page-hero-inner.center { margin-inline: auto; text-align: center; }
.page-hero-inner.center .kicker { justify-content: center; }
.page-hero h1 { font-size: clamp(36px, 5.6vw, 58px); letter-spacing: -0.03em; margin-bottom: 20px; line-height: 1.06; }
.page-hero .subhead { color: var(--muted); font-size: 18.5px; line-height: 1.65; margin-bottom: 32px; }
.page-hero .subhead strong { color: var(--text); font-weight: 600; }
.page-hero .hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.page-hero-inner.center .hero-ctas { justify-content: center; }
.page-hero .hero-ctas .btn { padding: 15px 28px; font-size: 15.5px; }

/* ============================================================
   ICON TILES (shared)
============================================================ */
.ico-tile {
  width: 52px; height: 52px; border-radius: 15px;
  background: var(--cyan-dim); border: 1px solid rgba(0,194,255,0.3);
  display: grid; place-items: center; flex-shrink: 0;
}
.ico-tile svg { width: 24px; height: 24px; stroke: var(--cyan); }
.ico-tile.vi { background: var(--violet-dim); border-color: rgba(123,47,255,0.35); }
.ico-tile.vi svg { stroke: #A66BFF; }
.ico-tile.gr { background: rgba(37,211,102,0.1); border-color: rgba(37,211,102,0.3); }
.ico-tile.gr svg { stroke: var(--green); }
.ico-tile.am { background: rgba(255,181,71,0.1); border-color: rgba(255,181,71,0.3); }
.ico-tile.am svg { stroke: var(--amber); }
.ico-tile.sm { width: 42px; height: 42px; border-radius: 12px; }
.ico-tile.sm svg { width: 20px; height: 20px; }

/* ============================================================
   CARDS
============================================================ */
.card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px 30px; position: relative; overflow: hidden;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}
.card:hover { border-color: rgba(0,194,255,0.45); transform: translateY(-4px); box-shadow: 0 20px 50px rgba(0,194,255,0.07); }
.card h3 { font-size: 20px; margin: 20px 0 10px; }
.card > p { color: var(--muted); font-size: 14.5px; }
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card-grid.g2 { grid-template-columns: repeat(2, 1fr); }
.card-grid.g4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .card-grid, .card-grid.g2, .card-grid.g4 { grid-template-columns: 1fr; } }
@media (min-width: 640px) and (max-width: 980px) { .card-grid.g4 { grid-template-columns: repeat(2, 1fr); } }

.tag-row { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag {
  font-size: 11.5px; font-weight: 600; color: var(--muted);
  background: var(--bg-raise); border: 1px solid var(--border);
  padding: 5px 11px; border-radius: 8px;
}
.tag.hot { color: var(--cyan); border-color: rgba(0,194,255,0.35); background: var(--cyan-dim); }

/* feature checklist */
.feat-list { display: flex; flex-direction: column; gap: 13px; margin-top: 20px; }
.feat { display: flex; gap: 12px; align-items: flex-start; font-size: 14.5px; }
.feat p, .feat span { color: #B9C4D6; }
.feat b { color: var(--text); }
.feat .check {
  width: 22px; height: 22px; border-radius: 7px; flex-shrink: 0; margin-top: 2px;
  background: var(--cyan-dim); border: 1px solid rgba(0,194,255,0.3);
  display: grid; place-items: center;
}
.feat .check svg { width: 11px; height: 11px; stroke: var(--cyan); }

/* step cards */
.step-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px 28px; position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s;
}
.step-card:hover { border-color: rgba(0,194,255,0.5); transform: translateY(-4px); }
.step-num {
  font-family: var(--display); font-size: 74px; font-weight: 700; line-height: 1;
  color: transparent; -webkit-text-stroke: 1.5px var(--border);
  position: absolute; top: 18px; right: 22px; user-select: none;
}
.step-card h3 { font-size: 19px; margin: 22px 0 10px; }
.step-card p { color: var(--muted); font-size: 14.5px; }

/* corridor cards */
.corridor-card {
  background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 28px 24px; position: relative; overflow: hidden;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.corridor-card:hover { border-color: rgba(0,194,255,0.5); transform: translateY(-4px); box-shadow: 0 16px 44px rgba(0,194,255,0.09); }
.corridor-card .bg-flag {
  position: absolute; right: -16px; bottom: -24px; font-size: 116px; line-height: 1;
  opacity: 0.09; pointer-events: none; user-select: none; filter: saturate(0.8);
}
.corridor-card .flag { font-size: 38px; line-height: 1; margin-bottom: 14px; }
.corridor-card h3 { font-size: 18px; margin-bottom: 9px; }
.avail-badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 11px; font-weight: 700; color: var(--mint);
  background: rgba(46,229,157,0.08); border: 1px solid rgba(46,229,157,0.3);
  padding: 4px 11px; border-radius: 100px; margin-bottom: 14px;
}
.avail-badge::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 8px var(--mint); }
.avail-badge.soon { color: var(--amber); background: rgba(255,181,71,0.08); border-color: rgba(255,181,71,0.3); }
.avail-badge.soon::before { background: var(--amber); box-shadow: none; }
.method-list { display: flex; flex-wrap: wrap; gap: 6px; position: relative; z-index: 1; }
.method-tag {
  font-size: 11px; font-weight: 600; color: var(--muted);
  background: var(--bg-raise); border: 1px solid var(--border);
  padding: 4px 10px; border-radius: 7px;
}
.rate-line { display: flex; justify-content: space-between; align-items: baseline; margin: 14px 0 16px; padding: 11px 14px; background: var(--bg-raise); border: 1px solid var(--border); border-radius: 11px; position: relative; z-index: 1; }
.rate-line .lbl { font-size: 11px; color: var(--muted); font-weight: 600; }
.rate-line .val { font-family: var(--display); font-size: 15px; font-weight: 700; color: var(--cyan); }

/* stats band */
.stats-band { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-cell { text-align: center; padding: 26px 12px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); }
.stat-cell .num { font-family: var(--display); font-size: clamp(26px, 3vw, 36px); font-weight: 700; color: var(--cyan); letter-spacing: -0.02em; }
.stat-cell .lbl { font-size: 12.5px; color: var(--muted); margin-top: 6px; }
@media (max-width: 720px) { .stats-band { grid-template-columns: repeat(2, 1fr); } }

/* API terminal card */
.api-card { background: #0A0F1C; border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; }
.api-card-head {
  display: flex; align-items: center; gap: 8px; padding: 14px 20px;
  border-bottom: 1px solid var(--border-soft); background: rgba(17,24,39,0.6);
}
.api-dot { width: 11px; height: 11px; border-radius: 50%; }
.api-dot.r { background: #FF5F57; } .api-dot.y { background: #FEBC2E; } .api-dot.g { background: #28C840; }
.api-card-head .fname { margin-left: 10px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--muted); }
.api-body { padding: 22px 24px; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13px; line-height: 1.75; overflow-x: auto; }
.api-body pre { margin: 0; font-family: inherit; }
.api-body .c { color: #4E617A; } .api-body .k { color: #7FD8FF; } .api-body .s { color: #9EF0C3; }
.api-body .n { color: #FFB86B; } .api-body .m { color: #C79BFF; }
.api-split { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; }
.api-copy { padding: 36px 36px 36px 12px; }
.api-copy h3 { font-size: 25px; margin-bottom: 14px; }
.api-copy p { color: var(--muted); font-size: 15.5px; margin-bottom: 22px; }
.api-points { display: flex; flex-direction: column; gap: 11px; }
.api-points li { list-style: none; display: flex; gap: 11px; font-size: 14.5px; align-items: baseline; }
.api-points li::before { content: "→"; color: var(--cyan); font-weight: 700; }
@media (max-width: 980px) { .api-split { grid-template-columns: 1fr; } .api-copy { padding: 0 28px 32px; } }

/* numbered vertical steps */
.astep { display: flex; gap: 16px; position: relative; padding-bottom: 24px; }
.astep:last-of-type { padding-bottom: 8px; }
.astep::before { content: ""; position: absolute; left: 15px; top: 34px; bottom: 0; width: 2px; background: var(--border); }
.astep:last-of-type::before { display: none; }
.astep-num {
  width: 32px; height: 32px; border-radius: 50%; flex-shrink: 0; z-index: 1;
  background: var(--bg-raise); border: 1px solid var(--cyan);
  color: var(--cyan); font-weight: 800; font-size: 14px;
  display: grid; place-items: center;
}
.astep .astep-body { padding-top: 4px; }
.astep h4 { font-size: 15.5px; margin-bottom: 3px; }
.astep p { font-size: 14px; color: var(--muted); }

/* FAQ accordion */
.faq-list { max-width: 800px; margin-inline: auto; }
.faq-cat { font-family: var(--display); font-size: 18px; font-weight: 700; color: var(--text); margin: 40px 0 16px; display: flex; align-items: center; gap: 12px; }
.faq-cat:first-child { margin-top: 0; }
.faq-cat .ico-tile { width: 38px; height: 38px; border-radius: 11px; }
.faq-cat .ico-tile svg { width: 18px; height: 18px; }
.faq-item { border: 1px solid var(--border); border-radius: 16px; background: var(--bg-card); margin-bottom: 12px; overflow: hidden; transition: border-color 0.25s; }
.faq-item.open { border-color: rgba(0,194,255,0.5); }
.faq-q {
  width: 100%; background: none; border: none; color: var(--text);
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  text-align: left; font-size: 16px; font-weight: 700; padding: 20px 24px;
}
.faq-q .chev { flex-shrink: 0; width: 22px; height: 22px; display: grid; place-items: center; transition: transform 0.3s; color: var(--cyan); }
.faq-item.open .faq-q .chev { transform: rotate(180deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.faq-a p { padding: 0 24px 22px; color: var(--muted); font-size: 15px; }

/* CTA band */
.cta-band { padding: 88px 0; background: var(--bg-deep); border-top: 1px solid var(--border-soft); overflow: hidden; }
.cta-band-inner {
  position: relative; text-align: center;
  background: linear-gradient(160deg, rgba(0,194,255,0.09), rgba(123,47,255,0.08));
  border: 1px solid rgba(0,194,255,0.3); border-radius: 28px;
  padding: 64px 32px;
  overflow: hidden;
}
.cta-band-inner::before {
  content: ""; position: absolute; top: -160px; left: 50%; transform: translateX(-50%);
  width: 640px; height: 380px; border-radius: 50%;
  background: radial-gradient(ellipse, rgba(0,194,255,0.14), transparent 65%);
  pointer-events: none;
}
.cta-band h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 14px; position: relative; }
.cta-band p { color: var(--muted); font-size: 17px; max-width: 560px; margin: 0 auto 32px; position: relative; }
.cta-band .hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; position: relative; }
.cta-band .btn { padding: 15px 28px; font-size: 15.5px; }

/* ============================================================
   FOOTER
============================================================ */
footer { border-top: 1px solid var(--border-soft); padding: 60px 0 44px; background: var(--bg-deep); }
.footer-top { display: flex; justify-content: space-between; gap: 40px; flex-wrap: wrap; margin-bottom: 40px; }
.footer-brand .tagline { color: var(--muted); font-size: 14px; margin-top: 14px; max-width: 300px; }
.footer-cols { display: flex; gap: 60px; flex-wrap: wrap; }
.footer-col h4 { font-family: var(--font); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col a { display: block; color: var(--muted); font-size: 14px; padding: 5px 0; transition: color 0.2s; }
.footer-col a:hover { color: var(--cyan); }
.social-row { display: flex; gap: 12px; margin-top: 22px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 11px;
  background: var(--bg-card); border: 1px solid var(--border);
  display: grid; place-items: center; transition: border-color 0.2s, transform 0.2s;
}
.social-row a:hover { border-color: var(--cyan); transform: translateY(-2px); }
.social-row svg { width: 17px; height: 17px; fill: var(--muted); }
.social-row a:hover svg { fill: var(--cyan); }
.legal-text { color: var(--muted); font-size: 12.5px; line-height: 1.75; max-width: 780px; opacity: 0.8; border-top: 1px solid var(--border-soft); padding-top: 28px; }
.legal-text p + p { margin-top: 8px; }
.copyright { margin-top: 18px; font-size: 12.5px; color: var(--muted); opacity: 0.65; }

/* floating whatsapp */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 90;
  width: 58px; height: 58px; border-radius: 50%;
  background: var(--green);
  display: grid; place-items: center;
  box-shadow: 0 8px 30px rgba(37,211,102,0.4);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }
