/* ======================== */
/*        THEME            */
/* ======================== */
:root {
  --primary: #111b4c; /* Deep Navy */
  --secondary: #2b3b8c; /* Royal Blue */
  --accent: #ffffff; /* Pure white */
  --glass-bg: rgba(255, 255, 255, 0.1);
  --glass-border: rgba(255, 255, 255, 0.25);
}

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

html {
  scroll-behavior: smooth;
  /* Apply gradient to html element so overscroll areas inherit it */
  background: linear-gradient(180deg, var(--primary) 0%, var(--secondary) 100%)
    fixed;
  min-height: 100%;
}

body {
  font-family: "Montserrat", sans-serif;
  color: var(--accent);
  background: transparent; /* gradient handled by html */
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  user-select: none;
}

/* Containers */
.container {
  width: min(90%, 1200px);
  margin-inline: auto;
}

/* GLASSMORPHISM CARD */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

/* ======================== */
/*          HERO            */
/* ======================== */
header.hero {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 70vh; /* reduced height */
  padding-block: 4rem 3rem; /* add breathing room */
  position: relative;
  padding-inline: 1rem;
}

/* Remove extra overlay so main gradient flows across sections */
header.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: transparent;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
}

.hero-logo {
  width: 220px;
  margin-inline: auto 0;
  margin-bottom: 2rem;
}

h1.hero-title {
  /* Slightly smaller heading */
  font-size: clamp(1.3rem, 3.5vw, 2.2rem);
  font-weight: 700;
  margin-bottom: 1rem;
}

/* New icon above wordmark */
.hero-icon {
  width: 100px;
  margin-inline: auto;
  margin-bottom: 1rem;
}

p.hero-sub {
  font-size: clamp(1rem, 2vw, 1.25rem);
  font-weight: 400;
  margin-bottom: 2.5rem;
}

.btn-primary {
  display: inline-block;
  background: var(--accent);
  color: var(--primary);
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Inline styles moved to classes */
.hero-lead {
  font-size: 1.25rem;
  font-weight: 600;
  margin: 1rem 0 0.5rem;
}

.hero-sublead {
  font-size: 1rem;
  max-width: 560px;
  margin: 0 auto 1.75rem;
}

.section-title {
  text-align: center;
  margin-bottom: 2.5rem;
  font-size: 2rem;
  font-weight: 600;
}

/* ======================== */
/*        FEATURES          */
/* ======================== */
section.features {
  padding: 4rem 0 2rem;
}

.features-grid {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.feature-card {
  padding: 2rem 1.5rem;
  text-align: center;
}

.feature-card i {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* ======================== */
/*      HOW IT WORKS        */
/* ======================== */
section.how-it-works {
  padding: 4rem 0;
}

.steps {
  display: grid;
  gap: 1.5rem;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.step.glass {
  padding: 2rem 1.5rem;
  text-align: center;
  position: relative;
}

.step-number {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-inline: auto;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

/* ======================== */
/*           CTA            */
/* ======================== */
section.cta {
  padding: 4rem 0;
  text-align: center;
}

.store-btns {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.store-btns img {
  width: 145px;
}

/* Web app CTA row under stores */
.webapp-row {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

/* ---------------------------------- */
/*     INTERACTIVE HOVER EFFECTS      */
/* ---------------------------------- */

/* Feature cards */
.feature-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
  background: rgba(255, 255, 255, 0.15);
}

/* How-it-works steps */
.step.glass {
  transition: transform 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.step.glass:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  background: rgba(255, 255, 255, 0.12);
}

/* Store badges */
.store-btns img {
  transition: transform 0.2s ease;
}

.store-btns img:hover {
  transform: scale(1.05);
}

/* ======================== */
/*          FOOTER          */
/* ======================== */
footer {
  background: transparent; /* let body gradient show */
  padding: 3rem 0;
  font-size: 0.9rem;
}

.footer-glass {
  padding: 1.5rem 1rem;
  text-align: center;
}

footer a {
  color: var(--accent);
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}


