:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121c;
  --text-primary: #ffffff;
  --text-secondary: #a0a0b5;
  --accent: #00aeef;
  --accent-glow: rgba(0, 174, 239, 0.4);
  --glass-bg: rgba(255, 255, 255, 0.05);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  font-family: 'Bricolage Grotesque', system-ui, -apple-system, sans-serif;
  background-image: url('images/black_bckgrnd.webp');
  background-color: var(--bg-primary);
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Background Effects */
body::before {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 50vw;
  height: 50vh;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: absolute;
  top: 40%;
  right: -10%;
  width: 40vw;
  height: 40vh;
  background: radial-gradient(circle, rgba(0, 174, 239, 0.3) 0%, transparent 70%);
  filter: blur(100px);
  z-index: -1;
  pointer-events: none;
}

.bg-floating-element {
  position: fixed;
  top: 15%;
  right: -5%;
  height: 80vh;
  opacity: 0.15;
  filter: blur(15px);
  z-index: -2;
  transform: rotate(-15deg);
  pointer-events: none;
}

/* Navigation */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 5%;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid var(--glass-border);
}

.logo {
  display: flex;
  align-items: center;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  margin-left: 2rem;
  transition: color 0.3s ease;
}

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

.nav-cta {
  background: var(--glass-bg);
  padding: 0.6rem 1.2rem;
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  transition: all 0.3s ease;
}

.nav-cta:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff !important;
}

/* Hero Section */
.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 80vh;
  padding: 0 5%;
  gap: 4rem;
}

.hero-content {
  flex: 1;
  animation: slideUp 1s ease forwards;
}

.free-badge {
  display: inline-block;
  background: rgba(0, 174, 239, 0.2);
  color: var(--accent);
  padding: 0.5rem 1.2rem;
  border-radius: 30px;
  border: 1px solid var(--accent);
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px var(--accent-glow);
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1.5px;
}

.highlight {
  color: var(--accent);
  text-shadow: 0 0 30px var(--accent-glow);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2.5rem;
  max-width: 90%;
}

.app-store-btn {
  display: inline-block;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.app-store-btn img {
  height: 55px;
  border-radius: 8px; /* Standard rounding for badge drop-shadows */
}

.app-store-btn:hover {
  transform: translateY(-4px);
  filter: brightness(1.1);
}

/* Mockup */
.hero-visual {
  flex: 1;
  display: flex;
  justify-content: center;
  animation: float 6s ease-in-out infinite;
}

.mockup-container {
  max-width: 320px;
  position: relative;
}

.mockup-container::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 60%);
  z-index: -1;
  filter: blur(40px);
}

.app-mockup {
  width: 100%;
  border-radius: 40px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.8), 0 0 0 10px #1a1a24;
  border: 1px solid rgba(255,255,255,0.2);
  display: block; /* removes bottom edge gap */
  min-height: 600px; /* Placeholder scale */
  background: var(--bg-secondary);
  object-fit: cover;
}

/* Banner Section (Uninterrupted Fun) */
.banner-section {
  padding: 4rem 5%;
  position: relative;
  z-index: 10;
}

.feature-banner {
  background: linear-gradient(135deg, var(--glass-bg) 0%, rgba(0, 174, 239, 0.1) 100%);
  border: 1px solid var(--accent);
  padding: 4rem;
  border-radius: 24px;
  max-width: 1200px;
  margin: 0 auto;
  backdrop-filter: blur(20px);
  box-shadow: 0 0 50px rgba(0, 174, 239, 0.2);
}

.layout-split {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 4rem;
  text-align: left;
}

.banner-text {
  flex: 1;
}

.banner-text h3 {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -1px;
  line-height: 1.1em;
}

.banner-text p {
  font-size: 1.25rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.banner-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.banner-image img {
  max-height: 400px;
  object-fit: contain;
  border-radius: 24px;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.6));
}


