:root {
  --gl-bg-main: #020b08;
  --gl-bg-card: rgba(8, 22, 17, 0.92);
  --gl-bg-chip: rgba(19, 57, 40, 0.7);
  --gl-border-subtle: rgba(255, 255, 255, 0.08);

  --gl-primary: #33c27f;
  --gl-primary-soft: rgba(51, 194, 127, 0.18);
  --gl-primary-strong: #1c9a60;

  --gl-text-main: #f8fafc;
  --gl-text-muted: #9ca3af;
  --gl-text-soft: #6b7280;

  --gl-radius-lg: 24px;
  --gl-radius-md: 16px;
  --gl-radius-pill: 999px;

  --gl-shadow-soft: 0 22px 60px rgba(0, 0, 0, 0.6);
  --gl-shadow-subtle: 0 12px 35px rgba(0, 0, 0, 0.4);
}

/* RESET BÁSICO */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  background: radial-gradient(circle at top left, #0b2918 0, #020b08 42%, #01040a 100%);
  color: var(--gl-text-main);
  min-height: 100vh;
}

/* LAYOUT PRINCIPAL */

.gl-page {
  position: relative;
  min-height: 100vh;
  padding: 32px 20px 24px;
  display: flex;
  flex-direction: column;
  max-width: 1200px;
  margin: 0 auto;
  isolation: isolate;
}

.gl-overlay {
  position: fixed;
  inset: 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(51, 194, 127, 0.22), transparent 55%),
    radial-gradient(circle at 100% 100%, rgba(21, 128, 61, 0.25), transparent 55%);
  opacity: 0.9;
  pointer-events: none;
  z-index: -2;
}

/* HEADER / LOGO */

.gl-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 32px;
}

.gl-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.gl-logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: radial-gradient(circle at 20% 0%, #86efac, #15803d);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ecfdf5;
  font-weight: 700;
  font-size: 20px;
  box-shadow: 0 12px 30px rgba(22, 163, 74, 0.65);
}

.gl-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.gl-logo-title {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.gl-logo-subtitle {
  font-size: 12px;
  color: var(--gl-text-soft);
}

.gl-logo-img {
  height: 70px;
  width: auto;
  display: block;
  filter: 
    drop-shadow(0 0 20px rgba(22, 163, 74, 0.6))
    drop-shadow(0 8px 35px rgba(22, 163, 74, 0.5))
    drop-shadow(0 15px 50px rgba(22, 163, 74, 0.4));
}

/* HERO */

.gl-main {
  flex: 1;
  display: flex;
  align-items: center;
}

.gl-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.1fr);
  gap: 28px;
  align-items: stretch;
  width: 100%;
}

.gl-hero-content {
  padding: 28px 26px;
  border-radius: var(--gl-radius-lg);
  background: linear-gradient(
      135deg,
      rgba(15, 23, 42, 0.92),
      rgba(15, 23, 42, 0.85)
    ),
    radial-gradient(circle at top left, rgba(51, 194, 127, 0.22), transparent 60%);
  border: 1px solid var(--gl-border-subtle);
  box-shadow: var(--gl-shadow-soft);
  backdrop-filter: blur(18px);
}

/* Badge "Próximamente" */

.gl-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: var(--gl-radius-pill);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background-color: var(--gl-bg-chip);
  color: #bbf7d0;
  border: 1px solid rgba(74, 222, 128, 0.4);
  margin-bottom: 16px;
}

.gl-badge::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: radial-gradient(circle, #4ade80, #15803d);
  box-shadow: 0 0 12px rgba(74, 222, 128, 0.9);
}

/* Títulos y textos */

.gl-title {
  font-size: clamp(28px, 4vw, 36px);
  line-height: 1.15;
  margin: 0 0 14px;
}

.gl-title-highlight {
  display: block;
  color: #a7f3d0;
}

.gl-subtitle {
  margin: 0 0 26px;
  font-size: 15px;
  color: var(--gl-text-muted);
  max-width: 540px;
}

/* FORMULARIO */

.gl-form {
  margin-bottom: 26px;
}

.gl-form-label {
  display: block;
  font-size: 13px;
  color: var(--gl-text-soft);
  margin-bottom: 10px;
}

.gl-form-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.gl-input {
  flex: 1 1 200px;
  min-width: 0;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background-color: rgba(15, 23, 42, 0.9);
  color: var(--gl-text-main);
  padding: 10px 14px;
  font-size: 14px;
  outline: none;
  transition: border-color 0.16s ease, box-shadow 0.16s ease,
    background-color 0.16s ease;
}

.gl-input::placeholder {
  color: rgba(148, 163, 184, 0.8);
}

