/* GoTech Cloud — Landing Stylesheet
 * Diseño deliberadamente sobrio. Acentos cian/magenta usados con moderación.
 * Sin glow excesivo, sin emoji decorativo, sin estética de IA genérica.
 */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@400;500&display=swap');

:root {
  --bg: #0a0e1a;
  --bg-elev: #0f1424;
  --bg-card: #131a2c;
  --border: #1c2438;
  --border-strong: #2a3450;
  --text: #e8ecf5;
  --text-muted: #8a93a8;
  --text-dim: #5d6478;
  --cyan: #00d4ff;
  --magenta: #ff00e5;
  --green: #00e676;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-feature-settings: "cv02","cv03","cv04","cv11";
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--cyan); }
button { font-family: inherit; cursor: pointer; }

.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* ── Topbar ────────────────────────────────────────────────────────────── */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 14, 26, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }

.brand { display: flex; align-items: center; gap: 10px; color: var(--text); font-weight: 700; font-size: 17px; letter-spacing: -.01em; }
.brand-mark { width: 26px; height: 26px; color: var(--cyan); }
.brand-dot { color: var(--cyan); }
.brand:hover { color: var(--text); }

.topnav { display: flex; align-items: center; gap: 32px; }
.topnav a { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.topnav a:hover { color: var(--text); }
.topnav-cta {
  padding: 8px 16px; border-radius: var(--r-sm);
  background: rgba(0, 212, 255, .08); color: var(--cyan) !important;
  border: 1px solid rgba(0, 212, 255, .25); font-size: 13px !important;
}
.topnav-cta:hover { background: rgba(0, 212, 255, .14); border-color: rgba(0, 212, 255, .45); }

.menu-toggle { display: none; background: none; border: 0; padding: 8px; color: var(--text); }
.menu-toggle span { display: block; width: 22px; height: 1.5px; background: currentColor; margin: 5px 0; }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero { padding: 80px 0 64px; position: relative; overflow: hidden; }
.hero::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 100%;
  background:
    radial-gradient(60% 50% at 15% 0%, rgba(0, 212, 255, .07), transparent 70%),
    radial-gradient(50% 40% at 85% 10%, rgba(255, 0, 229, .04), transparent 70%);
  pointer-events: none;
}

.hero-grid {
  display: grid; gap: 56px;
  grid-template-columns: 1.15fr .85fr;
  align-items: center;
  position: relative;
}

.eyebrow {
  display: inline-block;
  font-size: 12px; font-weight: 600;
  text-transform: uppercase; letter-spacing: .12em;
  color: var(--cyan); margin-bottom: 16px;
}

