/*
Theme Name: Gayatri Landing
Theme URI: https://belingayatri.com
Author: Fran Demoli
Description: Landing page minimalista para captación de leads — estética holística/espiritual
Version: 1.4.0
Text Domain: gayatri-landing
*/

/* =============================================
   VARIABLES
   ============================================= */
:root {
  --bg:          #ede8de;
  --bg-light:    #f5f0e8;
  --blue-dark:   #5b7fa6;
  --blue-med:    #8aa8bf;
  --blue-light:  #c2d5e3;
  --beige:       #cfc09e;
  --text:        #3a3530;
  --text-light:  #6b6058;
  --white:       #fdfaf5;
  --font-head:    'Playfair Display', 'Georgia', serif;
  --font-body:    'Poppins', 'Helvetica Neue', Arial, sans-serif;
  --font-special: 'Great Vibes', cursive;
  --radius-arch: 200px 200px 0 0 / 120px 120px 0 0;
  --shadow:      0 4px 24px rgba(58,53,48,0.10);
  --max-w:       680px;
}

/* =============================================
   RESET & BASE
   ============================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--blue-dark); text-decoration: none; }

/* =============================================
   ANIMACIONES
   ============================================= */
@keyframes gl-aurora {
  0%   { background-position: 0%   50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0%   50%; }
}

@keyframes gl-fadein-up {
  from { opacity: 0; transform: translateY(22px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes gl-rise {
  0%   { transform: translateY(0)      translateX(0px);  opacity: 0;   }
  10%  { opacity: 1; }
  85%  { opacity: 0.8; }
  100% { transform: translateY(-100vh) translateX(12px); opacity: 0;   }
}

/* =============================================
   PARTÍCULAS DORADAS ASCENDENTES
   ============================================= */
.gl-dot {
  position: fixed;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  background: #c8a84b;
  box-shadow: 0 0 8px 3px rgba(200,168,75,0.7);
  animation: gl-rise linear infinite;
}

/* =============================================
   LAYOUT
   ============================================= */
.gl-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px 20px 60px;
  position: relative;
}

.gl-container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

/* Entrada animada de los bloques principales */
.gl-logo,
.gl-arch,
.gl-eyebrow,
.gl-title,
.gl-subtitle,
.gl-event-info,
.gl-features-label,
.gl-features,
.gl-divider,
.gl-form {
  animation: gl-fadein-up 0.6s ease both;
}

.gl-arch           { animation-delay: 0.05s; }
.gl-eyebrow        { animation-delay: 0.10s; }
.gl-title          { animation-delay: 0.15s; }
.gl-subtitle       { animation-delay: 0.20s; }
.gl-event-info     { animation-delay: 0.25s; }
.gl-features-label { animation-delay: 0.30s; }
.gl-features       { animation-delay: 0.35s; }
.gl-divider        { animation-delay: 0.40s; }
.gl-form           { animation-delay: 0.45s; }

/* =============================================
   LOGO / HEADER
   ============================================= */
.gl-logo {
  text-align: center;
  margin-bottom: 32px;
}

.gl-logo__name {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text);
}

.gl-logo__sub {
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

/* =============================================
   ARCH IMAGE
   ============================================= */
.gl-arch {
  width: 200px;
  height: 260px;
  margin: 0 auto 32px;
  overflow: hidden;
  border-radius: var(--radius-arch);
  background-color: var(--blue-light);
  position: relative;
}

.gl-arch img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.gl-arch--large {
  width: 260px;
  height: 340px;
}

/* =============================================
   TYPOGRAPHY
   ============================================= */
.gl-eyebrow {
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--blue-dark);
  text-align: center;
  margin-bottom: 12px;
}

.gl-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.2;
  text-align: center;
  color: var(--text);
  margin-bottom: 16px;
}

.gl-title em {
  font-style: italic;
  color: var(--blue-dark);
}

