/* =========================
   RESET
========================= */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
}

html {
  -webkit-text-size-adjust: 100%;
}

/* =========================
   DESIGN SYSTEM
========================= */
:root {
  /* FONT */
  --font-family: "Montserrat", system-ui, -apple-system, sans-serif;

  /* COLORS */
  --color-text: #0f172a;
  --color-muted: #64748b;
  --color-bg: #f8fafc;
  --color-border: #e2e8f0;
  --color-primary: #0f172a;
  --color-accent: linear-gradient(135deg, #22c55e, #16a34a);

  /* SPACING SYSTEM (8pt scale) */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;
  --space-3xl: 80px;

  /* RADIUS */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  /* SHADOWS (subtle, not heavy) */
  --shadow-sm: 0 2px 6px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 6px 18px rgba(0, 0, 0, 0.06);
  --shadow-cta: 0 10px 25px rgba(34, 197, 94, 0.3);
  --shadow-cta-hover: 0 15px 35px rgba(34, 197, 94, 0.4);
}

/* =========================
   BASE
========================= */
body {
  font-family: var(--font-family);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

img,
picture {
  max-width: 100%;
  display: block;
}

/* REMOVE DEFAULT LIST STYLES */
ul {
  list-style: none;
  padding: 0;
}

/* LINKS */
a {
  text-decoration: none;
  color: inherit;
}

h1,
h2,
h3 {
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* =========================
   LAYOUT
========================= */
.container {
  width: 100%;
  max-width: 1120px;
  margin-inline: auto;
  padding-inline: var(--space-lg);
}

section {
  padding-block: var(--space-3xl);
}

/* =========================
   TYPOGRAPHY SYSTEM
========================= */
.section-title {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.3;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--color-muted);
  margin-top: var(--space-sm);
}

p {
  font-size: 1rem;
  color: var(--color-muted);
}

/* =========================
   BUTTON SYSTEM
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  transition: all 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.btn-primary {
  margin: 40px 0;
}

/* =========================
   UTILITIES
========================= */
.light-text {
  font-weight: 400;
  color: var(--color-muted);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 rgba(37, 99, 235, 0.5);
  }
  70% {
    box-shadow: 0 0 0 15px rgba(37, 99, 235, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 99, 235, 0);
  }
}

/* =========================
   HERO SECTION
========================= */
.hero-sec {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 75vh;
  background: url("/img/hero_bg.webp") center / cover no-repeat;
}

/* OVERLAY (subtle + clean) */
.hero-sec::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

/* =========================
   CONTENT
========================= */
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 560px;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  color: #fff;
}

/* =========================
   TYPOGRAPHY
========================= */
.hero-title {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.hero-title .light-text {
  color: rgba(255, 255, 255, 0.8);
}

/* SUBTITLE */
.hero-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
}

/* =========================
   FEATURES
========================= */
.hero-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.hero-features li {
  font-size: 0.75rem;
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.9);
}

/* =========================
   BUTTON
========================= */
.hero-btn {
  background: var(--color-accent);
  box-shadow: var(--shadow-cta);
  margin-top: var(--space-sm);
  width: fit-content;
  padding: 15px 34px;
  border-radius: 999px;
}

.hero-btn:hover {
  box-shadow: var(--shadow-cta-hover);
}

/* =========================
   CATEGORY SECTION
========================= */

/* HEADER */
.category-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.logo-link {
  display: inline-block;
}

.logo {
  margin-inline: auto;
  margin-bottom: var(--space-lg);
}

/* =========================
   CATEGORY NAV
========================= */
.category-nav {
  display: flex;
  justify-content: center;
}

/* GRID LAYOUT */
.btn-link-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-md);
}

/* =========================
   CATEGORY BUTTONS
========================= */
.btn-links {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 26px;
  font-weight: 700;
  color: var(--color-text);
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 999px;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-md);
}

/* HOVER */
.btn-links:hover {
  background: #0f172a;
  color: #fff;
  transform: translateY(-2px);
}

/* =========================
   APP SECTION
========================= */

/* WRAPPER */
.app-sec-wrap {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  align-items: center;
  gap: var(--space-2xl);
}

/* =========================
   LEFT CONTENT
========================= */

.proof-grid {
  display: flex;
  justify-content: left;
  gap: 30px;
  margin-top: 40px;
}

.proof-grid div {
  text-align: center;
  background: #fff;
  padding: 25px 35px;
  border-radius: 16px;
  box-shadow: var(--shadow-md);
}

.proof-grid h3 {
  font-size: 26px;
  color: #22c55e;
  text-align: center;
}

/* =========================
   RIGHT SIDE (IMAGE + STORES)
========================= */
.app-media {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-lg);
}

/* IMAGE */
.app-image img {
  width: 180px;
  height: auto;
}