.hero-text h1 {
  font-size: clamp(36px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -.025em;
  margin-bottom: 20px;
  color: var(--text);
}
.lead { font-size: 18px; color: var(--text-muted); max-width: 540px; margin-bottom: 32px; }

.domain-search { display: flex; gap: 10px; margin-bottom: 12px; }
.domain-field {
  flex: 1; display: flex;
  background: var(--bg-card); border: 1px solid var(--border-strong);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .15s ease;
}
.domain-field:focus-within { border-color: var(--cyan); }
.domain-field input {
  flex: 1; padding: 14px 16px; background: transparent;
  border: 0; outline: 0; color: var(--text);
  font-family: 'JetBrains Mono', ui-monospace, monospace; font-size: 15px;
}
.domain-field input::placeholder { color: var(--text-dim); }
.domain-field select {
  padding: 0 16px; background: rgba(255,255,255,.02);
  border: 0; border-left: 1px solid var(--border);
  color: var(--text); font-family: 'JetBrains Mono', monospace; font-size: 14px;
  cursor: pointer; outline: none;
}
/* Fix dropdown contrast — options heredan colores del SO si no se especifican */
.domain-field select option {
  background-color: #0f1623;
  color: #e2e8f0;
  padding: 8px;
}

/* ── Panel multi-select de extensiones extra ──────────────────────────── */
.tld-multi {
  margin-top: 12px;
  padding: 14px 16px;
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  animation: tldMultiSlide .25s ease-out;
}
@keyframes tldMultiSlide {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.tld-multi-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 500;
}
.tld-chips-multi {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tld-chip-multi {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--text-muted);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
  transition: all .15s ease;
}
.tld-chip-multi:hover {
  border-color: var(--border-strong);
  color: var(--text);
}
.tld-chip-multi.selected {
  background: rgba(0, 212, 255, .12);
  border-color: var(--cyan);
  color: var(--cyan);
}
.tld-chip-multi .tld-chip-ext {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
}
.tld-chip-multi .tld-chip-price {
  font-size: 11px;
  opacity: .65;
}
.tld-chip-multi.selected .tld-chip-price {
  opacity: .9;
}
.tld-multi-hint {
  font-size: 12px;
  color: #ffb648;
  margin-top: 10px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 22px; border-radius: var(--r-md);
  font-weight: 600; font-size: 14px; letter-spacing: .01em;
  border: 0; cursor: pointer;
  transition: all .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--cyan); color: #00171f; }
.btn-primary:hover { background: #2de0ff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--border-strong); }
.btn-ghost:hover { border-color: var(--cyan); color: var(--cyan); }

.domain-result { min-height: 28px; margin-bottom: 8px; font-size: 14px; color: var(--text-muted); }
.domain-result.success { color: var(--green); }
.domain-result.warn { color: #ffb648; }
.domain-result.error { color: #ff5d6c; }
.domain-result a { color: var(--cyan); border-bottom: 1px dashed currentColor; }

.hero-meta {
  list-style: none; display: flex; gap: 24px;
  margin-top: 24px; padding: 0;
  font-size: 13px; color: var(--text-muted);
}
.hero-meta li::before { content: '✓'; color: var(--cyan); margin-right: 8px; font-weight: 700; }

/* Hero card */
.hero-card {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 8px;
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 13px;
}
.card-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.card-row:last-child { border-bottom: 0; }
.card-row .muted { color: var(--text-muted); }
.card-row-head { background: rgba(0, 230, 118, .06); border-radius: 8px 8px 0 0; font-weight: 500; }
.card-row-foot { background: rgba(255,255,255,.02); border-radius: 0 0 8px 8px; }
.dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; }
.dot-green { background: var(--green); box-shadow: 0 0 0 3px rgba(0, 230, 118, .15); animation: pulse 2s ease-in-out infinite; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: .5; } }
.ml-auto { margin-left: auto; }
.small { font-size: 12px; }
.muted { color: var(--text-muted); }

/* ── Section heads ─────────────────────────────────────────────────────── */
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(28px, 3.5vw, 40px); font-weight: 800; letter-spacing: -.02em; line-height: 1.15; margin-bottom: 12px; }
.section-sub { color: var(--text-muted); font-size: 16px; }

/* ── Planes ────────────────────────────────────────────────────────────── */
.planes { padding: 80px 0; border-top: 1px solid var(--border); }
.planes-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 32px 24px;
  display: flex; flex-direction: column;
  transition: border-color .15s ease, transform .15s ease;
  position: relative;
}
.plan-card:hover { border-color: var(--border-strong); transform: translateY(-2px); }
.plan-card.featured {
  border-color: rgba(0, 212, 255, .4);
  box-shadow: 0 0 0 1px rgba(0, 212, 255, .15), 0 12px 32px rgba(0, 212, 255, .06);
}
.plan-badge {
  position: absolute; top: -10px; right: 20px;
  background: var(--cyan); color: #00171f;
  font-size: 11px; font-weight: 700;
  padding: 4px 10px; border-radius: 20px;
  letter-spacing: .05em;
}
.plan-name { font-size: 18px; font-weight: 700; margin-bottom: 4px; }
.plan-tier { font-size: 12px; color: var(--text-muted); margin-bottom: 28px; text-transform: uppercase; letter-spacing: .08em; }
.plan-price { font-size: 40px; font-weight: 800; letter-spacing: -.03em; display: flex; align-items: baseline; gap: 4px; margin-bottom: 4px; }
.plan-price .currency { font-size: 18px; color: var(--text-muted); font-weight: 500; }
.plan-period { font-size: 13px; color: var(--text-muted); margin-bottom: 8px; }
.plan-renewal { font-size: 12px; color: var(--text-dim); margin-bottom: 24px; }
.plan-features { list-style: none; padding: 0; margin: 0 0 28px 0; flex: 1; }
.plan-features li { font-size: 14px; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.03); }
.plan-features li:last-child { border-bottom: 0; }
.plan-features li::before { content: '·'; color: var(--cyan); font-weight: 700; margin-right: 10px; }
.plan-cta {
  display: block; text-align: center;
  padding: 12px 18px;
  background: rgba(255,255,255,.04); color: var(--text);
  border: 1px solid var(--border-strong);
  border-radius: var(--r-md);
  font-weight: 600; font-size: 14px;
  transition: all .15s ease;
}
.plan-cta:hover { background: var(--cyan); color: #00171f; border-color: var(--cyan); }
.featured .plan-cta { background: var(--cyan); color: #00171f; border-color: var(--cyan); }
.featured .plan-cta:hover { background: #2de0ff; }

.plan-skeleton { height: 460px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-lg); position: relative; overflow: hidden; }
.plan-skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent); animation: shimmer 1.5s infinite; }
@keyframes shimmer { 0%{transform:translateX(-100%);} 100%{transform:translateX(100%);} }

