/* Modern CSS Reset & Variable Design Tokens */
:root {
  --navy: #1B3A5C;
  --navy-dark: #0A1B2E;
  --navy-light: #2E5A8A;
  --navy-ultra-light: #EDF2F7;
  
  --gold: #D4A017;
  --gold-light: #E8B83A;
  --gold-dark: #B3830C;
  --gold-glow: rgba(212, 160, 23, 0.15);
  
  --white: #FFFFFF;
  --grey-50: #F8FAFC;
  --grey-100: #F1F5F9;
  --grey-200: #E2E8F0;
  --grey-300: #CBD5E1;
  --grey-500: #64748B;
  --grey-700: #475569;
  --grey-900: #0F172A;
  
  --danger: #EF4444;
  --danger-bg: rgba(239, 68, 68, 0.08);
  --warning: #F59E0B;
  --warning-bg: rgba(245, 158, 11, 0.08);
  --success: #10B981;
  
  --max-width: 1140px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 30px rgba(10, 27, 46, 0.06);
  --shadow-lg: 0 20px 40px rgba(10, 27, 46, 0.12);
  --shadow-inset: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
  
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.15s ease-in-out;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--grey-900);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Titles/Headings */
h1, h2, h3, h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

/* Utility Layouts */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: var(--radius-md);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  border: none;
  font-family: inherit;
  text-decoration: none;
  gap: 8px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 14px rgba(212, 160, 23, 0.3);
}

.btn-primary:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 160, 23, 0.45);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

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

.btn-large {
  padding: 16px 36px;
  font-size: 16px;
}

/* Header & Sticky Nav */
.main-header {
  background: rgba(27, 58, 92, 0.95);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 16px 0;
  transition: var(--transition-smooth);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  font-family: 'Outfit', sans-serif;
  text-decoration: none;
  transition: var(--transition-fast);
}

.logo:hover {
  opacity: 0.9;
}

.logo svg {
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.logo:hover svg {
  transform: rotate(360deg);
}

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

.nav-phone {
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-phone:hover {
  color: var(--gold-light);
  text-shadow: 0 0 10px rgba(232, 184, 58, 0.3);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 0;
}

.nav-links a:hover {
  color: var(--white);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: var(--transition-smooth);
}

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

/* Hamburger button styling */
.hamburger {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
  outline: none;
}

.hamburger-box {
  width: 24px;
  height: 18px;
  display: inline-block;
  position: relative;
}

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 24px;
  height: 2px;
  background-color: var(--white);
  position: absolute;
  transition-property: transform;
  transition-duration: 0.15s;
  transition-timing-function: ease;
  border-radius: 4px;
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: "";
  display: block;
}

.hamburger-inner::before {
  top: -7px;
}

.hamburger-inner::after {
  bottom: -7px;
}

/* Hamburger animation when open */
.hamburger.is-active .hamburger-inner {
  transform: rotate(45deg);
}

.hamburger.is-active .hamburger-inner::before {
  top: 0;
  opacity: 0;
}

.hamburger.is-active .hamburger-inner::after {
  bottom: 0;
  transform: rotate(-90deg);
}

/* Hero Section with Dynamic Background */
.hero {
  background: var(--navy-dark);
  color: var(--white);
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  min-height: 600px;
  display: flex;
  align-items: center;
}

/* SVG background wrapper */
.hero-bg-animation {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

.hero-bg-animation svg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Lighter radial overlay for glowing neon highlight */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 35% 50%, rgba(10, 27, 46, 0.45) 0%, rgba(10, 27, 46, 0.85) 100%);
  z-index: 1;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 2; /* Sits above the canvas and overlay */
}

.badge {
  display: inline-flex;
  align-items: center;
  background: rgba(212, 160, 23, 0.12);
  color: var(--gold);
  font-size: 11px;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 100px;
  letter-spacing: 1px;
  margin-bottom: 24px;
  border: 1px solid rgba(212, 160, 23, 0.25);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
  text-shadow: 0 2px 10px rgba(10, 27, 46, 0.5); /* Boost text contrast */
}

