/* ==========================================================================
   BISMARK SOLUTIONS - TROPICAL GRAPHIC DESIGN SYSTEM (ESTÚDIO AUTORAL)
   Arquitetura de Marca: Vanguardismo Tropical, Design Gráfico & Conversão 360
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400;1,600;1,700&family=Manrope:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  /* Tipografia Editorial-Tech (Clean Fluid Hybrid) */
  --font-sans: 'Manrope', 'Inter', -apple-system, sans-serif;
  --font-serif: 'Playfair Display', serif;
  --font-mono: 'JetBrains Mono', 'Space Grotesk', monospace;

  /* Paleta Pure White & Bismark Signature Tones */
  --bg-canvas: #FFFFFF;           /* Fundo Branco Puro Impecável */
  --bg-cream: #FCFBF9;            /* Cream Editorial de Contraste */
  --bg-surface: #FFFFFF;          /* Superfície Branca Pura */
  --bg-surface-warm: #F8FAFC;     /* Painel de Contraste Suave */
  --bg-dark: #072237;             /* Obsidian Bismark Noturno */
  --bg-dark-card: #0B2840;        /* Jade Escuro Noturno */

  /* Cores de Assinatura Bismark */
  --primary-color: #FCD239;       /* Tiffany Bismark Oficial */
  --primary-deep: #E5BA1A;        /* Tiffany Profundo */
  --accent-navy: #0B2840;      /* Esmeralda Bismark */
  --accent-sun: #F59E0B;          /* Amber Solar */
  --accent-coral: #EF4444;        /* Alerta Coral */
  --accent-foam: #FFF9E6;         /* Menta Tiffany Suave */

  /* Tipografia & Contrastes Bismark */
  --text-primary: #072237;        /* Preto Floresta Profundo Bismark */
  --text-secondary: #3D504C;      /* Slate Botânico Equilibrado */
  --text-muted: #809691;          /* Neutro Bismark */
  --text-inverse: #FFFFFF;        /* Branco Puro */

  /* Bordas, Traços & Divisores */
  --border-subtle: rgba(7, 34, 55, 0.08);
  --border-medium: rgba(7, 34, 55, 0.15);
  --border-strong: #072237;
  --border-brand: rgba(252, 210, 57, 0.35);

  /* Sombras Gráficas & Táteis */
  --shadow-sm: 0 2px 8px rgba(7, 34, 55, 0.04);
  --shadow-card: 0 12px 32px -8px rgba(7, 34, 55, 0.08), 0 2px 6px rgba(7, 34, 55, 0.03);
  --shadow-hover: 0 24px 50px -10px rgba(7, 34, 55, 0.14), 0 4px 12px rgba(7, 34, 55, 0.05);
  --shadow-badge: 0 4px 14px rgba(252, 210, 57, 0.25);

  /* Raio de Curvatura & Geometria */
  --radius-xs: 6px;
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 999px;

  /* Transições & Curvas de Luxo (Signature Cubic-Bezier) */
  --ease-tropical: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-fluid: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-fast: 0.2s var(--ease-tropical);
  --transition-smooth: 0.4s var(--ease-tropical);
  --transition-fluid: all 0.4s var(--ease-fluid);

  /* Posições Padrão de Interatividade & Spotlight */
  --mouse-x: 50%;
  --mouse-y: 50%;
  --spotlight-x: 50vw;
  --spotlight-y: 30vh;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background-color: var(--bg-canvas);
}

html.lenis { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto; }
.lenis.lenis-stopped { overflow: hidden; }

body {
  font-family: var(--font-sans), -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--bg-canvas);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

body.no-scroll { overflow: hidden; }

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

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

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

/* ==========================================================================
   2. PRELOADER CINEMATOGRÁFICO (FLUID LOADER)
   ========================================================================== */
#fluid-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--bg-dark);
  z-index: 99999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  pointer-events: none;
  color: #FFFFFF;
}

.fluid-loader-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(252, 210, 57, 0.18) 0%, transparent 70%);
}

#fluid-counter {
  font-family: 'Space Grotesk', monospace;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 3px;
  margin-bottom: 24px;
  color: var(--primary-color);
  opacity: 0.85;
}

.fluid-text-mask {
  overflow: hidden;
  padding: 4px 10px;
}

#fluid-loader-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(38px, 7vw, 72px);
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  transform: translateY(100%);
}

#fluid-loader-sub {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--primary-color);
  transform: translateY(100%);
  margin-top: 8px;
}

/* ==========================================================================
   3. FUNDO TROPICAL AURORA & MESH FLUIDO
   ========================================================================== */
.mesh-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -2;
  background: 
    radial-gradient(circle at 12% 15%, rgba(252, 210, 57, 0.08) 0%, transparent 45%),
    radial-gradient(circle at 88% 20%, rgba(243, 156, 18, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 50% 65%, rgba(13, 92, 77, 0.05) 0%, transparent 55%),
    radial-gradient(circle at 80% 85%, rgba(252, 210, 57, 0.07) 0%, transparent 45%);
  filter: blur(75px);
  opacity: 0.95;
  pointer-events: none;
  animation: tropicalFlow 24s ease-in-out infinite alternate;
}

@keyframes tropicalFlow {
  0% { transform: scale(1) translate(0, 0); }
  50% { transform: scale(1.08) translate(-2%, 2%); }
  100% { transform: scale(1.03) translate(2%, -2%); }
}

.ambient-glow-tiffany {
  position: absolute;
  width: 550px;
  height: 550px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 210, 57, 0.16) 0%, rgba(243, 156, 18, 0.04) 40%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
  z-index: 0;
}

/* ==========================================================================
   4. TIPOGRAFIA EDITORIAL DE ALTO IMPACTO
   ========================================================================== */
.typography-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: var(--accent-foam);
  border: 1px solid rgba(13, 92, 77, 0.15);
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}

.typography-headline {
  font-family: var(--font-sans), sans-serif;
  font-size: clamp(34px, 5.2vw, 62px);
  font-weight: 800;
  line-height: 1.12;
  letter-spacing: -0.035em;
  color: var(--text-primary);
  margin-bottom: 24px;
}

.highlight-tiffany {
  position: relative;
  display: inline-block;
  background: linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-color) 60%, var(--accent-sun) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.typography-intro {
  font-size: clamp(17px, 2.2vw, 20px);
  font-weight: 400;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 720px;
  margin-bottom: 32px;
}

.typography-intro strong {
  font-weight: 700;
  color: var(--text-primary);
}

.section-header-block {
  margin-bottom: 50px;
}

.text-center { text-align: center; }
.text-center .typography-intro { margin-left: auto; margin-right: auto; }

/* ==========================================================================
   5. NAVBAR FLUTUANTE (ISLAND HEADER TROPICAL)
   ========================================================================== */
.island-header {
  position: fixed;
  top: 24px;
  left: 0;
  width: 100%;
  z-index: 1000;
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 20px;
}

