/* ==============================
   SENSOR.LOG — DESIGN SYSTEM
   "Precisão Industrial + Água"
   ============================== */

/* --- Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Hind:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* --- CSS Custom Properties --- */
:root {
  /* Colors — Geoblue reference: royal blue + navy + teal */
  --color-bg: #ffffff;
  --color-muted: #f8fafc;
  --color-surface: #ffffff;
  --color-dark: #060d1f;
  --color-dark-surface: #0f1d3d;
  --color-navy-700: #1e2d4a;
  --color-text: #475569;
  --color-text-muted: #64748b;
  --color-heading: #0f172a;
  --color-nav: #33566c;
  --color-primary: #0b5fd6;
  --color-primary-light: #3b82f6;
  --color-primary-dark: #0a4fb0;
  --color-teal: #2ed8b4;
  --color-teal-dark: #14b8a6;
  --color-blue-50: #eff6ff;
  --color-accent: #e63946;
  --color-accent-light: #f87171;
  --color-success: #059669;
  --color-danger: #ef4444;
  --color-danger-light: #fef2f2;
  --color-border: #e2e8f0;
  --color-border-light: #f1f5f9;

  /* Typography */
  --font-display: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Hind', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Cascadia Code', monospace;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 32px;
  --space-2xl: 48px;
  --space-3xl: 64px;
  --space-4xl: 96px;
  --space-section: 88px;

  /* Sizing */
  --container-max: 1140px;
  --container-narrow: 820px;
  --header-height: 70px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 12px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.10);
  --shadow-xl: 0 24px 60px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 40px rgba(11, 95, 214, 0.15);

  /* Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-2xl: 32px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-base: 300ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 500ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 400ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text);
  background-color: var(--color-bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-primary-dark);
}

ul, ol {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* --- Blueprint Grid Background --- */
.bg-blueprint {
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle, #cbd5e1 1px, transparent 1px);
  background-size: 24px 24px;
}

/* --- Water Texture Overlay --- */
.bg-water {
  position: relative;
  background-color: var(--color-dark-surface);
}

.bg-water::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.03;
  background:
    radial-gradient(ellipse at 20% 50%, var(--color-primary-light) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, var(--color-primary) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 80%, var(--color-accent-light) 0%, transparent 50%);
  pointer-events: none;
}

/* --- Noise Texture --- */
.noise-overlay {
  position: relative;
}

.noise-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 0;
}

/* ==============================
   SKIP LINK (A11y)
   ============================== */
.skip-link {
  position: absolute;
  top: -100%;
  left: var(--space-md);
  background: var(--color-primary);
  color: #fff;
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-family: var(--font-body);
  z-index: 10000;
  transition: top var(--transition-fast);
}

.skip-link:focus {
  top: var(--space-md);
}

/* ==============================
   LAYOUT
   ============================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section {
  padding: var(--space-section) 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-3xl);
}

.section-label {
  display: block;
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  color: var(--color-primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.2;
  letter-spacing: -0.5px;
  margin-bottom: var(--space-md);
}

.section-title em {
  font-style: normal;
  color: inherit;
}

.wave-underline,
.section-title .wave-underline {
  display: none;
}

.section-subtitle {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text-muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.6;
  font-weight: 400;
}

/* --- Grid --- */
.grid {
  display: grid;
  gap: var(--space-xl);
}

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

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

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

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

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

/* ==============================
   HEADER / NAVBAR
   ============================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 1000;
  transition: box-shadow var(--transition-base), background var(--transition-base), border-color var(--transition-base);
  border-bottom: 1px solid var(--color-border);
}

.header.scrolled {
  box-shadow: 0 1px 12px rgba(15, 23, 42, 0.07);
  background: rgba(248, 250, 252, 0.97);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 21px;
  font-weight: 700;
  color: var(--color-heading);
  letter-spacing: -0.3px;
  text-decoration: none;
}

.logo:hover {
  text-decoration: none;
  color: var(--color-heading);
}

.logo .dot {
  color: var(--color-danger);
}

.logo-icon {
  width: 38px;
  height: 38px;
  flex-shrink: 0;
}

/* --- Nav --- */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  color: var(--color-nav);
  text-decoration: none;
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.nav-link::after {
  content: none;
}

.nav-link.active {
  color: var(--color-primary);
}

/* --- Mobile Menu Toggle --- */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-sm);
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-heading);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

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

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: opacity var(--transition-fast), background var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
  white-space: nowrap;
  cursor: pointer;
  border: none;
  line-height: 1.4;
}

.btn:hover {
  text-decoration: none;
  opacity: 0.9;
}

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

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

.btn-whatsapp {
  background: var(--color-success);
  color: #fff;
}

.btn-whatsapp:hover {
  background: #047857;
  color: #fff;
}

.btn-outline {
  background: var(--color-surface);
  color: var(--color-heading);
  border: 1px solid var(--color-border);
}

