/* ==========================================================================
   RAW Messenger - Modern Landing Page Stylesheet
   Design System: Azul RAW Oficial, 100% Fluido e Ultra Responsivo
   ========================================================================== */

:root {
  /* Cores Base - Modo Claro */
  --bg-primary: #FFFFFF;
  --bg-secondary: #F8FAFC;
  --bg-tertiary: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --border-color: rgba(226, 232, 240, 0.9);
  --border-focus: #0088CC;

  /* Textos */
  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #8E9BAE;
  --text-inverse: #FFFFFF;

  /* Paleta Oficial RAW - Tons de Azul */
  --raw-primary: #0088CC;
  --raw-blue: #3390EC;
  --raw-blue-hover: #0077B5;
  --raw-blue-dark: #005F8D;
  --raw-blue-light: #E5EDFD;
  --raw-blue-soft: #E1F0FA;
  --raw-cyan: #0EA5E9;
  --raw-gradient-primary: linear-gradient(135deg, #0088CC 0%, #3390EC 50%, #0EA5E9 100%);
  --raw-gradient-hero: linear-gradient(135deg, #0088CC 0%, #2563EB 50%, #38BDF8 100%);
  --raw-glow: rgba(0, 136, 204, 0.25);

  /* Elementos de Chat RAW (Fiel ao App) */
  --chat-bg: #FFFFFF;
  --chat-bubble-out: #E5EDFD;
  --chat-bubble-in: #F1F5F9;
  --chat-text-out: #0F172A;
  --chat-text-in: #0F172A;
  --chat-date-badge: #E1F0FA;
  --chat-date-text: #0088CC;
  --chat-ticks: #0088CC;
  --chat-input-bg: #F4F5F7;

  /* Sombras */
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.15);

  /* Transições e Bordas */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
  --transition-fast: 0.15s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-bounce: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Modo Escuro */
[data-theme="dark"] {
  --bg-primary: #0F172A;
  --bg-secondary: #1E293B;
  --bg-tertiary: #334155;
  --bg-card: #1E293B;
  --bg-card-hover: #243447;
  --bg-glass: rgba(15, 23, 42, 0.92);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-focus: #38BDF8;

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  --chat-bg: #151E2E;
  --chat-bubble-out: #1E3A8A;
  --chat-bubble-in: #223046;
  --chat-text-out: #F8FAFC;
  --chat-text-in: #F8FAFC;
  --chat-date-badge: #1E293B;
  --chat-date-text: #38BDF8;
  --chat-ticks: #38BDF8;
  --chat-input-bg: #1E293B;

  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 8px 24px -4px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 16px 36px -6px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.75);
}

/* Reset Global e Contenção Rígida de Overflow */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  position: relative;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Background Ambient Glows */
.ambient-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  z-index: 0;
  pointer-events: none;
  opacity: 0.5;
}

.ambient-glow-1 {
  top: -100px;
  right: -50px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 136, 204, 0.25) 0%, transparent 70%);
}

.ambient-glow-2 {
  top: 30%;
  left: -100px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.2) 0%, transparent 70%);
}

.ambient-glow-3 {
  bottom: 10%;
  right: -80px;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 136, 204, 0.2) 0%, transparent 70%);
}

/* ==========================================================================
   Header & Navbar
   ========================================================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: all var(--transition-normal);
  width: 100%;
}

.header.scrolled {
  box-shadow: var(--shadow-sm);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 72px;
  position: relative;
  width: 100%;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.4rem;
  letter-spacing: -0.5px;
  color: var(--text-primary);
  flex-shrink: 0;
  user-select: none;
}

.brand-logo-img {
  width: 38px;
  height: 38px;
  object-fit: contain;
  transition: transform var(--transition-bounce);
  flex-shrink: 0;
}

.nav-brand:hover .brand-logo-img {
  transform: scale(1.08) rotate(-4deg);
}

.brand-text {
  background: linear-gradient(135deg, var(--raw-primary) 0%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  white-space: nowrap;
}

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

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background: var(--raw-primary);
  border-radius: 2px;
  transition: width var(--transition-normal);
}

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

.nav-link:hover::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Botões */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  white-space: nowrap;
  box-sizing: border-box;
}