.island-nav-container {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-subtle);
  padding: 10px 14px 10px 24px;
  border-radius: var(--radius-pill);
  box-shadow: 0 16px 36px -8px rgba(10, 27, 24, 0.08), 0 2px 6px rgba(10, 27, 24, 0.03);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.island-nav-container:hover {
  box-shadow: 0 20px 42px -6px rgba(10, 27, 24, 0.12);
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
}

.site-logo {
  height: 38px;
  width: 38px;
  border-radius: 9px;
  object-fit: cover;
  box-shadow: 0 4px 12px rgba(7, 34, 55, 0.15);
  border: 1px solid rgba(252, 210, 57, 0.25);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.site-logo:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(252, 210, 57, 0.35);
}

.logo-text {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 1px;
  color: var(--text-primary);
}

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

.nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
  position: relative;
  padding: 6px 2px;
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition-smooth);
  transform: translateX(-50%);
  border-radius: 2px;
}

.nav-link:hover { color: var(--text-primary); }
.nav-link:hover::after { width: 100%; }

.btn-nav {
  font-size: 13px;
  font-weight: 600;
  background: rgba(7, 34, 55, 0.03);
  color: #072237 !important;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid rgba(7, 34, 55, 0.12);
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
  margin-left: 12px;
}

.btn-nav:hover {
  background: #072237;
  color: #FFFFFF !important;
  border-color: #072237;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px -2px rgba(7, 34, 55, 0.15);
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--bg-surface-warm);
}

.mobile-menu-btn span {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  border-radius: 2px;
  transition: var(--transition-fast);
}

/* ==========================================================================
   6. BOTÕES DE ALTA CONVERSÃO & TÁTEIS
   ========================================================================== */
.btn-primary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 800;
  letter-spacing: 0.2px;
  background: var(--primary-color);
  color: #072237;
  padding: 18px 38px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid var(--primary-color);
  box-shadow: 0 8px 24px -4px rgba(252, 210, 57, 0.4);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
}

.btn-primary:hover {
  background: var(--primary-deep);
  border-color: var(--primary-deep);
  color: #072237;
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -6px rgba(252, 210, 57, 0.6);
}

.btn-secondary {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.2px;
  background: var(--bg-surface);
  color: var(--text-primary);
  padding: 18px 36px;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1.5px solid var(--border-medium);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.btn-secondary:hover {
  background: var(--bg-surface-warm);
  border-color: var(--text-primary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
}

/* ==========================================================================
   7. HERO SECTION & SHOWCASE FRAME
   ========================================================================== */
.hero {
  position: relative;
  padding-top: 160px;
  padding-bottom: 90px;
  text-align: center;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-meta-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent-emerald);
  background: var(--accent-foam);
  border: 1.5px solid rgba(13, 92, 77, 0.15);
  padding: 8px 20px;
  border-radius: var(--radius-pill);
  margin-bottom: 24px;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--primary-color);
  box-shadow: 0 0 0 0 rgba(252, 210, 57, 0.7);
  animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(252, 210, 57, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(252, 210, 57, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(252, 210, 57, 0); }
}

.meta-separator {
  color: var(--primary-deep);
  opacity: 0.5;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 10px;
}

.hero-trust-bar {
  display: flex;
  gap: 28px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 32px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
}

.trust-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-showcase-frame {
  margin-top: 60px;
  width: 100%;
  max-width: 1020px;
  background: var(--bg-surface);
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-lg);
  box-shadow: 0 32px 70px -15px rgba(10, 27, 24, 0.18);
  overflow: hidden;
  position: relative;
  z-index: 10;
}

.showcase-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: var(--bg-surface-warm);
  border-bottom: 1.5px solid var(--border-subtle);
}

.showcase-dots {
  display: flex;
  gap: 8px;
}

.showcase-dots span {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #CBD5E1;
}

.showcase-dots span:nth-child(1) { background: #FF5F56; }
.showcase-dots span:nth-child(2) { background: #FFBD2E; }
.showcase-dots span:nth-child(3) { background: #27C93F; }

.showcase-url-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 6px 18px;
  border-radius: var(--radius-pill);
  font-family: monospace;
  font-size: 12px;
  color: var(--text-secondary);
}

.showcase-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-deep);
}

.hero-main-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   8. MARQUEE TICKER TAPE (DESIGN GRÁFICO TROPICAL)
   ========================================================================== */
.ticker-tape-container {
  width: 100%;
  overflow: hidden;
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 16px 0;
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}

.ticker-tape {
  display: flex;
  width: max-content;
  animation: tickerScroll 32s linear infinite;
}

.ticker-content {
  display: flex;
  gap: 40px;
  padding-right: 40px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.ticker-content span {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
}

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

/* ==========================================================================
   9. DIAGNÓSTICO / PROBLEMA SECTION
   ========================================================================== */
.diagnostic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.diagnostic-card {
  position: relative;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 42px 32px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
}

.diagnostic-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

.diagnostic-index {
  position: absolute;
  top: 24px;
  right: 28px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: rgba(10, 27, 24, 0.12);
}

.diagnostic-icon-box {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-sm);
  background: var(--accent-foam);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.diagnostic-title {
  font-family: var(--font-sans), sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.diagnostic-text {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 24px;
}

.diagnostic-tag-alert {
  margin-top: auto;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-coral);
  background: #FDEDEB;
  padding: 6px 14px;
  border-radius: var(--radius-pill);
  display: inline-block;
  align-self: flex-start;
}

/* ==========================================================================
   10. BENTO GRID TROPICAL GRAPHIC (O KIT 360)
   ========================================================================== */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.bento-card-2, .glass-card, .glass-panel {
  position: relative;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

.bento-card-2.wide {
  grid-column: span 2;
}

.bento-card-2:hover, .glass-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-tiffany);
}

.bento-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.bento-tag {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: var(--accent-foam);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
}

.bento-action-arrow {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

.bento-card-2:hover .bento-action-arrow {
  color: var(--primary-color);
  transform: translate(2px, -2px);
}

.bento-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 12px;
}

.bento-title {
  font-family: var(--font-sans), sans-serif;
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.25;
}

.bento-desc {
  font-size: 15px;
  font-weight: 400;
  line-height: 1.65;
  color: var(--text-secondary);
}

.bento-features-list {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent-emerald);
}

.kit-cta-bottom {
  margin-top: 60px;
}

/* ==========================================================================
   11. TABELA COMPARATIVA (DIFERENCIAIS)
   ========================================================================== */
