/* Base reset and theme */
* { box-sizing: border-box; }
html, body { height: 100%; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #0f172a; /* slate-900 */
  background: #0b1220; /* deep slate bg */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

:root{
  --bg: #0b1220;
  --card: #0f172a;
  --muted: #94a3b8; /* slate-400 */
  --text: #e2e8f0; /* slate-200 */
  --primary: #22d3ee; /* cyan-400 */
  --primary-600: #0891b2; /* cyan-700 */
  --outline: #1f2937; /* gray-800 */
  --ring: rgba(34, 211, 238, 0.35);
}

/* Layout helpers */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 32, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.brand-logo { font-size: 20px; }
.brand-name {
  color: var(--text);
  font-weight: 700;
  letter-spacing: 0.3px;
}
.nav a {
  color: var(--muted);
  text-decoration: none;
  margin: 0 10px;
  font-weight: 500;
}
.nav a:hover { color: var(--text); }
.header-cta { margin-left: 10px; }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}
.btn:focus-visible { outline: none; box-shadow: 0 0 0 6px var(--ring); }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), #60a5fa);
  color: #061126;
  box-shadow:
    0 6px 16px rgba(34, 211, 238, 0.25),
    inset 0 1px 0 rgba(255,255,255,0.3);
}
.btn-primary:hover { transform: translateY(-1px); }
.btn-outline {
  background: transparent;
  color: var(--text);
  border-color: #233145;
}
.btn-outline:hover { border-color: var(--primary); box-shadow: 0 0 0 6px var(--ring); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: transparent;
}
.btn-ghost:hover { color: var(--primary); }
.btn.disabled { opacity: .6; cursor: not-allowed; }

/* Hero */
.hero {
  background: radial-gradient(1000px 400px at 10% 10%, rgba(34, 211, 238, 0.15), transparent 60%),
              radial-gradient(800px 300px at 90% 10%, rgba(96, 165, 250, 0.14), transparent 60%),
              var(--bg);
}
.hero-inner {
  padding: 72px 0 56px;
  text-align: center;
}
.hero h1 {
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
  margin: 0 0 12px 0;
}
.hero p {
  color: var(--muted);
  font-size: 16px;
  margin: 0 0 24px 0;
}
.hero-cta { display: inline-flex; gap: 12px; }

/* Sections */
.section { padding: 48px 0; }
.section h2 {
  color: var(--text);
  font-size: clamp(22px, 3vw, 32px);
  margin: 0 0 16px 0;
}
.plan-group { scroll-margin-top: 96px; }
.why .features { margin-top: 16px; }

/* Cards & grids */
.grid {
  display: grid;
  gap: 16px;
}
.features { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.cards { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: 14px;
  padding: 18px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.25);
}
.feature h3, .plan h4 { color: var(--text); margin: 0 0 8px 0; }
.feature p { color: var(--muted); margin: 0; }

.plan .price {
  color: var(--text);
  font-weight: 700;
  margin: 6px 0 10px 0;
}
.list { margin: 0 0 14px 18px; color: var(--muted); }

.group-head { margin: 26px 0 10px 0; }
.group-head h3 { color: var(--text); margin: 0 0 4px 0; }
.group-head p { color: var(--muted); margin: 0; }

.note { color: var(--muted); margin-top: 6px; font-size: 14px; }

/* Category nav */
.category-nav {
  position: sticky;
  top: 64px;
  z-index: 30;
  display: flex;
  gap: 10px;
  margin: 10px 0 16px 0;
  padding: 8px 4px;
  background: rgba(11, 18, 32, 0.75);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.category-nav::-webkit-scrollbar { display: none; }
.pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
}
.pill:hover { border-color: var(--primary); box-shadow: 0 0 0 6px var(--ring); }
.pill:focus-visible { outline: none; border-color: var(--primary); box-shadow: 0 0 0 6px var(--ring); }
.pill-outline {
  background: transparent;
}

/* Floating WhatsApp Button */
.fab-whatsapp {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #061126;
  background: linear-gradient(135deg, #25D366, #22d3ee);
  box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  z-index: 40;
  font-size: 22px;
}
.fab-whatsapp:hover { transform: translateY(-1px); }

/* Footer */
.site-footer { border-top: 1px solid rgba(255,255,255,0.06); }
.footer-inner { padding: 18px 0; text-align: center; }
.brand-row { color: var(--text); font-weight: 700; }
.tagline { color: var(--muted); margin-left: 6px; }
.footer-nav { margin: 8px 0; }
.footer-nav a { color: var(--muted); text-decoration: none; margin: 0 8px; }
.footer-nav a:hover { color: var(--text); }
.footer-nav a:focus-visible { outline: none; box-shadow: 0 0 0 6px var(--ring); border-radius: 8px; }
.legal { color: var(--muted); font-size: 14px; }

/* Responsive tweaks */
@media (max-width: 720px) {
  .nav { display: none; }
  .header-cta { display: none; }
  .hero-inner { padding: 64px 0 40px; }
}

/* Modal */
.modal { display: none; }
.modal:target {
  display: block;
  position: fixed;
  inset: 0;
  z-index: 100;
}
.modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.75);
  backdrop-filter: blur(6px);
}
.modal-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  margin: 8vh auto;
  background: linear-gradient(180deg, rgba(255,255,255,0.04), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.modal-header h3 { margin: 0; color: var(--text); }
.modal-close { color: var(--muted); text-decoration: none; font-size: 22px; }
.modal-close:hover { color: var(--text); }

.modal-body {
  display: grid;
  gap: 10px;
  padding: 16px;
}
.modal-body label { color: var(--text); font-weight: 600; font-size: 14px; }
.modal-body input[type="tel"]{
  width: 100%;
  padding: 12px 12px;
  border-radius: 10px;
  border: 1px solid #233145;
  background: #0e1627;
  color: var(--text);
  outline: none;
}
.modal-body input[type="tel"]::placeholder{ color: #6b7280; }
.modal-body input[type="tel"]:focus{
  border-color: var(--primary);
  box-shadow: 0 0 0 6px var(--ring);
}
.hint { color: var(--muted); font-size: 13px; margin: 2px 0 8px; }
.modal-actions { display: flex; justify-content: flex-end; gap: 8px; margin-top: 6px; }

/* Native invalid states */
input:invalid[required] {
  border-color: #ef4444; /* red-500 */
}
input:invalid[required]:focus {
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.3);
}

/* Community */
.community { text-align: center; }
.community-text { color: var(--muted); margin: 0 0 14px 0; }

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}