.btn-outline:hover {
  background: var(--color-muted);
  color: var(--color-heading);
}

.btn-accent {
  background: var(--color-accent);
  color: #fff;
}

.btn-accent:hover {
  background: #c0392b;
  color: #fff;
}

.btn-invert {
  background: #fff;
  color: var(--color-primary);
}

.btn-invert:hover {
  background: var(--color-blue-50);
  color: var(--color-primary-dark);
}

.btn-lg {
  padding: 14px 30px;
  font-size: 16px;
}

.btn-sm {
  padding: 8px 20px;
  font-size: 13px;
}

/* ==============================
   HERO
   ============================== */
.hero {
  padding: calc(var(--header-height) + 56px) 0 100px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--color-muted) 0%, var(--color-surface) 100%);
}

/* --- Hero Video (Envato style) --- */
.hero.hero-video {
  background: #0f172a;
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: calc(var(--header-height) + var(--space-4xl)) 0 var(--space-4xl);
}

.hero.hero-video::before,
.hero.hero-video::after { display: none; }

.hero-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  opacity: 0.7;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15,23,42,0.65) 0%, rgba(15,23,42,0.45) 100%);
  z-index: 1;
}

.hero-content-centered {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
}

.hero-badge-light {
  background: rgba(255,255,255,0.12);
  border-color: rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.9);
}

.pulse-white { background: #fff; }

.hero-title-white {
  color: #ffffff;
}

.hero-title-white .highlight-white {
  color: #93c5fd;
  font-style: italic;
  position: relative;
}

.hero-text-white {
  color: rgba(255,255,255,0.82);
}

.hero-actions-centered {
  justify-content: center;
}

.btn-outline-white {
  background: transparent;
  border: 2px solid rgba(255,255,255,0.6);
  color: #ffffff;
  font-family: var(--font-body);
  font-weight: 600;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: background var(--transition-fast), border-color var(--transition-fast);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.15);
  border-color: rgba(255,255,255,0.9);
  color: #ffffff;
  text-decoration: none;
}

.hero::before,
.hero::after {
  content: none;
}

.hero .grid {
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 580px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  color: var(--color-nav);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
  padding: 7px 14px;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-full);
  background: var(--color-surface);
}

.hero-badge .pulse {
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--color-teal-dark);
  border-radius: 50%;
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.8); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--color-heading);
  line-height: 1.15;
  letter-spacing: -0.8px;
  margin-bottom: var(--space-lg);
}

.hero-title .highlight {
  color: var(--color-primary);
}

.hero-text {
  font-family: var(--font-body);
  font-size: 17px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: var(--space-xl);
  font-weight: 400;
  max-width: 520px;
}

.hero-actions {
  display: flex;
  gap: var(--space-md);
  flex-wrap: wrap;
}

.hero-image {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.hero-image::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

/* ==============================
   CARDS
   ============================== */
.card {
  background: var(--color-surface);
  border-radius: 20px;
  padding: 28px;
  border: 1px solid var(--color-border);
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
}

.card::before {
  content: none;
}

.card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}

.card-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-md);
  font-size: 19px;
  font-weight: 700;
  font-family: var(--font-mono);
  background: var(--color-blue-50);
  color: var(--color-primary);
}

.card-icon.teal { background: var(--color-blue-50); color: var(--color-primary); }
.card-icon.amber { background: var(--color-blue-50); color: var(--color-primary); }
.card-icon.green { background: var(--color-blue-50); color: var(--color-primary); }
.card-icon.red { background: var(--color-danger-light); color: var(--color-danger); }
.card-icon.blue { background: var(--color-blue-50); color: var(--color-primary); }
.card-icon.purple { background: var(--color-blue-50); color: var(--color-primary); }

.card-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-sm);
  letter-spacing: -0.2px;
}

.card-text {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* --- Glass Card --- */
.card-glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(226, 232, 240, 0.6);
}

/* ==============================
   PROBLEM / SOLUTION BLOCKS
   ============================== */
.problem-block {
  background: var(--color-dark);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl) var(--space-3xl);
  position: relative;
  color: #e2e8f0;
}

.problem-block h2 {
  color: #ffffff !important;
}

.problem-block p {
  color: rgba(255,255,255,0.85) !important;
}

.problem-block .card-title {
  margin-bottom: var(--space-md);
}

.solution-block {
  background: var(--color-blue-50);
  border-radius: var(--radius-xl);
  padding: var(--space-2xl);
  border: 1px solid #bfdbfe;
}

/* ==============================
   STEPS (HOW IT WORKS)
   ============================== */
.steps {
  display: flex;
  flex-direction: column;
  gap: var(--space-lg);
}

.step {
  display: flex;
  gap: var(--space-lg);
  align-items: flex-start;
}

.step-number {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-blue-50);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.step-number::after {
  content: none;
}

.step-content h3 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-xs);
  letter-spacing: -0.2px;
}

