/* ============================
   DESIGN TOKENS
   Dark premium: black, white, blue, purple
   ============================ */
:root {
  --bg: hsl(240 15% 4%);
  --fg: hsl(0 0% 98%);
  --card: hsl(240 14% 7%);
  --muted: hsl(240 10% 14%);
  --muted-fg: hsl(240 5% 65%);
  --border: hsl(240 10% 16%);
  --primary: hsl(230 90% 62%);
  --primary-fg: hsl(0 0% 100%);
  --primary-glow: hsl(265 85% 65%);
  --accent: hsl(265 85% 65%);
  --danger: hsl(0 75% 60%);
  --whatsapp: hsl(142 70% 45%);

  --gradient-primary: linear-gradient(135deg, hsl(230 90% 62%), hsl(265 85% 65%));
  --gradient-text: linear-gradient(135deg, hsl(0 0% 100%), hsl(230 90% 80%) 50%, hsl(265 85% 75%));
  --gradient-card: linear-gradient(160deg, hsl(240 14% 9% / 0.9), hsl(240 14% 6% / 0.9));
  --gradient-hero: radial-gradient(ellipse 80% 60% at 50% 0%, hsl(230 90% 62% / 0.25), transparent 60%),
                   radial-gradient(ellipse 60% 50% at 80% 30%, hsl(265 85% 65% / 0.2), transparent 60%),
                   hsl(240 15% 4%);

  --shadow-glow: 0 20px 60px -10px hsl(230 90% 62% / 0.5);
  --shadow-elegant: 0 30px 80px -20px hsl(265 85% 50% / 0.4);
  --shadow-card: 0 10px 40px -10px hsl(240 50% 2% / 0.6);

  --radius: 1rem;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);

  --container: 1200px;
}

/* RESET */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: none; background: none; color: inherit; }
ul { list-style: none; }

/* HELPERS */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.container.narrow { max-width: 760px; }

.grad-text {
  background: var(--gradient-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
}

.glass {
  background: hsl(240 14% 7% / 0.45);
  border: 1px solid hsl(240 10% 16% / 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.muted { color: var(--muted-fg); }
.small { font-size: .875rem; }

/* TYPOGRAPHY */
h1, h2, h3, h4 { font-family: 'Space Grotesk', 'Inter', sans-serif; font-weight: 700; line-height: 1.15; letter-spacing: -0.01em; }
.display { font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: clamp(2.25rem, 5vw + 1rem, 4.5rem); line-height: 1.05; letter-spacing: -0.02em; }
.h2 { font-size: clamp(1.875rem, 2.5vw + 1rem, 3rem); }
.lead { font-size: 1.125rem; color: var(--muted-fg); }
@media (min-width: 768px) { .lead { font-size: 1.25rem; } }

.kicker {
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .2em;
  color: var(--primary-glow);
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: .85rem 1.4rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: .95rem;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
  border: 1px solid transparent;
  /* white-space: nowrap; */
  max-width:100%;
}
.btn:hover { transform: translateY(-2px); }
.btn-sm { padding: .6rem 1.05rem; font-size: .85rem; }
.btn-lg { padding: 1.05rem 1.7rem; font-size: 1rem; }
.btn-xl { padding: 1.3rem 2.2rem; font-size: 1.15rem; }
.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-fg);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover { box-shadow: var(--shadow-elegant); }
.btn-ghost {
  background: hsl(240 14% 7% / 0.6);
  border-color: var(--border);
  color: var(--fg);
}
.btn-ghost:hover { border-color: var(--primary); }
.btn-white {
  background: var(--bg);
  color: var(--fg);
  box-shadow: 0 20px 50px -10px hsl(0 0% 0% / .5);
}
.block { display: flex; width: 100%; margin-top: 1.5rem; }

/* CHIPS / TAGS */
.chip {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .4rem .9rem;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 500;
  background: hsl(240 14% 7% / .6);
  border: 1px solid var(--border);
  backdrop-filter: blur(10px);
}
.chip-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--primary-glow);
  box-shadow: 0 0 12px var(--primary-glow);
}
.tag {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .35rem .8rem; border-radius: 999px;
  font-size: .75rem; font-weight: 500;
}
.tag-danger { color: var(--danger); background: hsl(0 75% 60% / .1); border: 1px solid hsl(0 75% 60% / .3); }

