
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&family=Manrope:wght@400;500;600;700;800&display=swap');

:root {
  --bg: #0b1120;
  --surface: #111b2d;
  --surface-light: #17243a;
  --primary: #63e6be;
  --primary-dark: #36c99c;
  --text: #f5f7fb;
  --muted: #a0aec0;
  --border: rgba(255,255,255,.09);
  --radius: 18px;
  --container: 1160px;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
  overflow-wrap: anywhere;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input {
  font: inherit;
}

.container {
  width: min(var(--container), calc(100% - 48px));
  margin: 0 auto;
}

/* HEADER */

.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11,17,32,.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.nav-container {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  font-family: 'Manrope', sans-serif;
  font-size: 21px;
  font-weight: 800;
  letter-spacing: -.8px;
  white-space: nowrap;
}

.logo-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  background: var(--primary);
  color: #09241e;
  border-radius: 12px;
  font-size: 22px;
  font-weight: 800;
}

.logo-highlight {
  color: var(--primary);
}

.navigation {
  display: flex;
  align-items: center;
  gap: 30px;
}

.navigation a {
  font-size: 14px;
  color: var(--muted);
  transition: .2s;
}

.navigation a:hover,
.navigation a.active {
  color: var(--primary);
}

.nav-button {
  background: var(--surface-light);
  border: 1px solid var(--border);
  padding: 11px 17px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  transition: .2s;
}

.nav-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

/* HERO */

.hero {
  position: relative;
  min-height: 570px;
  padding: 105px max(24px, calc((100% - var(--container)) / 2));
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  gap: 70px;
  background:
    radial-gradient(ellipse at 80% 45%, rgba(52,201,156,.12), transparent 40%),
    radial-gradient(ellipse at 15% 15%, rgba(74,105,220,.10), transparent 35%);
}

.hero-content {
  max-width: 650px;
}

.eyebrow {
  display: inline-block;
  color: var(--primary);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 17px;
}

.hero h1 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(42px, 5vw, 65px);
  line-height: 1.12;
  letter-spacing: -3px;
  font-weight: 800;
}

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

.hero-content > p {
  max-width: 500px;
  color: var(--muted);
  font-size: 16px;
  margin-top: 23px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 32px;
}

.primary-button,
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 21px;
  border-radius: 11px;
  font-weight: 700;
  font-size: 14px;
  transition: .25s;
}

.primary-button {
  background: var(--primary);
  color: #09241e;
}

.primary-button:hover {
  background: #8af3d2;
  transform: translateY(-3px);
}

.secondary-button {
  background: var(--surface-light);
  border: 1px solid var(--border);
}

.secondary-button:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.hero-stats {
  display: flex;
  gap: 45px;
  margin-top: 48px;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
}

.hero-stats strong {
  font-family: 'Manrope', sans-serif;
  font-size: 23px;
  color: var(--text);
}

.hero-stats span {
  font-size: 12px;
  color: var(--muted);
}

/* HERO VISUAL */

.hero-visual {
  position: relative;
  min-height: 310px;
  display: grid;
  place-items: center;
}

.visual-card {
  width: 100%;
  max-width: 370px;
  padding: 30px;
  border-radius: 22px;
  background: linear-gradient(145deg, #1b2b40, #111b2d);
  border: 1px solid rgba(255,255,255,.12);
  box-shadow: 0 30px 90px rgba(0,0,0,.3);
  transform: rotate(-3deg);
}

.visual-top {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 12px;
  margin-bottom: 40px;
}

.status-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--primary);
}

.visual-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.visual-price {
  display: block;
  font-family: 'Manrope', sans-serif;
  font-size: 48px;
  margin: 8px 0 25px;
}

.visual-discount {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
}

.visual-discount strong {
  color: var(--primary);
}

.visual-progress {
  height: 7px;
  background: #2a3a50;
  border-radius: 10px;
  margin-top: 14px;
  overflow: hidden;
}

.visual-progress span {
  display: block;
  width: 75%;
  height: 100%;
  background: var(--primary);
  border-radius: inherit;
}

.floating-card {
  position: absolute;
  padding: 12px 17px;
  background: #1c2a3d;
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 15px 40px rgba(0,0,0,.25);
  font-size: 12px;
  font-weight: 700;
  animation: float 4s ease-in-out infinite;
}

.floating-card span {
  color: var(--primary);
  margin-right: 7px;
}

.floating-one {
  top: 25px;
  right: 0;
}

.floating-two {
  bottom: 20px;
  left: -10px;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* SEARCH */

.search-section {
  position: relative;
  margin-top: -28px;
  z-index: 2;
}

.search-box {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 17px;
  padding: 0 25px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 15px 50px rgba(0,0,0,.2);
}

.search-icon {
  font-size: 30px;
  color: var(--primary);
}

.search-box input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--text);
  font-size: 14px;
}