.step-content p {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ==============================
   METRICS / STATS
   ============================== */
.metrics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-start;
  gap: var(--space-xl) var(--space-3xl);
}

.metric-card {
  text-align: center;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.metric-card:hover {
  transform: none;
  box-shadow: none;
}

.metric-value {
  font-family: var(--font-display);
  font-size: 40px;
  font-weight: 800;
  color: var(--color-primary);
  margin-bottom: 6px;
  line-height: 1;
  letter-spacing: -0.5px;
}

.metric-label {
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  font-weight: 500;
  max-width: 200px;
}

/* ==============================
   CTA BLOCK
   ============================== */
.cta-block {
  background: var(--color-primary);
  border-radius: var(--radius-xl);
  padding: var(--space-3xl);
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.cta-block::before,
.cta-block::after {
  content: none;
}

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

.cta-block .section-title {
  color: #fff;
}

.cta-block .section-subtitle {
  color: rgba(255,255,255,0.88);
}

.cta-block .btn {
  margin-top: var(--space-lg);
}

.cta-block a:not(.btn),
.cta-block p:not(.section-subtitle),
.cta-block small {
  color: rgba(255,255,255,0.75);
}

/* --- Floating WhatsApp --- */
.float-whatsapp {
  position: fixed;
  bottom: 28px;
  right: 28px;
  width: 60px;
  height: 60px;
  background: var(--color-success);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35);
  z-index: 999;
  transition: transform var(--transition-spring), box-shadow var(--transition-base);
  text-decoration: none;
  animation: float-pulse 3s ease-in-out infinite;
}

@keyframes float-pulse {
  0%, 100% { box-shadow: 0 8px 24px rgba(5, 150, 105, 0.35); }
  50% { box-shadow: 0 12px 32px rgba(5, 150, 105, 0.5); }
}

.float-whatsapp:hover {
  transform: scale(1.12);
  box-shadow: 0 14px 36px rgba(5, 150, 105, 0.5);
  text-decoration: none;
  color: #fff;
  animation: none;
}

/* ==============================
   FAQ ACCORDION
   ============================== */
.faq-list {
  max-width: var(--container-narrow);
  margin: 0 auto;
}

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: var(--space-lg) 0;
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 600;
  color: var(--color-heading);
  text-align: left;
  transition: color var(--transition-fast);
}

.faq-question:hover {
  color: var(--color-primary);
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 20px;
  font-weight: 500;
  transition: transform var(--transition-base);
  flex-shrink: 0;
  margin-left: var(--space-md);
  color: var(--color-text-muted);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--color-primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition-slow), padding var(--transition-base);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: var(--space-lg);
}

.faq-answer p {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.7;
}

/* ==============================
   CONTACT FORM
   ============================== */
.form-group {
  margin-bottom: var(--space-lg);
}

.form-label {
  display: block;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--color-heading);
  margin-bottom: var(--space-xs);
}

.form-label .required {
  color: var(--color-danger);
}

.form-input,
.form-textarea {
  width: 100%;
  padding: 14px 18px;
  font-family: var(--font-body);
  font-size: 16px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-md);
  background: var(--color-surface);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  color: var(--color-heading);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.10);
}

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

.form-checkbox {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
}

.form-checkbox input[type="checkbox"] {
  margin-top: 3px;
  accent-color: var(--color-primary);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--space-xl);
}

.contact-item {
  display: flex;
  gap: var(--space-md);
  align-items: flex-start;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: #eff6ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  color: var(--color-primary);
}

.contact-item h4 {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-xs);
}

.contact-item p,
.contact-item a {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-muted);
}

/* ==============================
   FOOTER
   ============================== */
.footer {
  background: #f8f9fa;
  color: #52525b;
  padding: 70px 0 28px;
  position: relative;
  border-top: 1px solid #f1f5f9;
}

.footer::before {
  content: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-3xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand p {
  margin-top: var(--space-md);
  font-family: var(--font-body);
  font-size: 13px;
  line-height: 1.7;
  color: #52525b;
}

.footer h4 {
  font-family: var(--font-display);
  color: #171717;
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: var(--space-md);
}

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

.footer-links a {
  font-family: var(--font-body);
  font-size: 13px;
  color: #52525b;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

.footer-links span {
  font-family: var(--font-body);
  font-size: 13px;
  color: #737373;
}

.footer-social {
  display: flex;
  gap: var(--space-md);
  margin-top: var(--space-md);
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid #d4d4d4;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #404040;
  font-size: 18px;
  transition: border-color var(--transition-fast), color var(--transition-fast);
}

.footer-social a:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid #e5e5e5;
  padding-top: var(--space-lg);
  text-align: center;
  font-family: var(--font-body);
  font-size: 12px;
  color: #a3a3a3;
}

.footer-bottom a {
  color: #737373;
}

.footer-bottom a:hover {
  color: var(--color-primary);
}

/* ==============================
   COOKIE BANNER (LGPD)
   ============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--color-dark);
  color: #fff;
  z-index: 9999;
  padding: var(--space-md) 0;
  transform: translateY(100%);
  transition: transform var(--transition-slow);
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-md);
}

.cookie-banner p {
  font-family: var(--font-body);
  font-size: 14px;
  flex: 1;
  min-width: 260px;
  color: #94a3b8;
}

.cookie-banner a {
  color: #fff;
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  gap: var(--space-sm);
}

/* ==============================
   PAGE HEADER (internal pages)
   ============================== */
.page-header {
  padding: calc(var(--header-height) + var(--space-3xl)) 0 var(--space-2xl);
  text-align: center;
  position: relative;
  background: var(--color-bg);
}

.page-header::after {
  content: none;
}

.page-header .section-label {
  margin-bottom: var(--space-md);
}

.page-header .section-title {
  margin-bottom: var(--space-sm);
}

/* ==============================
   PRODUCT CARDS
   ============================== */
.product-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  padding: var(--space-2xl);
  text-align: center;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: none;
}