/* NAVBAR */
.navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 50;
  transition: background .3s var(--ease), border-color .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.navbar.scrolled {
  background: hsl(240 15% 4% / 0.7);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.logo { display: inline-flex; align-items: center; gap: .65rem; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.15rem; max-width:150px}

.logo-mark {
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--gradient-primary);
  box-shadow: var(--shadow-glow);
}
.nav-links { display: none; gap: 2rem; font-size: .9rem; color: var(--muted-fg); }
.nav-links a:hover { color: var(--fg); }
.nav-cta { display: none; }
.nav-toggle { display: flex; flex-direction: column; gap: 5px; padding: .5rem; }
.nav-toggle span { width: 22px; height: 2px; background: var(--fg); border-radius: 2px; transition: transform .25s var(--ease), opacity .25s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 1rem;
  padding: 1.25rem 1.5rem 1.75rem;
  background: hsl(240 15% 4% / 0.95);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}
.nav-mobile.open { display: flex; }
.nav-mobile a { color: var(--muted-fg); font-weight: 500; }
.nav-mobile a:hover { color: var(--fg); }

.nav-mobile .btn-primary{
  color:#fff !important;
}

@media (min-width: 900px) {
  .nav-links { display: flex; }
  .nav-cta { display: inline-flex; }
  .nav-toggle { display: none; }
  .nav-mobile { display: none !important; }
  .logo{max-width:250px;}
}

/* SECTIONS */
.section { padding: 6rem 0; position: relative; }
@media (min-width: 768px) { .section { padding: 8rem 0; } }
.section-head { max-width: 760px; margin: 0 auto 4rem; text-align: center; }
.section-head .h2 { margin-top: 1rem; }

/* HERO */
.hero {
  position: relative;
  padding: 8rem 0 5rem;
  background: var(--gradient-hero);
  overflow: hidden;
}
@media (min-width: 768px) { .hero { padding: 10rem 0 7rem; } }
.grid-bg {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(hsl(240 10% 16% / 0.4) 1px, transparent 1px),
    linear-gradient(90deg, hsl(240 10% 16% / 0.4) 1px, transparent 1px);
  background-size: 60px 60px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, black 30%, transparent 80%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  display: grid;
  gap: 4rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .hero-inner { grid-template-columns: 1.05fr 1fr; gap: 3rem; }
}
.hero-copy .display { margin-top: 1.5rem; }
.hero-copy .lead { margin-top: 1.5rem; max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2.25rem; }
.hero-meta {
  display: flex; flex-wrap: wrap; gap: 2rem;
  margin-top: 3rem;
  border-top: 1px solid var(--border); padding-top: 1.75rem;
}
.hero-meta div { display: flex; flex-direction: column; }
.hero-meta strong { font-family: 'Space Grotesk'; font-size: 1.5rem; }
.hero-meta span { font-size: .8rem; color: var(--muted-fg); }

.hero-visual {
  position: relative;
  isolation: isolate;
}
.hero-glow {
  position: absolute;
  inset: -10%;
  background: radial-gradient(closest-side, hsl(265 85% 65% / .35), transparent 70%);
  filter: blur(40px);
  z-index: -1;
}
.hero-img {
  width: 100%; height: auto;
  border-radius: 24px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
  animation: float 6s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float-card {
  position: absolute;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .65rem 1rem;
  background: hsl(240 14% 7% / .8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 14px;
  font-size: .85rem; font-weight: 500;
  box-shadow: var(--shadow-card);
}
.float-card-1 { top: 8%; left: -4%; animation: float 5s ease-in-out infinite; }
.float-card-2 { bottom: 12%; right: -2%; animation: float 7s ease-in-out infinite reverse; }
.dot { width: 8px; height: 8px; border-radius: 50%; }
.dot.green { background: hsl(142 70% 50%); box-shadow: 0 0 10px hsl(142 70% 50%); }

/* PAIN */
.pain-grid {
  display: grid; gap: 1rem;
  max-width: 880px; margin: 0 auto;
}
@media (min-width: 768px) { .pain-grid { grid-template-columns: 1fr 1fr; } }
.pain-grid li {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.25rem 1.4rem;
  border-radius: 18px;
}
.pain-grid .x {
  display: grid; place-items: center;
  width: 36px; height: 36px; flex-shrink: 0;
  border-radius: 12px;
  background: hsl(0 75% 60% / .15);
  color: var(--danger);
  font-weight: 700;
}

/* BELIEF */
.belief {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 28px;
  background: var(--gradient-card);
  padding: 3rem 1.75rem;
}
@media (min-width: 768px) { .belief { padding: 4.5rem 4rem; } }
.belief-content { position: relative; max-width: 720px; }
.belief-content .h2 { margin-top: 1rem; }
.belief-content .lead { margin-top: 1.5rem; }
.belief-content strong { color: var(--fg); }
.blob {
  position: absolute;
  width: 280px; height: 280px;
  border-radius: 50%;
  filter: blur(80px);
  opacity: .35;
  pointer-events: none;
}
.blob-blue { background: var(--primary); top: -100px; right: -100px; }
.blob-purple { background: var(--accent); bottom: -100px; left: -100px; }

/* CARDS GRID */
.cards-grid { display: grid; gap: 1.25rem; }
@media (min-width: 640px) { .cards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }

.card-feature {
  position: relative;
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--gradient-card);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.card-feature:hover {
  transform: translateY(-4px);
  border-color: hsl(230 90% 62% / .4);
  box-shadow: var(--shadow-glow);
}
.card-feature .ico {
  display: grid; place-items: center;
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gradient-primary);
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-glow);
}
.card-feature h3 { font-size: 1.2rem; }
.card-feature p { color: var(--muted-fg); margin-top: .5rem; }