.hero p {
  font-size: 18px;
  color: var(--grey-300);
  max-width: 560px;
  margin-bottom: 40px;
  line-height: 1.7;
  text-shadow: 0 2px 8px rgba(10, 27, 46, 0.5);
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-visual-placeholder {
  height: 100%;
  min-height: 350px;
  pointer-events: none;
}

/* ==========================================================================
   SVG ANIMATION STYLES (THE STORYBOARD LOOP)
   ========================================================================== */

/* 1. Radar pulses for central ArgosWatch logo node */
@keyframes radar-pulse {
  0% {
    r: 26px;
    opacity: 0.9;
  }
  100% {
    r: 90px;
    opacity: 0;
  }
}

#pulse-ring-1 {
  animation: radar-pulse 3s infinite linear;
}

#pulse-ring-2 {
  animation: radar-pulse 3s infinite linear 1.5s;
}

/* 2. Generic core heartbeat */
@keyframes core-heartbeat {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

#node-center {
  transform-origin: 680px 250px;
  animation: core-heartbeat 4s infinite ease-in-out;
}

/* 3. Data Flow Line Animations (using dashoffset) */
@keyframes flow-active {
  to {
    stroke-dashoffset: -60;
  }
}

#line-center-eshop-flow,
#line-eshop-phone-flow {
  transition: opacity 0.5s ease;
}

/* Phase Transitions controlled via JS classes on the SVG #hero-svg */

/* PHASE 1 & 2: Center (ArgosWatch) -> E-shop Flow is Active */
#hero-svg.phase-monitoring #line-center-eshop-flow,
#hero-svg.phase-secure #line-center-eshop-flow {
  opacity: 1;
  animation: flow-active 2.5s infinite linear;
}

/* PHASE 2: Secure Tag & Glowing E-shop Node appear */
#hero-svg.phase-secure #glow-eshop {
  opacity: 0.75;
  transition: opacity 0.5s ease;
}

#hero-svg.phase-secure #secure-tag {
  opacity: 1;
  transform: translate(530px, 303px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

#hero-svg.phase-secure #eshop-pulse {
  animation: radar-pulse 2.5s infinite linear;
}

/* PHASE 3: Warning & Alert Flow to phone */
#hero-svg.phase-warning #eshop-bg {
  stroke: var(--warning);
  fill: rgba(245, 158, 11, 0.15);
  transition: all 0.5s ease;
  filter: url(#neon-glow-amber);
}

#hero-svg.phase-warning #eshop-icon {
  stroke: var(--warning);
  transition: all 0.5s ease;
}

#hero-svg.phase-warning #line-eshop-phone-flow {
  opacity: 1;
  animation: flow-active 1.5s infinite linear;
}

#hero-svg.phase-warning #phone-pulse {
  animation: radar-pulse 2s infinite linear;
}

#hero-svg.phase-warning #glow-phone {
  opacity: 0.85;
  transition: opacity 0.5s ease;
}

#hero-svg.phase-warning #alert-banner {
  opacity: 1;
  transform: translate(850px, 98px);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* PHASE 4: Reset state (Fading everything out back to normal) */
#hero-svg.phase-reset #eshop-bg,
#hero-svg.phase-reset #eshop-icon,
#hero-svg.phase-reset #secure-tag,
#hero-svg.phase-reset #alert-banner,
#hero-svg.phase-reset #glow-eshop,
#hero-svg.phase-reset #glow-phone,
#hero-svg.phase-reset #line-center-eshop-flow,
#hero-svg.phase-reset #line-eshop-phone-flow {
  opacity: 0;
  transition: opacity 0.8s ease;
}

#hero-svg.phase-reset #secure-tag {
  transform: translate(530px, 315px);
  transition: all 0.8s ease;
}

#hero-svg.phase-reset #alert-banner {
  transform: translate(850px, 110px);
  transition: all 0.8s ease;
}