.gl-subtitle {
  font-size: 1rem;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.gl-divider {
  width: 48px;
  height: 1px;
  background: var(--beige);
  margin: 24px auto;
}

/* =============================================
   EVENT INFO BOX
   ============================================= */
.gl-event-info {
  background: var(--white);
  border-radius: 16px;
  padding: 20px 24px;
  margin-bottom: 32px;
  text-align: center;
  box-shadow: var(--shadow);
  display: flex;
  gap: 24px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.gl-event-info__item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.gl-event-info__label {
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-light);
}

.gl-event-info__value {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-dark);
}

/* =============================================
   FORM
   ============================================= */
.gl-form {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.gl-form__title {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 500;
  text-align: center;
  margin-bottom: 24px;
  color: var(--text);
}

.gl-form__group {
  margin-bottom: 16px;
}

.gl-form__group label {
  display: block;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 6px;
}

.gl-form__group input {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--blue-light);
  border-radius: 10px;
  background: var(--bg-light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  appearance: none;
}

.gl-form__group input:focus {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(91,127,166,0.12);
}

.gl-form__group input::placeholder {
  color: var(--beige);
}

.gl-form__privacy {
  font-size: 0.72rem;
  color: var(--text-light);
  text-align: center;
  margin-top: 12px;
  line-height: 1.5;
  max-width: 300px;
  margin-left: auto;
  margin-right: auto;
}

.gl-form__error {
  background: #fdecea;
  color: #c0392b;
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.88rem;
  margin-bottom: 16px;
  text-align: center;
}

/* =============================================
   BUTTONS
   ============================================= */
.gl-btn {
  display: block;
  width: 100%;
  padding: 16px 20px;
  border: none;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.gl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.15);
}

.gl-btn:active {
  transform: translateY(0);
  box-shadow: none;
}

.gl-btn--primary {
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.gl-btn--whatsapp {
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 1.05rem;
}

.gl-btn--outline {
  background: transparent;
  color: var(--blue-dark);
  border: 2px solid var(--blue-dark);
}

.gl-btn--copy {
  background: transparent;
  color: var(--text-light);
  border: 1.5px solid var(--beige);
  font-size: 0.85rem;
  padding: 12px 24px;
}

/* =============================================
   FRASE ESPECIAL (Great Vibes)
   ============================================= */
.gl-special-phrase {
  font-family: var(--font-special);
  font-size: clamp(1.6rem, 5vw, 2.2rem);
  color: var(--blue-dark);
  text-align: center;
  margin: 8px 0 28px;
  line-height: 1.3;
}

/* =============================================
   CUENTA REGRESIVA
   ============================================= */
.gl-countdown {
  background: var(--white);
  border-radius: 16px;
  padding: 20px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
  text-align: center;
}

.gl-countdown__label {
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 14px;
}

.gl-countdown__units {
  display: flex;
  justify-content: center;
  gap: 12px;
}

.gl-countdown__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 56px;
}

.gl-countdown__num {
  font-family: var(--font-head);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  line-height: 1;
}

.gl-countdown__name {
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-top: 4px;
}

.gl-countdown__sep {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--beige);
  align-self: flex-start;
  padding-top: 2px;
  line-height: 1;
}

/* =============================================
   BLOQUE "ESTA CLASE ES PARA VOS SI"
   ============================================= */
.gl-for-you {
  background: var(--white);
  border-radius: 20px;
  padding: 28px 24px;
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}

.gl-for-you__title {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 18px;
  text-align: center;
}

.gl-for-you__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.gl-for-you__list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text);
  line-height: 1.5;
}

.gl-for-you__list li::before {
  content: '✦';
  color: var(--blue-dark);
  flex-shrink: 0;
  font-size: 0.75rem;
  margin-top: 3px;
}

/* =============================================
   CIERRE (frase final + botón secundario)
   ============================================= */
.gl-closing {
  text-align: center;
  margin: 8px 0 28px;
}

/* =============================================
   TEXTAREA en formulario
   ============================================= */
.gl-phone-wrap {
  display: flex;
  gap: 8px;
}

.gl-phone-prefix {
  flex-shrink: 0;
  width: 110px;
  padding: 14px 10px;
  border: 1.5px solid var(--blue-light);
  border-radius: 10px;
  background: var(--bg-light);
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text);
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b6058' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}