.search-box input::placeholder {
  color: #8290a4;
}

.search-shortcut {
  color: var(--muted);
  font-size: 10px;
  letter-spacing: 1px;
}

/* SECTIONS */

.section {
  padding-top: 105px;
  padding-bottom: 95px;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 25px;
  margin-bottom: 35px;
}

.section-heading h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(27px, 3vw, 36px);
  letter-spacing: -1.3px;
  line-height: 1.25;
}

.section-heading p {
  color: var(--muted);
  margin-top: 9px;
  font-size: 14px;
}

.text-link {
  color: var(--primary);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* TOOLS */

.tool-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.tool-card {
  min-height: 235px;
  padding: 25px 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: .25s;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.tool-card:hover {
  transform: translateY(-6px);
  border-color: rgba(99,230,190,.45);
  background: #152337;
  box-shadow: 0 18px 40px rgba(0,0,0,.18);
}

.tool-icon {
  width: 47px;
  height: 47px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  font-size: 21px;
  font-weight: 800;
  margin-bottom: 22px;
}

.purple { background: rgba(161,124,255,.15); color: #b69aff; }
.orange { background: rgba(255,166,91,.15); color: #ffb476; }
.blue { background: rgba(94,174,255,.15); color: #7bc0ff; }
.green { background: rgba(99,230,190,.15); color: #63e6be; }
.pink { background: rgba(255,122,174,.15); color: #ff91bb; }
.yellow { background: rgba(255,213,94,.15); color: #ffd55e; }

.tool-card h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  margin-bottom: 8px;
}

.tool-card p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
  flex: 1;
}

.tool-link {
  color: var(--primary);
  font-size: 11px;
  font-weight: 700;
  margin-top: 20px;
}

.empty-message {
  color: var(--muted);
  text-align: center;
  padding: 30px;
}

/* CATEGORIES */

.categories-section {
  padding: 85px 0 95px;
  background: #0e1728;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.category-card {
  min-height: 115px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 15px;
  transition: .25s;
}

.category-card:hover {
  border-color: var(--primary);
  transform: translateY(-4px);
}

.category-card > span {
  font-size: 26px;
}

.category-card h3 {
  font-size: 14px;
}

.category-card p {
  font-size: 11px;
  color: var(--muted);
  margin-top: 3px;
}

.category-card b {
  margin-left: auto;
  color: var(--primary);
}

/* GUIDES */

.guide-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.guide-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 17px;
  overflow: hidden;
  transition: .25s;
}

.guide-card:hover {
  transform: translateY(-5px);
  border-color: rgba(99,230,190,.4);
}

.guide-image {
  min-height: 170px;
  display: grid;
  place-items: center;
  font-family: 'Manrope', sans-serif;
  font-size: 25px;
  font-weight: 800;
  letter-spacing: 3px;
}

.guide-windows {
  background: linear-gradient(135deg, #173e69, #286eaa);
}

.guide-security {
  background: linear-gradient(135deg, #244b46, #247f6a);
}

.guide-images {
  background: linear-gradient(135deg, #584174, #a26d9e);
}

.guide-content {
  padding: 23px;
}

.guide-content > span {
  color: var(--primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.3px;
}

.guide-content h3 {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  margin: 12px 0;
  line-height: 1.4;
}

.guide-content p {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.guide-content b {
  display: block;
  margin-top: 19px;
  color: var(--primary);
  font-size: 12px;
}

/* FINAL CTA */

.final-cta {
  margin-top: 15px;
  margin-bottom: 90px;
  padding: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: linear-gradient(110deg, #163c37, #14283b);
  border: 1px solid rgba(99,230,190,.2);
  border-radius: 22px;
}

.final-cta h2 {
  font-family: 'Manrope', sans-serif;
  font-size: clamp(23px, 3vw, 33px);
  letter-spacing: -1px;
}

.final-cta p {
  margin-top: 10px;
  color: #b1c6c5;
  font-size: 13px;
}

/* FOOTER */

.footer {
  background: #080e19;
  border-top: 1px solid var(--border);
}

.footer-main {
  padding-top: 65px;
  padding-bottom: 55px;
  display: flex;
  justify-content: space-between;
  gap: 50px;
}

.footer-main > div:first-child {
  max-width: 270px;
}

.footer-main > div:first-child p {
  color: var(--muted);
  font-size: 12px;
  margin-top: 17px;
}

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

.footer-links > div {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.footer-links strong {
  font-size: 13px;
  margin-bottom: 5px;
}

.footer-links a {
  color: var(--muted);
  font-size: 12px;
  transition: .2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  min-height: 65px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  border-top: 1px solid var(--border);
  color: #78869a;
  font-size: 11px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {
  .tool-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .category-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .navigation {
    gap: 15px;
  }

  .hero {
    gap: 30px;
  }
}

@media (max-width: 760px) {
  .container {
    width: calc(100% - 36px);
  }

  .nav-container {
    min-height: 68px;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .navigation {
    order: 3;
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 8px 0 2px;
  }

  .navigation a {
    font-size: 12px;
    white-space: nowrap;
  }

  .nav-button {
    font-size: 11px;
    padding: 9px 11px;
  }

  .logo {
    font-size: 18px;
  }

  .logo-icon {
    width: 34px;
    height: 34px;
  }

  .hero {
    display: block;
    padding: 75px 22px 65px;
  }

  .hero h1 {
    font-size: 43px;
    letter-spacing: -2px;
  }

  .hero-content > p {
    font-size: 14px;
  }

  .hero-visual {
    margin-top: 60px;
    min-height: 290px;
  }

  .visual-card {
    max-width: 330px;
  }

  .floating-two {
    left: 0;
  }

  .hero-stats {
    gap: 30px;
  }

  .search-section {
    margin-top: -20px;
  }

  .search-box {
    min-height: 65px;
    padding: 0 16px;
    gap: 10px;
  }

  .search-box input {
    font-size: 12px;
  }

  .search-shortcut {
    display: none;
  }

  .section {
    padding-top: 75px;
    padding-bottom: 70px;
  }

  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .section-heading h2 {
    font-size: 28px;
  }

  .tool-grid {
    gap: 12px;
  }

  .tool-card {
    padding: 18px 15px;
    min-height: 230px;
  }

  .tool-card h3 {
    font-size: 13px;
  }

  .tool-card p {
    font-size: 11px;
  }

  .categories-section {
    padding: 70px 0;
  }

  .category-grid {
    gap: 10px;
  }

  .category-card {
    padding: 13px;
    min-height: 100px;
    gap: 9px;
  }

  .category-card > span {
    font-size: 21px;
  }

  .category-card h3 {
    font-size: 12px;
  }

  .category-card p {
    font-size: 10px;
  }

  .guide-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .guide-image {
    min-height: 145px;
  }

  .final-cta {
    flex-direction: column;
    align-items: flex-start;
    padding: 30px 23px;
    margin-bottom: 60px;
  }

  .footer-main {
    flex-direction: column;
    padding-top: 50px;
    gap: 35px;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 35px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }
}

@media (max-width: 390px) {
  .tool-grid,
  .category-grid {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    flex-wrap: wrap;
    gap: 16px 22px;
  }

  .tool-card {
    min-height: 190px;
  }

  .hero h1 {
    font-size: 37px;
  }
}

/* UTILIDADES */

[hidden] {
  display: none !important;
}

::selection {
  background: var(--primary);
  color: #09241e;
}

:focus-visible {
  outline: 2px solid var(--primary);
  outline-offset: 4px;
}


/* ==========================================
   BANNER DE COOKIES
   ========================================== */

.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 24px;
  right: 24px;
  z-index: 9999;
  max-width: 760px;
  max-height: calc(100dvh - 48px);
  overflow-y: auto;
  margin: 0 auto;
  padding: 24px;
  background: #111827;
  color: #f8fafc;
  border: 1px solid #334155;
  border-radius: 18px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.35);
}

.cookie-banner-content h2 {
  margin: 0 0 12px;
  font-size: 21px;
  color: #ffffff;
}

.cookie-banner-content p {
  margin: 0 0 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #cbd5e1;
}

.cookie-banner-content a {
  color: #60a5fa;
  text-decoration: underline;
}

.cookie-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 20px;
}

.cookie-button {
  flex: 1;
  padding: 12px 18px;
  border: 1px solid #475569;
  border-radius: 10px;
  background: #1e293b;
  color: #ffffff;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.cookie-button:hover {
  background: #334155;
}

.cookie-button:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 2px solid #60a5fa;
  outline-offset: 3px;
}

#cookiePreferences {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #334155;
}

#cookiePreferences[hidden] {
  display: none;
}

#cookiePreferences h3 {
  margin: 0 0 15px;
  color: #ffffff;
  font-size: 17px;
}

.cookie-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
  font-size: 14px;
  color: #cbd5e1;
  cursor: pointer;
}

.cookie-option input {
  width: 18px;
  height: 18px;
  accent-color: #3b82f6;
}

#saveCookiePreferences {
  width: 100%;
  margin-top: 8px;
}

.cookie-settings-link {
  padding: 0;
  background: transparent;
  border: none;
  color: inherit;
  font-family: inherit;
  font-size: inherit;
  cursor: pointer;
  text-decoration: underline;
}

/* Adaptación a dispositivos móviles */

@media (max-width: 600px) {
  .cookie-banner {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 18px;
    border-radius: 14px;
    max-height: calc(100dvh - 24px);
  }

  .cookie-banner-content h2 {
    font-size: 19px;
  }

  .cookie-banner-content p {
    font-size: 13px;
  }

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-button {
    width: 100%;
  }
}