/* Myth / Intro quote section */
.myth {
  background: var(--grey-50);
  border-bottom: 1px solid var(--grey-200);
  padding: 50px 0;
}

.myth-text {
  max-width: 800px;
  margin: 0 auto;
  font-family: Georgia, 'Times New Roman', serif;
  font-size: 17px;
  line-height: 1.8;
  color: var(--grey-700);
  text-align: center;
  font-style: italic;
  position: relative;
  padding: 0 40px;
}

.myth-text::before,
.myth-text::after {
  font-size: 60px;
  color: rgba(212, 160, 23, 0.2);
  position: absolute;
  font-family: Georgia, serif;
  line-height: 1;
}

.myth-text::before {
  content: '«';
  left: 0;
  top: -10px;
}

.myth-text::after {
  content: '»';
  right: 0;
  bottom: -40px;
}

/* Main Sections */
.section {
  padding: 90px 0;
}

.section-grey {
  background: var(--grey-50);
}

.section h2 {
  font-size: 36px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--grey-500);
  font-size: 17px;
  max-width: 600px;
  margin: 0 auto 56px;
}

/* Problems Grid & Cards */
.problems-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.problem-card {
  background: var(--white);
  padding: 24px 30px;
  border-radius: var(--radius-md);
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.problem-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.problem-danger {
  border-left: 5px solid var(--danger);
}

.problem-warning {
  border-left: 5px solid var(--warning);
}

.problem-gold {
  border-left: 5px solid var(--gold);
}

.problem-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.problem-card p {
  color: var(--grey-700);
  font-size: 15px;
  line-height: 1.6;
}

/* Features Grid & Cards */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px;
  text-align: center;
  border: 1px solid var(--grey-200);
  box-shadow: var(--shadow-sm);
  transition: var(--transition-smooth);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(27, 58, 92, 0.1);
}

.feature-icon {
  width: 64px;
  height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--gold);
  font-size: 20px;
  font-weight: 700;
  box-shadow: 0 4px 15px rgba(27, 58, 92, 0.2);
  transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
  transform: scale(1.1);
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

.feature-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}

.feature-card p {
  color: var(--grey-700);
  font-size: 14.5px;
  line-height: 1.6;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  max-width: 960px;
  margin: 0 auto;
}

.step-card {
  text-align: center;
  position: relative;
}

.step-num {
  width: 52px;
  height: 52px;
  background: var(--gold);
  color: var(--navy-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Outfit', sans-serif;
  font-size: 22px;
  font-weight: 700;
  margin: 0 auto 24px;
  box-shadow: 0 4px 12px rgba(212, 160, 23, 0.35);
  border: 3px solid var(--white);
}

.step-card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 12px;
}

.step-card p {
  color: var(--grey-700);
  font-size: 14.5px;
  padding: 0 10px;
}

/* Connecting line between steps in desktop */
@media (min-width: 769px) {
  .steps-grid {
    position: relative;
  }
  .step-card:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 26px;
    left: calc(50% + 40px);
    width: calc(100% - 80px);
    height: 2px;
    background: var(--grey-200);
    z-index: -1;
  }
}

/* Beta Section & Card */
.beta-section {
  background: linear-gradient(135deg, rgba(27, 58, 92, 0.98) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 90px 0;
  position: relative;
}

.beta-section h2 {
  color: var(--white);
}

.beta-section .section-subtitle {
  color: var(--grey-300);
}

.beta-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(212, 160, 23, 0.2);
  border-radius: var(--radius-lg);
  padding: 48px;
  max-width: 640px;
  margin: 0 auto;
  box-shadow: var(--shadow-lg);
}

.beta-card-header h3 {
  color: var(--gold);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-bottom: 8px;
}

.beta-list {
  list-style: none;
  margin-bottom: 16px;
}

.beta-list li {
  padding: 8px 0;
  color: var(--grey-100);
  font-size: 15px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.beta-list li::before {
  content: '✓';
  color: var(--gold);
  font-weight: 700;
  flex-shrink: 0;
}

.beta-cta {
  text-align: center;
  margin-top: 12px;
}

.beta-form {
  margin-top: 32px;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  text-align: left;
  margin-bottom: 24px;
}

@media (max-width: 576px) {
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-family: 'Outfit', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--grey-300);
  letter-spacing: 0.5px;
}