/* BENEFITS */
.benefits-grid {
  display: grid; gap: 1.25rem;
}
@media (min-width: 640px) { .benefits-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .benefits-grid { grid-template-columns: repeat(5, 1fr); } }
.benefit {
  padding: 1.5rem;
  border-radius: 22px;
  background: hsl(240 14% 7% / 0.5);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  transition: transform .3s var(--ease);
}
.benefit:hover { transform: translateY(-4px); }
.b-ico { font-size: 1.5rem; }
.benefit h3 { font-size: 1.05rem; margin-top: 1rem; }
.benefit p { font-size: .9rem; color: var(--muted-fg); margin-top: .4rem; }

/* TESTIMONIALS */
.testimonial {
  display: flex; flex-direction: column;
  padding: 1.75rem;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--gradient-card);
}
.stars { color: var(--primary-glow); letter-spacing: .15em; }
.testimonial p { margin-top: 1.25rem; color: hsl(0 0% 90%); }
.t-foot {
  margin-top: 1.5rem; padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
}
.t-foot strong { display: block; }
.t-foot span { font-size: .75rem; color: var(--muted-fg); }
.badge-grad {
  background: var(--gradient-primary);
  color: var(--primary-fg) !important;
  font-size: .72rem !important;
  font-weight: 600;
  padding: .35rem .7rem;
  border-radius: 999px;
}

/* PORTFOLIO */
.portfolio-grid { display: grid; gap: 1.5rem; }
@media (min-width: 768px) { .portfolio-grid { grid-template-columns: 1fr 1fr; } }
.portfolio-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--border);
  background: var(--card);
  aspect-ratio: 4/3;
}
.portfolio-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease);
}
.portfolio-card:hover img { transform: scale(1.06); }
.p-overlay {
  position: absolute; inset: auto 0 0 0;
  padding: 1.5rem;
  background: linear-gradient(to top, hsl(240 15% 4%) 0%, hsl(240 15% 4% / .85) 50%, transparent 100%);
}
.p-overlay span { font-size: .72rem; text-transform: uppercase; letter-spacing: .2em; color: var(--primary-glow); }
.p-overlay h3 { font-size: 1.4rem; margin-top: .25rem; }

/* ABOUT */
.about-grid {
  display: grid; gap: 3rem; align-items: center;
}
@media (min-width: 1024px) { .about-grid { grid-template-columns: 1fr 1.2fr; gap: 5rem; } }
.about-img-wrap { position: relative; }
.about-img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-elegant);
}
.about-glow { inset: -8%; }
.about-copy .h2 { margin-top: 1rem; }
.about-copy .lead { margin-top: 1.5rem; }
.about-list { margin: 1.75rem 0 2rem; display: grid; gap: .65rem; color: hsl(0 0% 90%); }

/* OFFER */
.offer-card {
  display: grid;
  border-radius: 28px;
  border: 1px solid var(--border);
  overflow: hidden;
  max-width: 980px;
  margin: 0 auto;
  background: var(--gradient-card);
}

