/* ═══════════════════════════════════════════════════════════════
   OpenClaw SA — Shared Stylesheet
   ═══════════════════════════════════════════════════════════════ */

:root {
  --navy: #0A0F1E;
  --navy-2: #111831;
  --navy-3: #1A2340;
  --navy-deep: #070B18;
  --teal: #00D4C8;
  --teal-dim: #00a89d;
  --ink: #F4F6FB;
  --ink-dim: #B8C0D4;
  --ink-mute: #8A94AE;
  --border: rgba(255, 255, 255, 0.08);
  --border-soft: rgba(255, 255, 255, 0.04);
  --wa-green: #25D366;

  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Manrope', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, monospace;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--navy);
  color: var(--ink);
  line-height: 1.6;
  overflow-x: hidden;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ─── NAV ─── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(10, 15, 30, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  z-index: 100;
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 24px;
  max-width: 1200px; margin: 0 auto;
}
.logo {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--ink);
  text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.logo-img {
  height: 36px;
  width: 36px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-text {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  white-space: nowrap;
}
@media (max-width: 420px) {
  .logo-text { font-size: 18px; }
  .logo-img { height: 32px; width: 32px; }
}
.nav-links {
  display: flex; gap: 32px; align-items: center;
  list-style: none;
}
.nav-links a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--teal); }
.nav-cta {
  background: var(--teal);
  color: var(--navy) !important;
  padding: 10px 20px;
  border-radius: 6px;
  font-weight: 600 !important;
  transition: transform 0.15s, box-shadow 0.2s;
}
.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0, 212, 200, 0.25);
  color: var(--navy) !important;
}
.nav-toggle {
  display: none;
  background: none; border: none;
  color: var(--ink);
  font-size: 24px;
  cursor: pointer;
}

@media (max-width: 900px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%; right: 0; left: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy-2);
    border-top: 1px solid var(--border);
    padding: 8px 0;
  }
  .nav-links.open li { width: 100%; }
  .nav-links.open a {
    display: block; padding: 14px 24px;
    border-bottom: 1px solid var(--border-soft);
  }
  .nav-links.open .nav-cta { margin: 8px 16px; text-align: center; }
}

/* ─── BUTTONS ─── */
.btn {
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  padding: 16px 28px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex; align-items: center; gap: 10px;
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.btn-primary {
  background: var(--teal);
  color: var(--navy);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(0, 212, 200, 0.3);
}
.btn-secondary {
  background: transparent;
  color: var(--ink);
  border: 1px solid var(--border);
}
.btn-secondary:hover {
  border-color: var(--teal);
  color: var(--teal);
}
.btn-arrow {
  display: inline-block;
  transition: transform 0.2s;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ─── HERO ─── */
.hero {
  padding: 180px 0 120px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%);
}
.hero::before {
  content: '';
  position: absolute;
  top: 20%; left: -10%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0, 212, 200, 0.08), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -20%; right: -10%;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 212, 200, 0.05), transparent 70%);
  pointer-events: none;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--border-soft) 1px, transparent 1px),
    linear-gradient(90deg, var(--border-soft) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, black 30%, transparent 70%);
  pointer-events: none;
}
.hero-content {
  position: relative; z-index: 1;
  max-width: 900px;
}
.hero-small { padding: 140px 0 80px; }
.hero-small h1 { font-size: clamp(40px, 6vw, 64px); }

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 24px;
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid rgba(0, 212, 200, 0.3);
  border-radius: 100px;
  background: rgba(0, 212, 200, 0.05);
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 7vw, 82px);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 28px;
  color: var(--ink);
}
h1 em {
  font-style: italic;
  color: var(--teal);
  font-weight: 400;
}
.hero-sub {
  font-size: clamp(17px, 1.8vw, 20px);
  color: #D4DBEB;
  max-width: 680px;
  margin-bottom: 40px;
  line-height: 1.55;
}
.hero-ctas {
  display: flex; gap: 14px; flex-wrap: wrap;
}
.hero-proof {
  margin-top: 56px;
  display: flex; gap: 40px; flex-wrap: wrap;
  font-family: var(--font-mono);
  font-size: 12px;
  color: #A8B2CC;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.hero-proof span::before {
  content: '◆';
  color: var(--teal);
  margin-right: 8px;
}

/* ─── SECTIONS ─── */
section { padding: 100px 0; position: relative; }

.section-head {
  max-width: 780px;
  margin-bottom: 64px;
}
.section-head.center {
  text-align: center;
  margin-left: auto; margin-right: auto;
}
.section-label {
  font-family: var(--font-mono);
  font-size: 12px;
  color: var(--teal);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 16px;
  display: block;
}
h2 {
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  color: var(--ink);
}
h2 em { font-style: italic; color: var(--teal); font-weight: 400; }
h3 { color: var(--ink); }

.lede {
  font-size: 18px;
  color: var(--ink-dim);
  line-height: 1.6;
  max-width: 640px;
}

/* ─── FOOTER ─── */
footer {
  background: var(--navy);
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p {
  color: var(--ink-dim);
  font-size: 14px;
  line-height: 1.6;
  max-width: 320px;
}
.footer-col h4 {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--teal);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 12px; }
.footer-col a {
  color: var(--ink-dim);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-soft);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  color: var(--ink-mute);
  font-size: 12px;
  font-family: var(--font-mono);
  letter-spacing: 0.5px;
}
@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 520px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── WHATSAPP FLOAT ─── */
.wa-float {
  position: fixed;
  bottom: 24px; right: 24px;
  width: 60px; height: 60px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  animation: wa-pulse 2.5s infinite;
}
.wa-float:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.55);
}
.wa-float svg { width: 32px; height: 32px; fill: white; }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.45); }
  50% { box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4), 0 0 0 14px rgba(37, 211, 102, 0); }
}
@media (max-width: 520px) {
  .wa-float { width: 56px; height: 56px; bottom: 20px; right: 20px; }
  .wa-float svg { width: 28px; height: 28px; }
}
