/* ==========================================================================
   FamilyReply - Modern Design System & Stylesheet
   Inspired by Life360 layout elegance: Warm, human, safe & privacy-first.
   ========================================================================== */

:root {
  /* Brand Colors - Official FamilyReply Purple */
  --primary: #732CEA;
  --primary-hover: #5E1ED4;
  --primary-light: #F3EBFF;
  --primary-glow: rgba(115, 44, 234, 0.28);
  --primary-gradient: linear-gradient(135deg, #8238F5 0%, #631FE0 100%);
  --secondary: #1F1938;
  
  /* Accents */
  --accent-emergency: #EF4444;
  --accent-emergency-glow: rgba(239, 68, 68, 0.25);
  --accent-green: #10B981;
  --accent-amber: #F59E0B;
  
  /* Neutral & Layout Colors */
  --bg-page: #FAF8F5;          /* Life360 signature warm off-white */
  --bg-card: #FFFFFF;
  --bg-subtle: #F3EFEA;
  --bg-dark: #121019;
  
  --text-main: #181523;
  --text-muted: #5F5B6D;
  --text-light: #8E8A9D;
  --text-white: #FFFFFF;
  
  --border-subtle: #E8E3DA;
  --border-light: #EFEBE4;
  --border-focus: #732CEA;
  
  /* Shadows */
  --shadow-sm: 0 2px 8px rgba(24, 21, 35, 0.04);
  --shadow-md: 0 8px 24px rgba(24, 21, 35, 0.07);
  --shadow-lg: 0 16px 40px rgba(24, 21, 35, 0.10);
  --shadow-xl: 0 24px 60px rgba(24, 21, 35, 0.14);
  --shadow-purple: 0 12px 30px rgba(108, 71, 255, 0.32);
  
  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  /* Transitions */
  --transition-fast: 0.18s ease;
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  
  /* Layout */
  --container-max: 1240px;
  --header-height: 80px;
  --border-radius-sm: 12px;
  --border-radius-md: 20px;
  --border-radius-lg: 32px;
  --border-radius-pill: 9999px;
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul, ol {
  list-style: none;
}

/* Container */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */

/* Top notification banner */
.top-banner {
  background-color: var(--secondary);
  color: #EDE8FF;
  font-size: 0.875rem;
  padding: 10px 16px;
  text-align: center;
  position: relative;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.top-banner strong {
  color: #FFFFFF;
}

.top-banner .badge-pill {
  background: var(--primary);
  color: white;
  padding: 2px 10px;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.top-banner a {
  color: #FFFFFF;
  text-decoration: underline;
  font-weight: 600;
  margin-left: 6px;
}

.banner-close-btn {
  position: absolute;
  right: 16px;
  color: #A39DB5;
  font-size: 1.2rem;
  line-height: 1;
  padding: 4px;
  transition: color var(--transition-fast);
}
.banner-close-btn:hover {
  color: #FFFFFF;
}

/* Main Site Header */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 90;
  background-color: rgba(250, 248, 245, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(232, 227, 218, 0.7);
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background-color: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-sm);
  border-bottom-color: var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  gap: 24px;
}

/* Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.brand-logo img {
  height: 42px;
  width: auto;
}

/* Nav Links */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--text-main);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

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

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

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

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Language Switcher */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-pill);
  padding: 4px 6px;
  font-size: 0.8rem;
  font-weight: 600;
}

.lang-btn {
  padding: 4px 8px;
  border-radius: var(--border-radius-pill);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 4px;
}

.lang-btn.active {
  background: var(--primary-light);
  color: var(--primary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border-radius: var(--border-radius-pill);
  font-size: 0.98rem;
  font-weight: 600;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-base);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--primary-hover);
  box-shadow: 0 8px 24px rgba(108, 71, 255, 0.45);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-secondary {
  background: #FFFFFF;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  box-shadow: var(--shadow-sm);
}

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