.comparison-table-wrapper {
  overflow-x: auto;
  margin-top: 30px;
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.comparison-table th, .comparison-table td {
  padding: 20px 28px;
  border-bottom: 1.5px solid var(--border-subtle);
  font-size: 15px;
}

.comparison-table th {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  letter-spacing: 0.5px;
  background: var(--bg-surface-warm);
}

.comparison-table .col-dim {
  color: var(--text-muted);
}

.comparison-table .col-highlight {
  color: var(--accent-emerald);
  background: rgba(252, 210, 57, 0.04);
}

/* ==========================================================================
   12. PROJETOS SOB MEDIDA
   ========================================================================== */
.custom-package-box {
  padding: 60px 48px;
  border: 2px solid var(--border-strong);
  border-radius: var(--radius-lg);
}

/* ==========================================================================
   13. FÁBRICA DE SOFTWARE & FERRAMENTAS SAAS
   ========================================================================== */
.giant-cta-box {
  background: var(--bg-surface);
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  position: relative;
  box-shadow: 0 20px 50px -10px rgba(10, 27, 24, 0.1);
  overflow: hidden;
}

.giant-cta-badge {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: var(--accent-foam);
  border: 1px solid rgba(13, 92, 77, 0.2);
  padding: 6px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 16px;
  display: inline-block;
}

.saas-banner-layout {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 48px;
  flex-wrap: wrap;
}

.saas-banner-info {
  flex: 1;
  min-width: 320px;
}

.saas-banner-cards {
  flex: 1;
  min-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.saas-mini-card {
  display: flex;
  align-items: center;
  gap: 18px;
  background: var(--bg-canvas);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  transition: transform var(--transition-smooth), border-color var(--transition-smooth);
}

.saas-mini-card:hover {
  transform: translateX(6px);
  border-color: var(--primary-color);
  background: var(--bg-surface);
}

.saas-mini-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  background: var(--accent-foam);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ==========================================================================
   14. FAQ ACCORDION
   ========================================================================== */
.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 22px 28px;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

.faq-item[open] {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-card);
}

.faq-item summary {
  font-family: var(--font-sans), sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  list-style: none;
  position: relative;
  padding-right: 28px;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: var(--primary-deep);
  transition: var(--transition-fast);
}

.faq-item[open] summary::after {
  content: "−";
}

.faq-answer {
  margin-top: 16px;
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  padding-top: 14px;
}

/* ==========================================================================
   15. RODAPÉ (FOOTER TROPICAL GRAPHIC)
   ========================================================================== */
.footer {
  background: var(--bg-dark);
  color: var(--text-inverse);
  padding: 80px 0 40px;
  margin-top: 100px;
  border-top: 3px solid var(--primary-color);
}

.footer-top-row {
  display: flex;
  justify-content: space-between;
  gap: 60px;
  flex-wrap: wrap;
}

.footer-brand {
  max-width: 340px;
}

.footer-links-group {
  display: flex;
  gap: 48px;
  flex-wrap: wrap;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.footer a {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
}

.footer a:hover {
  color: var(--primary-color);
  transform: translateX(2px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 28px;
  margin-top: 48px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
}

/* ==========================================================================
   16. RESPONSIVIDADE (MOBILE & TABLET)
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 28px;
  padding-right: 28px;
}

.section-mac {
  position: relative;
  padding: 100px 0;
}

@media (max-width: 1024px) {
  .diagnostic-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-grid { grid-template-columns: repeat(2, 1fr); }
  .bento-card-2.wide { grid-column: span 2; }
}

@media (max-width: 768px) {
  .island-header {
    top: 16px;
    padding: 0 12px;
  }

  .island-nav-container {
    width: 100%;
    border-radius: var(--radius-lg);
    padding: 12px 18px;
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    background: var(--bg-surface);
    border: 1.5px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 24px;
    flex-direction: column;
    gap: 18px;
    box-shadow: var(--shadow-hover);
  }

  .nav.nav-open { display: flex; }
  .mobile-menu-btn { display: flex; }

  .diagnostic-grid { grid-template-columns: 1fr; }
  .bento-grid { grid-template-columns: 1fr; }
  .bento-card-2.wide { grid-column: span 1; }

  .hero {
    padding-top: 130px;
    padding-bottom: 60px;
  }

  .section-mac { padding: 60px 0; }
  .giant-cta-box { padding: 36px 20px; }
  .custom-package-box { padding: 36px 20px; }
  .footer-top-row { flex-direction: column; gap: 36px; }
}

/* Additional Tool Catalog Styles */
.offer-box {
  background: var(--bg-surface);
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-lg);
  padding: 48px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.btn-tool.secondary-tool {
  background: var(--bg-surface-warm);
  color: var(--text-primary);
  border: 1px solid var(--border-medium);
}

.btn-tool.secondary-tool:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
  border-color: var(--primary-color);
}

.btn-tool.disabled-tool {
  background: #F1F5F9;
  color: #94A3B8;
  cursor: not-allowed;
  font-size: 13px;
}

/* ==========================================================================
   3D WEBGL ENGINE CANVAS (THREE.JS)
   ========================================================================== */
.hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.85;
}

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

/* ==========================================================================
   KINETIC HEADLINE SHIMMER & LUXURY 3D REFINEMENTS
   ========================================================================== */
.typography-headline .headline-line {
  display: block;
}

.text-gradient-shimmer {
  background: linear-gradient(120deg, #E5BA1A 0%, #FCD239 20%, #F39C12 45%, #FCD239 70%, #E5BA1A 100%);
  background-size: 240% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineShimmer 5s linear infinite;
  display: inline-block;
}

@keyframes shineShimmer {
  0% { background-position: 0% center; }
  100% { background-position: 240% center; }
}

.hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  opacity: 0.90;
}

/* ==========================================================================
   LEAD CAPTURE MODAL & REMARKETING BRIDGE
   ========================================================================== */
.lead-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(7, 34, 55, 0.82);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 999999;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.lead-modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.lead-modal-container {
  background: var(--bg-surface);
  border: 2px solid var(--text-primary);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 40px 36px;
  box-shadow: 0 32px 70px -10px rgba(7, 34, 55, 0.35);
  position: relative;
  transform: translateY(25px) scale(0.96);
  transition: transform 0.4s var(--ease-tropical);
}

.lead-modal-overlay.active .lead-modal-container {
  transform: translateY(0) scale(1);
}

.lead-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-surface-warm);
  border: 1px solid var(--border-subtle);
  font-size: 20px;
  line-height: 1;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
}

.lead-modal-close:hover {
  background: var(--primary-color);
  color: var(--bg-dark);
}

.lead-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-emerald);
  background: var(--accent-foam);
  border: 1px solid rgba(13, 92, 77, 0.15);
  padding: 4px 12px;
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.lead-modal-title {
  font-family: var(--font-sans), sans-serif;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.lead-modal-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 24px;
}

.lead-input-group {
  margin-bottom: 16px;
  text-align: left;
}

.lead-input-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.lead-input-group input {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-medium);
  font-family: inherit;
  font-size: 15px;
  background: var(--bg-canvas);
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.lead-input-group input:focus {
  outline: none;
  border-color: var(--primary-color);
  background: #FFFFFF;
  box-shadow: 0 0 0 3px rgba(252, 210, 57, 0.15);
}

.lead-modal-footer-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 18px;
  font-size: 12px;
  color: var(--text-muted);
}

/* ==========================================================================
   ALCHE STYLE LIQUID FLUID CANVAS
   ========================================================================== */
.hero-3d-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
  filter: contrast(110%);
}

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

/* ==========================================================================
   GOOGLE ANTIGRAVITY DESIGN SYSTEM (GRID SPOTLIGHT & ZERO-G CHIPS)
   ========================================================================== */