.product-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}

.product-card-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--space-lg);
  background: var(--color-blue-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  transition: transform var(--transition-spring);
}

.product-card:hover .product-card-icon {
  transform: scale(1.08);
}

.product-card h3 {
  font-family: var(--font-display);
  font-size: 20px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-sm);
}

.product-card p {
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--color-text-muted);
  margin-bottom: var(--space-lg);
  line-height: 1.65;
}

/* ==============================
   TECH SPECS TABLE
   ============================== */
.specs-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: var(--space-xl);
}

.specs-table th,
.specs-table td {
  padding: 16px 20px;
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  font-family: var(--font-body);
  font-size: 15px;
}

.specs-table th {
  width: 200px;
  font-weight: 600;
  color: var(--color-heading);
  background: var(--color-bg);
  font-family: var(--font-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.specs-table td {
  color: var(--color-text);
}

.specs-table tr:last-child th,
.specs-table tr:last-child td {
  border-bottom: none;
}

/* ==============================
   GALLERY
   ============================== */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space-lg);
}

.gallery img {
  border-radius: var(--radius-md);
  width: 100%;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.gallery img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* ==============================
   ANIMATIONS
   ============================== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delays for grid children */
.stagger-children > *:nth-child(1) { transition-delay: 0ms; }
.stagger-children > *:nth-child(2) { transition-delay: 80ms; }
.stagger-children > *:nth-child(3) { transition-delay: 160ms; }
.stagger-children > *:nth-child(4) { transition-delay: 240ms; }
.stagger-children > *:nth-child(5) { transition-delay: 320ms; }
.stagger-children > *:nth-child(6) { transition-delay: 400ms; }

/* Wave divider between sections */
.wave-divider {
  width: 100%;
  height: 60px;
  margin: 0;
  display: block;
  background: url("data:image/svg+xml,%3Csvg width='1200' height='60' viewBox='0 0 1200 60' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 30 Q150 10 300 30 Q450 50 600 30 Q750 10 900 30 Q1050 50 1200 30 L1200 60 L0 60 Z' fill='%23faf9f6'/%3E%3C/svg%3E") repeat-x bottom;
}

.wave-divider.flip {
  transform: rotate(180deg);
}

/* ==============================
   UTILITIES
   ============================== */
.bg-light { background: var(--color-muted); }
.bg-dark { background: var(--color-dark); color: #fff; }
.bg-surface { background: var(--color-surface); }
.text-center { text-align: center; }
.text-left { text-align: left; }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mt-xl { margin-top: var(--space-xl); }
.mb-lg { margin-bottom: var(--space-lg); }

/* ==============================
   RESPONSIVE HELPERS
   ============================== */
svg {
  max-width: 100%;
  height: auto;
}

.table-wrapper {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-top: var(--space-xl);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

/* ==============================
   SEGMENT CARDS (inline)
   ============================== */
.segment-card {
  padding: 28px var(--space-lg);
  text-align: center;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 20px;
  transition: border-color var(--transition-base), box-shadow var(--transition-base);
}

.segment-card:hover {
  border-color: #93c5fd;
  box-shadow: var(--shadow-sm);
}

.segment-card .segment-icon {
  font-size: 36px;
  margin-bottom: 12px;
  display: block;
}

.segment-card .segment-img {
  display: block;
  width: calc(100% + 2 * var(--space-lg));
  max-width: none;
  margin: -28px calc(-1 * var(--space-lg)) 14px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 19px 19px 0 0;
}

.segment-card h3 {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--color-heading);
  margin-bottom: var(--space-xs);
}

.segment-card p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
}

/* ==============================
   SOLUTION CHECKLIST
   ============================== */
.checklist {
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--color-text);
  line-height: 1.8;
}

.checklist li {
  margin-bottom: 12px;
  padding-left: 28px;
  position: relative;
}

.checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--color-teal-dark);
  font-weight: 700;
}