.btn-white {
  background: #FFFFFF;
  color: var(--primary);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.btn-white:hover {
  background: #F8F5FF;
  transform: translateY(-2px);
  color: var(--primary-hover);
}

.btn-emergency {
  background: var(--accent-emergency);
  color: #FFFFFF;
  box-shadow: 0 6px 20px rgba(239, 68, 68, 0.35);
}

.btn-emergency:hover {
  background: #DC2626;
  box-shadow: 0 8px 25px rgba(239, 68, 68, 0.45);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.88rem;
}

.btn-lg {
  padding: 16px 34px;
  font-size: 1.08rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: all var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0;
  width: 100%;
  height: calc(100vh - var(--header-height));
  background: #FFFFFF;
  z-index: 85;
  padding: 32px 24px;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(100%);
  transition: transform var(--transition-base);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.mobile-nav-link {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 8px 0;
  border-bottom: 1px solid var(--border-light);
}

.mobile-drawer-footer {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}

/* ==========================================================================
   Hero Section (Life360 Style)
   ========================================================================== */

.hero-section {
  padding: 60px 0 90px;
  background: radial-gradient(circle at 80% 20%, rgba(230, 222, 255, 0.45) 0%, rgba(250, 248, 245, 0) 60%),
              radial-gradient(circle at 10% 70%, rgba(255, 238, 222, 0.35) 0%, rgba(250, 248, 245, 0) 50%),
              var(--bg-page);
  position: relative;
  overflow: hidden;
}

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

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

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #FFFFFF;
  border: 1px solid #E5DFD5;
  color: var(--primary);
  padding: 8px 18px;
  border-radius: var(--border-radius-pill);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.3px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  max-width: 100%;
}

.hero-tag .tag-dot {
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulse-dot 2s infinite;
}

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

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 700;
  line-height: 1.08;
  color: var(--text-main);
  letter-spacing: -1.2px;
  margin-bottom: 22px;
}

.hero-title span.highlight {
  color: var(--primary);
  position: relative;
  display: inline-block;
}

/* Keeps a word and the period after it together: the period never ends up alone on a line */
.hero-title .nowrap { white-space: nowrap; }

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 34px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 36px;
}

/* App Store Buttons */
.store-badges {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #111111;
  color: #FFFFFF;
  padding: 10px 20px;
  border: 0;
  border-radius: 14px;
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.store-badge:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.store-badge:hover {
  background: #252525;
  transform: translateY(-2px);
  color: #FFFFFF;
}

.store-badge svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.store-badge-text {
  text-align: left;
  line-height: 1.15;
}

.store-badge-text .small,
.store-badge-text .big {
  display: block;
}

.store-badge-text .small {
  font-size: 0.68rem;
  letter-spacing: 0.2px;
  opacity: 0.8;
  text-transform: uppercase;
}

.store-badge-text .big {
  font-size: 0.98rem;
  font-weight: 700;
}




/* Hero Visual / Mockup */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Realistic Phone Frame */
.phone-mockup {
  position: relative;
  width: 310px;
  height: 640px;
  background: #000000;
  border-radius: 48px;
  padding: 10px;
  box-shadow: 
    0 0 0 2px #444054,
    0 0 0 6px #1E1B28,
    0 30px 80px rgba(24, 20, 38, 0.32),
    0 12px 30px rgba(108, 71, 255, 0.18);
  transition: transform var(--transition-base);
}

.phone-mockup:hover {
  transform: translateY(-4px) scale(1.01);
}

/* Dynamic Island */
.phone-mockup::before {
  content: '';
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 26px;
  background: #000000;
  border-radius: 20px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background: #FFFFFF;
}

.phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.4s ease;
}

/* Floating Badges around phone */
.floating-badge {
  position: absolute;
  background: #FFFFFF;
  padding: 12px 18px;
  border-radius: 18px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(232, 227, 218, 0.8);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 15;
  animation: float-badge 4s ease-in-out infinite alternate;
}

.floating-badge.badge-sos {
  top: 15%;
  left: -40px;
  border-left: 4px solid var(--accent-emergency);
}

.floating-badge.badge-care {
  bottom: 18%;
  right: -35px;
  animation-delay: -2s;
  border-left: 4px solid var(--primary);
}

.floating-badge.badge-privacy {
  top: 65%;
  left: -30px;
  animation-delay: -1s;
  border-left: 4px solid var(--accent-green);
}

@keyframes float-badge {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

.badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}

