/* ==========================================
   FIT ENERGIA – Premium Landing Page CSS
   ========================================== */

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

:root {
  /* Colors */
  --primary:       #005691;
  --primary-dark:  #003d6b;
  --primary-light: #0072bf;
  --green:         #00D26A;
  --green-dark:    #009e50;
  --green-light:   #00f07c;
  --cyan:          #00c8e0;
  --bg-dark:       #050e1a;
  --bg-card:       #0a1929;
  --bg-card2:      #0d2137;
  --text-white:    #ffffff;
  --text-muted:    #8aaec8;
  --text-body:     #c5ddf0;
  --border:        rgba(0, 200, 224, 0.12);
  --border-hover:  rgba(0, 210, 106, 0.35);

  /* Gradients */
  --grad-primary:  linear-gradient(135deg, #00D26A 0%, #005691 100%);
  --grad-green:    linear-gradient(135deg, #00f07c 0%, #00D26A 100%);
  --grad-hero:     linear-gradient(135deg, #050e1a 0%, #05213d 50%, #073a5a 100%);

  /* Shadows */
  --shadow-card:   0 8px 32px rgba(0,0,0,0.4);
  --shadow-glow:   0 0 40px rgba(0, 210, 106, 0.2);
  --shadow-btn:    0 4px 24px rgba(0, 210, 106, 0.4);

  /* Typography */
  --font: 'Outfit', sans-serif;

  /* Spacing */
  --section-py:    96px;
  --container-max: 1200px;

  /* Radius */
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  32px;

  /* Transitions */
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: var(--font);
  background: var(--bg-dark);
  color: var(--text-body);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- UTILITY ---- */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.text-gradient {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ---- SCROLLBAR ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 3px; }

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(5, 14, 26, 0.95);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0;
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: padding var(--transition);
}

.navbar.scrolled .nav-container {
  padding: 14px 24px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-icon { flex-shrink: 0; }

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

.logo-fit {
  font-size: 20px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -0.5px;
}

.logo-energia {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  letter-spacing: -0.5px;
  margin-left: 4px;
}

.logo-fit, .logo-energia { display: inline; }

.logo-by {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-top: 2px;
}

.btn-nav {
  background: var(--grad-green);
  color: var(--bg-dark);
  font-family: var(--font);
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0,210,106,0.5);
}

/* ==========================================
   HERO
   ========================================== */
.hero {
  min-height: 100vh;
  background: var(--grad-hero);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Background grid */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 200, 224, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 200, 224, 0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
}

/* Floating orbs */
.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

.hero-orb-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0,110,145,0.4) 0%, transparent 70%);
  top: -100px;
  right: -100px;
  animation-delay: 0s;
}

.hero-orb-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0,210,106,0.2) 0%, transparent 70%);
  bottom: -50px;
  left: -50px;
  animation-delay: 3s;
}

.hero-orb-3 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(0,200,224,0.15) 0%, transparent 70%);
  top: 40%;
  left: 35%;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50%       { transform: translateY(-30px) scale(1.05); }
}

.hero-container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

/* Hero content */

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 210, 106, 0.1);
  border: 1px solid rgba(0, 210, 106, 0.3);
  color: var(--green);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  animation: fadeInDown 0.6s ease both;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--green);
  border-radius: 50%;
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(0,210,106,0.6); }
  50%       { box-shadow: 0 0 0 6px rgba(0,210,106,0); }
}

.hero-title {
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-white);
  letter-spacing: -2px;
  margin-bottom: 24px;
  animation: fadeInUp 0.6s ease 0.1s both;
}

.highlight-number {
  color: var(--green);
  position: relative;
}

.highlight-number::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-green);
  border-radius: 2px;
}

.highlight-text {
  background: var(--grad-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 18px;
  font-weight: 400;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.2s both;
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 28px;
  margin-bottom: 36px;
  animation: fadeInUp 0.6s ease 0.3s both;
}

.stat-item {
  flex: 1;
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 28px;
  font-weight: 800;
  color: var(--green);
  letter-spacing: -1px;
  line-height: 1;
}

.stat-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 4px;
  font-weight: 500;
}