.checklist li::after {
  content: none;
}


/* ==============================
   RESPONSIVE BREAKPOINTS
   ============================== */

/* Tablet: up to 1024px */
@media (max-width: 1024px) {
  :root {
    --space-section: 80px;
    --space-4xl: 64px;
    --space-3xl: 48px;
    --space-2xl: 36px;
  }

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

  .hero-title {
    font-size: clamp(28px, 4.5vw, 40px);
  }

  .hero-actions {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Mobile landscape / small tablet: up to 768px */
@media (max-width: 768px) {
  :root {
    --header-height: 62px;
    --space-section: 60px;
    --space-4xl: 48px;
    --space-3xl: 36px;
    --space-2xl: 28px;
    --space-xl: 20px;
    --space-lg: 16px;
    --space-md: 12px;
  }

  /* Grid stacking */
  .grid-2,
  .grid-3,
  .grid-4,
  .grid-2-1,
  .grid-1-2 {
    grid-template-columns: 1fr;
  }

  .container {
    padding: 0 16px;
  }

  .section-title {
    font-size: 26px;
  }

  .section-subtitle {
    font-size: 16px;
  }

  /* Header */
  .logo {
    font-size: 18px;
  }

  .logo-icon {
    width: 32px;
    height: 32px;
  }

  /* Mobile Navigation */
  .menu-toggle {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100vh;
    height: 100dvh;
    background: var(--color-surface);
    flex-direction: column;
    padding: calc(var(--header-height) + 24px) 24px 24px;
    gap: 4px;
    box-shadow: var(--shadow-xl);
    transition: right var(--transition-slow);
    overflow-y: auto;
    z-index: 1000;
  }

  .nav.active {
    right: 0;
  }

  .nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    backdrop-filter: blur(4px);
  }

  .nav-overlay.active {
    display: block;
  }

  .nav-link {
    font-size: 16px;
    padding: 12px 0;
    display: block;
  }

  .nav .btn {
    margin-left: 0 !important;
    margin-top: 8px;
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Hero */
  .hero {
    padding: calc(var(--header-height) + 40px) 0 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero-title {
    font-size: 30px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .hero-image {
    order: -1;
    margin-bottom: 24px;
  }

  /* Cards */
  .card {
    padding: 20px;
  }

  .card-icon {
    width: 44px;
    height: 44px;
    font-size: 22px;
    margin-bottom: 12px;
  }

  .card-title {
    font-size: 18px;
  }

  .card-text {
    font-size: 14px;
  }

  /* Steps */
  .step {
    gap: 12px;
  }

  .step-number {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  .step-content h3 {
    font-size: 17px;
  }

  .step-content p {
    font-size: 14px;
  }

  /* Metrics */
  .metrics {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .metric-card {
    padding: 20px 12px;
  }

  .metric-value {
    font-size: 32px;
  }

  .metric-label {
    font-size: 11px;
  }

  /* CTA block */
  .cta-block {
    padding: 36px 20px;
  }

  .cta-block .section-title {
    font-size: 24px;
  }

  .cta-block .section-subtitle {
    font-size: 15px;
  }

  /* Problem / Solution blocks */
  .problem-block,
  .solution-block {
    padding: 24px;
  }

  /* Product cards */
  .product-card {
    padding: 28px 20px;
    text-align: left;
  }

  .product-card-icon {
    margin: 0 0 16px 0;
    width: 60px;
    height: 60px;
  }

  /* Specs table */
  .specs-table th {
    width: 120px;
    font-size: 11px;
    padding: 10px 12px;
  }

  .specs-table td {
    font-size: 13px;
    padding: 10px 12px;
  }

  /* FAQ */
  .faq-question {
    font-size: 15px;
    padding: 14px 0;
  }

  .faq-answer p {
    font-size: 14px;
  }

  /* Contact */
  .contact-info {
    gap: 16px;
    margin-top: 8px;
  }

  .contact-item {
    gap: 12px;
  }

  .contact-item-icon {
    width: 40px;
    height: 40px;
    font-size: 18px;
  }

  /* Forms */
  .form-input,
  .form-textarea {
    font-size: 16px;
    padding: 12px 14px;
  }

  /* Footer */
  .footer {
    padding: 48px 0 24px;
  }

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

  .footer-brand p {
    font-size: 13px;
  }

  .footer h4 {
    margin-bottom: 10px;
  }

  /* Float WhatsApp */
  .float-whatsapp {
    width: 52px;
    height: 52px;
    bottom: 16px;
    right: 16px;
    font-size: 24px;
  }

  /* Cookie banner */
  .cookie-banner .container {
    flex-direction: column;
    text-align: center;
  }

  .cookie-banner p {
    font-size: 13px;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-actions .btn {
    width: 100%;
  }

  /* Page header */
  .page-header {
    padding: calc(var(--header-height) + 36px) 0 32px;
  }

  .page-header .section-title {
    font-size: 28px;
  }

  /* Gallery */
  .gallery {
    grid-template-columns: 1fr;
  }

  /* Segment cards */
  .segment-card {
    padding: 16px;
  }
}

/* Phone: up to 480px */
@media (max-width: 480px) {
  :root {
    --header-height: 56px;
    --space-section: 48px;
    --space-4xl: 40px;
    --space-3xl: 32px;
  }

  .hero-title {
    font-size: 26px;
  }

  .hero-text {
    font-size: 15px;
  }

  .section-title {
    font-size: 22px;
  }

  .metrics {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }

  .metric-card {
    padding: 14px 8px;
  }

  .metric-value {
    font-size: 28px;
  }

  .metric-label {
    font-size: 10px;
  }

  .btn-lg {
    padding: 14px 20px;
    font-size: 15px;
  }

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

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

  .footer-bottom {
    font-size: 12px;
  }

  .specs-table th {
    width: 100px;
    font-size: 11px;
  }

  .specs-table td {
    font-size: 12px;
  }

  .float-whatsapp {
    width: 48px;
    height: 48px;
    bottom: 12px;
    right: 12px;
    font-size: 22px;
  }

  .nav {
    width: 100%;
    right: -100%;
  }

  .page-header .section-title {
    font-size: 24px;
  }
}

/* ============================== */
/*   GEOBLUE-STYLE COMPONENTS     */
/* ============================== */

/* --- Hero dashboard panel --- */
.hero .grid-2 {
  gap: clamp(40px, 6vw, 72px);
}

.hero-image::before {
  content: none;
}

/* --- Hero phone (telas reais em ciclo) --- */
.notif-stack {
  position: relative;
  display: flex;
  justify-content: center;
  width: 100%;
}

.phone-cycle {
  position: relative;
  z-index: 1;
  width: min(300px, 74vw);
  aspect-ratio: 576 / 1024;
}

.phone-cycle img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  animation-duration: 18s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

.phone-cycle img.faden { animation-name: phoneFade; }
.phone-cycle img.pop { animation-name: phonePop; }

.phone-cycle img:nth-child(2) { animation-delay: 3s; }
.phone-cycle img:nth-child(3) { animation-delay: 6s; }
.phone-cycle img:nth-child(4) { animation-delay: 9s; }
.phone-cycle img:nth-child(5) { animation-delay: 12s; }
.phone-cycle img:nth-child(6) { animation-delay: 15s; }

@keyframes phoneFade {
  0% { opacity: 0; }
  2.8% { opacity: 1; }
  16.7% { opacity: 1; }
  19.5% { opacity: 0; }
  100% { opacity: 0; }
}

@keyframes phonePop {
  0% { opacity: 0; transform: translateY(-16px) scale(0.94); }
  3.5% { opacity: 1; transform: translateY(0) scale(1); }
  16.7% { opacity: 1; transform: none; }
  19.5% { opacity: 0; transform: none; }
  100% { opacity: 0; transform: none; }
}

.notif-stack .dash-float {
  left: -4px;
  bottom: -30px;
}

.dash {
  position: relative;
  background: var(--color-dark);
  border-radius: var(--radius-2xl);
  padding: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  width: 100%;
  max-width: 460px;
}

.dash::before {
  content: '';
  position: absolute;
  top: -64px;
  right: -64px;
  width: 192px;
  height: 192px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 50%;
  filter: blur(48px);
  pointer-events: none;
}

.dash-head {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 4px;
  margin-bottom: 14px;
}

.dash-id {
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(191, 219, 254, 0.7);
}

.dash-live {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-teal);
}

.ping {
  position: relative;
  display: inline-flex;
  width: 8px;
  height: 8px;
}

.ping::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--color-teal);
  opacity: 0.6;
  animation: ping 1.6s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.ping::after {
  content: '';
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-teal);
}

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

.dash-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.dash-card {
  background: var(--color-dark-surface);
  border-radius: 20px;
  padding: 16px;
  overflow: hidden;
  position: relative;
}

.dash-kicker {
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: rgba(191, 219, 254, 0.55);
  margin: 0 0 8px;
}

.dash-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.dash-card-top .dash-kicker {
  margin: 0;
}

.dash-status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 10px;
  text-transform: uppercase;
  color: var(--color-teal);
}

.dash-status .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-teal);
}

.dash-value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 24px;
  color: #fff;
  line-height: 1;
  margin: 0 0 6px;
}

