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

:root {
  /* Colors */
  --bg-main: #0A0A0A;
  --bg-alt: #111111;
  --bg-card: #151515;
  --bg-card-blueish: #111827; /* From user specs: slightly different background for proof */
  
  --primary: #6B21A8;
  --primary-hover: #581C87;
  --accent-lilac: #9333EA;
  --accent-blue: #6366F1;
  
  --text-light: #F9FAFB;
  --text-muted: #9CA3AF;
  
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-purple-subtle: rgba(107, 33, 168, 0.3);
  
  /* Gradients */
  --grad-accent: linear-gradient(135deg, var(--accent-lilac) 0%, var(--accent-blue) 100%);
  
  /* Typography */
  --font-sans: 'Inter', sans-serif;
}

@property --angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-main);
  color: var(--text-light);
  scroll-behavior: smooth;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  width: 100%;
  overflow-x: hidden;
}

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

/* =========================================================================
   UTILITIES & TYPOGRAPHY
   ========================================================================= */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.grad-text {
  background: var(--grad-accent);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.badge {
  display: inline-block;
  background-color: var(--primary);
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  padding: 0.375rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 1.25rem;
}

.section {
  padding: 5rem 0;
}

.section-title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  max-width: 600px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  background-color: var(--primary-hover);
}

.btn-full {
  width: 100%;
}

/* =========================================================================
   FORMS
   ========================================================================= */
.form-card {
  background-color: rgba(15, 15, 15, 0.8);
  border: 1px solid var(--border-purple-subtle);
  border-radius: 12px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

.form-control {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  color: var(--text-light);
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s ease;
  appearance: none; /* Remove default arrow */
}

/* Custom arrow for select */
select.form-control {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 1.2rem;
  padding-right: 2.5rem;
  cursor: pointer;
}

select.form-control option {
  background-color: var(--bg-card);
  color: var(--text-light);
}

.form-control::placeholder {
  color: #4B5563; /* Gray 600 */
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
}

.form-microcopy {
  font-size: 0.75rem;
  color: var(--text-muted);
  text-align: center;
  margin-top: 1rem;
}

/* Custom Dropdown Styles */
.custom-dropdown {
  position: relative;
  width: 100%;
}

.dropdown-trigger {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 0.875rem 1rem;
  color: #4B5563; /* Placeholder gray by default */
  font-size: 1rem;
  cursor: pointer;
  position: relative;
  transition: border-color 0.2s ease, background-color 0.2s ease, color 0.2s ease;
  user-select: none;
}

.dropdown-trigger.selected {
  color: var(--text-light);
}

.dropdown-trigger::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1rem;
  height: 1rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%239CA3AF' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  transition: transform 0.3s ease;
}

.custom-dropdown.active .dropdown-trigger {
  border-color: var(--primary);
  background-color: rgba(255, 255, 255, 0.05);
}

.custom-dropdown.active .dropdown-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  width: 100%;
  background-color: #151515;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  z-index: 100;
  max-height: 250px;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.5);
}

.custom-dropdown.active .dropdown-list {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-option {
  padding: 1rem; /* Better for touch */
  cursor: pointer;
  font-size: 0.875rem;
  color: var(--text-light);
  transition: background-color 0.2s ease;
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.dropdown-option:last-child {
  border-bottom: none;
}

.dropdown-option:hover {
  background-color: rgba(107, 33, 168, 0.2);
  color: #fff;
}

.dropdown-option.selected {
  background-color: var(--primary);
  color: #fff;
}

.hidden-select {
  display: none;
}

/* Custom scrollbar for dropdown list */
.dropdown-list::-webkit-scrollbar {
  width: 6px;
}
.dropdown-list::-webkit-scrollbar-track {
  background: transparent;
}
.dropdown-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}
.dropdown-list::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.2);
}

