/* ==========================================================================
   ALTALUZ.ORG - PREMIUM DESIGN SYSTEM - LIGHT THEME
   ========================================================================== */

:root {
  --bg-dark: #f8fafc;
  --bg-card: rgba(255, 255, 255, 0.95);
  --bg-card-hover: rgba(255, 255, 255, 1);
  --accent-cyan: #0ea5e9;
  --accent-blue: #2563eb;
  --accent-green: #10b981;
  --danger-red: #ef4444;
  --text-main: #0f172a;
  --text-muted: #64748b;
  --border-glow: rgba(37, 99, 235, 0.2);
  --glass-border: rgba(0, 0, 0, 0.08);
  --font-primary: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --radius-lg: 20px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-glow: 0 10px 30px rgba(14, 165, 233, 0.15);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: var(--font-primary);
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Background Ambient Spheres */
.glow-sphere {
  position: fixed;
  border-radius: 50%;
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.sphere-1 {
  width: 400px;
  height: 400px;
  background: rgba(14, 165, 233, 0.12);
  top: -100px;
  right: -100px;
}
.sphere-2 {
  width: 500px;
  height: 500px;
  background: rgba(37, 99, 235, 0.08);
  top: 40%;
  left: -200px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.text-center { text-align: center; }

/* Glassmorphism Components */
.glass {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-lg);
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ========================
   INFO BANNER
======================== */
.info-banner {
  background: rgba(14, 165, 233, 0.08);
  border-bottom: 1px solid rgba(14, 165, 233, 0.2);
  padding: 8px 0;
  font-size: 0.9rem;
  color: var(--text-main);
  text-align: center;
  font-weight: 500;
}
.info-banner strong { color: var(--accent-blue); }
.info-banner a { color: var(--accent-blue); text-decoration: none; font-weight: 600; }

/* ========================
   HEADER
======================== */
.header {
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
}
.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.logo {
  font-size: 1.6rem;
  font-weight: 800;
  text-decoration: none;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}
.logo-highlight { color: var(--accent-cyan); }
.header-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.82rem;
  color: var(--accent-green);
  white-space: nowrap;
}
.pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--accent-green);
  border-radius: 50%;
  animation: pulse 1.8s infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Main Navigation */
.main-nav {
  display: flex;
  gap: 20px;
  align-items: center;
  flex-wrap: wrap;
}
.main-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.2s;
  white-space: nowrap;
}
.main-nav a:hover { color: var(--accent-blue); }

/* Buttons */
.btn-primary {
  display: inline-block;
  padding: 12px 24px;
  background: var(--accent-blue);
  color: #ffffff !important;
  font-weight: 700;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  font-size: 0.95rem;
}
.btn-primary:hover {
  background: #1d4ed8;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.3);
}

.btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  background: #ffffff;
  color: var(--text-main) !important;
  border: 1px solid var(--glass-border);
  font-weight: 600;
  border-radius: var(--radius-md);
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}
.btn-secondary:hover {
  background: #f1f5f9;
  border-color: #cbd5e1;
}

.btn-submit {
  width: 100%;
  padding: 14px 20px;
  border-radius: 30px;
  border: none;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-blue));
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}
.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.35);
}

.btn-danger {
  background: var(--danger-red);
  color: #ffffff !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s;
  display: inline-block;
  text-align: center;
}
.btn-danger:hover { background: #b91c1c; }

.btn-whatsapp {
  display: inline-block;
  width: 100%;
  padding: 14px;
  background: #25d366;
  color: #fff;
  font-weight: 700;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(37, 211, 102, 0.3);
  text-align: center;
}

.btn-group { display: flex; gap: 12px; }
.btn-group .btn-secondary { flex: 1; }
.btn-group .btn-primary,
.btn-group .btn-submit { flex: 2; }

/* ========================
   HERO
======================== */
.hero {
  padding: 60px 0 80px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 50px;
  align-items: center;
}
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(14, 165, 233, 0.08);
  border: 1px solid var(--border-glow);
  padding: 8px 16px;
  border-radius: 30px;
  color: var(--accent-cyan);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
  color: var(--text-main);
}
.hero-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Trust Features */
.trust-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-bottom: 35px;
}
.trust-item {
  background: rgba(14, 165, 233, 0.04);
  border: 1px solid var(--glass-border);
  padding: 12px 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.trust-icon { font-size: 1.4rem; }
.trust-text strong { display: block; font-size: 0.9rem; color: var(--text-main); }
.trust-text span  { font-size: 0.75rem; color: var(--text-muted); }

/* Stats Bar */
.stats-card {
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 16px 20px;
  border-radius: var(--radius-md);
}
.stat-box { text-align: center; }
.stat-number {
  display: block;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--accent-blue);
}
.stat-label { font-size: 0.75rem; color: var(--text-muted); }
.stat-divider { width: 1px; height: 30px; background: var(--glass-border); }