.stat-divider {
  width: 1px;
  height: 40px;
  background: var(--border);
  flex-shrink: 0;
}

/* CTA buttons */
.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  animation: fadeInUp 0.6s ease 0.4s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--grad-green);
  color: var(--bg-dark);
  font-family: var(--font);
  font-weight: 800;
  font-size: 16px;
  padding: 16px 32px;
  border-radius: 50px;
  text-decoration: none;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 40px rgba(0,210,106,0.55);
}

.btn-primary:active { transform: translateY(-1px); }

.btn-primary.btn-large {
  font-size: 18px;
  padding: 20px 40px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text-white);
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  padding: 16px 28px;
  border-radius: 50px;
  text-decoration: none;
  border: 1px solid rgba(255,255,255,0.2);
  transition: var(--transition);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.4);
  transform: translateY(-2px);
}

/* Trust line */
.hero-trust {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  animation: fadeInUp 0.6s ease 0.5s both;
}

.hero-trust svg { color: var(--green); flex-shrink: 0; }

/* ---- FORM CARD ---- */
.hero-form-wrapper { animation: fadeInUp 0.7s ease 0.2s both; }

.form-card {
  background: rgba(10, 25, 41, 0.9);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 36px;
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card), var(--shadow-glow);
  position: relative;
  overflow: hidden;
}

.form-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--grad-green);
}

.form-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.form-icon-wrap {
  width: 52px;
  height: 52px;
  background: rgba(0, 210, 106, 0.12);
  border: 1px solid rgba(0, 210, 106, 0.25);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  flex-shrink: 0;
}

.form-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  line-height: 1.2;
}

.form-subtitle {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Form fields */
.form-group {
  margin-bottom: 16px;
  position: relative;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.form-label svg { color: var(--cyan); flex-shrink: 0; }

.required { color: var(--green); }

.form-input {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-family: var(--font);
  font-size: 14px;
  color: var(--text-white);
  outline: none;
  transition: var(--transition);
}

.form-input::placeholder { color: rgba(138,174,200,0.5); }

.form-input:focus {
  border-color: var(--green);
  background: rgba(0, 210, 106, 0.04);
  box-shadow: 0 0 0 3px rgba(0, 210, 106, 0.1);
}

.form-input.error {
  border-color: #ff4d6a;
  box-shadow: 0 0 0 3px rgba(255, 77, 106, 0.1);
}

.field-error {
  display: none;
  font-size: 11px;
  color: #ff4d6a;
  margin-top: 4px;
}

.field-error.visible { display: block; }

/* Upload section */
.upload-section {
  margin-bottom: 20px;
}

.upload-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.upload-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.upload-box { position: relative; }

.upload-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
  z-index: 2;
}

.upload-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: rgba(255,255,255,0.03);
  border: 1px dashed rgba(0,200,224,0.25);
  border-radius: var(--radius-sm);
  padding: 14px 10px;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
}

.upload-label:hover,
.upload-box.has-file .upload-label {
  border-color: var(--green);
  background: rgba(0, 210, 106, 0.06);
}

.upload-icon {
  color: var(--cyan);
  transition: var(--transition);
}

.upload-box.has-file .upload-icon { color: var(--green); }

.upload-main-text {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-white);
}

.upload-sub-text {
  font-size: 10px;
  color: var(--text-muted);
}

