/* ==========================================
   DESIGN SYSTEM & VARIABLES (APPLE CLEAN STYLE)
   ========================================== */
:root {
  --bg-primary: #FBFBFD;
  --bg-secondary: #F5F5F7;
  --text-primary: #1D1D1F;
  --text-secondary: #86868B;
  --accent-color: #0071E3;
  --accent-hover: #2997FF;
  --border-color: #D2D2D7;
  --card-radius: 24px;
  --green-whatsapp: #25D366;
  --cyan: #06b6d4;

  --font-main: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html {
  scroll-behavior: auto;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.6;
  overflow-x: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

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

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

.text-center { text-align: center; }
.relative { position: relative; }
.z-10 { z-index: 10; }

/* ==========================================
   NAVIGATION (Apple Frosted Glass)
   ========================================== */
.apple-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 52px;
  background-color: rgba(251, 251, 253, 0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  z-index: 1000;
  transition: background-color 0.3s;
}

.nav-container {
  max-width: 1024px;
  margin: 0 auto;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 22px;
}

.nav-logo {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  font-size: 12px;
  color: rgba(0, 0, 0, 0.56);
  font-weight: 400;
  transition: color 0.25s ease;
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-cta {
  background: var(--accent-color);
  color: white !important;
  padding: 6px 16px;
  border-radius: 980px;
  font-weight: 500 !important;
  transition: background-color 0.25s ease !important;
}

.nav-cta:hover {
  background: var(--accent-hover) !important;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
}

.nav-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(4px, 4px);
}

.nav-hamburger.active span:nth-child(2) {
  opacity: 0;
}

.nav-hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero-section {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 20px;
  background: var(--bg-primary);
  text-align: center;
}

.hero-container {
  max-width: 900px;
  margin-top: 10px;
}

.hero-tagline {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.04em;
  color: var(--text-primary);
  margin-bottom: 20px;
}

.hero-gradient {
  background: linear-gradient(135deg, var(--accent-color), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.25rem);
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 680px;
  margin: 0 auto 36px;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

/* Buttons */
.btn-primary {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--accent-color);
  color: white;
  font-size: 15px;
  font-weight: 500;
  border-radius: 980px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: scale(1.02);
}

.btn-small {
  padding: 10px 20px;
  font-size: 13px;
}

.btn-link {
  font-size: 15px;
  color: var(--accent-color);
  font-weight: 500;
  transition: color 0.2s ease;
}

.btn-link:hover {
  color: var(--accent-hover);
}

/* ==========================================
   CHALLENGE SECTION (Editorial Scroll)
   ========================================== */
.challenge-section {
  padding: 140px 24px;
  background: var(--bg-primary);
}

.challenge-title {
  margin-bottom: 48px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.challenge-content {
  max-width: 700px;
  margin: 0 auto;
}

.challenge-paragraph {
  font-size: 1.1rem;
  font-weight: 300;
  line-height: 1.75;
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.highlight-paragraph {
  background: linear-gradient(to right, rgba(0, 113, 227, 0.06), transparent);
  border-left: 3px solid var(--accent-color);
  padding: 20px 24px;
  border-radius: 0 12px 12px 0;
  color: var(--text-primary);
  font-weight: 400;
}

.challenge-paragraph strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================
   SHOWCASE SCROLL (3D Dashboard)
   ========================================== */
.showcase-scroll-section {
  padding: 120px 0 160px;
  background: var(--bg-secondary);
  overflow: hidden;
}

.scroll-container-wrapper {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.scroll-title-component {
  text-align: center;
  margin-bottom: 60px;
}

.scroll-tagline {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.scroll-title {
  font-size: clamp(1.6rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
}

.scroll-title-gradient {
  background: linear-gradient(135deg, var(--accent-color), var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.scroll-card-component {
  perspective: 1200px;
  max-width: 1000px;
  margin: 0 auto;
  transform: rotateX(12deg) scale(0.92);
  transition: transform 0.1s linear;
}

.scroll-card-inner {
  background: #1a1a2e;
  border-radius: var(--card-radius);
  overflow: hidden;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.04);
}

.scroll-dashboard-img {
  width: 100%;
  display: block;
}

/* ==========================================
   MODULES SECTION (Grid Clean)
   ========================================== */
.modules-section {
  padding: 140px 0;
  background: var(--bg-primary);
}

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

.section-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-color);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.55;
}

/* ==========================================
   CHALLENGE HERO (versão leve, sem scroll-jacking)
   Substitui a antiga cinematic-hero-section: apenas fade + translateY
   uma única vez ao entrar na viewport, sem pin nem filter blur animado.
   ========================================== */
.challenge-hero-section {
  padding: 100px 0;
}

.challenge-highlight-card {
  max-width: 860px;
  margin: 48px auto 0;
  background: var(--bg-secondary);
  border-radius: var(--card-radius);
  padding: 48px 40px;
  text-align: center;
}

.challenge-highlight-text h3 {
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.challenge-highlight-text p {
  font-size: 1.05rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

.challenge-stats-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 32px;
  margin-top: 32px;
}

.challenge-stat {
  display: flex;
  align-items: center;
  gap: 12px;
  text-align: left;
}

.challenge-stat span {
  font-size: 1.5rem;
  line-height: 1;
}

.challenge-stat strong {
  display: block;
  font-size: 0.95rem;
  color: var(--text-primary);
}

.challenge-stat small {
  display: block;
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.challenge-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
}

@media (max-width: 640px) {
  .challenge-highlight-card {
    padding: 36px 24px;
  }
}

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

.module-card {
  background: var(--bg-secondary);
  border-radius: var(--card-radius);
  padding: 36px 28px;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid transparent;
}

.module-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
  border-color: var(--border-color);
}

.module-icon {
  width: 44px;
  height: 44px;
  margin-bottom: 20px;
  color: var(--accent-color);
}

.module-icon svg {
  width: 100%;
  height: 100%;
}

.module-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: -0.01em;
}

.module-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================
   GLASSMORPHISM TRUST SECTION (3D Background)
   ========================================== */
.glass-trust-section {
  position: relative;
  padding: 140px 0;
  background: #0a0a1a;
  color: #fff;
  overflow: hidden;
}

.canvas-3d {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.glass-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 64px;
  align-items: start;
}

.glass-left {
  min-width: 500px;
}

.glass-badge span {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--cyan);
}

.glass-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin: 16px 0 20px;
  display: block;
  width: 100%;
}

.glass-gradient-text {
  background: linear-gradient(135deg, var(--cyan), #8b5cf6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.glass-description {
  font-size: 1rem;
  font-weight: 300;
  color: #94a3b8;
  line-height: 1.7;
  margin-bottom: 32px;
}

.manager-photo-wrapper {
  position: relative;
  margin-top: 24px;
}

.manager-img {
  width: 100%;
  max-width: 380px;
  border-radius: 20px;
  opacity: 0.9;
}

.manager-quote {
  margin-top: 16px;
}

.manager-quote p {
  font-size: 0.95rem;
  font-style: italic;
  color: #cbd5e1;
  line-height: 1.6;
}

.manager-name {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 8px;
  display: block;
}

/* Stats Card (Glass) */
.stats-card {
  position: relative;
  background: rgba(15, 23, 42, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--card-radius);
  padding: 36px 32px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.card-glow {
  position: absolute;
  width: 200px;
  height: 200px;
  top: -60px;
  right: -60px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.2), transparent 70%);
  pointer-events: none;
}

.stats-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.stats-icon {
  font-size: 32px;
}

.stats-large-number {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  color: #fff;
}

.stats-meta {
  font-size: 0.8rem;
  color: #94a3b8;
}

.stats-progress-container {
  margin-bottom: 20px;
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: 8px;
}

.progress-val {
  color: var(--cyan);
  font-weight: 600;
}

.progress-track {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--cyan), #8b5cf6);
  border-radius: 6px;
  transition: width 1.5s ease;
}

.card-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  margin: 20px 0;
}

.substats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  text-align: center;
}