/* =========================================================================
   1. HERO
   ========================================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('fundo-hero2.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-main);
  opacity: 0.85; /* Dark overlay per specs */
  z-index: -1;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-logo-wrap {
  margin-bottom: 2rem;
}

.hero-logo {
  height: 120px;
  width: auto;
  display: block;
}

.hero-headline {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.hero-subheadline {
  font-size: 1.125rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-top: 1.5rem;
  font-weight: 400;
}

.sub-highlight {
  color: #FFFFFF;
  font-weight: 700;
}

.stat-badge {
  background-color: #6B21A8;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.2em;
  padding: 6px 12px;
  border-radius: 8px;
  display: inline-block;
  line-height: 1;
}

/* =========================================================================
   2. PROVA SOCIAL (Real Result)
   ========================================================================= */
.proof {
  position: relative;
  background: linear-gradient(180deg, #0b1220 0%, #0f0b1f 100%);
  overflow: hidden;
}

/* Premium radial glow effect at the top */
.proof::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  height: 400px;
  background: radial-gradient(circle at 50% 0%, rgba(107, 33, 168, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.proof > * {
  position: relative;
  z-index: 1;
}

.proof .section-title {
  max-width: 700px;
  margin-bottom: 2rem;
}

.proof-card {
  background-color: #0c0c0c; /* Near-black for maximum contrast */
  border-radius: 16px;
  padding: 3rem 1.5rem;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05); /* Very subtle border */
  box-shadow: 0 0 50px -10px rgba(107, 33, 168, 0.12); /* Sutil purple depth glow */
}

.proof-logo-wrap {
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
}

.proof-logo {
  height: 40px;
  width: auto;
}

.proof-logo-divider {
  width: 1px;
  height: 24px;
  background-color: rgba(255, 255, 255, 0.15);
}

.video-placeholder {
  background-color: #0A0F1A;
  border-radius: 12px;
  aspect-ratio: 16/9; /* More vertical presence */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  max-width: 900px;
  border: 1px solid rgba(147, 51, 234, 0.3); /* Stronger border */
  cursor: pointer;
  transition: transform 0.2s ease;
  padding: 1.5rem;
}

.video-placeholder:hover {
  transform: scale(1.02);
}

.video-play-btn {
  margin-bottom: 0.75rem;
}

.video-play-btn svg {
  width: 48px; /* Bigger button */
  height: 48px;
}

.video-label {
  color: #94A3B8;
  font-size: 0.8125rem;
  font-weight: 500;
}

.proof-label-row {
  display: inline-block;
  background-color: rgba(147, 51, 234, 0.1);
  padding: 0.4rem 0.8rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  color: #E9D5FF;
}

.proof-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  width: 100%;
}

@media (min-width: 640px) and (max-width: 767px) {
  .proof-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  /* 3º card centralizado quando em 2 colunas */
  .proof-stats .proof-stat:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc(50% - 0.5rem);
    justify-self: center;
  }
}

@media (min-width: 768px) {
  .proof-stats {
    grid-template-columns: repeat(3, 1fr);
  }
}

.proof-stat {
  position: relative;
  min-height: 120px;
  background-color: #120c1d; /* Premium deep purple-black */
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(147, 51, 234, 0.2);
}

.proof-stat:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.7);
}

.proof-stat::before {
  content: "";
  position: absolute;
  width: 250%; 
  height: 250%;
  background: conic-gradient(from var(--angle), transparent 30%, #A855F7 50%, transparent 70%);
  animation: rotate 8s linear infinite; 
  opacity: 0.75; /* Increased intensity */
}

@keyframes rotate {
  from { --angle: 0deg; }
  to { --angle: 360deg; }
}

.stat-inner {
  position: relative;
  z-index: 1;
  background-color: #0f0814; /* Darker core for contrast */
  width: calc(100% - 2px); 
  height: calc(100% - 2px);
  border-radius: 11px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.5rem;
  gap: 0; 
  text-align: center;
}

.stat-value {
  font-size: 2.75rem !important;
  font-weight: 800 !important;
  color: #FFFFFF !important;
  line-height: 1;
  letter-spacing: -0.04em;
  margin-bottom: 0; 
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.2);
}