.btn-primary {
  background: var(--raw-primary);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0, 136, 204, 0.35);
}

.btn-primary:hover {
  background: var(--raw-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 136, 204, 0.45);
}

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

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

.btn-web {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .btn-web {
  background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 1rem;
}

.btn-icon {
  width: 40px;
  height: 40px;
  padding: 0;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.btn-icon:hover {
  background: var(--border-color);
  transform: scale(1.05);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 1.5rem;
  padding: 4px;
  cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 130px 0 80px;
  overflow: hidden;
  width: 100%;
}

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

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

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 136, 204, 0.1);
  border: 1px solid rgba(0, 136, 204, 0.25);
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--raw-primary);
  margin-bottom: 20px;
}

.hero-badge-pill .pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--raw-primary);
  flex-shrink: 0;
}

.hero-title {
  font-size: 3.2rem;
  line-height: 1.15;
  font-weight: 800;
  letter-spacing: -1.2px;
  margin-bottom: 20px;
  color: var(--text-primary);
  word-break: break-word;
}

.hero-title .gradient-text {
  background: linear-gradient(135deg, var(--raw-primary) 0%, #2563EB 50%, #0284C7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 560px;
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 32px;
}

.hero-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.hero-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.hero-meta-item svg {
  color: var(--raw-primary);
  flex-shrink: 0;
}

/* ==========================================================================
   Interactive Phone Mockup (Hero)
   ========================================================================== */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
  width: 100%;
}

.mockup-container {
  position: relative;
  width: 100%;
  max-width: 330px;
  height: 640px;
  background: #0B111E;
  border-radius: 42px;
  padding: 10px;
  box-shadow: var(--shadow-xl);
  border: 4px solid #1E293B;
  box-sizing: border-box;
}

.phone-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 4px 16px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #0F172A;
  background: var(--bg-primary);
  border-top-left-radius: 32px;
  border-top-right-radius: 32px;
}

[data-theme="dark"] .phone-status-bar {
  color: #F8FAFC;
  background: #111827;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: var(--chat-bg);
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
}

.mockup-chat-header {
  background: var(--bg-primary);
  color: var(--text-primary);
  padding: 10px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
  z-index: 10;
}

[data-theme="dark"] .mockup-chat-header {
  background: #1E293B;
  border-bottom-color: rgba(255, 255, 255, 0.08);
}

.mockup-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--raw-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.mockup-user-details h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.2;
}

.mockup-user-status {
  font-size: 0.72rem;
  color: var(--text-muted);
  display: block;
}

.chat-date-pill {
  align-self: center;
  background: var(--chat-date-badge);
  color: var(--chat-date-text);
  padding: 4px 14px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 600;
  margin: 8px 0;
}

.mockup-chat-body {
  flex: 1;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow-y: auto;
  position: relative;
  background: var(--chat-bg);
}

.chat-bubble {
  max-width: 82%;
  padding: 8px 12px 6px 12px;
  border-radius: 18px;
  font-size: 0.88rem;
  line-height: 1.35;
  position: relative;
  word-break: break-word;
}

.chat-bubble.incoming {
  align-self: flex-start;
  background: var(--chat-bubble-in);
  color: var(--chat-text-in);
  border-bottom-left-radius: 4px;
}

.chat-bubble.outgoing {
  align-self: flex-end;
  background: var(--chat-bubble-out);
  color: var(--chat-text-out);
  border-bottom-right-radius: 4px;
}