/* 1. Dot-Matrix Blueprint Grid com Spotlight Dinâmico */
.antigravity-grid-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: -1;
  background-image: radial-gradient(rgba(10, 27, 24, 0.12) 1.2px, transparent 1.2px);
  background-size: 36px 36px;
  mask-image: radial-gradient(
    450px circle at var(--spotlight-x, 50vw) var(--spotlight-y, 30vh),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.05) 80%,
    transparent 100%
  );
  -webkit-mask-image: radial-gradient(
    450px circle at var(--spotlight-x, 50vw) var(--spotlight-y, 30vh),
    rgba(0, 0, 0, 1) 0%,
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 0.05) 80%,
    transparent 100%
  );
}

/* 2. Wrapper do Showcase Hero & Levitação Antigravidade */
.hero-showcase-wrapper {
  position: relative;
  width: 100%;
  max-width: 1020px;
  margin-top: 60px;
}

.ag-chip {
  position: absolute;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-pill);
  padding: 10px 20px;
  box-shadow: 0 16px 36px -8px rgba(10, 27, 24, 0.12), 0 2px 6px rgba(10, 27, 24, 0.04);
  transition: transform 0.25s var(--ease-tropical), box-shadow 0.25s var(--ease-tropical), border-color 0.25s ease;
  user-select: none;
}

.ag-chip-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--accent-foam);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--primary-deep);
  flex-shrink: 0;
}

.ag-chip-text {
  display: flex;
  flex-direction: column;
  text-align: left;
}

.ag-chip-text strong {
  font-family: var(--font-sans), sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.ag-chip-text span {
  font-size: 11px;
  color: var(--text-secondary);
}

/* Posicionamento dos Chips e Animação de Levitação Zero-G */
.ag-chip-1 {
  top: -24px;
  left: -20px;
  animation: zeroGFloat1 7s ease-in-out infinite alternate;
}

.ag-chip-2 {
  top: -18px;
  right: -20px;
  animation: zeroGFloat2 8s ease-in-out infinite alternate;
}

.ag-chip-3 {
  bottom: 24px;
  left: -28px;
  animation: zeroGFloat3 7.5s ease-in-out infinite alternate;
}

.ag-chip-4 {
  bottom: 30px;
  right: -24px;
  animation: zeroGFloat4 8.5s ease-in-out infinite alternate;
}

@keyframes zeroGFloat1 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1.5deg); }
  100% { transform: translateY(6px) rotate(-1deg); }
}

@keyframes zeroGFloat2 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(10px) rotate(-1.5deg); }
  100% { transform: translateY(-8px) rotate(1deg); }
}

@keyframes zeroGFloat3 {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-10px) rotate(-1deg); }
  100% { transform: translateY(8px) rotate(1.5deg); }
}

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

/* Ocultar ou reposicionar chips no mobile para evitar overflow */
@media (max-width: 900px) {
  .ag-chip-1 { top: -20px; left: 10px; }
  .ag-chip-2 { top: -20px; right: 10px; }
  .ag-chip-3, .ag-chip-4 { display: none; }
}

@media (max-width: 600px) {
  .ag-chip { display: none; }
}

/* ==========================================================================
   CLEAN HERO LAYOUT (WITHOUT PREVIEW BANNER)
   ========================================================================== */
.hero {
  padding-top: 180px;
  padding-bottom: 80px;
}

.hero-container {
  max-width: 920px;
  margin: 0 auto;
}

.hero-trust-bar {
  margin-top: 48px;
}

/* ==========================================================================
   TIFFANY BLAU PORSCHE AESTHETIC (PRECISION ENGINEERING & HIGH-OCTANE LUXURY)
   ========================================================================== */