@media (max-width: 480px) {
  .stat-value {
    font-size: 2.5rem !important;
  }
}

.stat-label {
  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  color: #E2E8F0 !important; 
  margin: 0;
  display: block;
}

.stat-context {
  font-size: 0.6rem !important;
  font-weight: 400 !important;
  color: #94A3B8 !important; 
  opacity: 0.75;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.15rem; 
  display: block;
}

/* Cleanup of legacy classes */
.proof-num,
.proof-desc,
.proof-divider {
  display: none !important;
}

/* =========================================================================
   3. DOR (Pain points)
   ========================================================================= */
.pain {
  background-color: var(--bg-main);
}

.pain-list {
  list-style: none;
  max-width: 700px;
  margin-top: 3rem;
}

.pain-item {
  position: relative;
  padding-left: 2rem;
  font-size: 1.125rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.pain-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 4px;
  height: 16px;
  background-color: var(--primary);
  border-radius: 2px;
}

/* =========================================================================
   4. SOLUÇÕES (What we do)
   ========================================================================= */
.solutions {
  background-color: var(--bg-alt);
}

.accordion-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: #1A1A2E;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.accordion-item.active {
  border-color: rgba(107, 33, 168, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

.accordion-header {
  width: 100%;
  padding: 12px 1.5rem; /* Dynamic height based on content padding */
  display: flex;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: var(--text-light);
  transition: background-color 0.2s ease;
}

.accordion-header:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.acc-header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
}

.acc-title {
  font-size: 1.125rem;
  font-weight: 700;
  line-height: 1.25; /* Tighter line height to save space */
}

.accordion-body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s ease;
  overflow: hidden;
}

.accordion-item.active .accordion-body {
  grid-template-rows: 1fr;
}

.accordion-content {
  min-height: 0;
  overflow: hidden;
}

.accordion-content-inner {
  padding: 14px 1.5rem;
  opacity: 0;
  transform: translateY(-5px);
  transition: opacity 0.25s ease-in 0.1s, transform 0.25s ease-out 0.1s;
}

.accordion-item.active .accordion-content-inner {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .accordion-content-inner {
    padding-left: 1.5rem;
  }
}

.accordion-desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 16px;
  line-height: 1.6;
  margin-top: 0; /* Aligned with top padding */
  margin-bottom: 14px;
}