.bubble-meta {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 4px;
  font-size: 0.65rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.bubble-meta .double-check {
  color: var(--chat-ticks);
  font-weight: bold;
}

.audio-bubble {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 2px;
}

.audio-play-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--raw-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.audio-waveform {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 18px;
  flex: 1;
}

.audio-bar {
  width: 3px;
  background: var(--raw-primary);
  border-radius: 2px;
  animation: waveBar 1.2s ease-in-out infinite alternate;
}

.audio-bar:nth-child(1) { height: 6px; }
.audio-bar:nth-child(2) { height: 14px; }
.audio-bar:nth-child(3) { height: 10px; }
.audio-bar:nth-child(4) { height: 18px; }
.audio-bar:nth-child(5) { height: 12px; }
.audio-bar:nth-child(6) { height: 16px; }
.audio-bar:nth-child(7) { height: 8px; }
.audio-bar:nth-child(8) { height: 13px; }

@keyframes waveBar {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1); }
}

.audio-time {
  font-size: 0.7rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.audio-speed-badge {
  background: var(--raw-primary);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}

.mockup-chat-input {
  padding: 8px 10px;
  background: var(--chat-bg);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mockup-input-container {
  flex: 1;
  background: var(--chat-input-bg);
  border-radius: 20px;
  padding: 6px 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.input-plus-btn {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
}

.mockup-input-box {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-size: 0.82rem;
  color: var(--text-primary);
  font-family: inherit;
  min-width: 0;
}

.input-actions-icons {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-secondary);
  flex-shrink: 0;
}

.mockup-mic-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--raw-primary);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  cursor: pointer;
}

.floating-badge {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  padding: 10px 14px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 20;
}

.floating-badge-1 { top: 15%; left: -40px; }
.floating-badge-2 { bottom: 20%; right: -30px; }

.badge-icon-box {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 1rem;
  flex-shrink: 0;
}

.badge-icon-blue { background: linear-gradient(135deg, #0088CC, #2563EB); }
.badge-icon-cyan { background: linear-gradient(135deg, #0284C7, #0EA5E9); }

.badge-text-box h5 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-primary);
}

.badge-text-box p {
  font-size: 0.7rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Highlights / Bento Grid
   ========================================================================== */
.section {
  padding: 80px 0;
  position: relative;
  width: 100%;
  overflow: hidden;
}

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: var(--raw-primary);
  margin-bottom: 10px;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
}

.section-title {
  font-size: 2.3rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
  color: var(--text-primary);
  word-break: break-word;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.features-bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
  width: 100%;
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
}

.bento-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 136, 204, 0.4);
  box-shadow: var(--shadow-lg);
}

.bento-col-8 { grid-column: span 8; }
.bento-col-4 { grid-column: span 4; }