.substat-value {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.substat-label {
  font-size: 0.72rem;
  color: #64748b;
  display: block;
}

.stats-badges {
  display: flex;
  gap: 8px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 980px;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
}

.active-pill {
  background: rgba(6, 182, 212, 0.12);
  color: var(--cyan);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.ping-dot {
  width: 6px;
  height: 6px;
  background: var(--cyan);
  border-radius: 50%;
  animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
  75%, 100% { transform: scale(2); opacity: 0; }
}

.premium-pill {
  background: rgba(139, 92, 246, 0.12);
  color: #a78bfa;
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Marquee Card */
.marquee-card {
  margin-top: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  padding: 20px;
  overflow: hidden;
}

.marquee-title {
  font-size: 0.85rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 14px;
  text-align: center;
}

.marquee-wrapper {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 15%, #000 85%, transparent);
}

.marquee-content {
  display: flex;
  gap: 24px;
  white-space: nowrap;
  animation: marquee 20s linear infinite;
}

.marquee-item {
  font-size: 0.85rem;
  color: #cbd5e1;
  flex-shrink: 0;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================
   LAMP METRICS SECTION (Neon Glow)
   ========================================== */
.lamp-metrics-section {
  background: #0a0a1a;
  padding: 0;
  overflow: hidden;
}

.lamp-effect-container {
  position: relative;
  padding: 140px 24px;
}

.lamp-light-wrapper {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 1200px;
  height: 300px;
  pointer-events: none;
}

.light-cone-left,
.light-cone-right {
  position: absolute;
  top: 0;
  height: 300px;
  width: 25rem;
  opacity: 0;
}

.light-cone-left {
  right: 50%;
  background: conic-gradient(from 70deg at 100% 0%, transparent 0deg, rgba(6, 182, 212, 0.25) 40deg, transparent 80deg);
}

.light-cone-right {
  left: 50%;
  background: conic-gradient(from 250deg at 0% 0%, transparent 280deg, rgba(6, 182, 212, 0.25) 320deg, transparent 360deg);
}

.lamp-ambient-glow {
  position: absolute;
  top: -40px;
  left: 50%;
  transform: translateX(-50%);
  width: 500px;
  height: 200px;
  background: radial-gradient(ellipse, rgba(6, 182, 212, 0.15), transparent 70%);
  opacity: 0;
}

.lamp-horizontal-line {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(6, 182, 212, 0.4), transparent);
}

.lamp-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #fff;
  margin-bottom: 12px;
}

.text-cyan-400 { color: var(--cyan); }
.text-slate-400 { color: #94a3b8; }
.max-w-5xl { max-width: 64rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-16 { margin-top: 4rem; }

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

.benefit-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  margin-bottom: 8px;
}

.benefit-label {
  font-size: 0.95rem;
  font-weight: 300;
  line-height: 1.5;
}

/* ==========================================
   FAQ SECTION (Accordion)
   ========================================== */
.faq-section {
  padding: 140px 24px;
  background: var(--bg-primary);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-trigger {
  width: 100%;
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  line-height: 1.4;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--accent-color);
}

.faq-trigger::after {
  content: '+';
  font-size: 1.3rem;
  font-weight: 300;
  color: var(--text-secondary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-item.active .faq-trigger::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.faq-content p {
  padding: 0 0 20px;
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ==========================================
   BLOG SECTION
   ========================================== */
.blog-section {
  padding: 140px 0;
  background: var(--bg-secondary);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.blog-card {
  background: #fff;
  border-radius: var(--card-radius);
  padding: 36px 28px;
  border: 1px solid rgba(0, 0, 0, 0.04);
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.blog-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.blog-meta {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--text-secondary);
  margin-bottom: 14px;
}

.blog-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
}

.blog-card p {
  font-size: 0.9rem;
  font-weight: 300;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 16px;
}

.read-more {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--accent-color);
  transition: color 0.2s ease;
}

.read-more:hover {
  color: var(--accent-hover);
}

/* Blog CTA Box */
.blog-cta-box {
  margin-top: 48px;
  background: #fff;
  border-radius: var(--card-radius);
  padding: 36px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  border: 1px solid rgba(0, 0, 0, 0.04);
}

.blog-cta-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 6px;
}

.blog-cta-content p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.blog-cta-form {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.blog-cta-form input {
  padding: 10px 16px;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  outline: none;
  background: var(--bg-secondary);
  transition: border-color 0.25s ease;
  width: 180px;
}

.blog-cta-form input:focus {
  border-color: var(--accent-color);
}

/* ==========================================
   CONTACT / LEAD FORM SECTION
   ========================================== */
.contact-section {
  padding: 140px 24px;
  background: var(--bg-primary);
}

.contact-form {
  margin-top: 40px;
  text-align: left;
}

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

.form-group {
  position: relative;
}

.form-group.full-width {
  margin-bottom: 24px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 18px 16px 8px;
  border: 1px solid var(--border-color);
  border-radius: 14px;
  font-family: var(--font-main);
  font-size: 0.95rem;
  color: var(--text-primary);
  background: var(--bg-secondary);
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--accent-color);
  box-shadow: 0 0 0 3px rgba(0, 113, 227, 0.08);
}

/* Floating Labels */
.form-group label {
  position: absolute;
  top: 50%;
  left: 16px;
  transform: translateY(-50%);
  font-size: 0.9rem;
  color: var(--text-secondary);
  pointer-events: none;
  transition: all 0.2s ease;
}

.form-group textarea ~ label {
  top: 18px;
  transform: translateY(0);
}

.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label {
  top: 8px;
  transform: translateY(0);
  font-size: 0.7rem;
  color: var(--accent-color);
  font-weight: 500;
}

.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 4px;
  font-size: 0.7rem;
  color: var(--accent-color);
  font-weight: 500;
}

.btn-submit {
  width: 100%;
  padding: 16px;
  background: var(--accent-color);
  color: white;
  font-family: var(--font-main);
  font-size: 1rem;
  font-weight: 500;
  border: none;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--accent-hover);
  transform: scale(1.01);
}

.btn-submit:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.whatsapp-inline-link {
  color: var(--green-whatsapp);
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.whatsapp-inline-link:hover {
  color: #20ba5a;
}

/* Form Success */
.form-success {
  text-align: center;
  padding: 40px 0;
}

.success-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.form-success h3 {
  font-size: 1.3rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.form-success p {
  color: var(--text-secondary);
  font-weight: 300;
}

/* ==========================================
   FOOTER
   ========================================== */
.apple-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  padding: 64px 0 32px;
}

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

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-top h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 16px;
}

.footer-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-bottom: 8px;
}

.footer-desc {
  line-height: 1.6;
}

.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-nav a:hover {
  color: var(--accent-color);
}

.contact-line {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.footer-link {
  color: var(--text-secondary);
  transition: color 0.2s ease;
  font-weight: 400;
}

.footer-link:hover {
  color: var(--accent-color);
}

.whatsapp-link {
  color: var(--green-whatsapp) !important;
  font-weight: 600 !important;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border-color);
}

.copyright {
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 300;
}

.footer-legal {
  display: flex;
  gap: 20px;
}

.footer-legal a {
  font-size: 0.78rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-legal a:hover {
  color: var(--accent-color);
}

/* ==========================================
   WHATSAPP FLOATING BUTTON
   ========================================== */
.whatsapp-floating-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 56px;
  height: 56px;
  background: var(--green-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35);
  z-index: 999;
  transition: all 0.3s ease;
  animation: whatsapp-pulse 3s ease-in-out infinite;
}

.whatsapp-floating-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

@keyframes whatsapp-pulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.35); }
  50% { box-shadow: 0 4px 28px rgba(37, 211, 102, 0.55); }
}

