@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("../fonts/inter.woff2") format("woff2");
}

@font-face {
  font-family: "Bricolage Grotesque";
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url("../fonts/display.woff2") format("woff2");
}

:root {
  --background: #050816;
  --foreground: #e8eaf6;
  --card: #0e1325;
  --muted: #131a30;
  --muted-foreground: #9ba3bb;
  --primary: #5b5bf7;
  --secondary: #8b5cf6;
  --accent: #00f5d4;
  --border: rgba(232, 234, 246, 0.09);
  --glass: rgba(14, 19, 37, 0.7);
  --radius: 1rem;
  --font: "Inter", system-ui, sans-serif;
  --display: "Bricolage Grotesque", "Inter", system-ui, sans-serif;
  --container: 1120px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--foreground);
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(91, 91, 247, 0.28), transparent),
    radial-gradient(ellipse 50% 40% at 100% 20%, rgba(139, 92, 246, 0.12), transparent),
    var(--background);
  line-height: 1.6;
  min-height: 100vh;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(100% - 2rem, var(--container));
  margin-inline: auto;
}

.gradient-text {
  background: linear-gradient(135deg, var(--primary), var(--secondary) 50%, var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* Header */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 1rem 0;
  transition: padding 0.25s ease;
}

.site-header.is-scrolled {
  padding: 0.55rem 0;
}

.nav-shell {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 3.5rem;
  padding: 0.55rem 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--glass);
  backdrop-filter: blur(16px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.02em;
}

.brand img {
  width: 2rem;
  height: 2rem;
}

.brand-note {
  color: #00c4fc;
}

.brand-seguro {
  color: #fff;
}

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  display: inline-block;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  color: var(--muted-foreground);
  font-size: 0.9rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a:focus-visible {
  color: var(--foreground);
}

.nav-actions {
  display: none;
  align-items: center;
  gap: 0.5rem;
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  background: transparent;
  color: var(--foreground);
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 1rem;
  height: 1.5px;
  background: currentColor;
  position: relative;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  height: 1.5px;
  background: currentColor;
}

.nav-toggle span::before {
  top: -5px;
}

.nav-toggle span::after {
  top: 5px;
}

.mobile-panel {
  display: none;
  margin-top: 0.75rem;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: var(--card);
}

.mobile-panel.open {
  display: block;
}

.mobile-panel a {
  display: block;
  padding: 0.75rem 0.5rem;
  color: var(--muted-foreground);
  border-bottom: 1px solid var(--border);
}

.mobile-panel a:last-child {
  border-bottom: 0;
}

@media (min-width: 900px) {
  .nav-links,
  .nav-actions {
    display: flex;
  }

  .nav-toggle,
  .mobile-panel {
    display: none !important;
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  min-height: 2.75rem;
  padding: 0.65rem 1.15rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
}

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: 0 10px 30px -12px rgba(91, 91, 247, 0.7);
}

.btn-primary:hover {
  filter: brightness(1.06);
}

.btn-ghost {
  color: var(--foreground);
  background: transparent;
  border-color: var(--border);
}

.btn-ghost:hover {
  background: rgba(232, 234, 246, 0.04);
}

.btn-soft {
  color: var(--foreground);
  background: var(--muted);
}

.btn-block {
  width: 100%;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-head {
  max-width: 40rem;
  margin: 0 auto 2.75rem;
  text-align: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  border: 1px solid rgba(91, 91, 247, 0.35);
  background: rgba(91, 91, 247, 0.12);
  color: #c4c4ff;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-head h2,
.hero h1 {
  font-family: var(--display);
  font-weight: 450;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0;
}

.section-head h2 {
  font-size: clamp(1.6rem, 3vw, 1.6rem);
}

.section-head p,
.hero p {
  margin: 1rem 0 0;
  color: var(--muted-foreground);
  font-size: 1.05rem;
}

/* Hero */
.hero {
  padding: 8.5rem 0 4rem;
  text-align: center;
}

.hero h1 {
  font-size: 36px;
  max-width: 100%;
  margin-inline: auto;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 2rem;
}

.hero-note {
  margin-top: 1rem;
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

.hero-panel {
  margin: 3rem auto 0;
  max-width: 52rem;
  border: 1px solid var(--border);
  border-radius: 1.25rem;
  background: rgba(14, 19, 37, 0.85);
  box-shadow: 0 30px 80px -40px rgba(91, 91, 247, 0.55);
  overflow: hidden;
  text-align: left;
}

.hero-panel-bar {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.85rem 1rem;
  border-bottom: 1px solid var(--border);
}

.dot {
  width: 0.7rem;
  height: 0.7rem;
  border-radius: 50%;
}

.dot.r {
  background: #ff5f57;
}
.dot.y {
  background: #febc2e;
}
.dot.g {
  background: #28c840;
}

.hero-panel-url {
  flex: 1;
  margin-left: 0.5rem;
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  background: var(--muted);
  color: var(--muted-foreground);
  font-family: ui-monospace, monospace;
  font-size: 0.75rem;
  text-align: center;
}

.hero-panel-body {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

@media (min-width: 720px) {
  .hero-panel-body {
    grid-template-columns: 10rem 1fr;
  }
}

.hero-steps {
  display: none;
  flex-direction: column;
  gap: 0.35rem;
}

@media (min-width: 720px) {
  .hero-steps {
    display: flex;
    border-right: 1px solid var(--border);
    padding-right: 1rem;
  }
}

.hero-steps span {
  padding: 0.55rem 0.7rem;
  border-radius: 0.65rem;
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

.hero-steps span.active {
  background: rgba(91, 91, 247, 0.15);
  color: #bdbdff;
}

.file-card {
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 1rem;
  background: rgba(19, 26, 48, 0.65);
}

.file-card strong {
  display: block;
}

.file-card small {
  color: var(--muted-foreground);
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.85rem;
}

.chip {
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: var(--muted);
  color: var(--muted-foreground);
  font-size: 0.75rem;
  font-weight: 600;
}

.link-box {
  margin-top: 0.85rem;
  padding: 0.7rem 0.85rem;
  border-radius: 0.75rem;
  background: var(--muted);
  font-family: ui-monospace, monospace;
  font-size: 0.78rem;
  color: var(--muted-foreground);
  word-break: break-all;
}

.stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.5rem 0;
  border-block: 1px solid var(--border);
}

@media (min-width: 800px) {
  .stats {
    grid-template-columns: repeat(4, 1fr);
  }
}

.stat {
  text-align: center;
}

.stat strong {
  display: block;
  font-family: var(--display);
  font-size: 2rem;
}

.stat span {
  color: var(--muted-foreground);
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* Grids */
.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 900px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.card {
  height: 100%;
  padding: 1.35rem;
  border: 1px solid var(--border);
  border-radius: 1.15rem;
  background: var(--card);
  box-shadow: 0 1px 0 rgba(232, 234, 246, 0.04) inset;
}

.card.highlight {
  border-color: rgba(91, 91, 247, 0.45);
  box-shadow: 0 0 0 1px rgba(91, 91, 247, 0.15), 0 24px 60px -36px rgba(91, 91, 247, 0.55);
}

.card h3 {
  margin: 0 0 0.4rem;
  font-family: var(--display);
  font-size: 1.15rem;
}

.card p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.95rem;
}

.icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 1rem;
  border-radius: 0.85rem;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: #fff;
  font-weight: 700;
}

.steps .card {
  counter-increment: step;
}

.step-n {
  font-family: var(--display);
  font-size: 2rem;
  color: rgba(232, 234, 246, 0.28);
  margin-bottom: 0.5rem;
}

.price {
  margin: 1rem 0 1.25rem;
  font-family: var(--display);
  font-size: 2rem;
}

.price small {
  display: block;
  margin-top: 0.15rem;
  color: var(--muted-foreground);
  font-family: var(--font);
  font-size: 0.8rem;
  font-weight: 500;
}

.feature-list {
  margin: 0 0 1.25rem;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  padding: 0.4rem 0 0.4rem 1.4rem;
  color: var(--muted-foreground);
  font-size: 0.92rem;
}

.feature-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Contact */
.form {
  max-width: 40rem;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.form-row {
  display: grid;
  gap: 1rem;
}

@media (min-width: 700px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}

label {
  display: grid;
  gap: 0.4rem;
  font-size: 0.85rem;
  color: var(--muted-foreground);
}

input,
textarea {
  width: 100%;
  padding: 0.8rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.85rem;
  background: var(--muted);
  color: var(--foreground);
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(91, 91, 247, 0.45);
  outline-offset: 1px;
}

.form-foot {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
}

.form-foot p {
  margin: 0;
  color: var(--muted-foreground);
  font-size: 0.85rem;
}

/* CTA / Footer */
.cta {
  margin: 1rem 0 3rem;
  padding: 3rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: 1.75rem;
  text-align: center;
  background:
    radial-gradient(ellipse 60% 80% at 50% 0%, rgba(91, 91, 247, 0.25), transparent),
    var(--card);
}

.cta h2 {
  margin: 0;
  font-family: var(--display);
  font-size: clamp(1.6rem, 3vw, 1.6rem);
  max-width: 100%;
  margin-inline: auto;
}

.cta p {
  margin: 1rem auto 0;
  max-width: 36rem;
  color: var(--muted-foreground);
}

.cta .hero-actions {
  margin-top: 1.5rem;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 2.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  gap: 2rem;
}

@media (min-width: 800px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
  }
}

.site-footer h3 {
  margin: 0 0 0.85rem;
  font-size: 0.9rem;
  font-family: var(--display);
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.site-footer li + li {
  margin-top: 0.45rem;
}

.site-footer a {
  color: var(--muted-foreground);
  font-size: 0.9rem;
}

.site-footer a:hover {
  color: var(--foreground);
}

.footer-copy {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border);
  color: var(--muted-foreground);
  font-size: 0.8rem;
}

.marquee {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
  margin-top: 1rem;
}

.marquee span {
  padding: 0.55rem 0.9rem;
  border: 1px solid var(--border);
  border-radius: 0.9rem;
  background: rgba(14, 19, 37, 0.7);
  font-family: var(--display);
  font-size: 0.9rem;
}