.gl-input:focus {
  border-color: rgba(52, 211, 153, 0.8);
  box-shadow: 0 0 0 1px rgba(16, 185, 129, 0.45);
  background-color: rgba(15, 23, 42, 0.98);
}

.gl-button {
  flex: 0 0 auto;
  border: none;
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  background: linear-gradient(135deg, var(--gl-primary), var(--gl-primary-strong));
  color: #ecfdf5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 14px 35px rgba(22, 163, 74, 0.58);
  transition: transform 0.14s ease, box-shadow 0.14s ease,
    filter 0.14s ease;
}

.gl-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 40px rgba(22, 163, 74, 0.75);
  filter: brightness(1.05);
}

.gl-button:active {
  transform: translateY(0);
  box-shadow: 0 10px 25px rgba(22, 163, 74, 0.55);
}

.gl-privacy {
  margin-top: 9px;
  font-size: 11px;
  color: var(--gl-text-soft);
}

/* META INFO */

.gl-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  margin-top: 8px;
}

.gl-meta-item {
  padding: 10px 12px;
  border-radius: var(--gl-radius-md);
  border: 1px solid rgba(148, 163, 184, 0.35);
  background: radial-gradient(
    circle at top left,
    rgba(51, 194, 127, 0.15),
    rgba(15, 23, 42, 0.88)
  );
}

.gl-meta-label {
  display: block;
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gl-text-soft);
  margin-bottom: 4px;
}

.gl-meta-value {
  font-size: 13px;
  font-weight: 500;
}

/* SIDE CARD */

.gl-side-card {
  position: relative;
  border-radius: var(--gl-radius-lg);
  overflow: hidden;
  box-shadow: var(--gl-shadow-subtle);
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: radial-gradient(circle at 0% 0%, #064e3b, #020617);
}

.gl-side-gradient {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top left, rgba(187, 247, 208, 0.35), transparent 55%),
    linear-gradient(145deg, rgba(22, 101, 52, 0.4), rgba(15, 23, 42, 0.95));
  opacity: 0.95;
  pointer-events: none;
}

.gl-side-inner {
  position: relative;
  padding: 24px 22px 22px;
  z-index: 1;
}

.gl-side-title {
  margin: 0 0 12px;
  font-size: 18px;
}

.gl-list {
  margin: 0;
  padding-left: 20px;
  font-size: 14px;
  color: #e5e7eb;
}

.gl-list li {
  margin-bottom: 6px;
}

.gl-divider {
  margin: 18px 0 14px;
  height: 1px;
  border-radius: 999px;
  border: none;
  background: linear-gradient(
    to right,
    transparent,
    rgba(209, 250, 229, 0.6),
    transparent
  );
}

.gl-side-note {
  margin: 0;
  font-size: 13px;
  color: var(--gl-text-muted);
}

/* FOOTER */

.gl-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  font-size: 12px;
  color: var(--gl-text-soft);
}

.gl-footer-text {
  margin: 0;
}

.gl-social {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gl-social-link {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(15, 23, 42, 0.85);
  text-decoration: none;
  transition: background-color 0.16s ease, border-color 0.16s ease,
    transform 0.16s ease, box-shadow 0.16s ease;
}

.gl-social-link:hover {
  background-color: rgba(16, 185, 129, 0.1);
  border-color: rgba(45, 212, 191, 0.8);
  transform: translateY(-1px);
  box-shadow: 0 10px 22px rgba(15, 118, 110, 0.45);
}

.gl-icon {
  width: 15px;
  height: 15px;
  fill: #e5e7eb;
}

/* RESPONSIVE */

@media (max-width: 900px) {
  .gl-page {
    padding: 24px 16px 20px;
  }

  .gl-hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .gl-side-card {
    order: -1;
  }

  .gl-hero-content {
    padding: 22px 18px 20px;
  }

  .gl-meta {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .gl-header {
    margin-bottom: 22px;
  }

  .gl-hero {
    gap: 18px;
  }

  .gl-form-row {
    flex-direction: column;
    align-items: stretch;
  }

  .gl-button {
    width: 100%;
    justify-content: center;
  }

  .gl-meta {
    grid-template-columns: minmax(0, 1fr);
  }

  .gl-footer {
    flex-direction: column-reverse;
    align-items: flex-start;
  }
}

/* LANG SWITCHER — pill style */
.lang-switcher {
  display: flex;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  padding: 4px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

.lang-btn {
  padding: 6px 14px;
  border: none;
  border-radius: 999px;
  background: transparent;
  color: #e5e7eb;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.14);
}

.lang-btn.active {
  background: linear-gradient(135deg, #33c27f, #1c9a60);
  color: #ecfdf5;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.45);
}