.upload-file-name {
  font-size: 9px;
  color: var(--text-muted);
  margin-top: 2px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.upload-box.has-file .upload-file-name { color: var(--green); }

/* Question / Radio */
.form-question-group {
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px;
  margin-bottom: 16px;
}

.question-text {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  color: var(--text-body);
  line-height: 1.5;
  margin-bottom: 10px;
}

.question-text svg { flex-shrink: 0; margin-top: 1px; }

.question-hint {
  font-size: 11px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-style: italic;
}

.radio-group {
  display: flex;
  gap: 10px;
}

.radio-card {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
  -webkit-user-select: none;
  user-select: none;
}

.radio-card:hover {
  border-color: var(--green);
  color: var(--text-white);
}

.radio-input { display: none; }

.radio-custom {
  width: 16px;
  height: 16px;
  border: 2px solid var(--border);
  border-radius: 50%;
  flex-shrink: 0;
  transition: var(--transition);
  position: relative;
}

.radio-input:checked + .radio-custom {
  border-color: var(--green);
  background: var(--green);
}

.radio-input:checked + .radio-custom::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: white;
  border-radius: 50%;
}

.radio-card:has(.radio-input:checked) {
  border-color: var(--green);
  background: rgba(0, 210, 106, 0.08);
  color: var(--text-white);
}

.cnpj-field {
  margin-top: 10px;
  display: none;
}

/* Submit button */
.btn-submit {
  width: 100%;
  background: var(--grad-green);
  color: var(--bg-dark);
  font-family: var(--font);
  font-weight: 800;
  font-size: 16px;
  padding: 16px;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-btn);
  margin-top: 4px;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 40px rgba(0,210,106,0.55);
}

.btn-submit-text {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-submit-loading {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.spinner {
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.form-privacy {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 12px;
}

.form-privacy svg { color: var(--green); }

/* Form success */
/* ============ FORM ENHANCEMENTS (MULTI-STEP) ============ */
.form-progress {
  margin-bottom: 2rem;
  position: relative;
}

.progress-bar-bg {
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.progress-bar {
  height: 6px;
  background: linear-gradient(90deg, #00D26A, #005691);
  border-radius: 10px;
  position: relative;
  z-index: 2;
  transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-steps {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 3;
  margin-top: -11px;
}

.step-dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #1a1a1a;
  border: 2px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
}

.step-dot.active {
  background: #00D26A;
  border-color: #00D26A;
  box-shadow: 0 0 15px rgba(0, 210, 106, 0.4);
}

.step-dot.completed {
  background: #005691;
  border-color: #005691;
}

.header-text-wrap {
  margin-top: 1.5rem;
}

/* Steps visibility */
.form-step {
  display: none;
  animation: slideIn 0.4s ease forwards;
}

.form-step.active {
  display: block;
}

@keyframes slideIn {
  from { opacity: 0; transform: translateX(20px); }
  to { opacity: 1; transform: translateX(0); }
}

/* Radio Tags */
.radio-group-horizontal {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}

.radio-tag {
  flex: 1;
  cursor: pointer;
}

.radio-tag input {
  display: none;
}

.radio-tag span {
  display: block;
  padding: 0.8rem;
  text-align: center;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
}

.radio-tag input:checked + span {
  background: rgba(0, 210, 106, 0.1);
  border-color: #00D26A;
  color: #00D26A;
}

/* Buttons */
.form-actions {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}

.btn-next, .btn-submit {
  flex: 2;
  background: linear-gradient(135deg, #00D26A 0%, #005691 100%);
  color: white;
  border: none;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.btn-prev {
  flex: 1;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: 12px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-prev:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Checkbox & CNPJ Logic */
.checkbox-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1rem;
}

.cnpj-field-wrap {
  display: none;
  margin-top: 0.5rem;
}

/* Modal Success */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
}

.modal-overlay.active {
  display: flex;
}

.modal-content {
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 3rem 2rem;
  border-radius: 24px;
  text-align: center;
  max-width: 450px;
  width: 100%;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
  animation: modalIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.8) translateY(20px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

.modal-icon {
  color: #00D26A;
  margin-bottom: 1.5rem;
}

.modal-title {
  font-size: 1.8rem;
  color: #fff;
  margin-bottom: 1rem;
}

.modal-text {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(0, 210, 106, 0.15);
  border: 2px solid rgba(0, 210, 106, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--green);
  animation: scaleIn 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes scaleIn {
  from { transform: scale(0); opacity: 0; }
  to   { transform: scale(1); opacity: 1; }
}

.success-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 10px;
}

.success-text {
  font-size: 15px;
  color: var(--text-body);
}

/* Scroll down arrow */
.scroll-down {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: var(--text-muted);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  animation: bounce 2s infinite;
  transition: var(--transition);
  z-index: 2;
}

.scroll-down:hover { color: var(--green); }

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(8px); }
}

/* ==========================================
   SECTIONS COMMON
   ========================================== */
.section {
  padding: var(--section-py) 0;
}

.section-header {
  text-align: center;
  margin-bottom: 64px;
}

.section-badge {
  display: inline-block;
  background: rgba(0, 210, 106, 0.1);
  border: 1px solid rgba(0, 210, 106, 0.25);
  color: var(--green);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 6px 18px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--text-white);
  line-height: 1.15;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-body);
  max-width: 560px;
  margin: 0 auto;
}

/* ==========================================
   HOW IT WORKS
   ========================================== */
.how-it-works {
  background: linear-gradient(180deg, var(--bg-dark) 0%, #07192e 100%);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  position: relative;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
}

.step-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-green);
  opacity: 0;
  transition: opacity var(--transition);
}

.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-6px);
  box-shadow: var(--shadow-glow);
}