/* 1. Botões & Badges com Acabamento Anodizado Porsche */
.btn-primary {
  background: linear-gradient(135deg, #FCD239 0%, #E5BA1A 100%);
  color: #072237;
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px -4px rgba(252, 210, 57, 0.45), 0 2px 6px rgba(7, 34, 55, 0.12);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  letter-spacing: -0.01em;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #FFE066 0%, #FCD239 100%);
  box-shadow: 0 14px 32px -4px rgba(252, 210, 57, 0.55), 0 4px 12px rgba(7, 34, 55, 0.18);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #FFFFFF;
  color: #072237;
  border: 1.5px solid rgba(252, 210, 57, 0.35);
  box-shadow: 0 4px 16px rgba(7, 34, 55, 0.05);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  background: var(--accent-foam);
  color: var(--primary-deep);
  transform: translateY(-2px);
}

/* 2. Selo de Telemetria & Engenharia (Porsche Sport Chrono Style) */
.hero-meta-badge {
  background: #FFFFFF;
  border: 1.5px solid rgba(252, 210, 57, 0.35);
  box-shadow: 0 6px 18px rgba(252, 210, 57, 0.12);
  color: #072237;
}

.hero-meta-badge .pulse-dot {
  background: #FCD239;
  box-shadow: 0 0 12px #FCD239;
}

/* 3. Cards Bento com Refinamento Aerodinâmico */
.bento-card-2, .glass-card, .diagnostic-card {
  background: #FFFFFF;
  border: 1.5px solid rgba(7, 34, 55, 0.08);
  box-shadow: 0 12px 30px -6px rgba(7, 34, 55, 0.06), 0 2px 6px rgba(7, 34, 55, 0.02);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.35s ease;
}

.bento-card-2:hover, .glass-card:hover, .diagnostic-card:hover {
  border-color: rgba(252, 210, 57, 0.5);
  box-shadow: 0 20px 45px -8px rgba(252, 210, 57, 0.18), 0 4px 14px rgba(7, 34, 55, 0.04);
  transform: translateY(-4px);
}

.bento-tag {
  background: var(--accent-foam);
  color: var(--primary-deep);
  border: 1px solid rgba(252, 210, 57, 0.25);
  font-weight: 700;
  letter-spacing: 0.5px;
}

/* 4. Island Header com Acabamento Porsche Glass & Titanium */
.island-nav-container {
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1.5px solid rgba(252, 210, 57, 0.25);
  box-shadow: 0 16px 40px -10px rgba(7, 34, 55, 0.12);
}

/* ==========================================================================
   ULTRA-COMPREHENSIVE MOBILE RESPONSIVENESS & TOUCH OPTIMIZATIONS (320px - 768px)
   ========================================================================== */

html, body {
  max-width: 100vw;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

/* 1. Breakpoint para Tablets e Telas Médias (<= 992px) */
@media (max-width: 992px) {
  .hero-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .saas-banner-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  
  .footer-links-group {
    gap: 32px;
  }
}

/* 2. Breakpoint Mobile Principal (<= 768px) */
@media (max-width: 768px) {
  /* Container e Padding Global */
  .container {
    padding-left: 18px;
    padding-right: 18px;
  }

  /* Header e Menu Mobile Drawer */
  .island-header {
    top: 12px;
    padding: 0 10px;
  }

  .island-nav-container {
    padding: 10px 16px;
    border-radius: var(--radius-pill);
    box-shadow: 0 8px 24px rgba(7, 34, 55, 0.12);
  }

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

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

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }

  .mobile-menu-btn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
  }

  .nav {
    display: none;
    position: absolute;
    top: calc(100% + 12px);
    left: 0;
    width: 100%;
    background: #FFFFFF;
    border: 1.5px solid var(--border-medium);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    flex-direction: column;
    gap: 16px;
    box-shadow: 0 24px 60px -12px rgba(7, 34, 55, 0.20);
    z-index: 1000;
  }

  .nav.nav-open {
    display: flex;
    animation: drawerSlideDown 0.3s var(--ease-tropical);
  }

  @keyframes drawerSlideDown {
    from { opacity: 0; transform: translateY(-10px); }
  }

  .nav-link {
    font-size: 16px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-subtle);
    width: 100%;
    text-align: left;
  }

  .btn-nav {
    width: 100%;
    text-align: center;
    justify-content: center;
    padding: 14px;
    font-size: 15px;
    margin-top: 8px;
  }

  /* Hero Section Mobile */
  .hero {
    padding-top: 120px;
    padding-bottom: 50px;
  }

  .hero-meta-badge {
    font-size: 10px;
    padding: 5px 12px;
    letter-spacing: 0.5px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.4;
  }

  .typography-headline {
    font-size: clamp(28px, 7.5vw, 42px);
    line-height: 1.18;
    margin-bottom: 16px;
  }

  .typography-intro {
    font-size: 16px;
    line-height: 1.55;
    margin-bottom: 28px;
  }

  /* Ações do Hero em Coluna */
  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 16px 20px;
    font-size: 15px;
    min-height: 52px;
  }

  /* Trust Bar em Coluna no Mobile */
  .hero-trust-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    margin-top: 32px;
    padding: 16px 18px;
    background: var(--bg-surface-warm);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    width: 100%;
  }

  .trust-item {
    font-size: 13px;
    gap: 8px;
  }

  /* Ticker Tape */
  .ticker-tape-container {
    padding: 12px 0;
  }

  .ticker-content span {
    font-size: 11px;
    padding: 0 14px;
  }

  /* Seções e Bento Grids */
  .section-mac {
    padding: 50px 0;
  }

  .section-header-block {
    margin-bottom: 36px;
  }

  .diagnostic-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .diagnostic-card {
    padding: 28px 20px;
  }

  .diagnostic-title {
    font-size: 20px;
  }

  .bento-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .bento-card-2, .bento-card-2.wide {
    grid-column: span 1;
    padding: 28px 20px;
  }

  .bento-title {
    font-size: 20px;
  }

  .bento-desc {
    font-size: 14px;
    line-height: 1.5;
  }

  /* Tabela Comparativa com Scroll Suave no Mobile */
  .comparison-table-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-sm);
    margin-top: 24px;
    padding-bottom: 8px;
  }

  .comparison-table {
    min-width: 540px;
  }

  .comparison-table th, .comparison-table td {
    padding: 14px 16px;
    font-size: 13px;
  }

  /* Caixas de Destaque */
  .custom-package-box, .giant-cta-box {
    padding: 32px 20px;
  }

  .saas-mini-card {
    padding: 16px;
  }

  /* FAQ Accordion */
  .faq-accordion {
    gap: 12px;
  }

  .faq-item summary {
    padding: 18px 16px;
    font-size: 15px;
  }

  .faq-answer {
    padding: 0 16px 18px 16px;
    font-size: 14px;
  }

  /* Rodapé */
  .footer {
    padding: 50px 0 30px;
  }

  .footer-top-row {
    flex-direction: column;
    gap: 36px;
  }

  .footer-links-group {
    flex-direction: column;
    gap: 28px;
    width: 100%;
  }

  /* Catálogo de Ferramentas (ferramentas.html) */
  .catalog-filters {
    overflow-x: auto;
    white-space: nowrap;
    justify-content: flex-start;
    padding-bottom: 10px;
    margin-bottom: 28px;
    -webkit-overflow-scrolling: touch;
    width: 100%;
  }

  .filter-btn {
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 13px;
  }

  .tool-catalog-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .catalog-card {
    padding: 24px 20px;
  }

  /* Páginas Jurídicas (Sobre, Termos, Política) */
  .legal-container {
    margin: 100px auto 40px;
    padding: 32px 20px;
  }

  .legal-container h1 {
    font-size: 24px;
  }

  .legal-container h2 {
    font-size: 18px;
  }

  .legal-container p, .legal-container li {
    font-size: 14px;
  }
}

/* 3. Breakpoint Mobile Compacto (iPhone SE / <= 400px) */
@media (max-width: 400px) {
  .hero-meta-badge span {
    font-size: 9px;
  }

  .typography-headline {
    font-size: 25px;
  }

  .hero-actions .btn-primary,
  .hero-actions .btn-secondary {
    font-size: 14px;
    padding: 14px 16px;
  }

  .bento-card-2, .diagnostic-card, .giant-cta-box {
    padding: 22px 16px;
  }

  .lead-modal-container {
    padding: 28px 16px 20px;
  }
}


/* ==========================================================================
   CLEAN FLUID / ORGANIC INTELLIGENCE - SPECIAL EDITORIAL COMPONENTS
   ========================================================================== */

/* 1. Tipografia Editorial & Monospace Telemetry */
.serif-italic {
  font-family: var(--font-serif);
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.01em;
  padding-right: 0.15em; /* Previne corte do itálico com text-clip */
}

.mono-telemetry {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.25em;
  text-transform: uppercase;
}

/* 3. Intelligent Card Hover & Action Pill */
.bento-card-2, .diagnostic-card, .catalog-card, .plan-card {
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-fluid), box-shadow 0.45s var(--ease-fluid), border-color 0.3s ease !important;
}

.bento-card-2:hover, .diagnostic-card:hover, .catalog-card:hover, .plan-card:hover {
  transform: translateY(-8px) scale(1.01) !important;
  border-color: var(--primary-color) !important;
  box-shadow: 0 20px 48px -10px rgba(252, 210, 57, 0.22), 0 4px 12px rgba(7, 34, 55, 0.04) !important;
}

/* 4. Linhas Técnicas de 1px (Draw-In Lines) */
.draw-line {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(252, 210, 57, 0.4) 50%, transparent 100%);
  margin: 32px 0;
  opacity: 0.8;
}

/* ==========================================================================
   SAAS TOOLS UNIFIED UI/UX & MOBILE RESPONSIVENESS SUITE
   ========================================================================== */

/* 1. Reset e Alinhamento de Hero para Todas as Ferramentas */
.chatbot-hero-section,
.crm-hero,
.miniapp-hero,
.reviews-hero,
.tool-hero-section,
.diag-hero,
.comunidade-hero,
main.main {
  padding-top: 140px;
  position: relative;
  width: 100%;
}

