@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800;900&display=swap');

/* ==========================================
   SYSTEM DESIGN TOKENS (CSS VARIABLES)
   ========================================== */
:root {
  /* Colors */
  --primary: #004aad;
  --primary-rgb: 0, 74, 173;
  --primary-light: #e6eefc;
  --primary-dark: #003780;
  
  --secondary: #00c2ff;
  --secondary-rgb: 0, 194, 255;
  --secondary-dark: #009ecc;
  
  --neutral-dark: #0f172a;
  --neutral-muted: #475569;
  --neutral-light: #f8fafc;
  --neutral-bg-secondary: #f1f5f9;
  --neutral-border: #e2e8f0;
  
  --white: #ffffff;
  --black: #020617;
  
  --success: #10b981;
  --success-light: #ecfdf5;
  --warning: #f59e0b;
  --warning-light: #fffbeb;
  --danger: #ef4444;
  --danger-light: #fef2f2;
  
  /* Fonts */
  --font-heading: 'Outfit', 'Inter', sans-serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout */
  --container-width: 1200px;
  --header-height: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px -2px rgba(0, 74, 173, 0.08);
  --shadow-md: 0 12px 24px -4px rgba(0, 74, 173, 0.08), 0 4px 12px -2px rgba(0, 74, 173, 0.04);
  --shadow-lg: 0 20px 40px -8px rgba(0, 74, 173, 0.12), 0 8px 16px -4px rgba(0, 74, 173, 0.06);
  --shadow-glow: 0 0 30px rgba(0, 74, 173, 0.2);
  --shadow-glass: inset 0 1px 1px rgba(255, 255, 255, 0.6), 0 8px 32px 0 rgba(0, 74, 173, 0.06);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-height);
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

/* Background Grids & Dots */
.tech-bg {
  position: relative;
  background-image: radial-gradient(rgba(0, 74, 173, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
}

.tech-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(to right, rgba(0, 74, 173, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 74, 173, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  z-index: 0;
}

/* Glow Blobs */
.glow-blob {
  position: absolute;
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(0, 74, 173, 0.15) 0%, rgba(0, 194, 255, 0.05) 50%, rgba(255, 255, 255, 0) 70%);
  filter: blur(40px);
  border-radius: var(--radius-full);
  pointer-events: none;
  z-index: 0;
  animation: pulse-glow 10s ease-in-out infinite alternate;
}

@keyframes pulse-glow {
  0% { transform: scale(1) translate(0, 0); opacity: 0.8; }
  100% { transform: scale(1.15) translate(20px, -20px); opacity: 1; }
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--black);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}

h2 {
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  letter-spacing: -0.01em;
  margin-bottom: 1rem;
}

h3 {
  font-size: clamp(1.3rem, 2.5vw, 1.6rem);
}

p {
  color: var(--neutral-muted);
  font-size: 1.05rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================
   LAYOUT STRUCTURE
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 8rem 0;
  position: relative;
}

.section-light {
  background-color: var(--white);
}

.section-alt {
  background-color: var(--neutral-light);
}

.section-dark {
  background-color: var(--black);
  color: var(--white);
}

.section-dark h2, .section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: #94a3b8;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 5rem;
}

.section-header p {
  font-size: 1.15rem;
  margin-top: 1rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
}

.badge-primary {
  background-color: var(--primary-light);
  color: var(--primary);
  border: 1px solid rgba(0, 74, 173, 0.15);
}

.badge-dark {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
}

/* ==========================================
   COMPONENTS & BUTTONS
   ========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 2rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 1.05rem;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary);
  color: var(--white);
  box-shadow: 0 8px 20px -6px rgba(0, 74, 173, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px -4px rgba(0, 74, 173, 0.5);
}

.btn-secondary {
  background-color: var(--white);
  color: var(--primary);
  border-color: rgba(0, 74, 173, 0.2);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background-color: var(--primary-light);
  border-color: rgba(0, 74, 173, 0.3);
  transform: translateY(-2px);
}

.btn-light {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
}

.btn-light:hover {
  background-color: var(--white);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.15);
}

/* Card Styles */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.card {
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 74, 173, 0.2);
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  transition: height 0.3s ease;
}

.card:hover::before {
  height: 100%;
}

