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

/* ==========================================
   DESIGN SYSTEM & VARIABLES
   ========================================== */
:root {
  --bg-main: #06111F;
  --bg-secondary: #0A1A2E;
  --bg-card: #101D31;
  --bg-card-soft: #171D2A;

  --blue-electric: #1D8BFF;
  --cyan-neon: #22E6FF;
  --violet: #7B3CFF;
  --pin-red: #FF3B4F;

  --text-main: #FFFFFF;
  --text-secondary: #AFC3D8;
  --text-muted: #6F849B;

  --border-cyan: rgba(34, 230, 255, 0.14);
  --shadow-cyan: rgba(34, 230, 255, 0.22);
  --border-card: rgba(255, 255, 255, 0.06);

  --font-title: 'Sora', 'Inter', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-tech: 'Space Grotesk', 'Inter', system-ui, sans-serif;

  --container-max-width: 1200px;
}

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

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

body {
  min-height: 100vh;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(123, 60, 255, 0.20), transparent 35%),
    radial-gradient(circle at 80% 15%, rgba(34, 230, 255, 0.14), transparent 35%),
    radial-gradient(circle at 50% 80%, rgba(29, 139, 255, 0.08), transparent 40%),
    linear-gradient(180deg, #06111F 0%, #0A1A2E 50%, #06111F 100%);
  background-attachment: fixed;
  line-height: 1.6;
}

/* Scrollbar customization */
::-webkit-scrollbar {
  width: 10px;
}
::-webkit-scrollbar-track {
  background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
  background: #10253f;
  border: 2px solid var(--bg-main);
  border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--blue-electric);
}

/* Focus outline for accessibility */
a:focus-visible, 
button:focus-visible, 
input:focus-visible,
[role="button"]:focus-visible {
  outline: 2px solid var(--cyan-neon);
  outline-offset: 4px;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* ==========================================
   TYPOGRAPHY
   ========================================== */
h1, h2, h3, h4 {
  font-family: var(--font-title);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.375rem, 5vw + 1rem, 4.25rem); /* 38px to 68px */
}

h2 {
  font-size: clamp(1.75rem, 3.5vw + 0.5rem, 2.75rem); /* 28px to 44px */
  margin-bottom: 1.5rem;
}

h3 {
  font-size: clamp(1.375rem, 2vw + 0.5rem, 1.75rem); /* 22px to 28px */
  margin-bottom: 1rem;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
  line-height: 1.7;
}

.text-muted {
  color: var(--text-muted);
}

.text-highlight {
  background: linear-gradient(135deg, #22E6FF 0%, #1D8BFF 50%, #7B3CFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* ==========================================
   LAYOUT CONTAINERS
   ========================================== */
.container {
  width: 100%;
  max-width: var(--container-max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 8rem);
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* ==========================================
   COMPONENTS
   ========================================== */

/* Buttons */
.button-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 28px;
  background: linear-gradient(135deg, #22E6FF 0%, #1D8BFF 50%, #7B3CFF 100%);
  color: var(--text-main);
  font-weight: 700;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 24px rgba(34, 230, 255, 0.25);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.button-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(34, 230, 255, 0.4);
}

.button-primary:active {
  transform: translateY(0);
}

.button-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 28px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(175, 195, 216, 0.22);
  color: var(--text-main);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: center;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(175, 195, 216, 0.4);
  transform: translateY(-2px);
}

.button-secondary:active {
  transform: translateY(0);
}

/* Cards */
.card {
  border-radius: 28px;
  background: rgba(16, 29, 49, 0.65);
  border: 1px solid rgba(34, 230, 255, 0.12);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  padding: 2.5rem;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.card:hover {
  border-color: rgba(34, 230, 255, 0.3);
  box-shadow: 0 24px 80px rgba(34, 230, 255, 0.08), 0 0 1px rgba(34, 230, 255, 0.2);
  transform: translateY(-4px);
}

/* Badges */
.badge-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 16px;
  background: rgba(34, 230, 255, 0.07);
  border: 1px solid rgba(34, 230, 255, 0.2);
  color: #BFF7FF;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all 0.3s ease;
}

.badge:hover {
  background: rgba(34, 230, 255, 0.12);
  border-color: rgba(34, 230, 255, 0.4);
}

.badge-outline {
  background: transparent;
  border-color: rgba(175, 195, 216, 0.2);
  color: var(--text-secondary);
}

/* ==========================================
   NAVIGATION HEADER
   ========================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(6, 17, 31, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
}

.header-scrolled {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
  background: rgba(5, 12, 22, 0.9);
  border-bottom-color: rgba(34, 230, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height 0.3s ease;
}

.header-scrolled .header-container {
  height: 64px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
}

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

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

.nav {
  display: none;
}

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

.nav-link {
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-secondary);
  padding: 0.5rem 0;
  position: relative;
}

.nav-link:hover, .nav-link:focus-visible {
  color: var(--text-main);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--cyan-neon);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s ease;
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.header-cta {
  display: none;
}

/* Mobile Nav Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  transition: all 0.3s ease;
}

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

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

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

/* Mobile menu panel */
.mobile-nav-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-main);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 2rem;
}