.form-group input {
  background: rgba(10, 27, 46, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  color: var(--white);
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  transition: var(--transition-smooth);
  box-shadow: var(--shadow-inset);
}

.form-group input::placeholder {
  color: var(--grey-500);
  opacity: 0.8;
}

.form-group input:hover {
  border-color: rgba(212, 160, 23, 0.4);
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(10, 27, 46, 0.8);
  box-shadow: 0 0 12px rgba(212, 160, 23, 0.25), var(--shadow-inset);
}

.btn-form {
  width: 100%;
  justify-content: center;
}

.form-success {
  text-align: center;
  padding: 40px 24px;
  border-radius: var(--radius-lg);
  background: rgba(16, 185, 129, 0.06);
  border: 1px dashed rgba(16, 185, 129, 0.3);
  margin-top: 32px;
  animation: success-fade-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes success-fade-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.success-icon {
  width: 60px;
  height: 60px;
  background: var(--success);
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  animation: success-bounce 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes success-bounce {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}

.form-success h3 {
  font-family: 'Outfit', sans-serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 8px;
}

.form-success p {
  color: var(--grey-300);
  font-size: 15px;
  max-width: 400px;
  margin: 0 auto;
}

/* Contact / About Section */
.about-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 50px;
  box-shadow: var(--shadow-md);
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  border: 1px solid var(--grey-100);
}

.about-card h2 {
  margin-bottom: 24px;
}

.about-text {
  color: var(--grey-700);
  font-size: 16.5px;
  line-height: 1.8;
  margin-bottom: 24px;
  text-align: justify;
}

.contact-info {
  display: flex;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid var(--grey-200);
}

.contact-link {
  color: var(--navy);
  font-size: 15px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: var(--transition-smooth);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  background: var(--grey-50);
}

.contact-link:hover {
  background: var(--navy-ultra-light);
  color: var(--navy-light);
  transform: translateY(-2px);
}

/* Footer Section */
.main-footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  padding: 40px 0;
  font-size: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

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

.footer-links {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-link-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.65);
  font-family: inherit;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition-fast);
  padding: 4px 8px;
}

.footer-link-btn:hover {
  color: var(--white);
  text-decoration: underline;
}

.separator {
  color: rgba(255, 255, 255, 0.2);
}

/* Modal Overlay & Styling */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-smooth);
}

.modal.is-active {
  opacity: 1;
  pointer-events: auto;
}

.modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(10, 27, 46, 0.65);
  backdrop-filter: blur(6px);
}

.modal-wrapper {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-lg);
  width: 90%;
  max-width: 680px;
  max-height: 80vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  z-index: 2010;
  display: flex;
  flex-direction: column;
  transform: translateY(20px) scale(0.95);
  transition: var(--transition-smooth);
  overflow: hidden;
}

.modal.is-active .modal-wrapper {
  transform: translateY(0) scale(1);
}