.card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover .card-icon {
  background-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

/* ==========================================
   SECTION 1: HEADER FIXO
   ========================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 74, 173, 0.08);
  z-index: 1000;
  transition: all 0.3s ease;
}

header.scrolled {
  height: 70px;
  box-shadow: var(--shadow-sm);
  background-color: rgba(255, 255, 255, 0.95);
}

header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.8rem;
  color: var(--primary);
  text-decoration: none;
  letter-spacing: -0.03em;
}

.logo span {
  color: var(--neutral-dark);
}

.logo-icon {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  stroke-width: 2.5;
  fill: none;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  vertical-align: middle;
  transition: all 0.3s ease;
}

header.scrolled .logo-img {
  height: 40px;
}

footer .logo-img {
  height: 48px;
}

nav ul {
  display: flex;
  align-items: center;
  list-style: none;
  gap: 2.2rem;
}

nav ul li a {
  text-decoration: none;
  color: var(--neutral-muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease, transform 0.2s ease;
  position: relative;
  padding: 0.5rem 0;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary);
  transition: width 0.3s ease;
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a:hover::after,
nav ul li a.active::after {
  width: 100%;
}

nav ul li a.active {
  color: var(--primary);
  font-weight: 600;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.header-cta .btn {
  padding: 0.7rem 1.4rem;
  font-size: 0.9rem;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--neutral-dark);
  margin: 5px 0;
  transition: all 0.3s ease;
}

/* Mobile Nav Active */
.menu-open nav {
  display: block;
  transform: translateY(0);
}

/* ==========================================
   SECTION 2: HERO SECTION
   ========================================== */
.hero {
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 8rem;
  overflow: hidden;
  background-color: var(--white);
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 4rem;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--neutral-muted);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-meta {
  font-size: 0.85rem;
  color: var(--neutral-muted);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-meta-icon {
  width: 16px;
  height: 16px;
  stroke: var(--success);
  stroke-width: 2.5;
}

/* Dashboard Mockup (HTML/CSS) */
.hero-visual {
  position: relative;
  width: 100%;
}

.dashboard-mockup {
  background: var(--neutral-light);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 1.5rem;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-mockup.real-screenshot {
  padding: 0;
  background: var(--white);
  transform: perspective(1000px) rotateX(2deg) rotateY(-2deg) rotateZ(0.5deg);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.dashboard-mockup.real-screenshot:hover {
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg) rotateZ(0deg) translateY(-8px);
  box-shadow: 0 30px 60px -15px rgba(0, 74, 173, 0.25);
}

.screenshot-container {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  display: flex;
}

.screenshot-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top left;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.dashboard-mockup.real-screenshot:hover .screenshot-img {
  transform: scale(1.03);
}

.dashboard-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid var(--neutral-border);
}

.dashboard-dots {
  display: flex;
  gap: 6px;
}

.dashboard-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dashboard-dots span:nth-child(1) { background-color: #ff5f56; }
.dashboard-dots span:nth-child(2) { background-color: #ffbd2e; }
.dashboard-dots span:nth-child(3) { background-color: #27c93f; }

.dashboard-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--neutral-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
}

.dash-card {
  background: var(--white);
  border: 1px solid rgba(0, 74, 173, 0.06);
  border-radius: var(--radius-sm);
  padding: 1rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 85px;
  transition: transform 0.3s ease;
}

.dash-card:hover {
  transform: translateY(-2px);
}

.dash-card-header {
  display: flex;
  justify-content: space-between;
  color: var(--neutral-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.dash-card-icon {
  width: 16px;
  height: 16px;
  stroke: var(--primary);
}

.dash-card-value {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
  margin-top: 0.2rem;
}

.dash-card-trend {
  font-size: 0.65rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 2px;
}

.trend-up { color: var(--success); }
.trend-down { color: var(--danger); }
.trend-neutral { color: var(--warning); }

/* Main chart/list mockup area */
.dash-detail {
  flex-grow: 1;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 1rem;
  border: 1px solid rgba(0, 74, 173, 0.06);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.dash-detail-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--neutral-dark);
}

.dash-detail-badge {
  font-size: 0.7rem;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background-color: var(--primary-light);
  color: var(--primary);
  font-weight: 600;
}

.dash-bar-chart {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 70px;
  padding-top: 0.5rem;
}

.dash-bar {
  width: 12%;
  background-color: var(--primary-light);
  border-radius: 4px 4px 0 0;
  position: relative;
  transition: height 1s ease-in-out;
}

.dash-bar.active {
  background: linear-gradient(to top, var(--primary), var(--secondary));
}

.dash-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dash-list-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--neutral-light);
}

.dash-list-item:last-child {
  border-bottom: none;
}

.dash-item-meta {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.dash-item-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.dot-green { background-color: var(--success); }
.dot-blue { background-color: var(--primary); }
.dot-orange { background-color: var(--warning); }

/* Floating badges on hero visual */
.floating-card {
  position: absolute;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  border-radius: var(--radius-sm);
  padding: 0.8rem 1.2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.8rem;
  z-index: 10;
  animation: float 4s ease-in-out infinite alternate;
}

.floating-card-1 {
  top: 15%;
  left: -8%;
  animation-delay: 0s;
}

.floating-card-2 {
  bottom: 10%;
  right: -8%;
  animation-delay: 1.5s;
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  100% { transform: translateY(-12px) rotate(1deg); }
}

.float-icon-container {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.float-icon {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  stroke-width: 2.5;
}

.float-icon-green {
  background-color: var(--success-light);
}
.float-icon-green .float-icon {
  stroke: var(--success);
}

.floating-card-text span {
  display: block;
  font-size: 0.65rem;
  color: var(--neutral-muted);
}

.floating-card-text strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--black);
}

/* Glow under mockup */
.hero-visual::before {
  content: '';
  position: absolute;
  width: 70%;
  height: 70%;
  top: 15%;
  left: 15%;
  background: radial-gradient(circle, rgba(0, 74, 173, 0.25) 0%, rgba(255,255,255,0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: -1;
}

/* ==========================================
   SECTION 3: SEÇÃO DE DOR (STORYTELLING)
   ========================================== */
.pain-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  margin-bottom: 4rem;
}

.pain-card {
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.pain-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -8px rgba(239, 68, 68, 0.1);
  border-color: rgba(239, 68, 68, 0.2);
}

.pain-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: var(--danger);
  transition: height 0.3s ease;
  border-radius: var(--radius-md) 0 0 var(--radius-md);
}

.pain-card:hover::before {
  height: 100%;
}

.pain-icon-box {
  width: 42px;
  height: 42px;
  background-color: var(--danger-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--danger);
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.pain-card:hover .pain-icon-box {
  background-color: var(--danger);
  color: var(--white);
}

.pain-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

.pain-card h3 {
  font-size: 1.2rem;
  margin-bottom: 0.6rem;
}

.pain-card p {
  font-size: 0.95rem;
}

.story-outro {
  text-align: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--black);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

/* ==========================================
   SECTION 4: COMO FUNCIONA
   ========================================== */
.how-it-works-flow {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

/* Desktop Connecting Line */
.how-it-works-flow::after {
  content: '';
  position: absolute;
  top: 40px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: repeating-linear-gradient(to right, var(--primary-light), var(--primary-light) 6px, transparent 6px, transparent 12px);
  z-index: 0;
}

.step-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  padding: 1.8rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  z-index: 1;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.step-num {
  width: 50px;
  height: 50px;
  background-color: var(--white);
  border: 3px solid var(--primary-light);
  border-radius: 50%;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
  z-index: 2;
  transition: all 0.3s ease;
}

.step-card:hover .step-num {
  background-color: var(--primary);
  color: var(--white);
  border-color: var(--primary);
  transform: scale(1.08);
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.6rem;
  line-height: 1.3;
}

.step-card p {
  font-size: 0.85rem;
}

.how-outro {
  text-align: center;
  margin-top: 5rem;
}

.how-outro p {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 1.5rem;
}

/* ==========================================
   SECTION 5: RETIRADA E ENTREGA
   ========================================== */
.inspections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: stretch;
}

.inspect-card {
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.inspect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
}

.inspect-retirada::before {
  background: linear-gradient(to right, var(--primary), var(--secondary));
}

.inspect-entrega::before {
  background: linear-gradient(to right, var(--secondary), var(--success));
}

.inspect-title {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.inspect-title-icon {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  stroke-width: 2.5;
}

.inspect-entrega .inspect-title-icon {
  stroke: var(--success);
}

.inspect-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.2rem;
  margin-bottom: auto;
}

.inspect-list li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--neutral-dark);
}

.inspect-list-icon {
  width: 18px;
  height: 18px;
  stroke: var(--primary);
  stroke-width: 3;
  fill: none;
  flex-shrink: 0;
}

.inspect-entrega .inspect-list-icon {
  stroke: var(--success);
}

.inspect-footer {
  text-align: center;
  margin-top: 4rem;
}

.inspect-footer p {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--black);
}

/* ==========================================
   SECTION 6: FUNCIONALIDADES
   ========================================== */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feat-card {
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  padding: 2.2rem;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  display: flex;
  flex-direction: column;
}

.feat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(0, 74, 173, 0.15);
}

