:root {
  --bg: #05070a;
  --surface: #0b0f17;
  --surface-hover: #121824;
  --border: rgba(255, 255, 255, 0.03);
  --border-hover: rgba(255, 255, 255, 0.08);
  --text: #f1f5f9;
  --muted: #94a3b8;
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --success: #10b981;
  --whatsapp: #10b981;
  --best: #f59e0b;
  --best-glow: rgba(245, 158, 11, 0.16);
  --card-shadow: 0 24px 60px -28px rgba(0, 0, 0, 0.8);
  --font-family: "DM Sans", system-ui, -apple-system, sans-serif;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  background:
    radial-gradient(circle at 82% 7%, rgba(99, 102, 241, 0.12), transparent 27rem),
    radial-gradient(circle at 12% 22%, rgba(16, 185, 129, 0.055), transparent 22rem),
    linear-gradient(180deg, #07090d 0%, var(--bg) 36rem);
  color: var(--text);
  line-height: 1.7;
  font-size: 1.05rem;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
}

a:hover {
  color: var(--accent-hover);
}

.wrap {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

header {
  padding: 1.75rem 0;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(5, 7, 10, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 100;
}

header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 0;
  color: var(--text);
  text-decoration: none;
}

.logo:hover {
  opacity: 0.8;
  color: var(--text);
}

.logo-img {
  height: 40px;
  width: 40px;
  object-fit: contain;
  mix-blend-mode: screen;
  display: block;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.6rem;
  border-radius: 99px;
  font-weight: 600;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}

.btn:focus-visible {
  outline: 2px solid rgba(148, 163, 184, 0.75);
  outline-offset: 4px;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
  box-shadow: 0 10px 25px -5px rgba(99, 102, 241, 0.12);
}

.btn-primary:hover {
  background: var(--accent-hover);
  box-shadow: 0 15px 30px -5px rgba(99, 102, 241, 0.25);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--border-hover);
  color: #fff;
}

.btn-wa {
  background: rgba(16, 185, 129, 0.08);
  color: var(--success);
  border: 1px solid rgba(16, 185, 129, 0.15);
}

.btn-wa:hover {
  background: rgba(16, 185, 129, 0.12);
  border-color: rgba(16, 185, 129, 0.25);
  color: var(--success);
}

/* ARTICLE CONTAINER & LAYOUT */
.article-container {
  max-width: 800px;
  margin: 5rem auto 8rem;
  padding: 0 2rem;
}

article {
  font-size: 1.05rem;
}

h1 {
  font-size: clamp(2.25rem, 5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  margin-bottom: 2rem;
  color: var(--text);
}

h2 {
  font-size: clamp(1.5rem, 3.5vw, 2rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  margin: 4rem 0 1.5rem;
  color: var(--text);
  border-bottom: 1px solid var(--border);
  padding-bottom: 0.75rem;
}

h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 3rem 0 1.25rem;
  color: var(--text);
  letter-spacing: 0;
}

p {
  margin-bottom: 1.75rem;
  color: var(--muted);
}

strong {
  color: var(--text);
  font-weight: 600;
}

ul, ol {
  margin-bottom: 1.75rem;
  padding-left: 2rem;
  color: var(--muted);
}

li {
  margin-bottom: 0.75rem;
}

hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 4rem 0;
}

/* CALLOUTS & BLOCKQUOTES */
blockquote {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    var(--surface);
  border-left: 4px solid var(--accent);
  padding: 2rem;
  margin: 2.5rem 0;
  border-radius: 0 14px 14px 0;
  font-style: italic;
  color: var(--text);
  box-shadow: 0 15px 35px -10px rgba(0,0,0,0.3);
}

blockquote p {
  margin-bottom: 0;
  color: var(--text);
}

.inline-cta {
  background:
    radial-gradient(circle at top right, rgba(245, 158, 11, 0.055), transparent 16rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-left: 4px solid var(--best);
  border-radius: 14px;
  padding: 2.5rem;
  margin: 3.5rem 0;
  box-shadow: 0 15px 35px -10px rgba(0,0,0,0.3);
}

.inline-cta h4 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--best);
  margin-bottom: 0.75rem;
}

.inline-cta p {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  color: var(--muted);
}

/* FOOTER */
footer {
  padding: 5rem 0 7rem;
  border-top: 1px solid var(--border);
  text-align: center;
  color: var(--muted);
  font-size: 0.9rem;
  background: #030407;
}

footer p {
  margin-bottom: 0.75rem;
}

footer a {
  color: var(--muted);
  font-weight: 500;
}

footer a:hover {
  color: var(--text);
}

/* BOTTOM CTA CARD */
.bottom-cta-card {
  background:
    radial-gradient(circle at top right, rgba(99, 102, 241, 0.11), transparent 18rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.006)),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.065);
  border-radius: 20px;
  padding: 3.5rem 3rem;
  text-align: center;
  margin: 6rem auto 3rem;
  max-width: 680px;
  box-shadow: 0 25px 50px -12px rgba(0,0,0,0.5);
}

.bottom-cta-card h3 {
  font-size: 1.75rem;
  color: var(--text);
  margin-bottom: 1rem;
  letter-spacing: 0;
}

.bottom-cta-card p {
  font-size: 1.05rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.bottom-cta-card .pricing-options {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 2.25rem;
  flex-wrap: wrap;
}

.bottom-cta-card .price-pill {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 0.5rem 1.1rem;
  border-radius: 99px;
  font-size: 0.9rem;
  color: var(--muted);
}

.bottom-cta-card .price-pill strong {
  color: var(--best);
  font-weight: 700;
}

/* FLOATING WA BUTTON */
.float-wa {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 100;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  border-radius: 99px;
}

.float-wa .btn {
  border-radius: 99px;
  padding: 1rem 1.5rem;
  font-weight: 700;
}

/* GUIDES PAGE EXTRAS */
.asymmetric-layout {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
  .asymmetric-layout {
    grid-template-columns: 35% 65%;
  }
  .sticky-section {
    position: sticky;
    top: 7rem;
    align-self: start;
  }
}

.guides-stack {
  display: grid;
  gap: 2rem;
}

.guide-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.018), rgba(255, 255, 255, 0.006)),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.055);
  border-radius: 18px;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
  text-decoration: none !important;
}

.guide-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.4);
}

.guide-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
  color: var(--text);
  line-height: 1.3;
  letter-spacing: 0;
}

.guide-card p {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.guide-card .read-link {
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: var(--transition);
}

.guide-card:hover .read-link {
  color: var(--accent-hover);
}

@media (max-width: 600px) {
  .wrap {
    padding: 0 1.2rem;
  }

  header {
    padding: 1rem 0;
  }

  header .wrap {
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
  }

  .header-cta {
    width: 100%;
    gap: 0.65rem;
    overflow-x: auto;
    padding-bottom: 0.15rem;
  }

  .header-cta .btn {
    flex: 0 0 auto;
    padding: 0.7rem 1rem;
  }

  .article-container {
    margin-top: 2.5rem;
    padding: 0 1.2rem;
  }

  .guide-card,
  .inline-cta,
  blockquote {
    padding: 1.5rem;
  }

  .bottom-cta-card {
    padding: 2.5rem 1.5rem;
  }

  .float-wa {
    display: none;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    text-align: center;
  }

  .float-wa .btn {
    width: 100%;
    padding: 0.8rem 1rem;
    font-size: 0.82rem;
  }
}

@media (max-height: 780px) {
  .float-wa {
    display: none;
  }
}