/* 2. Responsividade de Grids das Ferramentas (<= 992px) */
@media (max-width: 992px) {
  .agent-demo-grid,
  .app-layout-grid,
  .app-grid,
  .generator-container {
    grid-template-columns: 1fr !important;
    gap: 28px !important;
  }

  .chat-sim-wrapper,
  .stars-funnel-card,
  .preview-phone-card,
  .order-preview-panel {
    position: relative !important;
    top: 0 !important;
    max-width: 520px !important;
    margin: 0 auto !important;
    width: 100% !important;
  }

  .chatbot-hero-section,
  .crm-hero,
  .miniapp-hero,
  .reviews-hero,
  .tool-hero-section,
  .diag-hero,
  .comunidade-hero,
  main.main {
    padding-top: 115px !important;
  }

  .pipeline-board {
    display: flex !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
    scroll-snap-type: x mandatory;
    gap: 14px !important;
    padding-bottom: 20px !important;
  }

  .pipeline-col {
    flex: 0 0 280px !important;
    scroll-snap-align: start;
    min-height: 480px !important;
  }
}

/* 3. Telas Pequenas e Smartphones (<= 600px) */
@media (max-width: 600px) {
  .mono-telemetry {
    font-size: 9px !important;
    letter-spacing: 0.1em !important;
  }

  .hero-meta-badge {
    flex-wrap: wrap;
    justify-content: center;
    padding: 6px 12px;
    height: auto;
    text-align: center;
  }

  .trust-item {
    flex-direction: column;
    text-align: center;
    gap: 4px;
  }

  .app-card,
  .control-card,
  .calc-panel,
  .stars-funnel-card,
  .telemetry-box,
  .quiz-card {
    padding: 22px 16px !important;
    border-radius: 20px !important;
  }

  .niche-grid {
    grid-template-columns: 1fr !important;
  }

  .kpi-row {
    grid-template-columns: 1fr 1fr !important;
    gap: 10px !important;
  }

  .kpi-card {
    padding: 14px 12px !important;
  }

  .kpi-value {
    font-size: 18px !important;
  }

  .app-nav-tabs {
    gap: 6px !important;
  }

  .app-tab-btn {
    padding: 9px 14px !important;
    font-size: 12.5px !important;
    flex: 1 1 auto;
    justify-content: center;
  }

  .custom-input,
  .custom-select,
  .custom-textarea {
    font-size: 14px !important;
    padding: 11px 13px !important;
  }
}

/* ==========================================================================
   TREMOR DATABASE DESIGN SYSTEM - BISMARK ARCHITECTURAL EXPANSION
   ========================================================================== */

/* 1. STATS & METRICS GRID (Features.tsx inspired) */
.tremor-stats-section {
  padding: 40px 0 20px;
}

.tremor-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
  border-top: 1.5px solid var(--border-subtle);
  border-bottom: 1.5px solid var(--border-subtle);
  padding: 40px 0;
}

.tremor-stat-card {
  padding: 0 16px;
  border-left: 1.5px solid var(--border-subtle);
}

.tremor-stat-card:first-child {
  border-left: none;
  padding-left: 0;
}

.tremor-stat-value {
  font-family: var(--font-sans);
  font-size: clamp(34px, 3.5vw, 48px);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: var(--text-primary);
  display: flex;
  align-items: baseline;
  gap: 4px;
}

.tremor-stat-value .stat-accent {
  color: var(--primary-deep);
}

.tremor-stat-label {
  margin-top: 8px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.tremor-stat-desc {
  margin-top: 4px;
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.5;
}

@media (max-width: 992px) {
  .tremor-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }
  .tremor-stat-card:nth-child(3) {
    border-left: none;
    padding-left: 0;
  }
}

@media (max-width: 600px) {
  .tremor-stats-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .tremor-stat-card {
    border-left: 3px solid var(--primary-color);
    padding-left: 16px;
  }
}

/* 2. GLOBAL INFRASTRUCTURE & 3D GLOBE (GlobalDatabase.tsx inspired) */
.globe-hero-section {
  position: relative;
  background: #050d0c;
  color: #fff;
  border-radius: 36px;
  margin: 60px auto 30px;
  padding: 80px 32px 50px;
  overflow: hidden;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.6), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(252, 210, 57, 0.2);
  text-align: center;
}

.globe-radial-glow {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(252, 210, 57, 0.28) 0%, rgba(7, 34, 55, 0) 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 1;
}

.globe-badge {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(252, 210, 57, 0.12);
  border: 1px solid rgba(252, 210, 57, 0.35);
  border-radius: 999px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FCD239;
  margin-bottom: 20px;
}

.globe-badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #FCD239;
  box-shadow: 0 0 10px #FCD239;
  animation: pulse-dot 2s infinite ease-in-out;
}

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

.globe-title {
  position: relative;
  z-index: 2;
  font-size: clamp(32px, 4.5vw, 56px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  background: linear-gradient(180deg, #FFFFFF 30%, #A5F3FC 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  max-width: 800px;
  margin: 0 auto 16px;
}

.globe-subtitle {
  position: relative;
  z-index: 2;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.72);
  max-width: 640px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.globe-canvas-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 720px;
  height: 480px;
  margin: 0 auto;
  cursor: grab;
}

.globe-canvas-container:active {
  cursor: grabbing;
}

#bismark-globe-canvas {
  width: 100%;
  height: 100%;
  display: block;
}

.globe-nodes-legend {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 20px auto 40px;
}

.globe-node-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
}

.globe-node-chip .chip-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #FCD239;
  box-shadow: 0 0 6px #FCD239;
}

.globe-node-chip .latency {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #5EEAD4;
}

.globe-features-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 980px;
  margin: 0 auto;
  text-align: left;
}

.globe-feature-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  padding: 24px;
  backdrop-filter: blur(12px);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.globe-feature-box:hover {
  transform: translateY(-4px);
  border-color: rgba(252, 210, 57, 0.4);
}

.globe-feature-title {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.globe-feature-title svg {
  color: #FCD239;
  flex-shrink: 0;
}

.globe-feature-desc {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

@media (max-width: 860px) {
  .globe-features-grid {
    grid-template-columns: 1fr;
  }
  .globe-canvas-container {
    height: 380px;
  }
}

/* 3. ENTERPRISE PRICING MATRIX & BREAKDOWN (pricing/page.tsx inspired) */
.pricing-section {
  padding: 80px 0 60px;
}

.pricing-header-center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 40px;
}

.pricing-toggle-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin: 32px 0 48px;
}

.pricing-toggle-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
  transition: color 0.2s ease;
}

.pricing-toggle-label.active {
  color: var(--text-primary);
  font-weight: 800;
}

.pricing-switch-btn {
  position: relative;
  width: 52px;
  height: 28px;
  background: var(--border-medium);
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 2px;
  display: flex;
  align-items: center;
}

.pricing-switch-btn.active {
  background: var(--primary-deep);
}

.pricing-switch-thumb {
  width: 24px;
  height: 24px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform: translateX(0);
}

.pricing-switch-btn.active .pricing-switch-thumb {
  transform: translateX(24px);
}

.pricing-discount-pill {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  background: var(--accent-foam);
  border: 1px solid var(--border-tiffany);
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary-deep);
}

.pricing-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-bottom: 60px;
}

.pricing-plan-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 24px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.pricing-plan-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
  border-color: var(--border-medium);
}