.offer-bonus a{
  margin-top:2rem !important;
}

@media (min-width: 800px) { .offer-card { grid-template-columns: 1fr 1fr; } }
.offer-col { padding: 2.25rem; }
@media (min-width: 768px) { .offer-col { padding: 3rem; } }
.offer-bonus {
  background: var(--gradient-primary);
  color: var(--primary-fg);
  display: flex; flex-direction: column;
}
.offer-col h3 { font-size: 1.35rem; margin-bottom: 1.5rem; }
.check-list { display: grid; gap: .85rem; font-size: 1rem; }
.offer-bonus .btn-primary { background: var(--bg); color: var(--fg); margin-top: auto; }

/* CTA */
.cta-box {
  position: relative;
  overflow: hidden;
  border-radius: 32px;
  background: var(--gradient-primary);
  padding: 3rem 1.75rem;
  text-align: center;
  max-width: 900px; margin: 0 auto;
  box-shadow: var(--shadow-elegant);
}
@media (min-width: 768px) { .cta-box { padding: 5rem 3rem; } }
.cta-box::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at top, hsl(0 0% 100% / .25), transparent 60%);
  pointer-events: none;
}
.cta-chip {
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .4rem .9rem; border-radius: 999px;
  background: hsl(0 0% 100% / .15);
  color: var(--primary-fg);
  font-size: .8rem; font-weight: 600;
  border: 1px solid hsl(0 0% 100% / .3);
}
.cta-box .h2 { margin-top: 1.25rem; }
.cta-box .lead { margin-top: 1.25rem; max-width: 600px; margin-left: auto; margin-right: auto; }
.white { color: var(--primary-fg); }
.white-soft { color: hsl(0 0% 100% / .85); }
.cta-box .btn { margin-top: 2.25rem; position: relative; z-index: 1; }

/* FAQ */
.faq { display: grid; gap: .75rem; }
.faq details {
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--gradient-card);
  padding: 0 1.25rem;
  overflow: hidden;
  transition: border-color .25s var(--ease);
}
.faq details[open] { border-color: hsl(230 90% 62% / .4); }
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 1.25rem 0;
  font-weight: 600;
  display: flex; justify-content: space-between; align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  color: var(--primary-glow);
  font-size: 1.5rem;
  font-weight: 400;
  transition: transform .3s var(--ease);
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 0 1.25rem; color: var(--muted-fg); }

/* FOOTER */
.footer {
  border-top: 1px solid var(--border);
  padding: 2rem 0 2rem;
  /* margin-top: 3rem; */
}
.footer-inner {
  display: grid; gap: 3rem;
}
@media (min-width: 768px) { .footer-inner { grid-template-columns: 1.2fr 2fr; } }
.footer-cols {
  display: grid; gap: 2rem;
  grid-template-columns: 1fr 1fr;
}
.footer-cols h4 { font-size: .85rem; text-transform: uppercase; letter-spacing: .15em; color: var(--muted-fg); margin-bottom: 1rem; }
.footer-cols a { display: block; padding: .25rem 0; color: var(--fg); font-size: .95rem; }
.footer-cols a:hover { color: var(--primary-glow); }
.footer-bottom {
  /* margin-top: 3rem; padding-top: 1.75rem; */
  /* border-top: 1px solid var(--border); */
  font-size: .85rem; color: var(--muted-fg);
}

/* WHATSAPP FLOAT */
.whats-float {
  position: fixed; bottom: 1.5rem; right: 1.5rem;
  z-index: 60;
  display: grid; place-items: center;
  width: 60px; height: 60px;
  border-radius: 50%;
  background: var(--whatsapp);
  color: white;
  box-shadow: 0 20px 50px -10px hsl(142 70% 45% / .6);
  transition: transform .25s var(--ease);
}
.whats-float:hover { transform: scale(1.1); }
.whats-ping {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: var(--whatsapp);
  opacity: .35;
  animation: ping 1.6s cubic-bezier(0,0,.2,1) infinite;
  z-index: -1;
}
@keyframes ping {
  75%, 100% { transform: scale(1.6); opacity: 0; }
}
@media (min-width: 768px) {
  .whats-float { width: 68px; height: 68px; bottom: 2rem; right: 2rem; }
}

/* REVEAL ANIMATION */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1; transform: none; }
}