/* STORE BUTTONS */
.app-stores {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.app-stores img {
  width: 140px;
  height: auto;
  transition: transform 0.2s ease;
}

.app-stores a:hover img {
  transform: translateY(-2px);
}

/* BENEFITS */
.benefits {
  padding: 80px 0;
  text-align: center;
}

.benefit-grid {
  display: flex;
  gap: 25px;
  margin-top: 40px;
}

.benefit-grid div {
  flex: 1;
  background: #fff;
  padding: 30px;
  border-radius: 16px;
  text-align: left;
  box-shadow: var(--shadow-md);
  transition: 0.25s;
}

.benefit-grid div:hover {
  transform: translateY(-5px);
}

.benefit-grid h3 {
  margin-bottom: 10px;
}

/* =========================
   DISCOVER SECTION
========================= */
.discover-sec {
  background: #fff;
}

/* WRAPPER */
.discover-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: var(--space-2xl);
}

/* =========================
   IMAGE
========================= */
.discover-image img {
  width: 100%;
  max-width: 480px;
  height: auto;
  border-radius: var(--radius-md);
}

/* =========================
   CONTENT
========================= */
.discover-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  max-width: 480px;
}

.discover-text {
  font-size: 0.95rem;
  color: var(--color-muted);
}

/* BUTTON */
.discover-btn {
  margin-top: var(--space-sm);
  width: fit-content;
}

/* =========================
   FEATURED SECTION
========================= */

/* HEADER */
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}

/* GRID */
.featured-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-lg);
}

/* =========================
   CARD
========================= */
.featured-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: all 0.2s ease;
}

/* HOVER */
.featured-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

/* IMAGE */
.featured-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
}

/* CONTENT */
.card-body {
  padding: var(--space-md);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

.card-body h3 {
  font-size: 1rem;
  font-weight: 600;
}

.card-body p {
  font-size: 0.9rem;
  color: var(--color-muted);
}

/* BUTTON */
.card-body .btn {
  margin-top: var(--space-sm);
  width: fit-content;
}

/* =========================
   FOOTER
========================= */
.footer-sec {
  background: linear-gradient(0deg, #020617, #0f172a);
  color: #fff;
  padding-block: var(--space-2xl);
}

/* WRAPPER */
.footer-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-md);
}

/* LOGO */
.footer-wrap img {
  width: 64px;
  height: auto;
}

.footer-title {
  font-size: 1.2rem;
}

/* TEXT */
.footer-text {
  max-width: 620px;
  font-size: 0.9rem;
  color: #cbd5f5;
}

/* COUNTRY LIST */
.footer-locations {
  font-size: 0.8rem;
  color: #94a3b8;
  margin-bottom: var(--space-xl);
}

/* STICKY CTA (Styled like primary but different color) */
.sticky-cta {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 999;
  padding: 14px 30px;
  border-radius: 999px;
  background: linear-gradient(135deg, #3b82f6, #2563eb); /* Blue contrast */
  box-shadow: 0 10px 30px rgba(37, 99, 235, 0.35);
  transition: all 0.25s ease;
  animation: pulse 2.5s infinite;
}

.sticky-cta a {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  display: block;
  transition: opacity 0.2s ease;
}

/* HOVER (same feel as primary) */
.sticky-cta:hover {
  transform: translateX(-50%) translateY(-3px);
  box-shadow: 0 15px 40px rgba(37, 99, 235, 0.45);
}

/* =========================
   TABLET
========================= */
@media (max-width: 1024px) {
  .hero-content {
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }

  .app-sec-wrap {
    grid-template-columns: 1fr;
  }

  .app-content {
    text-align: center;
  }

  .proof-grid {
    justify-content: center;
  }

  .app-media {
    justify-content: center;
  }

  .discover-wrap {
    grid-template-columns: 1fr;
  }

  .discover-image img {
    margin: 0 auto;
  }

  .discover-content {
    margin: 0 auto;
    text-align: center;
    align-items: center;
  }

  .featured-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================
   MOBILE
========================= */
@media (max-width: 768px) {
  section {
    padding-block: var(--space-2xl);
  }

  .btn {
    width: 100%;
  }

  .hero-sec {
    justify-content: center;
    text-align: center;
    padding-block: var(--space-xl);
  }

  .hero-content {
    align-items: center;
    max-width: 100%;
  }

  .hero-features {
    justify-content: center;
  }

  .hero-btn {
    width: 100%;
  }

  .btn-link-wrap {
    flex-direction: column;
    width: 100%;
    gap: var(--space-md);
  }

  .btn-links {
    display: flex;
    width: 100%;
  }

  .proof-grid {
    flex-direction: column;
  }

  .benefit-grid {
    flex-direction: column;
  }

  .discover-sec {
    padding-block: var(--space-xl);
  }

  .discover-image img {
    max-width: 100%;
  }

  .featured-sec {
    padding-block: var(--space-xl);
  }

  .featured-wrap {
    grid-template-columns: 1fr;
  }

  .card-body .btn {
    width: 100%;
  }

  .sticky-cta {
    width: 90%;
    text-align: center;
  }
}