.feat-icon-container {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--primary-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
  transition: all 0.3s ease;
}

.feat-card:hover .feat-icon-container {
  background-color: var(--primary);
  color: var(--white);
}

.feat-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.feat-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
}

.feat-card p {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* ==========================================
   SECTION 7: RESULTADOS
   ========================================== */
.results-container {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  align-items: center;
  gap: 5rem;
}

.results-content h2 {
  margin-bottom: 1.5rem;
}

.results-content p {
  margin-bottom: 2.5rem;
}

.results-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.result-item {
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  gap: 1rem;
}

.result-item-icon {
  width: 20px;
  height: 20px;
  stroke: var(--success);
  stroke-width: 3;
  fill: none;
  flex-shrink: 0;
  margin-top: 3px;
}

.result-item h3 {
  font-size: 1rem;
  margin-bottom: 0.3rem;
  color: var(--neutral-dark);
}

.result-item p {
  font-size: 0.85rem;
  line-height: 1.4;
}

.results-outro {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 4rem;
  border-top: 1px solid var(--neutral-border);
  padding-top: 3rem;
}

.results-outro p {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  margin-bottom: 1.5rem;
}

/* ==========================================
   SECTION 8: PARA QUEM É
   ========================================== */
.who-is-it-for-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

.niche-card {
  background: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.niche-card:hover {
  transform: scale(1.03);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.niche-icon-container {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--neutral-light);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.niche-card:hover .niche-icon-container {
  background-color: var(--primary-light);
}

.niche-icon {
  width: 22px;
  height: 22px;
  stroke: currentColor;
  stroke-width: 2.2;
  fill: none;
}

.niche-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.niche-card p {
  font-size: 0.9rem;
  color: var(--neutral-muted);
  line-height: 1.5;
}


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

/* ==========================================
   SECTION 9: SEÇÃO COMPARATIVA (TABELA)
   ========================================== */
.table-wrapper {
  overflow-x: auto;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--neutral-border);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  background-color: var(--white);
}

.comparison-table th {
  padding: 1.5rem 2rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  border-bottom: 2px solid var(--neutral-border);
}

.comparison-table th:first-child {
  width: 30%;
  background-color: var(--neutral-light);
}

.comparison-table th:nth-child(2) {
  width: 35%;
  background-color: #fef2f2;
  color: var(--danger);
}

.comparison-table th:nth-child(3) {
  width: 35%;
  background: var(--primary-light);
  color: var(--primary);
  border-bottom: 2px solid rgba(0, 74, 173, 0.2);
}

.comparison-table td {
  padding: 1.5rem 2rem;
  font-size: 0.95rem;
  border-bottom: 1px solid var(--neutral-border);
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table td:first-child {
  font-weight: 600;
  color: var(--neutral-dark);
  background-color: var(--neutral-light);
}

.comparison-table td:nth-child(2) {
  color: var(--neutral-muted);
}

.comparison-table td:nth-child(3) {
  font-weight: 500;
  color: var(--black);
  background-color: rgba(0, 74, 173, 0.02);
}

.table-icon-cross {
  width: 16px;
  height: 16px;
  stroke: var(--danger);
  stroke-width: 3;
  margin-right: 0.5rem;
  vertical-align: middle;
}

.table-icon-check {
  width: 16px;
  height: 16px;
  stroke: var(--success);
  stroke-width: 3;
  margin-right: 0.5rem;
  vertical-align: middle;
}

/* ==========================================
   SECTION 10: SEÇÃO DE CTA FORTE
   ========================================== */
.cta-banner {
  background: radial-gradient(circle at 80% 20%, rgba(0, 194, 255, 0.15) 0%, rgba(0, 0, 0, 0) 50%),
              linear-gradient(135deg, var(--black) 0%, #081229 100%);
  border-radius: var(--radius-lg);
  padding: 5rem 4rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0, 74, 173, 0.2);
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.cta-banner h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.cta-banner p {
  font-size: 1.15rem;
  color: #94a3b8;
  margin-bottom: 2.5rem;
}

.cta-banner-buttons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 1.8rem;
}

.cta-banner-footer {
  font-size: 0.85rem;
  color: #64748b;
}

/* ==========================================
   SECTION 11: SEÇÃO FAQ
   ========================================== */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover, .faq-item.active {
  border-color: rgba(0, 74, 173, 0.2);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  text-align: left;
  cursor: pointer;
  outline: none;
}

.faq-question h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--neutral-dark);
  transition: color 0.2s ease;
}

.faq-item.active .faq-question h3 {
  color: var(--primary);
}

.faq-icon-arrow {
  width: 20px;
  height: 20px;
  stroke: var(--neutral-muted);
  stroke-width: 2.2;
  fill: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon-arrow {
  transform: rotate(180deg);
  stroke: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s ease;
  padding: 0 2rem;
  background-color: rgba(0, 74, 173, 0.01);
}

.faq-item.active .faq-answer {
  max-height: 300px; /* high enough for standard answers */
  padding: 0 2rem 1.8rem;
}

.faq-answer p {
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ==========================================
   SECTION 12: FOOTER
   ========================================== */
footer {
  background-color: var(--black);
  color: var(--white);
  padding: 5rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-brand p {
  font-size: 0.9rem;
  margin-top: 1rem;
  color: #94a3b8;
  max-width: 280px;
}

.footer-brand .logo span {
  color: var(--white);
}

.footer-links h3, .footer-contact h3 {
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  color: var(--white);
}

.footer-links ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-links ul li a {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links ul li a:hover {
  color: var(--secondary);
}

.footer-contact ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-contact ul li {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-contact-icon {
  width: 16px;
  height: 16px;
  stroke: var(--secondary);
  stroke-width: 2;
  fill: none;
  flex-shrink: 0;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom p {
  font-size: 0.8rem;
  color: #64748b;
}

/* ==========================================
   SCROLL REVEAL 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);
}

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

/* ==========================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 4rem;
    text-align: center;
  }
  
  .hero-content p {
    margin-left: auto;
    margin-right: auto;
  }
  
  .hero-ctas {
    justify-content: center;
  }
  
  .hero-meta {
    justify-content: center;
  }
  
  .dashboard-mockup {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .floating-card-1 {
    left: -2%;
  }
  
  .floating-card-2 {
    right: -2%;
  }
  
  .how-it-works-flow {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .how-it-works-flow::after {
    display: none;
  }
  
  .step-card {
    flex-direction: row;
    text-align: left;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .step-num {
    margin-bottom: 0;
    flex-shrink: 0;
  }
  
  .inspections-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .feature-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .results-container {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  section {
    padding: 5rem 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1001;
  }
  
  nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -10px 0 30px rgba(0, 74, 173, 0.05);
    padding: 6rem 2.5rem;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 999;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.8rem;
  }
  
  nav ul li a {
    font-size: 1.1rem;
  }
  
  .header-cta {
    display: none;
  }
  
  .menu-open nav {
    transform: translateX(0);
  }
  
  .menu-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }
  
  .menu-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }
  
  .feature-grid {
    grid-template-columns: 1fr;
  }
  
  .inspect-list {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .floating-card {
    display: none; /* Hide floating dashboard widgets on small mobile */
  }
  
  .cta-banner {
    padding: 3.5rem 2rem;
  }
  
  .comparison-table th:first-child,
  .comparison-table td:first-child {
    width: 40%;
    padding: 1rem;
  }
  
  .comparison-table th, .comparison-table td {
    padding: 1rem;
    font-size: 0.85rem;
  }
}

/* ==========================================
   SHOWCASE TAB SLIDER
   ========================================== */
.how-it-works-showcase {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
  background: var(--neutral-light);
  border: 1px solid var(--neutral-border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  margin-top: 4rem;
  align-items: center;
  overflow: hidden;
}

@media (max-width: 992px) {
  .how-it-works-showcase {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }
}

.showcase-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.showcase-tab {
  padding: 1.5rem;
  border-radius: var(--radius-md);
  border-left: 4px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  background: transparent;
}

.showcase-tab.active {
  background: var(--white);
  border-left-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.showcase-tab h3 {
  font-size: 1.25rem;
  margin: 0.5rem 0;
  color: var(--neutral-dark);
}

.showcase-tab p {
  font-size: 0.95rem;
  color: var(--neutral-muted);
  line-height: 1.5;
  margin: 0;
}

.showcase-role-badge {
  display: inline-block;
  padding: 0.25rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  text-transform: uppercase;
}

.badge-blue {
  background: rgba(0, 74, 173, 0.1);
  color: var(--primary);
}

.badge-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
}

.showcase-slider {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 16 / 10;
  background: var(--white);
  border: 1px solid var(--neutral-border);
}

.showcase-track {
  width: 100%;
  height: 100%;
  position: relative;
}

.showcase-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease, transform 0.6s ease;
  transform: scale(0.98);
}

.showcase-slide.active {
  opacity: 1;
  visibility: visible;
  transform: scale(1);
}

.showcase-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
