/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #6c5ce7;
  --primary-hover: #5a4bd5;
  --primary-light: rgba(108, 92, 231, 0.08);
  --dark: #1a1c25;
  --dark-surface: #22242f;
  --text: #333;
  --text-muted: #6b7085;
  --text-light: #b0b3c0;
  --surface: #ffffff;
  --bg: #f8f9fb;
  --border: #e4e6ef;
  --radius: 12px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text);
  background: var(--surface);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 28, 37, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.navbar-inner {
  max-width: 1100px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.3px;
}

.navbar-brand svg { flex-shrink: 0; }

.navbar-links {
  display: flex;
  align-items: center;
  gap: 32px;
}

.navbar-links a {
  color: var(--text-light);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
}

.navbar-links a:hover { color: #fff; text-decoration: none; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-hover);
  text-decoration: none;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(108, 92, 231, 0.35);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.06);
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-lg {
  padding: 14px 32px;
  font-size: 16px;
  border-radius: 10px;
}

/* ===== Hero ===== */
.hero {
  padding: 140px 24px 100px;
  background: var(--dark);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(108, 92, 231, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.hero-inner {
  max-width: 720px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(108, 92, 231, 0.12);
  border: 1px solid rgba(108, 92, 231, 0.25);
  border-radius: 20px;
  color: #a89de8;
  font-size: 13px;
  font-weight: 500;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: 52px;
  font-weight: 800;
  color: #fff;
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}

.hero h1 span { color: var(--primary); }

.hero p {
  font-size: 18px;
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
}

/* ===== Section ===== */
.section {
  padding: 96px 24px;
}

.section-dark {
  background: var(--dark);
}

.section-light {
  background: var(--bg);
}

.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: 36px;
  font-weight: 700;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.section-dark .section-header h2 { color: #fff; }

.section-header p {
  font-size: 17px;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

.section-dark .section-header p { color: var(--text-light); }

/* ===== Steps ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.step {
  text-align: center;
  padding: 32px 24px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-light);
  color: var(--primary);
  font-size: 22px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  letter-spacing: -0.2px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== Features ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: all 0.2s;
}

.feature-card:hover {
  border-color: rgba(108, 92, 231, 0.3);
  box-shadow: 0 4px 20px rgba(108, 92, 231, 0.08);
  transform: translateY(-2px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.feature-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 8px;
  letter-spacing: -0.2px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
}

.cta-section h2 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}

.cta-section p {
  font-size: 17px;
  color: var(--text-light);
  margin-bottom: 32px;
}

/* ===== Footer ===== */
.footer {
  background: var(--dark);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 24px;
}

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

.footer-links a:hover { color: #fff; }

/* ===== Legal Pages ===== */
.legal-hero {
  padding: 120px 24px 48px;
  background: var(--dark);
  text-align: center;
}

.legal-hero h1 {
  font-size: 36px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}

.legal-hero p {
  font-size: 14px;
  color: var(--text-muted);
}

.legal-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 56px 24px 96px;
}

.legal-content h2 {
  font-size: 22px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 14px;
  letter-spacing: -0.3px;
}

.legal-content h3 {
  font-size: 17px;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 10px;
}

.legal-content p {
  font-size: 15px;
  color: #555;
  margin-bottom: 14px;
  line-height: 1.75;
}

.legal-content ul, .legal-content ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-content li {
  font-size: 15px;
  color: #555;
  line-height: 1.75;
  margin-bottom: 6px;
}

/* ===== Contact page ===== */
.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 32px;
  margin-top: 8px;
}

.contact-card p {
  font-size: 15px;
  color: #555;
  margin-bottom: 12px;
  line-height: 1.75;
}

.contact-card p:last-child {
  margin-bottom: 0;
}

.contact-card strong {
  color: var(--dark);
  font-weight: 600;
}

/* ===== Sticky WhatsApp (marketing home) ===== */
.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 200;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.wa-float:hover {
  text-decoration: none;
  transform: translateY(-2px);
  filter: brightness(1.02);
}

.wa-float:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
  border-radius: 999px;
}

.wa-float__label {
  background: #fff;
  color: var(--dark);
  font-size: 14px;
  font-weight: 600;
  padding: 12px 20px;
  border-radius: 999px;
  border: 1px solid var(--border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.wa-float__icon {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.45);
}

.wa-float__icon svg {
  display: block;
  width: 30px;
  height: 30px;
  fill: #fff;
  flex-shrink: 0;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar { padding: 0 16px; }
  .navbar-links { gap: 16px; }
  .navbar-links a.nav-link-desktop { display: none; }

  .hero { padding: 110px 16px 72px; }
  .hero h1 { font-size: 32px; letter-spacing: -0.8px; }
  .hero p { font-size: 16px; }
  .hero-buttons { flex-direction: column; gap: 10px; }
  .hero-buttons .btn { width: 100%; max-width: 280px; }

  .section { padding: 64px 16px; }
  .section-header h2 { font-size: 26px; }

  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .step { padding: 24px 16px; }

  .features-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-card { padding: 24px 20px; }

  .cta-section h2 { font-size: 26px; }

  .footer-inner { flex-direction: column; gap: 16px; text-align: center; }

  .legal-hero { padding: 100px 16px 36px; }
  .legal-hero h1 { font-size: 28px; }
  .legal-content { padding: 40px 16px 72px; }
  .legal-content h2 { font-size: 20px; }

  .wa-float {
    bottom: 16px;
    right: 16px;
    gap: 8px;
  }

  .wa-float__label {
    font-size: 13px;
    padding: 10px 14px;
  }

  .wa-float__icon {
    width: 52px;
    height: 52px;
  }

  .wa-float__icon svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 28px; }
  .section-header h2 { font-size: 22px; }
  .cta-section h2 { font-size: 22px; }
}