/* ========================
   LEAD FUNNEL CARD
======================== */
.funnel-card {
  padding: 30px;
  border: 1px solid var(--border-glow);
  box-shadow: 0 0 40px rgba(37, 99, 235, 0.08);
  position: relative;
  overflow: hidden;
}
.funnel-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 6px;
  color: var(--text-main);
}
.funnel-header p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* Progress Bar */
.progress-container {
  height: 6px;
  background: rgba(0, 0, 0, 0.08);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 12px;
}
.progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-cyan), var(--accent-blue));
  transition: width 0.4s ease;
}
.steps-indicator {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 25px;
}
.step-label.active { color: var(--accent-blue); font-weight: 600; }

/* Form Steps */
.form-step { display: none; }
.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
.input-group-title {
  display: block;
  font-size: 1.05rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--text-main);
}

/* Option Cards */
.options-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  margin-bottom: 25px;
}
.option-card { cursor: pointer; }
.option-card input { display: none; }
.option-content {
  background: rgba(0, 0, 0, 0.02);
  border: 1px solid var(--glass-border);
  padding: 14px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: flex-start;
  gap: 10px;
  transition: all 0.2s ease;
}
.option-card input:checked + .option-content {
  border-color: var(--accent-blue);
  background: rgba(37, 99, 235, 0.06);
  box-shadow: 0 0 12px rgba(37, 99, 235, 0.15);
}
.option-card:hover .option-content { background: rgba(0, 0, 0, 0.04); }
.option-icon { font-size: 1.4rem; }
.option-text strong { display: block; font-size: 0.9rem; color: var(--text-main); }
.option-text small { font-size: 0.75rem; color: var(--text-muted); line-height: 1.2; }

/* Input Fields */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--text-muted);
}
.custom-input, .custom-select {
  width: 100%;
  padding: 12px 16px;
  background: #ffffff;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease;
}
.custom-input:focus, .custom-select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.custom-select option { background-color: #ffffff; color: var(--text-main); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.privacy-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}
.privacy-notice a { color: var(--accent-blue); text-decoration: none; }

/* Success Screen */
.form-success { text-align: center; padding: 20px 10px; }
.success-icon { font-size: 3rem; margin-bottom: 10px; }
.success-details-card {
  padding: 15px;
  margin: 20px 0;
  text-align: left;
  font-size: 0.85rem;
}

/* ========================
   SECTIONS
======================== */
.section { padding: 60px 0; }
.bg-gray { background: #f1f5f9; }
.section-header { margin-bottom: 40px; }
.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-main);
}
.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 30px;
}

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

/* Service Cards */
.procedures-section { padding: 80px 0; background: rgba(14, 165, 233, 0.03); }
.service-card {
  padding: 30px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1);
  border-color: var(--border-glow);
}
.card-icon { font-size: 2.5rem; margin-bottom: 15px; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 12px; color: var(--text-main); }
.service-card p { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 20px; }
.check-list { list-style: none; font-size: 0.85rem; color: var(--text-main); }
.check-list li { margin-bottom: 8px; }

/* Guides Section */
.guides-section { padding: 60px 0; }

/* Silos Section */
.silos-section { padding: 60px 0; background: rgba(37, 99, 235, 0.03); }

/* CUPS Section */
.cups-section { padding: 60px 0; }

/* ========================
   FAQ ACCORDION
======================== */
.faq-section { padding: 80px 0; }
.faq-accordion { max-width: 800px; margin: 0 auto; }
.faq-item { margin-bottom: 15px; padding: 18px 24px; cursor: pointer; }
.faq-question {
  font-size: 1.05rem;
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-main);
}
.faq-arrow { color: var(--accent-blue); font-size: 0.8rem; transition: transform 0.2s ease; }
details[open] .faq-arrow { transform: rotate(180deg); }
.faq-answer { margin-top: 12px; color: var(--text-muted); font-size: 0.95rem; }

/* ========================
   FOOTER
======================== */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 50px 0 20px 0;
  background: #f1f5f9;
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 30px;
  margin-bottom: 30px;
}
.footer-brand p {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 8px;
  max-width: 280px;
}
.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-links h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 4px;
}
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.88rem; }
.footer-links a:hover { color: var(--accent-blue); }
.footer-bottom {
  border-top: 1px solid rgba(0, 0, 0, 0.06);
  padding-top: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ========================
   RESPONSIVE
======================== */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .header-badge { display: none; }
  .header-container {
    flex-wrap: wrap;
    justify-content: space-between;
    row-gap: 10px;
  }
  .main-nav {
    width: 100%;
    order: 3;
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.85rem;
  }

  .hero-title { font-size: 2.1rem; }
  .section-title { font-size: 1.7rem; }

  .trust-features {
    grid-template-columns: 1fr 1fr;
  }
  .options-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .cards-grid {
    grid-template-columns: 1fr;
  }
  .stats-card {
    flex-direction: column;
    gap: 20px;
  }
  .stat-divider {
    width: 100%;
    height: 1px;
  }
}

@media (max-width: 480px) {
  .hero-title { font-size: 1.8rem; }
  .trust-features { grid-template-columns: 1fr; }
  .hero { padding: 40px 0 60px 0; }
  .funnel-card { padding: 20px; }
  .main-nav { gap: 8px; }
  .main-nav a { font-size: 0.8rem; }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}