.badge-icon.bg-red { background: #FEE2E2; }
.badge-icon.bg-purple { background: var(--primary-light); }
.badge-icon.bg-green { background: #D1FAE5; }

.badge-content {
  text-align: left;
}

.badge-title {
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-main);
  line-height: 1.2;
}

.badge-subtitle {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Trust & Metrics Strip
   ========================================================================== */

.metrics-strip {
  padding: 32px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

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

.metric-card {
  padding: 20px;
  border-radius: var(--border-radius-md);
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  transition: transform var(--transition-fast);
}

.metric-card:hover {
  transform: translateY(-3px);
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.metric-value {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.1;
  margin-bottom: 6px;
}

.metric-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-main);
  margin-bottom: 4px;
}

.metric-desc {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   3 Steps Section (Life360 Signature: Etapa 1, 2, 3)
   ========================================================================== */

.steps-section {
  padding: 100px 0;
  background-color: var(--bg-page);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--primary);
  margin-bottom: 12px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.85rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--text-main);
  letter-spacing: -0.8px;
  margin-bottom: 16px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Step Card */
.step-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-subtle);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 48px;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.step-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.step-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.step-grid.reverse {
  direction: rtl;
}

.step-grid.reverse > * {
  direction: ltr;
}

.step-content {
  padding: 60px 54px;
}

.step-badge {
  display: inline-block;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  background: var(--primary-light);
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.step-heading {
  font-family: var(--font-serif);
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 18px;
}

.step-text {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 24px;
}

.step-feature-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.step-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
  font-weight: 500;
}

.step-feature-item svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.step-media {
  background: linear-gradient(135deg, #F9F7F4 0%, #EFEBE4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px;
  min-height: 440px;
  position: relative;
  overflow: hidden;
}

.step-media-frame {
  max-width: 270px;
  border-radius: 36px;
  background: #000;
  padding: 8px;
  box-shadow: 0 20px 45px rgba(24, 21, 35, 0.22);
  transition: transform var(--transition-base);
}

.step-card:hover .step-media-frame {
  transform: scale(1.03) rotate(-1deg);
}

.step-media-frame img {
  border-radius: 30px;
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   SOS Interactive Feature Highlight (Emergência 5s)
   ========================================================================== */

.sos-highlight-section {
  padding: 100px 0;
  background: linear-gradient(180deg, #181426 0%, #221A38 100%);
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.sos-highlight-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(108, 71, 255, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

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

.sos-content .section-tag {
  color: #C2ABFF;
}

.sos-content .section-title {
  color: #FFFFFF;
}

.sos-content .section-subtitle {
  color: #B5AFC4;
  margin-bottom: 32px;
}

.sos-points {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 36px;
}

.sos-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.sos-point-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(108, 71, 255, 0.25);
  border: 1px solid rgba(108, 71, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #C2ABFF;
  flex-shrink: 0;
}

.sos-point-text h4 {
  font-size: 1.1rem;
  color: #FFFFFF;
  font-weight: 700;
  margin-bottom: 4px;
}

.sos-point-text p {
  font-size: 0.92rem;
  color: #A39DB3;
  line-height: 1.5;
}

/* Interactive SOS Simulator Box */
.sos-simulator-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--border-radius-lg);
  padding: 44px 36px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35);
}

.sos-sim-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.sos-sim-hint {
  font-size: 0.88rem;
  color: #A39DB3;
  margin-bottom: 32px;
}

/* Circular SOS Interactive Button */
.sos-button-wrapper {
  position: relative;
  width: 170px;
  height: 170px;
  margin: 0 auto 28px;
}

.sos-progress-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
  pointer-events: none;
}

.sos-progress-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.1);
  stroke-width: 8;
}

.sos-progress-bar {
  fill: none;
  stroke: var(--accent-emergency);
  stroke-width: 8;
  stroke-dasharray: 471;
  stroke-dashoffset: 471;
  stroke-linecap: round;
  transition: stroke-dashoffset 0.1s linear;
}

.sos-big-btn {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 142px;
  height: 142px;
  border-radius: 50%;
  background: var(--primary-gradient);
  border: 3px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  color: #FFFFFF;
  box-shadow: 0 10px 30px rgba(108, 71, 255, 0.5), inset 0 2px 4px rgba(255, 255, 255, 0.3);
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.sos-big-btn:hover {
  transform: scale(1.03);
  box-shadow: 0 14px 40px rgba(108, 71, 255, 0.65);
}

.sos-big-btn:active, .sos-big-btn.holding {
  transform: scale(0.96);
  background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%);
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.7);
}

.sos-big-btn svg {
  width: 38px;
  height: 38px;
}

.sos-btn-label {
  font-weight: 800;
  font-size: 1.15rem;
  letter-spacing: 1px;
}