.dash-value small {
  font-size: 13px;
  font-weight: 500;
  color: rgba(191, 219, 254, 0.7);
}

.dash-note {
  font-family: var(--font-mono);
  font-size: 11px;
  color: rgba(191, 219, 254, 0.6);
  line-height: 1.4;
  margin: 0;
}

.dash-wave {
  height: 52px;
  margin: 0 -16px -16px;
}

.dash-level-row {
  display: flex;
  align-items: flex-end;
  gap: 12px;
}

.level-wrap {
  position: relative;
  width: 36px;
  height: 64px;
  background: #060d1f;
  border: 1px solid rgba(59, 130, 246, 0.25);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.level-fill {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 52%;
  background: linear-gradient(to top, #3b82f6, rgba(46, 216, 180, 0.8));
  border-radius: 0 0 8px 8px;
  animation: levelOsc 7s ease-in-out infinite;
}

.level-surface {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: #99f6e4;
  animation: levelShimmer 3.5s ease-in-out infinite;
}

@keyframes levelOsc {
  0%, 100% { height: 52%; }
  40% { height: 68%; }
  70% { height: 58%; }
}

@keyframes levelShimmer {
  0%, 100% { opacity: 0.35; }
  50% { opacity: 0.7; }
}

.dash-ring-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.ring-wrap {
  position: relative;
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.ring-center {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.ring-center b {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: #fff;
  line-height: 1;
}

.ring-center span {
  font-family: var(--font-mono);
  font-size: 9px;
  color: rgba(191, 219, 254, 0.6);
  text-transform: uppercase;
}

.ring-progress {
  stroke-dasharray: 163.4;
  stroke-dashoffset: 163.4;
  animation: ringDraw 2.4s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards;
}

@keyframes ringDraw {
  0% { stroke-dashoffset: 163.4; }
  100% { stroke-dashoffset: 62; }
}

.soft-pulse {
  animation: softPulse 2.4s ease-in-out infinite;
}

@keyframes softPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.55; }
}

.dash-float {
  position: absolute;
  bottom: -22px;
  left: 24px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 14px;
  z-index: 2;
}

.dash-float b {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 26px;
  color: var(--color-primary);
  line-height: 1;
}

.dash-float span {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.3;
}

.card-float {
  animation: cardFloat 4s ease-in-out infinite;
}

@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.fade-up {
  animation: fadeUp 0.7s ease-out both;
}

.fade-up-1 { animation-delay: 0.15s; }
.fade-up-2 { animation-delay: 0.3s; }
.fade-up-3 { animation-delay: 0.45s; }

@keyframes fadeUp {
  0% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 1; transform: translateY(0); }
}

.wave-anim {
  animation: waveMove 3.2s linear infinite;
}

.wave-anim--slow {
  animation: waveMove 5s linear infinite;
}

@keyframes waveMove {
  0% { transform: translateX(0); }
  100% { transform: translateX(-60px); }
}

@media (prefers-reduced-motion: reduce) {
  .card-float, .fade-up, .level-fill, .level-surface,
  .ring-progress, .soft-pulse, .wave-anim, .wave-anim--slow,
  .ping::before {
    animation: none;
  }
  .ring-progress { stroke-dashoffset: 62; }
  .fade-up { opacity: 1; transform: none; }
  .phone-cycle img { animation: none; transform: none; }
  .phone-cycle img:first-child { opacity: 1; }
}

/* --- Steps flow (horizontal cards with arrows) --- */
.steps-flow {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.flow-step {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 16px;
  padding: 24px;
  position: relative;
}

.flow-step .num {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  color: var(--color-primary);
  margin-bottom: 24px;
}

.flow-step h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.flow-step p {
  font-family: var(--font-body);
  font-size: 13px;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

.flow-step.featured {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.flow-step.featured .num {
  color: #fff;
}

.flow-step.featured h3 {
  color: #fff;
}

.flow-step.featured p {
  color: #dbeafe;
}

.flow-arrow {
  position: absolute;
  top: 50%;
  right: -22px;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 16px;
  z-index: 2;
}

.flow-note {
  text-align: center;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--color-text-muted);
  max-width: 760px;
  margin: 8px auto 0;
  line-height: 1.6;
}

.flow-note strong {
  color: var(--color-heading);
}

/* --- Comparison cards --- */
.compare-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.compare-card {
  border-radius: var(--radius-xl);
  padding: 32px;
}

.compare-card.light {
  background: var(--color-muted);
}

.compare-card.blue {
  background: var(--color-primary);
  color: #fff;
}

.compare-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--color-heading);
  margin-bottom: 20px;
}

.compare-card.blue h3 {
  color: #fff;
}

.compare-list {
  list-style: none;
}

.compare-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 18px;
  font-family: var(--font-body);
  font-size: 15px;
  line-height: 1.55;
  color: var(--color-text);
}

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