.mobile-nav-panel.active {
  transform: translateX(0);
}

.mobile-nav-list {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.mobile-nav-link {
  font-family: var(--font-title);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.mobile-nav-link:hover, .mobile-nav-link:focus {
  color: var(--cyan-neon);
}

@media (min-width: 1024px) {
  .nav {
    display: block;
  }
  .header-cta {
    display: block;
  }
  .menu-toggle {
    display: none;
  }
}

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(80px + 4rem); /* Header height + spacing */
  padding-bottom: 4rem;
}

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

.hero-content {
  text-align: center;
}

.hero-title-prefix {
  font-family: var(--font-tech);
  color: var(--cyan-neon);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  display: block;
}

.hero-subtitle {
  font-size: clamp(1.5rem, 3vw + 0.5rem, 2.5rem);
  color: var(--text-secondary);
  font-weight: 600;
  margin-top: 1rem;
  margin-bottom: 1.5rem;
}

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

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

/* Cell Phone Mockup Layout */
.phone-mockup {
  position: relative;
  width: 290px;
  height: 580px;
  border-radius: 40px;
  background: #040910;
  border: 10px solid #142235;
  box-shadow: 0 30px 100px rgba(0, 0, 0, 0.8), 
              0 0 0 2px rgba(255, 255, 255, 0.05),
              0 0 30px rgba(29, 139, 255, 0.15);
  overflow: hidden;
  z-index: 2;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 110px;
  height: 25px;
  background: #142235;
  border-bottom-left-radius: 16px;
  border-bottom-right-radius: 16px;
  z-index: 10;
}

.phone-screen {
  width: 100%;
  height: 100%;
  position: relative;
  background-color: var(--bg-main);
  background-size: cover;
  background-position: center;
}

/* Floating Card inside mockup */
.floating-ui-card {
  position: absolute;
  background: rgba(16, 29, 49, 0.82);
  border: 1px solid rgba(34, 230, 255, 0.2);
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  padding: 1rem;
  color: var(--text-main);
  z-index: 5;
  transition: all 0.3s ease;
}

.floating-card-1 {
  bottom: 30px;
  left: 15px;
  right: 15px;
}

.floating-card-2 {
  top: 80px;
  right: -20px;
  max-width: 180px;
}

.floating-card-3 {
  bottom: 180px;
  left: -20px;
  max-width: 180px;
}

/* Tech backgrounds in hero */
.hero-glow-blob {
  position: absolute;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: var(--violet);
  filter: blur(100px);
  opacity: 0.15;
  z-index: 1;
}

.hero-glow-1 {
  top: -50px;
  right: -50px;
}

.hero-glow-2 {
  bottom: -50px;
  left: -50px;
}

@media (min-width: 768px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .hero {
    padding-top: calc(80px + 6rem);
    padding-bottom: 8rem;
  }
  .hero-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 2rem;
  }
  .hero-content {
    text-align: left;
  }
  .hero-desc {
    margin-left: 0;
  }
  .hero-buttons {
    justify-content: flex-start;
  }
  .phone-mockup {
    width: 320px;
    height: 640px;
  }
}