.bento-icon-wrapper {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.icon-blue { background: rgba(0, 136, 204, 0.12); color: var(--raw-primary); }
.icon-cyan { background: rgba(14, 165, 233, 0.12); color: #0EA5E9; }
.icon-indigo { background: rgba(99, 102, 241, 0.12); color: #6366F1; }
.icon-amber { background: rgba(245, 158, 11, 0.12); color: #F59E0B; }

.bento-title {
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.bento-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
}

.sync-preview-box {
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid var(--border-color);
  gap: 10px;
}

.sync-status-indicator {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  font-weight: 600;
}

.sync-badge {
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(0, 136, 204, 0.15);
  color: var(--raw-primary);
  white-space: nowrap;
}

/* ==========================================================================
   Showcase / Interactive Feature Tabs
   ========================================================================== */
.showcase-wrapper {
  background: var(--bg-secondary);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  padding: 36px;
  margin-top: 32px;
  box-sizing: border-box;
}

.showcase-tabs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.showcase-tab-btn {
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: all var(--transition-fast);
}

.showcase-tab-btn.active, .showcase-tab-btn:hover {
  background: var(--raw-primary);
  color: #FFFFFF;
  border-color: var(--raw-primary);
}

.showcase-tab-content {
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  align-items: center;
}

.showcase-tab-content.active {
  display: grid;
}

.showcase-info h3 {
  font-size: 1.8rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: var(--text-primary);
}

.showcase-info p {
  font-size: 1rem;
  color: var(--text-secondary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.showcase-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.showcase-feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-primary);
}

.feature-check-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 136, 204, 0.15);
  color: var(--raw-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.72rem;
  flex-shrink: 0;
}

.showcase-screen-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 20px;
  box-shadow: var(--shadow-md);
  box-sizing: border-box;
}

/* ==========================================================================
   Multiplataforma / RAW Web
   ========================================================================== */
.multiplatform-section {
  background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  padding: 90px 0;
  width: 100%;
  overflow: hidden;
}

.web-preview-container {
  background: var(--bg-card);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  margin-top: 36px;
  box-sizing: border-box;
}

.browser-mockup-header {
  background: var(--bg-tertiary);
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-bottom: 1px solid var(--border-color);
}

.browser-dots {
  display: flex;
  gap: 6px;
  flex-shrink: 0;
}

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

.dot-red { background: #EF4444; }
.dot-yellow { background: #F59E0B; }
.dot-green { background: #10B981; }

.browser-address-bar {
  flex: 1;
  max-width: 420px;
  background: var(--bg-primary);
  border-radius: 20px;
  padding: 4px 14px;
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border-color);
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.web-interface-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  min-height: 420px;
}

.web-sidebar {
  background: var(--bg-card);
  border-right: 1px solid var(--border-color);
  display: flex;
  flex-direction: column;
}

.web-sidebar-header {
  padding: 14px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.web-chat-list {
  display: flex;
  flex-direction: column;
}

.web-chat-item {
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  border-bottom: 1px solid var(--border-color);
}

.web-chat-item.active {
  background: var(--bg-tertiary);
}

.web-chat-content {
  background: var(--chat-bg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
}

/* ==========================================================================
   Stats / Metrics Section
   ========================================================================== */
.stats-section {
  padding: 50px 0;
  background: linear-gradient(135deg, #005F8D 0%, #0088CC 100%);
  color: #FFFFFF;
}

[data-theme="dark"] .stats-section {
  background: #0F172A;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-item h3 {
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: -0.8px;
  margin-bottom: 4px;
  color: #38BDF8;
}

.stat-item p {
  font-size: 0.9rem;
  font-weight: 600;
  color: #E2E8F0;
  opacity: 0.9;
}

/* ==========================================================================
   Download Section (CTA Box)
   ========================================================================== */
.download-section {
  padding: 80px 0;
  width: 100%;
}

.download-box {
  background: linear-gradient(135deg, #005F8D 0%, #0088CC 50%, #0284C7 100%);
  border-radius: var(--radius-xl);
  padding: 48px 36px;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  box-sizing: border-box;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 36px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.download-content h2 {
  font-size: 2.3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 16px;
}

.download-content p {
  font-size: 1.05rem;
  opacity: 0.92;
  margin-bottom: 28px;
  line-height: 1.6;
}

.download-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-white {
  background: #FFFFFF;
  color: #0088CC;
  font-weight: 700;
}

.btn-white:hover {
  background: #F8FAFC;
  transform: translateY(-2px);
  color: #0077B5;
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.qr-card {
  background: #FFFFFF;
  color: #0F172A;
  border-radius: var(--radius-lg);
  padding: 20px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  max-width: 260px;
  margin: 0 auto;
}

.qr-box {
  width: 150px;
  height: 150px;
  margin: 0 auto 12px;
  background: #F8FAFC;
  border-radius: 10px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px dashed #CBD5E1;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
  padding: 80px 0;
  background: var(--bg-secondary);
}

.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-item.active {
  border-color: var(--raw-primary);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  padding: 18px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: none;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  gap: 12px;
}

.faq-icon {
  font-size: 1.1rem;
  color: var(--text-muted);
  transition: transform var(--transition-normal);
  flex-shrink: 0;
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  padding: 0 20px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.faq-item.active .faq-answer {
  max-height: 250px;
  padding: 0 20px 18px 20px;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  background: var(--bg-primary);
  border-top: 1px solid var(--border-color);
  padding: 60px 0 24px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}

.footer-brand h3 {
  font-size: 1.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.footer-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  max-width: 320px;
  line-height: 1.55;
  margin-bottom: 20px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.social-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
}

.social-btn:hover {
  background: var(--raw-primary);
  color: #FFFFFF;
}

.footer-col h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

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

.footer-link {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

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

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 14px;
}

.footer-partner-logo {
  height: 20px !important;
  max-height: 20px !important;
  width: auto !important;
  max-width: 100px !important;
  object-fit: contain !important;
  display: inline-block !important;
  opacity: 0.85;
}

/* ==========================================================================
   Modal Download Dialog
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 480px;
  padding: 30px 24px;
  box-shadow: var(--shadow-xl);
  position: relative;
  box-sizing: border-box;
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

/* ==========================================================================
   RESPONSIVIDADE COMPLETA - ZERO CORTE EM QUALQUER CELULAR
   ========================================================================== */
/* ==========================================================================
   RESPONSIVIDADE COMPLETA - ZERO CORTE EM QUALQUER CELULAR
   ========================================================================== */
@media (max-width: 1080px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
    box-shadow: var(--shadow-xl);
    flex-direction: column;
    padding: 20px 16px;
    gap: 16px;
    z-index: 1000;
  }
  .nav-links.open {
    display: flex;
    animation: fadeIn 0.25s ease;
  }
  .nav-actions .btn-web {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 900px) {
  /* Eliminar brilhos de fundo que causam overflow no mobile */
  .ambient-glow {
    display: none !important;
  }

  .container {
    padding: 0 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Header compacto */
  .header {
    height: 60px;
  }
  .navbar {
    height: 60px;
    gap: 8px;
  }
  .nav-brand {
    font-size: 1.25rem;
    gap: 8px;
  }
  .brand-logo-img {
    width: 32px;
    height: 32px;
  }
  .nav-actions {
    gap: 8px;
  }
  /* Oculta botão longo de download do header para não estourar a tela */
  .nav-actions .btn-primary {
    display: none !important;
  }
  .btn-icon {
    width: 38px;
    height: 38px;
  }
  .mobile-toggle {
    padding: 6px;
  }
  .nav-links {
    top: 60px;
    padding: 18px 16px;
  }

  /* Hero Section */
  .hero {
    padding: 85px 0 40px;
  }
  .hero-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 32px;
    width: 100%;
  }
  .hero-content {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .hero-badge-pill {
    font-size: 0.74rem;
    padding: 5px 12px;
    margin-bottom: 14px;
    max-width: 100%;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
  }
  .hero-title {
    font-size: 1.85rem;
    line-height: 1.2;
    letter-spacing: -0.4px;
    margin-bottom: 14px;
    word-break: break-word;
    width: 100%;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0 auto 24px auto;
    width: 100%;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    margin-bottom: 24px;
  }
  .hero-actions .btn {
    width: 100%;
    padding: 12px 18px;
    font-size: 0.92rem;
  }
  .hero-meta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding-top: 16px;
    width: 100%;
  }

  /* Smartphone Mockup */
  .hero-visual {
    width: 100%;
    max-width: 100%;
    display: flex;
    justify-content: center;
  }
  .mockup-container {
    width: 100%;
    max-width: 290px;
    height: 520px;
    border-radius: 36px;
    padding: 8px;
    box-shadow: var(--shadow-lg);
    margin: 0 auto;
  }
  .phone-screen {
    border-radius: 28px;
  }
  .phone-status-bar {
    border-top-left-radius: 28px;
    border-top-right-radius: 28px;
    padding: 4px 12px;
    font-size: 0.65rem;
  }
  .mockup-chat-header {
    padding: 8px 10px;
    gap: 8px;
  }
  .mockup-avatar-circle {
    width: 32px;
    height: 32px;
    font-size: 0.85rem;
  }
  .mockup-user-details h4 {
    font-size: 0.88rem;
  }
  .mockup-user-status {
    font-size: 0.68rem;
  }
  .mockup-chat-body {
    padding: 8px;
    gap: 6px;
  }
  .chat-bubble {
    max-width: 88%;
    font-size: 0.82rem;
    padding: 7px 10px;
    border-radius: 16px;
  }
  .mockup-chat-input {
    padding: 6px 8px;
    gap: 6px;
  }
  .mockup-input-container {
    padding: 4px 8px;
    gap: 4px;
  }
  .mockup-input-box {
    font-size: 0.78rem;
  }
  .input-actions-icons svg {
    width: 15px;
    height: 15px;
  }
  .mockup-mic-btn {
    width: 36px;
    height: 36px;
  }
  .floating-badge {
    display: none !important;
  }

  /* Seções e Bento Grid */
  .section {
    padding: 50px 0;
  }
  .section-header {
    margin-bottom: 28px;
  }
  .section-title {
    font-size: 1.65rem;
    line-height: 1.25;
  }
  .section-desc {
    font-size: 0.9rem;
  }
  .features-bento {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }
  .bento-card {
    padding: 20px 16px;
    border-radius: 18px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }
  .bento-icon-wrapper {
    width: 46px;
    height: 46px;
    border-radius: 12px;
    font-size: 1.25rem;
    margin-bottom: 14px;
  }
  .bento-title {
    font-size: 1.15rem;
  }
  .bento-text {
    font-size: 0.88rem;
    line-height: 1.5;
  }
  .sync-preview-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    padding: 10px 12px;
  }
  .sync-status-indicator {
    font-size: 0.78rem;
    gap: 8px;
  }

  /* Showcase */
  .showcase-wrapper {
    padding: 18px 14px;
    border-radius: 18px;
    margin-top: 20px;
    width: 100%;
  }
  .showcase-tabs {
    gap: 6px;
    margin-bottom: 20px;
  }
  .showcase-tab-btn {
    padding: 8px 12px;
    font-size: 0.8rem;
    flex: 1 1 calc(50% - 6px);
    justify-content: center;
    gap: 6px;
  }
  .showcase-tab-content {
    display: none;
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .showcase-tab-content.active {
    display: flex;
    flex-direction: column;
  }
  .showcase-info h3 {
    font-size: 1.35rem;
  }
  .showcase-info p {
    font-size: 0.9rem;
    margin-bottom: 16px;
  }
  .showcase-feature-item {
    font-size: 0.85rem;
  }
  .showcase-screen-card {
    padding: 12px;
    width: 100%;
  }

  /* Web Preview */
  .multiplatform-section {
    padding: 50px 0;
  }
  .web-preview-container {
    border-radius: 16px;
    margin-top: 20px;
    width: 100%;
  }
  .browser-mockup-header {
    padding: 10px 12px;
    gap: 8px;
  }
  .browser-address-bar {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
  .web-interface-grid {
    display: flex;
    flex-direction: column;
    min-height: auto;
    width: 100%;
  }
  .web-sidebar {
    display: none;
  }
  .web-chat-content {
    padding: 14px;
    width: 100%;
  }

  /* Stats */
  .stats-section {
    padding: 40px 0;
  }
  .stats-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
  }
  .stat-item h3 {
    font-size: 2.1rem;
  }
  .stat-item p {
    font-size: 0.88rem;
  }

  /* Download Box */
  .download-section {
    padding: 50px 0;
  }
  .download-box {
    padding: 28px 16px;
    border-radius: 20px;
    width: 100%;
  }
  .download-grid {
    display: flex;
    flex-direction: column;
    text-align: center;
    gap: 20px;
    width: 100%;
  }
  .download-content h2 {
    font-size: 1.65rem;
    line-height: 1.2;
    margin-bottom: 14px;
  }
  .download-content p {
    font-size: 0.92rem;
    margin-bottom: 20px;
  }
  .download-buttons {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .download-buttons .btn {
    width: 100%;
    padding: 12px 16px;
    font-size: 0.92rem;
  }
  .qr-card {
    display: none !important;
  }

  /* FAQ */
  .faq-section {
    padding: 50px 0;
  }
  .faq-question {
    padding: 14px 16px;
    font-size: 0.92rem;
  }
  .faq-answer {
    font-size: 0.86rem;
    padding: 0 16px;
  }
  .faq-item.active .faq-answer {
    padding: 0 16px 16px 16px;
  }

  /* Footer */
  .footer {
    padding: 45px 0 20px;
  }
  .footer-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 30px;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 12px;
  }
}