.compare-list strong {
  color: var(--color-heading);
}

.compare-card.blue .compare-list li {
  color: #eff6ff;
}

.compare-card.blue .compare-list strong {
  color: #fff;
}

.x-ico {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--color-danger-light);
  color: var(--color-danger);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 2px;
}

.v-ico {
  flex-shrink: 0;
  color: var(--color-teal);
  margin-top: 2px;
}

.compare-card .btn {
  margin-top: 24px;
}

/* --- Navy section --- */
.bg-navy {
  background: var(--color-dark);
  color: #fff;
}

.bg-navy .section-label {
  color: var(--color-teal);
}

.bg-navy .section-title {
  color: #fff;
}

.bg-navy .section-subtitle {
  color: #bfdbfe;
}

.navy-card {
  background: var(--color-dark-surface);
  border-radius: 20px;
  padding: 28px;
}

.nc-kicker {
  display: block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: var(--color-teal);
  margin-bottom: 12px;
}

.navy-card h3 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 18px;
  color: #fff;
  margin-bottom: 8px;
}

.navy-card p {
  font-family: var(--font-body);
  font-size: 14px;
  color: #bfdbfe;
  line-height: 1.6;
  margin: 0;
}

.navy-card.featured {
  background: var(--color-primary);
}

.navy-card.featured .nc-kicker {
  color: #fff;
}