.chevron {
  margin-left: auto;
  width: 18px;
  height: 18px;
  color: rgba(255, 255, 255, 0.6);
  transition: transform 0.35s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chevron svg {
  width: 100%;
  height: 100%;
}

.sol-icon-wrap {
  flex-shrink: 0;
  width: 40px; /* Reduced to fit better in 64px height with 0 vertical padding */
  height: 40px;
  background-color: rgba(107, 33, 168, 0.1);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.sol-desc {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.sol-desc strong, 
.sol-list li strong {
  color: #FFFFFF;
  font-weight: 700;
}

.sol-list {
  list-style: none;
  margin-top: 0;
}

.sol-list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 12px;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  transition: color 0.2s ease;
}

.sol-list li:last-child {
  margin-bottom: 0;
}

.sol-list li:hover {
  color: var(--text-light);
}

.sol-list li::before {
  content: '→';
  position: absolute;
  left: 0;
  color: #9333EA;
  font-size: 16px;
  font-weight: bold;
  line-height: 1;
  top: 2px;
}

/* =========================================================================
   5. NÚMEROS GERAIS
   ========================================================================= */
.impact {
  background-color: var(--bg-card-blueish); /* differentiated bg */
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.impact-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 3rem;
}

.impact-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.impact-num {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.impact-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.impact-intro {
  font-size: 1.25rem;
  color: var(--text-light);
  max-width: 800px;
  line-height: 1.6;
  margin-top: 1.5rem;
  margin-bottom: 3rem;
}

.impact-divider {
  width: 1px;
  height: 60px;
  background-color: var(--border-subtle);
  display: none;
}

.impact-right {
  display: none;
}

/* Purpose section removed */

/* =========================================================================
   7. POR QUE A GI9
   ========================================================================= */
.comparison {
  background-color: var(--bg-alt);
}



.comp-mobile-only {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.comp-mobile-headline {
  font-size: 1rem;
  font-weight: 600;
  font-style: italic;
  color: #C084FC;
  text-align: center;
  margin-bottom: 0;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(168, 85, 247, 0.25);
  border-radius: 8px;
  background: rgba(168, 85, 247, 0.07);
}

.comp-mobile-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.comp-mobile-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background-color: #0f0814;
  border: 1px solid rgba(147, 51, 234, 0.6);
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 0 20px -5px rgba(107, 33, 168, 0.5);
}

.comp-mobile-text {
  color: #fff;
  font-size: 0.95rem;
  line-height: 1.5;
  font-weight: 600;
}

.comp-mobile-item .comp-check {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: rgba(168, 85, 247, 0.15);
  border: 1.5px solid rgba(168, 85, 247, 0.6);
  border-radius: 50%;
  font-size: 0.85rem;
  font-weight: 900;
  color: #C084FC;
  margin-top: 0;
  line-height: 1;
}

.comp-table {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
  width: 100%;
}

/* Mobile-first: Hide desktop-only elements */
.comp-desktop-only {
  display: none;
}

.comp-thead {
  display: none; /* hidden on mobile */
}

/* Mobile Row as Card */
.comp-row {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-main);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  overflow: hidden;
}

.comp-td {
  padding: 1.25rem;
}

/* Criterion Title */
.td-crit {
  font-weight: 700;
  font-size: 1.05rem;
  text-align: center;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-light);
  line-height: 1.5;
}

/* Base style for result cells on Mobile */
.td-trad, .td-gi9 {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.95rem;
}

.td-trad {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-muted);
}

.td-gi9 {
  background-color: #0f0814; /* Escuro premium */
  border-top: 1px solid rgba(147, 51, 234, 0.4);
  color: #fff;
  font-weight: 600;
}

.m-label {
  font-weight: 600;
}

.comp-x, .comp-check {
  font-weight: 900;
  font-size: 1.25rem;
}

.comp-x {
  color: #EF4444; 
}

.comp-check {
  color: #A855F7; 
}

.td-gi9 .m-label {
  color: #F8FAFC;
}



/* =========================================================================
   9. OBJEÇÕES
   ========================================================================= */
.objections {
  background-color: var(--bg-alt);
  padding: 4rem 0;
}

.objections-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

.objection {
  display: flex;
  gap: 1rem;
  font-size: 1rem;
  color: var(--text-muted);
}

.objection-dash {
  color: var(--primary);
  font-weight: 700;
}

/* =========================================================================
   10. CTA FINAL
   ========================================================================= */
.cta-final {
  background-color: var(--bg-main);
  text-align: center;
}

.cta-title {
  font-size: 2.5rem;
  max-width: 800px;
  margin: 0 auto 1rem;
}

.cta-sub {
  font-size: 1.125rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
}

.cta-form-card {
  max-width: 500px;
  margin: 0 auto;
  text-align: left;
}

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer {
  background-color: #050505;
  padding: 3rem 0;
  border-top: 1px solid var(--border-subtle);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-logo {
  height: 60px;
  width: auto;
}

.footer-copy {
  color: #4B5563;
  font-size: 0.875rem;
}

/* =========================================================================
   MODAL
   ========================================================================= */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.modal-overlay[hidden] {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  display: flex; /* keep flex for transitions, just hidden visually */
}

.modal-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-purple-subtle);
  border-radius: 12px;
  padding: 3rem 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: translateY(0);
  transition: transform 0.3s ease;
}