/* Evolution Track */
.evolution-track-section {
  padding: 4rem 5%;
  background: var(--bg-primary);
  border-top: 1px solid var(--glass-border);
  text-align: center;
  position: relative;
  z-index: 10;
}

.swipe-hint {
  display: none;
  color: var(--accent);
  font-size: 0.95rem;
  font-weight: 600;
  margin-top: -2.5rem;
  margin-bottom: 2rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  animation: slidePulse 2s infinite;
}

@keyframes slidePulse {
  0% { transform: translateX(0); opacity: 0.6; }
  50% { transform: translateX(5px); opacity: 1; }
  100% { transform: translateX(0); opacity: 0.6; }
}

.evolution-track {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 1rem;
  overflow-x: auto;
  padding: 3rem 1rem;
  max-width: 1400px;
  margin: 0 auto;
  scrollbar-width: none; /* Firefox */
}

.evolution-track::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}

.track-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: subtlePulse 3s ease-in-out infinite;
}

@keyframes subtlePulse {
  0% { transform: scale(1); filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); }
  50% { transform: scale(1.05); filter: drop-shadow(0 0 15px rgba(0,174,239,0.3)); }
  100% { transform: scale(1); filter: drop-shadow(0 2px 5px rgba(0,0,0,0.5)); }
}

.track-item img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 5px 10px rgba(0,0,0,0.5));
  transition: transform 0.3s ease;
}

.highlight-item {
  animation: pulseGlow 3s infinite;
  margin-left: 1rem;
}

@keyframes pulseGlow {
  0% { filter: drop-shadow(0 0 10px var(--accent-glow)); transform: scale(1.1); }
  50% { filter: drop-shadow(0 0 30px var(--accent)); transform: scale(1.3); }
  100% { filter: drop-shadow(0 0 10px var(--accent-glow)); transform: scale(1.1); }
}

.track-arrow {
  color: var(--text-secondary);
  font-size: 1.5rem;
  font-weight: 800;
  opacity: 0.3;
  flex-shrink: 0;
}

/* Features */
.features {
  padding: 6rem 5%;
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 4rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 2.5rem;
  border-radius: 24px;
  backdrop-filter: blur(10px);
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-10px);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 10px 40px rgba(0,0,0,0.4);
}

.feature-icon {
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* Document Pages (Privacy, Terms) */
.document-container {
  max-width: 800px;
  margin: 4rem auto;
  padding: 3rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
}

.document-container h1, .document-container h2, .document-container h3 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.document-container a {
  color: var(--text-primary);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.document-container a:hover {
  color: var(--accent);
}

.document-container p, .document-container ul {
  color: var(--text-secondary);
  margin-bottom: 1.5rem;
}

.document-container ul {
  padding-left: 2rem;
}

.document-container li {
  margin-bottom: 0.5rem;
}

/* Large Tier 3 Footer Element */
.footer-hero-element {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 4rem 5%;
  background: var(--bg-secondary);
}

.footer-hero-element img {
  width: 280px;
  height: 280px;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.8));
  animation: float 6s ease-in-out infinite;
}

/* Footer */
footer {
  padding: 3rem 5%;
  text-align: center;
  border-top: 1px solid var(--glass-border);
  background: var(--bg-primary);
  position: relative;
  z-index: 10;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-content p {
  color: var(--text-secondary);
}

.footer-links a {
  color: var(--text-secondary);
  text-decoration: none;
  margin-left: 1.5rem;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--text-primary);
}

/* Animations */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

/* Responsive */
@media (max-width: 900px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 4rem;
  }

  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-subtitle {
    margin: 0 auto 2.5rem;
  }
  
  .swipe-hint {
    display: block;
  }
  
  .nav-links {
    display: none;
  }
  
  .layout-split {
    flex-direction: column;
    text-align: center;
    padding: 2rem;
  }
  
  .banner-text h3 {
    font-size: 2.5rem;
  }
  
  .banner-image img {
    max-height: 250px;
  }

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

  .footer-links a {
    margin: 0 0.75rem;
  }
}