.navy-card.featured p {
  color: #eff6ff;
}

.navy-panel {
  background: var(--color-dark-surface);
  border-radius: var(--radius-xl);
  padding: 36px;
}

.navy-panel-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.3;
  color: #fff;
  margin-bottom: 14px;
}

.navy-panel-text {
  font-family: var(--font-body);
  font-size: 15px;
  color: #bfdbfe;
  line-height: 1.6;
  margin: 0;
}

.navy-inset {
  background: var(--color-dark);
  border: 1px solid rgba(46, 216, 180, 0.3);
  border-radius: 20px;
  padding: 24px;
}

.navy-inset p {
  font-family: var(--font-body);
  font-size: 15px;
  color: #bfdbfe;
  line-height: 1.6;
  margin: 0 0 14px;
}

.navy-inset strong {
  color: #fff;
}

.link-teal {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--color-teal);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
}

.link-teal:hover {
  color: #5eead4;
  text-decoration: none;
}

/* --- Metrics strip --- */
.strip {
  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 48px 0;
}

/* --- Full-width CTA --- */
.cta-full {
  background: var(--color-primary);
  padding: 80px 0;
  text-align: center;
}

.cta-full .section-title {
  color: #fff;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.cta-full .section-subtitle {
  color: rgba(255, 255, 255, 0.85);
}

.cta-full .btn {
  margin-top: 28px;
}

.cta-phone {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.cta-phone a {
  color: #fff;
  font-weight: 600;
}

.cta-phone a:hover {
  color: #fff;
  opacity: 0.85;
}

/* --- Responsive for new components --- */
@media (max-width: 1024px) {
  .steps-flow { grid-template-columns: repeat(2, 1fr); }
  .flow-arrow { display: none; }
}

@media (max-width: 768px) {
  .steps-flow { grid-template-columns: 1fr; }
  .compare-grid { grid-template-columns: 1fr; }
  .hero-image { order: 0; margin-top: 8px; }
  .notif-stack { margin-top: 24px; }
  .navy-panel { padding: 24px; }
  .compare-card { padding: 24px; }
}

@media (max-width: 640px) {
  .phone-cycle { width: min(260px, 80vw); }
  .notif-stack .dash-float {
    position: absolute;
    bottom: -24px;
    left: 0;
    margin-top: 0;
    padding: 10px 14px;
    gap: 10px;
    border-radius: 14px;
    max-width: 210px;
  }
  .notif-stack .dash-float b { font-size: 20px; }
  .notif-stack .dash-float span { font-size: 11px; }
  .hero { padding-bottom: 72px; }
}

@media (max-width: 480px) {
  .dash-grid { grid-template-columns: 1fr; }
  .metrics { gap: var(--space-lg); }
}

/* --- Uniform installation gallery --- */
.gallery-uniform {
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  max-width: 880px;
  margin-inline: auto;
}

.gallery-uniform img {
  aspect-ratio: 4 / 5;
  object-fit: cover;
  height: auto;
}

@media (max-width: 768px) {
  .gallery-uniform {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
  }
}

/* Small square card thumbnail */
.card .card-thumb {
  display: block;
  width: min(288px, 100%);
  height: 288px;
  object-fit: cover;
  border-radius: 20px;
  margin: 0 auto 16px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}

/* Hero tank backdrop (fixed behind the cycling phone) */
.notif-stack .phone-cycle {
  top: 50px;
}

.notif-stack .tank-backdrop {
  position: absolute;
  left: 50%;
  bottom: -4%;
  transform: translateX(-50%);
  height: 115%;
  width: auto;
  max-width: none;
  z-index: 0;
  pointer-events: none;
}

/* Icon-size image replacing emoji in cards */
.card .card-icon-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: none;
  object-fit: contain;
  margin: 0 auto 8px;
}

/* Small icon-size thumb (transparent PNGs) */
.card .card-thumb-sm {
  display: block;
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 12px;
}

/* 5-column variant */
.gallery-5 {
  grid-template-columns: repeat(5, 1fr);
  max-width: 1000px;
}

@media (max-width: 768px) {
  .gallery-5 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 520px;
  }
}