.sos-btn-sublabel {
  font-size: 0.72rem;
  opacity: 0.85;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.sos-feedback-message {
  font-size: 0.92rem;
  font-weight: 600;
  color: #D2C7FF;
  min-height: 24px;
}

/* ==========================================================================
   Interactive App Simulator / Tabs Showcase
   ========================================================================== */

.interactive-demo-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.demo-tabs-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.demo-tab-btn {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 24px;
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.demo-tab-btn:hover {
  background: #FFFFFF;
  color: var(--primary);
  border-color: var(--primary-light);
}

.demo-tab-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
  box-shadow: var(--shadow-purple);
}

.demo-tab-btn svg {
  width: 18px;
  height: 18px;
}

.demo-display-card {
  background: var(--bg-page);
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 56px 48px;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 48px;
  box-shadow: var(--shadow-md);
}

.demo-phone-container {
  display: flex;
  justify-content: center;
}

.demo-phone {
  width: 290px;
  height: 600px;
  background: #000;
  border-radius: 44px;
  padding: 9px;
  box-shadow: var(--shadow-xl);
  position: relative;
}

.demo-phone::before {
  content: '';
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 24px;
  background: #000;
  border-radius: 14px;
  z-index: 10;
}

.demo-phone-screen {
  width: 100%;
  height: 100%;
  border-radius: 36px;
  overflow: hidden;
  background: #FFF;
}

.demo-phone-screen img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: opacity 0.3s ease;
}

.demo-info {
  display: flex;
  flex-direction: column;
}

.demo-info-tag {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.demo-info-title {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-main);
  margin-bottom: 18px;
}

.demo-info-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 28px;
}

.demo-key-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
}

.demo-key-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.demo-key-point svg {
  color: var(--primary);
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.demo-key-point strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-main);
}

.demo-key-point span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Comparison Table (FamilyReply vs Common Trackers)
   ========================================================================== */

.comparison-section {
  padding: 100px 0;
  background-color: var(--bg-page);
}

.comparison-table-wrapper {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-subtle);
  overflow-x: auto;
  box-shadow: var(--shadow-md);
}

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

.comparison-table th,
.comparison-table td {
  padding: 20px 24px;
  border-bottom: 1px solid var(--border-light);
}

.comparison-table th {
  background: #FAF8F5;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-main);
}

.comparison-table th.brand-col {
  background: var(--primary-light);
  color: var(--primary);
  font-size: 1.15rem;
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

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

.comparison-table td.brand-col {
  background: #FDFBFF;
  font-weight: 600;
  color: var(--text-main);
  border-left: 2px solid var(--primary-light);
  border-right: 2px solid var(--primary-light);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #D1FAE5;
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 800;
}

.cross-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #FEE2E2;
  color: var(--accent-emergency);
  font-size: 0.85rem;
  font-weight: 800;
}

/* ==========================================================================
   Use Cases (Para Quem É)
   ========================================================================== */

.use-cases-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.use-case-card {
  background: var(--bg-page);
  border-radius: var(--border-radius-md);
  border: 1px solid var(--border-subtle);
  padding: 40px 32px;
  transition: all var(--transition-base);
  display: flex;
  flex-direction: column;
}