.modal-overlay[hidden] .modal-box {
  transform: translateY(20px);
}

.modal-check {
  display: flex;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.modal-box h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.modal-box p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 0.875rem;
  line-height: 1.6;
}

.modal-close-btn {
  width: 100%;
}

/* =========================================================================
   SCROLL ANIMATIONS
   ========================================================================= */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================================================
   MEDIA QUERIES (Desktop First adjustments to conform to Mobile First structure built)
   WAIT, SPEC SAYS MOBILE FIRST.
   I wrote the base CSS primarily for mobile/general, now adding min-width breakpoints.
   ========================================================================= */

@media (min-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
  
  /* Hero */
  .hero-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
  
  .hero-left {
    width: 55%;
    padding-right: 2rem;
  }
  
  .hero-right {
    width: 45%;
  }

  .hero-headline {
    font-size: 3rem;
  }

  /* Proof Stats Grid on Desktop */
  .proof-stats {
    flex-direction: row;
    gap: 1.5rem;
  }

  .proof-stat {
    flex: 1;
  }

  /* Solutions */
  .solutions-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Impact */
  .impact-grid {
    flex-direction: row;
    justify-content: center;
    gap: 0;
  }
  
  .impact-item {
    flex: 1;
  }
  
  .impact-divider {
    display: block;
  }

  /* Purpose */
  .purpose-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Comparison Grid Desktop */
  .comp-desktop-only {
    display: flex;
  }
  
  .comp-mobile-only {
    display: none;
  }

  .comp-table {
    display: flex;
    flex-direction: column;
    gap: 0;
    background-color: var(--bg-main);
    border: 1px solid var(--border-subtle);
    border-radius: 12px;
  }
  
  .comp-thead, .comp-row {
    display: grid;
    grid-template-columns: 2.5fr 1fr 1fr;
    align-items: stretch;
    border: none;
    border-radius: 0;
    background: transparent;
  }
  
  .comp-row {
     border-bottom: 1px solid var(--border-subtle);
  }
  
  .comp-row:last-child {
     border-bottom: none;
  }

  .comp-th, .comp-td {
    padding: 1.5rem;
    display: flex;
    align-items: center;
    border: none;
  }
  
  /* Reset mobile specific formatting */
  .td-crit {
    font-weight: 500;
    text-align: left;
    border-bottom: none;
  }
  
  .m-label {
    display: none; /* Hide mobile labels on desktop */
  }

  .td-trad, .td-gi9 {
    justify-content: center;
    border-bottom: none;
  }
  
  /* Gi9 Column Highlighting */
  .th-gi9, .td-gi9 {
    background-color: #0f0814;
    border-left: 1px solid rgba(147, 51, 234, 0.4);
    border-right: 1px solid rgba(147, 51, 234, 0.4);
  }
  
  .th-gi9 {
    border-top: 1px solid rgba(147, 51, 234, 0.4);
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    font-size: 1.25rem;
    color: #fff;
    text-shadow: 0 0 15px rgba(147, 51, 234, 0.3);
    justify-content: center;
  }
  
  .comp-row:last-child .td-gi9 {
    border-bottom: 1px solid rgba(147, 51, 234, 0.4);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }

  .th-crit, .th-trad {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-light);
  }
  .th-trad {
     justify-content: center;
  }


  /* Objections */
  .objections-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  /* Pain points (Dores) - Desktop Cards */
  .pain-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    max-width: 100%;
    margin-top: 4rem;
  }

  .pain-item {
    width: calc(50% - 0.75rem);
    background-color: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 2rem 2rem 2rem 3rem;
    margin-bottom: 0;
    display: flex;
    align-items: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
  }

  .pain-item:hover {
    transform: translateY(-5px);
    border-color: rgba(147, 51, 234, 0.5);
  }

  .pain-item::before {
    top: 50%;
    transform: translateY(-50%);
    height: 40px;
    width: 6px;
    border-radius: 0 4px 4px 0;
  }

  /* Footer */
  .footer-inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 1024px) {
  .hero-headline {
    font-size: 3.5rem;
  }
  
  .hero-subheadline {
    font-size: 1.25rem;
    margin-top: 2rem;
  }

  .proof-num {
    font-size: 32px;
  }

  .pain-item {
    width: calc(33.333% - 1rem); /* 3 cards per row */
  }

  /* Solutions Grid */
  .solutions-inner {
    display: flex;
    align-items: flex-start;
    gap: 4rem;
  }

  .solutions-left {
    flex: 0 0 40%;
    position: sticky;
    top: 6rem;
  }

  .solutions-left .section-title {
    margin-bottom: 0; 
  }

  .solutions-inner .accordion-container {
    flex: 1;
    margin: 0;
    max-width: none;
  }

  /* Impact with Image */
  .impact-layout {
    display: flex;
    align-items: center;
    gap: 4rem;
  }

  .impact-left {
    flex: 0 0 50%;
    text-align: left;
  }
  
  .impact-left .impact-intro {
    text-align: left;
    margin-left: 0;
  }
  
  .impact-left .impact-grid {
    justify-content: space-between;
    gap: 1rem;
    width: 100%;
  }

  .impact-left .impact-item {
    flex: 1;
  }

  .impact-item .impact-label {
    text-align: center;
  }

  .impact-right {
    display: block;
    flex: 1;
  }

  .impact-image-card {
    min-height: 400px;
    height: 100%;
  }

  .image-inner {
    padding: 0.35rem; 
  }

  .image-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 8px; 
    display: block;
  }
}