/* ==========================================
   SEÇÃO DE BENEFÍCIOS RÁPIDOS
   ========================================== */
.benefits-section {
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 4rem;
}

.section-tag {
  font-family: var(--font-tech);
  color: var(--cyan-neon);
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
  display: block;
}

.benefit-icon {
  margin-bottom: 1.5rem;
  color: var(--cyan-neon);
  background: rgba(34, 230, 255, 0.08);
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(34, 230, 255, 0.2);
  transition: all 0.3s ease;
}

.card:hover .benefit-icon {
  background: var(--cyan-neon);
  color: var(--bg-main);
  box-shadow: 0 0 15px rgba(34, 230, 255, 0.5);
}

/* ==========================================
   MOCKUP LAYOUTS (MAP & PROFILE)
   ========================================== */
.split-section {
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
}

@media (min-width: 1024px) {
  .split-section {
    grid-template-columns: 1fr 1fr;
  }
  .split-section.reverse {
    direction: rtl;
  }
  .split-section.reverse .split-content {
    direction: ltr;
  }
  .split-section.reverse .split-visual {
    direction: ltr;
  }
}

.split-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.split-visual {
  display: flex;
  justify-content: center;
  position: relative;
}

/* CSS Geolocation Map Mockup */
.interactive-map-card {
  width: 100%;
  max-width: 480px;
  height: 320px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.map-viewport {
  width: 100%;
  height: 100%;
  background-color: #06111f;
  background-size: cover;
  background-position: center;
  position: relative;
}

/* Map Grid Overlay */
.map-grid-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(29, 139, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(29, 139, 255, 0.05) 1px, transparent 1px);
  background-size: 30px 30px;
}

/* Pulsing geofence circles */
.pulse-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: rgba(34, 230, 255, 0.06);
  border: 2px solid var(--cyan-neon);
  width: 120px;
  height: 120px;
  box-shadow: 0 0 20px rgba(34, 230, 255, 0.2);
}

.pulse-circle::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  border: 2px solid var(--violet);
  animation: pulse-wave 3s infinite linear;
  opacity: 0;
}

@keyframes pulse-wave {
  0% {
    transform: scale(1);
    opacity: 0.8;
  }
  100% {
    transform: scale(2.2);
    opacity: 0;
  }
}

.map-pin {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translate(-50%, -100%);
  fill: var(--pin-red);
  filter: drop-shadow(0 4px 8px rgba(255, 59, 79, 0.5));
}

/* Interactive visibility screen mockup */
.profile-preview-card {
  width: 100%;
  max-width: 380px;
  border-radius: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-cyan);
  padding: 2rem;
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
}

.profile-avatar-row {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2rem;
}

.profile-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-card-soft);
  border: 2px solid var(--blue-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-title);
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--cyan-neon);
}

.profile-info {
  flex-grow: 1;
}