.pricing-plan-card.featured {
  background: #072237;
  color: #fff;
  border: 2px solid var(--primary-color);
  box-shadow: 0 20px 50px -10px rgba(252, 210, 57, 0.25);
  transform: scale(1.03);
  z-index: 2;
}

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

.featured-ribbon {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, #FCD239, #E5BA1A);
  color: #072237;
  font-size: 11.5px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 16px;
  border-radius: 999px;
  box-shadow: 0 4px 14px rgba(252, 210, 57, 0.4);
}

.pricing-card-name {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 8px;
}

.pricing-plan-card.featured .pricing-card-name {
  color: #fff;
}

.pricing-card-desc {
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.5;
  min-height: 42px;
  margin-bottom: 24px;
}

.pricing-plan-card.featured .pricing-card-desc {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-price-box {
  margin-bottom: 28px;
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pricing-currency {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-secondary);
}

.pricing-plan-card.featured .pricing-currency {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-amount {
  font-size: 46px;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--text-primary);
}

.pricing-plan-card.featured .pricing-amount {
  color: #fff;
}

.pricing-period {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-plan-card.featured .pricing-period {
  color: rgba(255, 255, 255, 0.5);
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.pricing-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-secondary);
}

.pricing-plan-card.featured .pricing-feature-item {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-feature-item svg {
  color: var(--primary-deep);
  flex-shrink: 0;
}

.pricing-plan-card.featured .pricing-feature-item svg {
  color: #FCD239;
}

.pricing-action-btn {
  width: 100%;
  padding: 14px 20px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: block;
}

.pricing-action-btn.btn-outline {
  background: transparent;
  color: var(--text-primary);
  border: 1.5px solid var(--border-medium);
}

.pricing-action-btn.btn-outline:hover {
  border-color: var(--text-primary);
  background: var(--bg-surface-warm);
}

.pricing-action-btn.btn-glow {
  background: linear-gradient(135deg, #FCD239, #E5BA1A);
  color: #072237;
  border: none;
  box-shadow: 0 8px 24px -4px rgba(252, 210, 57, 0.5);
}

.pricing-action-btn.btn-glow:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px -4px rgba(252, 210, 57, 0.7);
}

/* Feature Breakdown Comparison Table */
.breakdown-table-wrapper {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
}

.breakdown-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.breakdown-table th,
.breakdown-table td {
  padding: 16px 20px;
  font-size: 14px;
}

.breakdown-table thead th {
  background: var(--bg-surface-warm);
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  border-bottom: 1.5px solid var(--border-subtle);
}

.breakdown-table thead th.col-tier {
  text-align: center;
  width: 22%;
}

.breakdown-table tbody tr {
  border-bottom: 1px solid var(--border-subtle);
  transition: background 0.15s ease;
}

.breakdown-table tbody tr:hover {
  background: rgba(252, 210, 57, 0.03);
}

.breakdown-table .category-header-row td {
  background: var(--bg-surface-warm);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary-deep);
  padding: 12px 20px;
}

.breakdown-table td.col-center {
  text-align: center;
}

.breakdown-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-deep);
}

.breakdown-dash {
  color: var(--text-muted);
  font-weight: 700;
}

.breakdown-badge {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--accent-foam);
  color: var(--primary-deep);
}

@media (max-width: 992px) {
  .pricing-cards-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
  }
  .pricing-plan-card.featured {
    transform: none;
  }
  .pricing-plan-card.featured:hover {
    transform: translateY(-4px);
  }
  .breakdown-table-wrapper {
    overflow-x: auto;
  }
  .breakdown-table {
    min-width: 680px;
  }
}

/* 4. INTERACTIVE CODE SHOWCASE (Tremor & Modern Dev style) */
.code-showcase-section {
  padding: 50px 0;
}

.code-showcase-container {
  background: #060e0d;
  border: 1px solid rgba(252, 210, 57, 0.25);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.5);
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
}

@media (max-width: 960px) {
  .code-showcase-container {
    grid-template-columns: 1fr;
  }
}