/* ==========================================
   RESPONSIVE DESIGN (MOBILE-FIRST)
   ========================================== */

/* Tablet */
@media (max-width: 1024px) {
  .modules-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .glass-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .glass-left {
    min-width: 100%;
  }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }

  .blog-cta-box {
    flex-direction: column;
    text-align: center;
  }

  .blog-cta-form {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .nav-hamburger {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 52px;
    left: 0;
    width: 100%;
    height: 0;
    overflow: hidden;
    background: rgba(251, 251, 253, 0.96);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 0 24px;
    gap: 0;
    transition: height 0.4s ease, padding 0.4s ease;
    border-bottom: 1px solid transparent;
  }

  .nav-links.active {
    height: auto;
    padding: 20px 24px 28px;
    border-bottom: 1px solid var(--border-color);
  }

  .nav-links a {
    font-size: 14px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.04);
    width: 100%;
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    display: block;
  }

  .hero-section {
    min-height: auto;
    padding: 100px 20px 60px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .challenge-section {
    padding: 80px 20px;
  }

  .showcase-scroll-section {
    padding: 80px 0 100px;
  }

  .modules-section {
    padding: 80px 0;
  }

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

  .glass-trust-section {
    padding: 80px 0;
  }

  .lamp-effect-container {
    padding: 80px 20px;
  }

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

  .faq-section {
    padding: 80px 20px;
  }

  .blog-section {
    padding: 80px 0;
  }

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

  .contact-section {
    padding: 80px 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .blog-cta-form {
    flex-direction: column;
  }

  .blog-cta-form input {
    width: 100%;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  .hero-title {
    font-size: 1.5rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .section-title {
    font-size: 1.4rem;
  }

  .benefit-number {
    font-size: 2.2rem;
  }

  .whatsapp-floating-btn {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
  }
}

/* ==========================================
   ACCESSIBILITY: Reduced Motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .marquee-content {
    animation: none !important;
  }

  .scroll-card-component {
    transform: none !important;
  }
}

/* ==========================================
   PRINT STYLES (SEO: content readable without JS)
   ========================================== */
@media print {
  .apple-nav,
  .whatsapp-floating-btn,
  .canvas-3d,
  .lamp-light-wrapper,
  .nav-hamburger {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
  }

  .hero-section,
  .glass-trust-section,
  .lamp-metrics-section {
    background: #fff !important;
    color: #000 !important;
  }

  .faq-content {
    max-height: none !important;
    overflow: visible !important;
  }
}