.use-case-card:hover {
  background: #FFFFFF;
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.use-case-icon {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.use-case-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 12px;
}

.use-case-text {
  font-size: 0.96rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.use-case-quote {
  padding-top: 18px;
  border-top: 1px solid var(--border-subtle);
  font-style: italic;
  font-size: 0.88rem;
  color: var(--text-main);
  line-height: 1.5;
}

.use-case-quote span {
  display: block;
  margin-top: 8px;
  font-style: normal;
  font-weight: 600;
  font-size: 0.8rem;
  color: var(--primary);
}

/* ==========================================================================
   Pricing Section
   ========================================================================== */

.pricing-section {
  padding: 100px 0;
  background-color: var(--bg-page);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

.pricing-card {
  background: #FFFFFF;
  border-radius: var(--border-radius-lg);
  border: 1px solid var(--border-subtle);
  padding: 48px 40px;
  box-shadow: var(--shadow-md);
  position: relative;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base);
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.pricing-card.featured {
  border: 2px solid var(--primary);
  box-shadow: 0 16px 45px rgba(108, 71, 255, 0.16);
}

.pricing-badge {
  position: absolute;
  top: -14px;
  left: 40px;
  background: var(--primary);
  color: #FFFFFF;
  padding: 4px 14px;
  border-radius: var(--border-radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.pricing-name {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 8px;
}

.pricing-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.pricing-price {
  font-family: var(--font-serif);
  font-size: 3rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1;
  margin-bottom: 24px;
}

.pricing-price span {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
  flex-grow: 1;
}

.pricing-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-main);
}

.pricing-feature svg {
  color: var(--accent-green);
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

/* ==========================================================================
   FAQ Accordion Section
   ========================================================================== */

.faq-section {
  padding: 100px 0;
  background-color: #FFFFFF;
}

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

.faq-item {
  background: var(--bg-page);
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  overflow: hidden;
  transition: all var(--transition-fast);
}

.faq-item:hover {
  border-color: #D6D0C5;
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: left;
  cursor: pointer;
  background: none;
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform var(--transition-fast), background var(--transition-fast);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  background: var(--primary);
  color: #FFFFFF;
  border-color: var(--primary);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), padding 0.35s ease;
  padding: 0 28px;
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

/* ==========================================================================
   Final CTA Banner Section (Download Promo)
   ========================================================================== */

.cta-banner-section {
  padding: 80px 0 100px;
  background-color: var(--bg-page);
}

.cta-card {
  background: linear-gradient(135deg, #732CEA 0%, #4B24D9 100%);
  border-radius: var(--border-radius-lg);
  padding: 70px 60px;
  color: #FFFFFF;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: 48px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
}

.cta-card::after {
  content: '';
  position: absolute;
  bottom: -60px;
  right: -60px;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.cta-content .section-title {
  color: #FFFFFF;
  margin-bottom: 18px;
}

.cta-content .section-subtitle {
  color: #E2DAFF;
  margin-bottom: 32px;
}

.cta-qr-box {
  background: #FFFFFF;
  border-radius: var(--border-radius-md);
  padding: 28px;
  text-align: center;
  color: var(--text-main);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 260px;
  margin: 0 auto;
}

.cta-qr-img {
  width: 150px;
  height: 150px;
  margin-bottom: 14px;
}

.cta-qr-text {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.3;
}

.cta-qr-subtext {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Footer (Life360 Full Multi-Column Style)
   ========================================================================== */

.site-footer {
  background-color: var(--bg-dark);
  color: #FFFFFF;
  padding: 80px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand .brand-logo img {
  margin-bottom: 18px;
}

.footer-tagline {
  font-size: 0.94rem;
  color: #A39DB3;
  line-height: 1.6;
  margin-bottom: 24px;
  max-width: 300px;
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 18px;
  height: 18px;
}

.footer-col-title {
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
}

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

.footer-links a {
  font-size: 0.9rem;
  color: #A39DB3;
  transition: color var(--transition-fast);
}

.footer-links a:hover {
  color: #FFFFFF;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-top: 36px;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #7A748A;
}

.footer-legal-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-legal-links a {
  font-size: 0.85rem;
  color: #7A748A;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
    text-align: center;
  }
  
  .hero-content {
    max-width: 100%;
    margin: 0 auto;
  }

  .hero-tag {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .floating-badge.badge-sos {
    left: 0;
  }
  
  .floating-badge.badge-care {
    right: 0;
  }

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

  .step-grid, .step-grid.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
  }

  .step-content {
    padding: 40px 32px;
  }

  .sos-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .demo-display-card {
    grid-template-columns: 1fr;
    padding: 36px 24px;
    text-align: center;
  }

  .demo-key-points {
    text-align: left;
  }

  .use-cases-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    grid-template-columns: 1fr;
    padding: 44px 28px;
    text-align: center;
  }

  .cta-card .store-badges {
    justify-content: center;
  }

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

  .footer-brand {
    grid-column: span 2;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }

  .nav-menu,
  .header-actions .btn {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }

  .mobile-drawer {
    display: flex;
  }

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

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

  .floating-badge {
    display: none; /* Hide floating badges on narrow screens to prevent overlap */
  }

  .phone-mockup {
    width: 270px;
    height: 560px;
  }

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

  .footer-brand {
    grid-column: span 1;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  .footer-legal-links {
    justify-content: center;
  }
}


/* ==========================================================================
   Additions for the published version (see CHANGES.md)
   ========================================================================== */

/* "This is not an emergency service". */
.disclaimer {
  margin: 18px 0 0;
  padding: 12px 16px;
  font-size: 0.92rem;
  line-height: 1.5;
  color: #6B4400;
  background: #FFF4DF;
  border: 1px solid #F0CF8F;
  border-radius: 12px;
}

/* Download section without the QR box. */
.cta-card.single {
  grid-template-columns: 1fr;
}

/* Footer with four columns (the "Empresa" column had only dead links). */
@media (min-width: 1025px) {
  .footer-top.four {
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
  }
}

.footer-disclaimer {
  opacity: 0.8;
}


/* ==========================================================================
   Hero: the selling points, one at a time, above the store badges
   ========================================================================== */
.hero-benefits { margin: 2px 0 28px; }

.benefit-stack { display: grid; }

.hero-benefit {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  box-shadow: var(--shadow-md);
  text-align: left;
}

/* Without JavaScript the four points are a plain list */
.hero-benefit + .hero-benefit { margin-top: 12px; }

.benefit-icon {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: var(--primary-light);
  color: var(--primary);
}
.benefit-icon svg { width: 28px; height: 28px; }
.hero-benefit[data-tone="red"] .benefit-icon { background: #FEE2E2; color: #DC2626; }
.hero-benefit[data-tone="green"] .benefit-icon { background: #D1FAE5; color: #059669; }

.benefit-text { margin: 0; display: flex; flex-direction: column; gap: 2px; }
.benefit-text strong { font-size: 1.2rem; font-weight: 800; line-height: 1.2; color: var(--text-main); }
.benefit-text span { font-size: 1.02rem; line-height: 1.4; color: var(--text-muted); }

/* With JavaScript they take turns in the same spot (no jump: the box is as tall as the tallest) */
.hero-benefits.is-rotating .hero-benefit {
  grid-area: 1 / 1;
  margin-top: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  /* the one leaving fades out first ... */
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
}
.hero-benefits.is-rotating .hero-benefit.is-active {
  opacity: 1;
  visibility: visible;
  transform: none;
  /* ... and then the next one comes in, so two texts are never on top of each other */
  transition: opacity 0.35s ease 0.2s, transform 0.35s ease 0.2s, visibility 0s linear 0.2s;
}

.benefit-dots { display: flex; gap: 8px; margin-top: 14px; }
.benefit-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 99px;
  background: #D9D2E8;
  cursor: pointer;
  transition: width 0.3s ease, background 0.3s ease;
}
.benefit-dot.is-active { width: 28px; background: var(--primary); }
.benefit-dot:focus-visible { outline: 2px solid var(--primary); outline-offset: 2px; }

@media (max-width: 1024px) {
  .benefit-dots { justify-content: center; }
}

@media (max-width: 480px) {
  .hero-tag { font-size: 0.76rem; padding: 7px 14px; letter-spacing: 0.2px; }
  .hero-benefit { padding: 14px 16px; gap: 14px; }
  .benefit-icon { width: 46px; height: 46px; border-radius: 14px; }
  .benefit-icon svg { width: 24px; height: 24px; }
  .benefit-text strong { font-size: 1.1rem; }
  .benefit-text span { font-size: 0.98rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-benefits.is-rotating .hero-benefit,
  .hero-benefits.is-rotating .hero-benefit.is-active { transition: none; }
}


/* ==========================================================================
   Contact
   ========================================================================== */
.contact-section { padding: 100px 0; background-color: var(--bg-page); }
.contact-section [hidden] { display: none !important; }

.contact-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  gap: 32px;
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 32px;
}

.contact-form { display: grid; gap: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.field label { font-weight: 600; font-size: 0.92rem; color: var(--text-main); }
.field .optional { font-weight: 500; color: var(--text-light); }

.field input,
.field select,
.field textarea {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background: #FFFFFF;
  border: 1px solid #D9D3C8;
  border-radius: var(--border-radius-sm);
  padding: 12px 14px;
}
.field textarea { resize: vertical; min-height: 130px; line-height: 1.5; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-glow);
}
.field-hint { align-self: flex-end; font-size: 0.8rem; color: var(--text-light); }

/* After a first try to send, what is still wrong is marked */
.contact-form.was-validated :invalid { border-color: var(--accent-emergency); }
.contact-form.was-validated .check input:invalid { outline: 2px solid var(--accent-emergency); outline-offset: 2px; }

/* The field only a robot fills in: out of sight, but still in the page */
.hp { position: absolute; left: -9999px; top: auto; width: 1px; height: 1px; overflow: hidden; }

.check { display: flex; gap: 10px; align-items: flex-start; font-size: 0.92rem; line-height: 1.5; color: var(--text-muted); cursor: pointer; }
.check input { flex: none; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--primary); }
.check a { color: var(--primary); text-decoration: underline; }

.contact-form .btn-primary { justify-self: start; }
.contact-form .btn:disabled { opacity: 0.6; cursor: progress; }

.form-status { margin: 0; min-height: 1.4em; font-size: 0.95rem; color: var(--text-muted); }
.form-status.error { color: #B91C1C; font-weight: 600; }

.contact-thanks { text-align: center; padding: 24px 8px; }
.contact-thanks h3 { font-family: var(--font-serif); font-size: 1.7rem; margin: 14px 0 8px; }
.contact-thanks p { margin: 0; color: var(--text-muted); overflow-wrap: anywhere; }
.thanks-icon {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto;
  border-radius: 50%;
  background: #D1FAE5;
  color: #059669;
  font-size: 1.7rem;
  font-weight: 800;
}

.contact-noscript { margin: 0; color: var(--text-muted); }

.contact-aside { display: grid; gap: 14px; }
.contact-aside h3 { font-family: var(--font-serif); font-size: 1.45rem; margin: 0; }
.contact-aside .btn { white-space: normal; }
.aside-note { margin: 0; font-size: 0.9rem; line-height: 1.5; color: var(--text-muted); }

@media (max-width: 860px) {
  .contact-section { padding: 72px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .contact-card { padding: 22px; }
  .contact-form .btn-primary { justify-self: stretch; }
}

/* ==========================================================================
   Waitlist pop-up: opened by the store buttons (a native <dialog>; the form inside is shown by js/main.js only when
   the server can send the confirmation mail)
   ========================================================================== */
.waitlist-modal {
  /* The site resets every margin, which would pin the dialog to the top-left corner: auto centres it again. */
  margin: auto;
  border: 0;
  padding: 0;
  background: transparent;
  width: calc(100% - 24px);
  max-width: 480px;
  max-height: none;
  overflow: visible;
  color: var(--text-main);
}
.waitlist-modal::backdrop { background: rgba(24, 21, 35, 0.62); backdrop-filter: blur(3px); }
.waitlist-modal[open] { animation: wl-in 0.18s ease-out; }
@keyframes wl-in { from { opacity: 0; transform: translateY(10px) scale(0.98); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .waitlist-modal[open] { animation: none; } }
body.wl-open { overflow: hidden; }

.wl-card {
  position: relative;
  background: #FFFFFF;
  border-radius: 22px;
  padding: 34px 28px 28px;
  box-shadow: var(--shadow-xl);
  max-height: calc(100vh - 24px);
  max-height: calc(100dvh - 24px);
  overflow-y: auto;
}
.wl-card [hidden] { display: none !important; }
.wl-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  background: #F3EFFA;
  color: #5F5B6D;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}
.wl-close:hover { background: #E8E0F7; }
.wl-close:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }

.wl-tag {
  display: inline-block;
  margin-bottom: 12px;
  padding: 6px 14px;
  border-radius: var(--border-radius-pill);
  background: var(--primary-light);
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 700;
}
.wl-card h2 { font-family: var(--font-serif); font-size: 1.75rem; line-height: 1.2; margin: 0 40px 12px 0; color: var(--text-main); }
.wl-lead { margin: 0 0 20px; color: var(--text-muted); line-height: 1.6; }
.wl-lead strong { color: var(--text-main); }

.wl-form { display: grid; gap: 16px; }
.wl-row input {
  width: 100%;
  font: inherit;
  font-size: 1rem;
  color: var(--text-main);
  background: #FFFFFF;
  border: 1px solid #D9D3C8;
  border-radius: var(--border-radius-pill);
  padding: 14px 20px;
}
.wl-row input:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-glow); }
.wl-form.was-validated .wl-row input:invalid { border-color: var(--accent-emergency); }
.wl-form.was-validated .check input:invalid { outline: 2px solid var(--accent-emergency); outline-offset: 2px; }

.wl-submit { width: 100%; justify-content: center; }
.wl-submit:disabled { opacity: 0.65; cursor: progress; }
.waitlist-modal .form-status { min-height: 1.2em; }

.wl-thanks { text-align: center; display: grid; justify-items: center; gap: 10px; padding: 10px 0 4px; }
.wl-thanks .wl-thanks-title { margin: 6px 0 0; }
.wl-thanks p { margin: 0; color: var(--text-muted); line-height: 1.6; overflow-wrap: anywhere; }
.wl-thanks .btn { margin-top: 10px; }

@media (max-width: 520px) {
  .wl-card { padding: 30px 20px 22px; }
  .wl-card h2 { font-size: 1.5rem; }
}

/* The page the link in the confirmation mail opens (lista.html) */
.lista-page { background: var(--bg-page); min-height: 100vh; }
.lista-wrap { display: grid; justify-items: center; align-content: start; gap: 28px; padding: 48px 16px 80px; }
.lista-card {
  width: 100%;
  max-width: 480px;
  text-align: center;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: var(--border-radius-md);
  box-shadow: var(--shadow-md);
  padding: 36px 28px;
  display: grid;
  gap: 14px;
  justify-items: center;
}
.lista-card [hidden] { display: none !important; }
.lista-card h1 { font-family: var(--font-serif); font-size: 1.8rem; line-height: 1.25; margin: 4px 0 0; color: var(--text-main); }
.lista-card p { margin: 0; color: var(--text-muted); line-height: 1.55; }
.lista-card .btn { margin-top: 8px; }

/* ==========================================================================
   WhatsApp: the green button in the corner of every screen (shown by js/main.js when the number is a full one)
   ========================================================================== */
.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25D366;
  color: #FFFFFF;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}
.whatsapp-float[hidden] { display: none; }
.whatsapp-float:hover { background: #20BD5A; transform: scale(1.07); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.32); }
.whatsapp-float:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 3px; box-shadow: 0 0 0 6px #25D366; }
.whatsapp-float svg { width: 34px; height: 34px; fill: currentColor; }

@media (max-width: 600px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 56px; height: 56px; }
  .whatsapp-float svg { width: 32px; height: 32px; }
}
@media (prefers-reduced-motion: reduce) {
  .whatsapp-float { transition: none; }
  .whatsapp-float:hover { transform: none; }
}

.lista-coupon { width: 100%; margin-top: 6px; padding: 16px 18px; border-radius: var(--border-radius-sm); background: var(--primary-light); }
.lista-coupon p { margin: 0; }
.lista-coupon .lista-coupon-label { font-size: 0.85rem; color: var(--text-muted); }
.lista-coupon .lista-coupon-code { margin: 6px 0; font-size: 1.7rem; font-weight: 800; letter-spacing: 2px; color: var(--primary); user-select: all; }
.lista-coupon .lista-coupon-note { font-size: 0.85rem; line-height: 1.45; color: var(--text-muted); }

/* ==========================================================================
   Video in a phone (steps section, see initStepsVideo in js/main.js)
   ========================================================================== */
.video-demo { display: flex; flex-direction: column; align-items: center; margin: 0 auto; }
.video-phone {
  position: relative;
  width: 360px;
  max-width: 78vw;
  padding: 10px;
  border-radius: 52px;
  background: linear-gradient(145deg, #34323D 0%, #0D0C11 60%);
  box-shadow: 0 30px 60px rgba(70, 30, 140, 0.28), inset 0 0 0 2px #55525F;
}
.video-phone-screen { position: relative; aspect-ratio: 9 / 16; border-radius: 42px; overflow: hidden; background: var(--bg-page); }
.video-phone-screen video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; }
.video-toggle {
  position: absolute;
  right: 12px;
  bottom: 12px;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: rgba(24, 21, 35, 0.62);
  color: #FFFFFF;
  cursor: pointer;
  transition: background 0.15s ease;
}
.video-toggle:hover { background: rgba(24, 21, 35, 0.8); }
.video-toggle:focus-visible { outline: 3px solid #FFFFFF; outline-offset: 2px; box-shadow: 0 0 0 6px var(--primary); }
.video-toggle svg { width: 20px; height: 20px; }
.video-toggle .icon-play { display: none; }
.video-toggle[aria-pressed="true"] .icon-pause { display: none; }
.video-toggle[aria-pressed="true"] .icon-play { display: block; }
.video-caption { margin: 22px 0 0; font-size: 1rem; font-weight: 600; color: var(--text-muted); text-align: center; }