.code-editor-pane {
  display: flex;
  flex-direction: column;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 960px) {
  .code-editor-pane {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

.code-mac-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.code-mac-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.code-mac-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red { background: #FF5F56; }
.dot-yellow { background: #FFBD2E; }
.dot-green { background: #27C93F; }

.code-tabs {
  display: flex;
  align-items: center;
  gap: 4px;
  overflow-x: auto;
}

.code-tab-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.6);
  font-family: var(--font-mono);
  font-size: 12px;
  padding: 5px 12px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

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

.code-tab-btn.active {
  color: #FCD239;
  background: rgba(252, 210, 57, 0.12);
  font-weight: 700;
}

.code-copy-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.8);
  font-size: 11.5px;
  font-family: var(--font-mono);
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.code-copy-btn:hover {
  background: rgba(252, 210, 57, 0.2);
  color: #fff;
  border-color: #FCD239;
}

.code-pre-box {
  padding: 20px;
  margin: 0;
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 13px;
  line-height: 1.65;
  color: #D1D5DB;
  background: #030807;
  flex-grow: 1;
  max-height: 380px;
}

.code-info-pane {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.code-info-title {
  font-size: 22px;
  font-weight: 800;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.code-info-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 24px;
}

.code-benefit-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.code-benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.code-benefit-item svg {
  color: #FCD239;
  flex-shrink: 0;
  margin-top: 2px;
}

.code-benefit-text strong {
  display: block;
  font-size: 14px;
  color: #fff;
}

.code-benefit-text span {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
}

/* 5. EDITORIAL TEAM GALLERY & POLAROIDS (TeamGallery.tsx & InstaxImage.tsx inspired) */
.instax-gallery-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 32px;
  margin: 48px auto 60px;
  max-width: 1020px;
}

.instax-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 14px 14px 18px;
  box-shadow: 0 16px 35px -8px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(0, 0, 0, 0.05);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
  width: 290px;
  cursor: default;
}

.instax-card.tilt-left {
  transform: rotate(-3deg);
}

.instax-card.tilt-right {
  transform: rotate(3deg);
}

.instax-card.tilt-center {
  transform: rotate(-0.5deg);
}

.instax-card:hover {
  transform: translateY(-8px) rotate(0deg) scale(1.02);
  box-shadow: 0 24px 50px -10px rgba(0, 0, 0, 0.25), 0 0 0 1px rgba(252, 210, 57, 0.3);
  z-index: 5;
}

.instax-photo-frame {
  position: relative;
  width: 100%;
  height: 270px;
  border-radius: 8px;
  overflow: hidden;
  background: #E5E7EB;
}

.instax-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instax-caption {
  margin-top: 14px;
  text-align: center;
}

.instax-name {
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.instax-role {
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-deep);
  letter-spacing: 0.04em;
  margin-bottom: 6px;
}

.instax-quote {
  font-size: 12.5px;
  color: var(--text-secondary);
  font-style: italic;
  line-height: 1.4;
}

/* 6. CHANGELOG STYLES (changelog.html) */
.changelog-page-hero {
  text-align: center;
  padding: 150px 20px 50px;
  max-width: 820px;
  margin: 0 auto;
}

.changelog-timeline {
  position: relative;
  max-width: 780px;
  margin: 40px auto 100px;
  padding-left: 32px;
}

.changelog-timeline::before {
  content: '';
  position: absolute;
  top: 10px;
  left: 9px;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, #FCD239 0%, rgba(252, 210, 57, 0.1) 100%);
}

.changelog-entry-block {
  position: relative;
  margin-bottom: 56px;
}

.changelog-timeline-node {
  position: absolute;
  top: 6px;
  left: -32px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--bg-canvas);
  border: 3px solid var(--primary-color);
  box-shadow: 0 0 10px rgba(252, 210, 57, 0.4);
}

.changelog-entry-card {
  background: var(--bg-surface);
  border: 1.5px solid var(--border-subtle);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.changelog-entry-card:hover {
  border-color: var(--border-tiffany);
  box-shadow: var(--shadow-card);
}

.changelog-entry-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

.changelog-ver-badge {
  background: #072237;
  color: #5EEAD4;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
}

.changelog-date {
  font-size: 13px;
  color: var(--text-muted);
}

.changelog-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.changelog-body {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.changelog-tags-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
}

.changelog-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 999px;
  background: var(--bg-surface-warm);
  color: var(--text-secondary);
}

.changelog-tag.new {
  background: rgba(252, 210, 57, 0.12);
  color: var(--primary-deep);
  font-weight: 700;
}




/* === PREMIUM HERO OVERRIDES === */
/* ==========================================================================
   HEAVY CSS INVESTMENT - ULTRA-PREMIUM HERO OVERRIDES (Apple / Vercel Aesthetic)
   ========================================================================== */

/* 1. Cinematic Staggered Entry Animations */
@keyframes heroFadeUp {
  0% { opacity: 0; transform: translateY(40px); filter: blur(12px); }
  100% { opacity: 1; transform: translateY(0); filter: blur(0); }
}

.hero .hero-meta-badge { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards; opacity: 0; }
.hero .typography-headline { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.15s forwards; opacity: 0; }
.hero .typography-intro { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards; opacity: 0; }
.hero .hero-actions { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s forwards; opacity: 0; }
.hero .hero-trust-bar { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards; opacity: 0; }

/* 2. Elevated Typography with Crisp Shadows */
.hero .typography-headline {
  text-shadow: 0 16px 40px rgba(252, 210, 57, 0.15);
}
.hero .typography-intro {
  color: #334155;
  font-size: clamp(18px, 2.4vw, 22px);
  letter-spacing: -0.015em;
  max-width: 800px;
}
.hero .typography-intro strong {
  color: #0f172a;
  font-weight: 800;
  background: linear-gradient(90deg, #0f172a, #334155);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* 3. Ultra-Premium Buttons (Magnetic Glow & Glassmorphism) */
.hero .btn-primary {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #FCD239 0%, #E5BA1A 100%);
  color: #072237 !important;
  font-weight: 800;
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 12px 35px -5px rgba(252, 210, 57, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero .btn-primary::before {
  content: "";
  position: absolute;
  top: 0; left: -150%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.5), transparent);
  transform: skewX(-20deg);
  animation: shineSwipe 4s infinite cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes shineSwipe {
  0%, 75% { left: -150%; }
  100% { left: 200%; }
}
.hero .btn-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 24px 45px -8px rgba(252, 210, 57, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.6);
  background: linear-gradient(135deg, #FFE066 0%, #FCD239 100%);
}
.hero .btn-primary svg {
  stroke: #072237 !important;
}

.hero .btn-secondary {
  position: relative;
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(24px) saturate(150%);
  -webkit-backdrop-filter: blur(24px) saturate(150%);
  border: 1.5px solid rgba(252, 210, 57, 0.15);
  color: #072237;
  box-shadow: 0 8px 24px rgba(10, 27, 24, 0.05);
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.hero .btn-secondary:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: #FCD239;
  color: #FCD239;
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(252, 210, 57, 0.2);
}
.hero .btn-secondary svg {
  transition: transform 0.3s ease;
}
.hero .btn-secondary:hover svg {
  transform: translateX(4px);
}

/* 4. Frosted Glass Trust Badges (Next-Gen) */
.hero .hero-trust-bar {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.4));
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 100px;
  padding: 14px 40px;
  box-shadow: 0 12px 40px rgba(10, 27, 24, 0.06), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  position: relative;
  overflow: hidden;
}
.hero .hero-trust-bar::after {
  content: "";
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: radial-gradient(circle at center, rgba(252, 210, 57, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}
.hero .hero-trust-bar:hover::after {
  opacity: 1;
}
.hero .trust-item {
  color: #475569;
  transition: all 0.4s ease;
  z-index: 1;
  position: relative;
}
.hero .trust-item:hover {
  color: #FCD239;
  transform: translateY(-2px);
  text-shadow: 0 4px 12px rgba(252, 210, 57, 0.2);
}

/* 5. Volumetric Ambient Glow */
.ambient-glow-tiffany, .ambient-glow-gold {
  animation: glowBreathe 10s cubic-bezier(0.4, 0, 0.2, 1) infinite alternate;
  background: radial-gradient(circle, rgba(252, 210, 57, 0.22) 0%, rgba(243, 156, 18, 0.06) 40%, transparent 70%);
  filter: blur(95px);
}
@keyframes glowBreathe {
  0% { transform: translate(-50%, -15%) scale(0.9); opacity: 0.7; }
  100% { transform: translate(-50%, -15%) scale(1.25); opacity: 1; }
}

/* Mobile Refinements */
@media (max-width: 768px) {
  .hero .hero-trust-bar {
    border-radius: 16px;
    padding: 20px;
    flex-direction: column;
    align-items: stretch;
  }
  .hero .btn-primary, .hero .btn-secondary {
    width: 100%;
    justify-content: center;
  }
}

/* 6. Wave Action Pill & Scroll Telemetry CTA */
.wave-action-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 28px auto 0;
  padding: 10px 24px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid rgba(252, 210, 57, 0.35);
  border-radius: var(--radius-pill);
  color: var(--primary-deep);
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-decoration: none;
  text-transform: uppercase;
  box-shadow: 0 8px 24px -4px rgba(252, 210, 57, 0.2);
  transition: all 0.3s var(--ease-tropical);
  animation: waveFloat 3.5s ease-in-out infinite alternate;
  cursor: pointer;
}
.wave-action-pill:hover {
  background: var(--primary-color);
  color: #072237;
  border-color: var(--primary-deep);
  transform: translateY(-4px) scale(1.04);
  box-shadow: 0 14px 32px -4px rgba(252, 210, 57, 0.45);
}
@keyframes waveFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-7px); }
}

/* 7. Scroll Reveal State & Transitions */
.reveal {
  opacity: 1;
  transition: opacity 0.7s var(--ease-tropical), transform 0.7s var(--ease-tropical);
  will-change: opacity, transform;
}

/* 8. Global Focus-Visible Accessibility */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 3px;
  border-radius: var(--radius-xs);
}