.step-card:hover::before { opacity: 0.04; }

.step-number {
  position: absolute;
  top: 20px;
  right: 24px;
  font-size: 48px;
  font-weight: 900;
  color: rgba(0, 210, 106, 0.08);
  line-height: 1;
  letter-spacing: -2px;
}

.step-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(0, 86, 145, 0.2);
  border: 1px solid rgba(0, 200, 224, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--cyan);
  position: relative;
  z-index: 1;
  transition: var(--transition);
}

.step-card:hover .step-icon-wrap {
  background: rgba(0, 210, 106, 0.12);
  border-color: rgba(0, 210, 106, 0.3);
  color: var(--green);
}

.step-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--text-white);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.step-desc {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.6;
  position: relative;
  z-index: 1;
}

/* Connector lines between steps */
.step-card:not(:last-child) .step-connector {
  position: absolute;
  top: 60px;
  right: -50%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--border) 0%, rgba(0,210,106,0.2) 100%);
  z-index: 0;
}

/* ==========================================
   BENEFITS
   ========================================== */
.benefits {
  background: linear-gradient(180deg, #07192e 0%, #050e1a 100%);
}

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

.benefit-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

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

.benefit-card--highlight {
  background: linear-gradient(135deg, rgba(0,86,145,0.3) 0%, rgba(0,210,106,0.12) 100%);
  border-color: rgba(0, 210, 106, 0.25);
  grid-column: span 1;
}

.benefit-glow {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0,210,106,0.2) 0%, transparent 70%);
  pointer-events: none;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  background: rgba(0, 86, 145, 0.2);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green);
  margin-bottom: 20px;
  transition: var(--transition);
}

.benefit-card:hover .benefit-icon,
.benefit-card--highlight .benefit-icon {
  background: rgba(0, 210, 106, 0.12);
  border-color: rgba(0, 210, 106, 0.3);
}

.benefit-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-white);
  margin-bottom: 10px;
}

.benefit-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.6;
}

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials {
  background: linear-gradient(180deg, #050e1a 0%, #07192e 100%);
}

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

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: var(--transition);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 16px;
  right: 24px;
  font-size: 72px;
  font-weight: 900;
  color: rgba(0, 210, 106, 0.08);
  line-height: 1;
  font-family: Georgia, serif;
}

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

.testimonial-card--featured {
  background: linear-gradient(135deg, rgba(0,86,145,0.25) 0%, rgba(0,13,26,0.8) 100%);
  border-color: rgba(0, 200, 224, 0.25);
  transform: scale(1.03);
}