.modal-header {
  padding: 24px 32px;
  border-bottom: 1px solid var(--grey-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h2 {
  font-size: 22px;
  font-weight: 700;
  margin: 0;
}

.modal-close {
  background: var(--grey-100);
  border: none;
  font-size: 24px;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--grey-700);
  transition: var(--transition-fast);
}

.modal-close:hover {
  background: var(--grey-200);
  color: var(--grey-900);
}

.modal-body {
  padding: 32px;
  overflow-y: auto;
  font-size: 14.5px;
  color: var(--grey-700);
  line-height: 1.6;
}

.modal-body h3 {
  font-size: 16px;
  font-weight: 600;
  margin-top: 24px;
  margin-bottom: 8px;
}

.modal-body h3:first-of-type {
  margin-top: 0;
}

.modal-body p {
  margin-bottom: 12px;
}

.modal-body ul {
  margin-bottom: 16px;
  padding-left: 20px;
}

.modal-body li {
  margin-bottom: 6px;
}

.meta-date {
  font-size: 12px;
  color: var(--grey-500);
  margin-bottom: 20px;
}

.modal-alert {
  background-color: var(--grey-50);
  border-left: 3px solid var(--navy);
  padding: 12px 16px;
  font-size: 13.5px;
  color: var(--grey-700);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 16px 0;
}

.modal-alert-danger {
  background-color: var(--danger-bg);
  border-left-color: var(--danger);
  color: #991B1B;
}

/* Presentation Video Modal customization */
.modal-wrapper-video {
  max-width: 800px;
  width: 95%;
}

.modal-body-video {
  padding: 0 !important; /* Video fills modal entirely */
  background: #000;
}

.video-container {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 ratio */
  height: 0;
  overflow: hidden;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* Mobile & Responsive Breakpoints */
@media (max-width: 968px) {
  .hero {
    padding: 80px 0;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 0;
    text-align: center;
  }
  
  .hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
  }

  .hero h1 {
    font-size: 38px;
  }

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

  .hero-visual-placeholder {
    display: none; /* Hide empty visual element on tablet/mobile */
  }

  /* Force background overlay to be slightly darker for centered text on mobile */
  .hero-overlay {
    background: linear-gradient(180deg, rgba(10, 27, 46, 0.94) 0%, rgba(10, 27, 46, 0.98) 100%);
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: inline-block;
  }

  .nav-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--navy-dark);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
    z-index: 1050;
    padding: 100px 32px;
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-menu.is-active {
    right: 0;
  }

  .nav-links {
    flex-direction: column;
    gap: 24px;
  }

  .nav-links a {
    font-size: 18px;
    display: block;
  }

  .nav-phone {
    font-size: 14px;
  }

  .section {
    padding: 60px 0;
  }

  .section h2 {
    font-size: 28px;
  }

  .section-subtitle {
    margin-bottom: 36px;
  }

  .about-card {
    padding: 30px 20px;
  }

  .about-text {
    font-size: 15px;
    text-align: left;
  }

  .beta-card {
    padding: 24px;
  }

  .footer-container {
    flex-direction: column;
    text-align: center;
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 32px;
  }

  .nav-phone {
    display: none;
  }

  .btn {
    width: 100%;
  }

  .modal-wrapper {
    height: auto;
    max-height: 90vh;
  }

  .modal-body {
    padding: 20px;
  }
}

/* ============================================================
   Free "/check" entry point — nav link + smart hero card
   ============================================================ */
.nav-check {
  color: var(--gold-light) !important;
  font-weight: 600;
}
.nav-check:hover { color: var(--gold) !important; }

.hero-check-card {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
  max-width: 520px;
  padding: 16px 18px;
  border-radius: var(--radius-md, 12px);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(212, 160, 23, 0.45);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  text-decoration: none;
  color: #fff;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}
.hero-check-card:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--gold, #D4A017);
  box-shadow: 0 12px 30px rgba(212, 160, 23, 0.18);
}
.hero-check-icon {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #0A1B2E;
  background: linear-gradient(135deg, var(--gold-light, #E8B83A), var(--gold-dark, #B3830C));
  box-shadow: 0 0 0 4px rgba(212, 160, 23, 0.15);
}
.hero-check-text { display: flex; flex-direction: column; gap: 3px; }
.hero-check-text strong { font-size: 16px; font-weight: 700; line-height: 1.25; }
.hero-check-text small { font-size: 12.5px; line-height: 1.45; color: rgba(255, 255, 255, 0.75); }
.hero-check-go {
  margin-left: auto;
  flex: none;
  font-size: 22px;
  color: var(--gold-light, #E8B83A);
  transition: transform 0.2s ease;
}
.hero-check-card:hover .hero-check-go { transform: translateX(4px); }

@media (max-width: 600px) {
  .hero-check-card { gap: 12px; padding: 14px; }
  .hero-check-go { display: none; }
}