/* =========================================================================
   MOBILE FIRST FOLD ADJUSTMENTS (max-width: 768px)
   ========================================================================= */
@media (max-width: 768px) {
  /* Layout Spacings (-40% overall) */
  .section {
    padding: 3rem 0;
  }
  .section-title {
    font-size: 1.75rem;
  }
  .section-sub {
    margin-bottom: 1.75rem;
  }
  
  /* Hero & Hierarchy */
  .hero {
    padding: 1.5rem 0 2rem;
    min-height: auto;
  }
  .hero-inner {
    gap: 1.25rem;
  }
  .text-center-mobile {
    text-align: center;
  }
  .hero-logo-wrap {
    margin-bottom: 0.5rem;
    display: flex;
    justify-content: center;
  }
  .hero-logo {
    height: 80px;
  }
  .hero-headline {
    font-size: 28px;
    line-height: 1.2;
    margin-bottom: 1.25rem;
  }
  .hero-subheadline {
    margin-top: 0;
    font-size: 1rem;
  }

  /* Form Compactness */
  .form-card {
    padding: 1.25rem;
  }
  .form-group {
    margin-bottom: 0.75rem;
  }
  .form-label {
    font-size: 13px;
    margin-bottom: 0.25rem;
  }
  .form-control,
  .dropdown-trigger {
    padding: 10px 1rem;
    font-size: 14px;
  }
  .btn-primary {
    height: 48px;
    font-size: 15px;
    padding: 0;
  }
}

/* =========================================================================
   FLOATING CTA
   ========================================================================= */
.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background-color: #6B21A8;
  color: #FFFFFF;
  font-weight: 700;
  font-size: 14px;
  border-radius: 50px;
  padding: 14px 24px;
  box-shadow: 0 4px 20px rgba(107,33,168,0.5);
  border: none;
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
  white-space: nowrap;
}

.floating-cta:hover {
  background-color: #7c3aed;
}

.floating-cta.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.cta-icon {
  font-size: 16px;
  font-weight: 900;
  line-height: 1;
}

@media (max-width: 768px) {
  .floating-cta {
    bottom: 20px;
    width: 100%;
    max-width: 85%;
    justify-content: center;
  }

  .hide-mobile {
    display: none;
  }
}