.planes-foot { text-align: center; margin-top: 40px; }

/* ── Razones ───────────────────────────────────────────────────────────── */
.razones { padding: 80px 0; border-top: 1px solid var(--border); background: var(--bg-elev); }
.razones-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.razon {
  padding: 28px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  transition: border-color .15s ease;
}
.razon:hover { border-color: var(--border-strong); }
.razon h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; color: var(--text); }
.razon h3::before { content: ''; display: inline-block; width: 5px; height: 5px; background: var(--cyan); border-radius: 50%; vertical-align: middle; margin-right: 10px; margin-bottom: 3px; }
.razon p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Dominios ──────────────────────────────────────────────────────────── */
.dominios { padding: 80px 0; border-top: 1px solid var(--border); }
.tlds-grid { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }
.tld {
  padding: 20px 24px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  display: flex; flex-direction: column; gap: 6px;
  transition: all .15s ease;
}
.tld:hover { border-color: var(--cyan); transform: translateY(-1px); }
.tld-ext { font-family: 'JetBrains Mono', monospace; font-size: 18px; font-weight: 600; color: var(--cyan); }
.tld-price { font-size: 20px; font-weight: 700; color: var(--text); }
.tld-price .currency { font-size: 13px; color: var(--text-muted); font-weight: 500; margin-right: 2px; }
.tld-meta { font-size: 12px; color: var(--text-muted); }
.tld-skeleton { height: 110px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--r-md); position: relative; overflow: hidden; }
.tld-skeleton::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255,255,255,.03), transparent); animation: shimmer 1.5s infinite; }

/* ── FAQ ───────────────────────────────────────────────────────────────── */
.faq { padding: 80px 0; border-top: 1px solid var(--border); background: var(--bg-elev); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  margin-bottom: 10px;
  transition: border-color .15s ease;
}
.faq details[open] { border-color: var(--border-strong); }
.faq summary {
  padding: 20px 24px;
  cursor: pointer;
  font-weight: 600;
  font-size: 15px;
  list-style: none;
  display: flex; align-items: center; justify-content: space-between;
  user-select: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; font-size: 22px; color: var(--text-muted); font-weight: 300; transition: transform .2s ease; }
.faq details[open] summary::after { content: '−'; }
.faq summary:hover { color: var(--cyan); }
.faq details p { padding: 0 24px 20px; color: var(--text-muted); font-size: 14px; line-height: 1.7; max-width: 640px; }

/* ── CTA final ─────────────────────────────────────────────────────────── */
.cta-final { padding: 100px 0; }
.cta-box {
  background: linear-gradient(180deg, var(--bg-card), var(--bg-elev));
  border: 1px solid var(--border-strong);
  border-radius: var(--r-lg);
  padding: 60px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-box::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(70% 60% at 50% 0%, rgba(0, 212, 255, .06), transparent 70%),
    radial-gradient(50% 40% at 50% 100%, rgba(255, 0, 229, .04), transparent 70%);
  pointer-events: none;
}
.cta-box h2 { font-size: clamp(28px, 4vw, 40px); font-weight: 800; letter-spacing: -.025em; margin-bottom: 12px; position: relative; }
.cta-box p { color: var(--text-muted); margin-bottom: 28px; position: relative; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--border); padding: 64px 0 32px; background: var(--bg-elev); }
.footer-grid {
  display: grid; gap: 48px;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.brand-footer { margin-bottom: 16px; }
.footer-blurb { color: var(--text-muted); font-size: 14px; margin-bottom: 14px; max-width: 320px; }
.footer-legal { line-height: 1.6; }
.site-footer h4 { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.site-footer li a { color: var(--text-muted); font-size: 14px; }
.site-footer li a:hover { color: var(--cyan); }
.footer-bottom { padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }

/* ── Responsive ────────────────────────────────────────────────────────── */
@media (max-width: 880px) {
  .hero { padding: 60px 0 48px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-card { order: -1; max-width: 100%; }
  .topnav { display: none; }
  .menu-toggle { display: block; }
  .domain-search { flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .planes, .razones, .dominios, .faq { padding: 60px 0; }
  .section-head { margin-bottom: 40px; }
}
@media (max-width: 540px) {
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-meta { flex-direction: column; gap: 10px; }
  .cta-box { padding: 40px 24px; }
}