.gl-phone-prefix:focus {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(91,127,166,0.12);
}

.gl-phone-wrap input[type="tel"] {
  flex: 1;
}

.gl-form__group textarea {
  width: 100%;
  padding: 14px 18px;
  border: 1.5px solid var(--blue-light);
  border-radius: 10px;
  background: var(--bg-light);
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text);
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
  resize: none;
  min-height: 76px;
  line-height: 1.5;
}

.gl-form__group textarea:focus {
  border-color: var(--blue-dark);
  box-shadow: 0 0 0 3px rgba(91,127,166,0.12);
}

.gl-form__group textarea::placeholder {
  color: var(--beige);
}

/* =============================================
   PROGRESS BAR (Página 2)
   ============================================= */
.gl-progress {
  margin: 24px 0 32px;
  text-align: center;
}

.gl-progress__label {
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 10px;
}

.gl-progress__bar {
  background: var(--blue-light);
  border-radius: 50px;
  height: 18px;
  overflow: hidden;
  position: relative;
}

.gl-progress__fill {
  height: 100%;
  border-radius: 50px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue-med));
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  transition: width 0.8s ease;
}

.gl-progress__pct {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
}

/* =============================================
   CTA CARD (Página 2)
   ============================================= */
.gl-cta-card {
  background: var(--white);
  border-radius: 20px;
  padding: 32px;
  text-align: center;
  box-shadow: var(--shadow);
}

.gl-cta-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 16px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-cta-card__icon svg {
  width: 32px;
  height: 32px;
}

.gl-cta-card__title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: 12px;
  color: var(--text);
}

.gl-cta-card__title em {
  font-style: italic;
  color: var(--blue-dark);
}

.gl-cta-card__text {
  color: var(--text-light);
  font-size: 0.95rem;
  margin-bottom: 28px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

.gl-cta-card__timer {
  font-size: 0.75rem;
  color: var(--beige);
  margin-top: 16px;
  letter-spacing: 0.08em;
}

/* =============================================
   QR PAGE
   ============================================= */
.gl-qr-page {
  text-align: center;
  padding: 48px 20px;
}

.gl-qr-page__logo {
  margin: 0 auto 32px;
}

.gl-qr-page__logo-arch {
  width: 100px;
  height: 128px;
  border-radius: 100px 100px 0 0 / 60px 60px 0 0;
  background: var(--blue-dark);
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gl-qr-image {
  display: block;
  margin: 24px auto;
  border-radius: 12px;
  box-shadow: var(--shadow);
  max-width: 220px;
}

.gl-qr-page__actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-width: 340px;
  margin: 0 auto;
}

/* =============================================
   FEATURES (Beneficios)
   ============================================= */
.gl-features-label {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-dark);
  text-align: center;
  margin: 0 0 8px;
}

.gl-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0 0 24px;
}

.gl-feature {
  background: var(--white);
  border-radius: 14px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.gl-feature__icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.gl-feature__text {
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.4;
}

/* =============================================
   FOOTER
   ============================================= */
.gl-footer {
  text-align: center;
  padding: 24px;
  font-size: 0.7rem;
  color: var(--text-light);
  letter-spacing: 0.06em;
}

.gl-footer a { color: var(--text-light); }

/* =============================================
   ADMIN STYLES (leads table)
   ============================================= */
.gl-admin-table {
  background: #fff;
  border-collapse: collapse;
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 1px 6px rgba(0,0,0,0.08);
}
.gl-admin-table th {
  background: #5b7fa6;
  color: #fff;
  padding: 10px 16px;
  text-align: left;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.gl-admin-table td {
  padding: 10px 16px;
  border-bottom: 1px solid #f0ede8;
  font-size: 0.9rem;
}
.gl-admin-table tr:last-child td { border-bottom: none; }
.gl-admin-table tr:hover td { background: #f9f6f0; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 480px) {
  .gl-form { padding: 24px 18px; }
  .gl-cta-card { padding: 24px 18px; }
  .gl-features { grid-template-columns: 1fr; }
  .gl-event-info { flex-direction: column; gap: 16px; }
}