.profile-username {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.profile-email {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.profile-toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem;
  border-radius: 18px;
  background: rgba(6, 17, 31, 0.5);
  border: 1px solid rgba(255,255,255,0.04);
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.profile-toggle-row.visible-active {
  border-color: rgba(34, 230, 255, 0.25);
  box-shadow: 0 0 20px rgba(34, 230, 255, 0.06);
}

.toggle-label-group {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.toggle-icon {
  color: var(--text-muted);
  transition: color 0.3s ease;
}

.visible-active .toggle-icon {
  color: var(--cyan-neon);
}

.toggle-btn {
  width: 48px;
  height: 26px;
  background: #253347;
  border-radius: 13px;
  position: relative;
  cursor: pointer;
  border: none;
  transition: background 0.3s ease;
}

.toggle-btn::after {
  content: '';
  position: absolute;
  top: 3px;
  left: 3px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--text-secondary);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
}

.visible-active .toggle-btn {
  background: var(--cyan-neon);
}

.visible-active .toggle-btn::after {
  transform: translateX(22px);
  background: var(--bg-main);
}

.toggle-status-text {
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.visible-active .toggle-status-text {
  color: var(--cyan-neon);
}

/* Profile sections menu (static styling for context) */
.profile-menu-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-weight: 500;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.profile-menu-item:last-child {
  border-bottom: none;
}

/* Tab controls on profile connections mockup */
.profile-tabs-header {
  display: flex;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 1.5rem;
}

.profile-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  padding: 12px;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  text-align: center;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.profile-tab-btn.active {
  color: var(--cyan-neon);
  border-bottom-color: var(--cyan-neon);
}

/* ==========================================
   PRIVACIDADE SECTION
   ========================================== */
.privacy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .privacy-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.privacy-card {
  padding: 2rem;
  border-radius: 24px;
}

.privacy-icon {
  margin-bottom: 1.25rem;
  color: var(--blue-electric);
  font-size: 1.5rem;
}

/* ==========================================
   BETA SECTION
   ========================================== */
.beta-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .beta-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.beta-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.beta-platform-title {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-title);
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.beta-platform-subtitle {
  color: var(--cyan-neon);
  font-family: var(--font-tech);
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.beta-steps {
  list-style: none;
  margin-bottom: 2.5rem;
  flex-grow: 1;
}

.beta-step {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 1rem;
  font-size: 0.9375rem;
  color: var(--text-secondary);
}

.beta-step::before {
  content: counter(step-counter);
  counter-increment: step-counter;
  position: absolute;
  left: 0;
  top: 2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(34, 230, 255, 0.12);
  border: 1px solid rgba(34, 230, 255, 0.4);
  color: var(--cyan-neon);
  font-size: 0.75rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.beta-steps {
  counter-reset: step-counter;
}

.beta-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* ==========================================
   CTA FINAL
   ========================================== */
.cta-section {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.cta-card {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  padding: 4rem 2rem;
  position: relative;
  z-index: 2;
  border-radius: 36px;
}

.cta-title {
  margin-bottom: 1rem;
}

.cta-desc {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  justify-content: center;
}

@media (min-width: 768px) {
  .cta-buttons {
    flex-direction: row;
  }
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #040A12;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 5rem;
  padding-bottom: 2.5rem;
}

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

@media (min-width: 768px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr;
  }
}

@media (min-width: 1024px) {
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr;
  }
}

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

.footer-logo {
  margin-bottom: 1.5rem;
}

.footer-desc {
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
}

.footer-title {
  font-family: var(--font-tech);
  font-size: 0.875rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--cyan-neon);
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-links {
  list-style: none;
}

.footer-item {
  margin-bottom: 0.875rem;
}

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

.footer-link:hover, .footer-link:focus-visible {
  color: var(--cyan-neon);
}

.footer-contacts {
  font-size: 0.9375rem;
}

.footer-contact-item {
  margin-bottom: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
  justify-content: space-between;
  color: var(--text-muted);
  font-size: 0.875rem;
}

@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
  }
}

/* ==========================================
   SUBPAGES (BETA.HTML & LEGAL PAGES)
   ========================================== */
.subpage-hero {
  padding-top: calc(80px + 6rem);
  padding-bottom: 4rem;
  text-align: center;
}

.subpage-title {
  margin-bottom: 1rem;
}

.subpage-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2rem;
  color: var(--text-secondary);
}

.legal-content {
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.legal-card {
  padding: 3rem 2.5rem;
  margin-bottom: 4rem;
}

.legal-card h2 {
  font-size: 1.5rem;
  color: var(--text-main);
  margin-top: 2rem;
  margin-bottom: 1rem;
  border-left: 3px solid var(--cyan-neon);
  padding-left: 1rem;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p {
  margin-bottom: 1.5rem;
  font-size: 1rem;
  color: var(--text-secondary);
}

.legal-card ul {
  list-style: disc;
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--text-secondary);
}

.legal-card li {
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--cyan-neon);
  font-weight: 600;
  margin-bottom: 2rem;
}

.back-link:hover {
  transform: translateX(-4px);
}

/* ==========================================
   ANIMATIONS & SCROLL UTILITIES
   ========================================== */
.fade-in-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-in-up.active {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================
   ACCESSIBILITY & REDUCED MOTION
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .pulse-circle::after {
    animation: none !important;
  }
  .fade-in-up {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}