.testimonial-card--featured:hover {
  transform: scale(1.03) translateY(-4px);
}

.testimonial-stars {
  font-size: 18px;
  color: #fbbf24;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
  position: relative;
}

.author-avatar::after {
  content: attr(data-initials);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.author-name {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-white);
}

.author-location {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ==========================================
   CTA BOTTOM
   ========================================== */
.cta-bottom {
  background: linear-gradient(135deg, #07192e 0%, #05213d 100%);
  position: relative;
  overflow: hidden;
  text-align: center;
}

.cta-bottom-orb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0,210,106,0.08) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content { position: relative; z-index: 1; }

.cta-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 900;
  color: var(--text-white);
  letter-spacing: -1px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.cta-subtitle {
  font-size: 18px;
  color: var(--text-body);
  margin-bottom: 40px;
}

.cta-trust-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-badge svg { color: var(--green); }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #030c18;
  padding: 40px 0;
  border-top: 1px solid var(--border);
}

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

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.footer-fit {
  font-size: 18px;
  font-weight: 800;
  color: var(--green);
  display: inline;
}

.footer-energia {
  font-size: 18px;
  font-weight: 800;
  color: var(--text-white);
  display: inline;
  margin-left: 3px;
}

.footer-by {
  font-size: 10px;
  color: var(--text-muted);
  margin-top: 3px;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.footer-copy {
  font-size: 13px;
  color: rgba(138, 174, 200, 0.5);
}

/* ==========================================
   WHATSAPP FLOAT
   ========================================== */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 200;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
  text-decoration: none;
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 36px rgba(37, 211, 102, 0.65);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(5, 14, 26, 0.95);
  color: var(--text-white);
  font-size: 13px;
  font-weight: 600;
  font-family: var(--font);
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  border: 1px solid var(--border);
}

.whatsapp-float:hover .whatsapp-tooltip { opacity: 1; }

/* ==========================================
   ANIMATIONS (Intersection Observer)
   ========================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up:nth-child(2) { transition-delay: 0.1s; }
.fade-in-up:nth-child(3) { transition-delay: 0.2s; }
.fade-in-up:nth-child(4) { transition-delay: 0.3s; }
.fade-in-up:nth-child(5) { transition-delay: 0.4s; }
.fade-in-up:nth-child(6) { transition-delay: 0.5s; }

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-20px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1024px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 48px;
    padding: 100px 24px 60px;
    text-align: center;
  }

  .hero-badge { margin-left: auto; margin-right: auto; }
  .hero-stats { justify-content: center; }
  .hero-cta-group { justify-content: center; }
  .hero-trust { justify-content: center; }

  .hero-form-wrapper { max-width: 520px; margin: 0 auto; }

  .scroll-down { display: none; }

  .steps-grid { grid-template-columns: 1fr; }
  .step-connector { display: none; }

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

  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonial-card--featured { transform: none; }
  .testimonial-card--featured:hover { transform: translateY(-4px); }
}

@media (max-width: 768px) {
  :root { --section-py: 64px; }

  .nav-container { padding: 16px 20px; }

  .hero-title { letter-spacing: -1px; }
  .hero-stats { flex-direction: column; gap: 16px; padding: 20px; }
  .stat-divider { width: 100%; height: 1px; }

  .form-row { grid-template-columns: 1fr; }
  .upload-grid { grid-template-columns: 1fr; }
  .form-card { padding: 24px 20px; }

  .benefits-grid { grid-template-columns: 1fr; }

  .cta-trust-badges { gap: 16px; flex-direction: column; }

  .whatsapp-float { bottom: 20px; right: 20px; width: 52px; height: 52px; }
}

@media (max-width: 480px) {
  .hero-cta-group { flex-direction: column; }
  .btn-primary, .btn-secondary { justify-content: center; }

  .section-header { margin-bottom: 40px; }
}
