/* ========================================================================
   SalahHabit Landing Page — Premium Dark Theme
   ======================================================================== */

/* --- CSS Custom Properties --- */
:root {
  --accent: #1DB7A6;
  --accent-light: #2ED8C4;
  --accent-glow: rgba(29, 183, 166, 0.3);
  --bg-dark: #0E1A2B;
  --bg-dark-alt: #1A3A4A;
  --bg-darker: #0A1220;
  --card-bg: #1A2A3A;
  --card-border: rgba(29, 183, 166, 0.12);
  --text-primary: #F0F0F0;
  --text-secondary: #9CA3AF;
  --radius-card: 16px;
  --radius-cta: 50px;
  --font-headline: "Georgia Pro", Georgia, "Times New Roman", serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* ========================================================================
   CSS Reset (minimal)
   ======================================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

ul,
ol {
  list-style: none;
}

img,
svg {
  display: block;
  max-width: 100%;
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
  color: inherit;
}

a {
  text-decoration: none;
  color: var(--accent);
  transition: color 0.25s ease;
}

a:hover {
  color: var(--accent-light);
}

/* ========================================================================
   Base / Typography
   ======================================================================== */
body {
  background-color: var(--bg-dark);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-headline);
  color: #fff;
  line-height: 1.2;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========================================================================
   Navigation (.nav)
   ======================================================================== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  background: transparent;
  transition: background 0.35s ease, box-shadow 0.35s ease, backdrop-filter 0.35s ease, -webkit-backdrop-filter 0.35s ease;
}

.nav-scrolled {
  background: rgba(14, 26, 43, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.05);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
}

.nav-logo-text {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.3px;
}

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

.nav-links a {
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.25s ease;
  position: relative;
}

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

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

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--accent);
  color: #fff !important;
  padding: 10px 22px;
  border-radius: var(--radius-cta);
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.nav-cta:hover {
  background: var(--accent-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px var(--accent-glow);
  color: #fff !important;
}

.nav-cta::after {
  display: none !important;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 1010;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
  transform-origin: center;
}

.nav-open .hamburger span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-open .hamburger span:nth-child(2) {
  opacity: 0;
}

.nav-open .hamburger span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile nav overlay */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 300px;
  max-width: 85vw;
  background: rgba(14, 26, 43, 0.97);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 100px 32px 40px;
  flex-direction: column;
  gap: 8px;
  z-index: 1005;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -10px 0 40px rgba(0, 0, 0, 0.4);
}

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

.nav-mobile a {
  color: var(--text-primary);
  font-size: 1.125rem;
  font-weight: 500;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.nav-mobile a:hover {
  color: var(--accent);
  padding-left: 8px;
}

.nav-mobile .nav-cta {
  margin-top: 20px;
  justify-content: center;
  padding: 14px 28px;
}

.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 1004;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.nav-open .nav-overlay {
  opacity: 1;
}

/* ========================================================================
   Hero (.hero)
   ======================================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(14, 26, 43, 0.6) 0%, rgba(14, 26, 43, 0.85) 50%, var(--bg-dark) 100%),
    url("../images/night-bg.jpg") center / cover no-repeat;
  opacity: 0.25;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  top: 20%;
  left: 50%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 60px;
}

.hero-text {
  max-width: 540px;
  flex: 1;
  min-width: 0;
}

.hero-tagline {
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-body);
  margin-bottom: 20px;
  display: block;
}

.hero-headline {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: #fff;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  color: var(--text-secondary);
  font-size: 1.15rem;
  line-height: 1.6;
  margin-bottom: 32px;
}

.hero-ctas {
  display: flex;
  flex-direction: row;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  padding: 14px 32px;
  border-radius: var(--radius-cta);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-primary:hover {
  background: var(--accent-light);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px var(--accent-glow);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--accent);
  padding: 14px 32px;
  border-radius: var(--radius-cta);
  border: 2px solid var(--accent);
  font-size: 1rem;
  font-weight: 600;
  transition: background 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.btn-secondary:hover {
  background: rgba(29, 183, 166, 0.1);
  color: var(--accent-light);
  border-color: var(--accent-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(29, 183, 166, 0.15);
}

.hero-note {
  margin-top: 20px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-note svg {
  display: inline-block;
  width: 14px;
  height: 14px;
  vertical-align: middle;
  fill: var(--text-secondary);
}

.hero-phone {
  flex-shrink: 0;
}

/* ========================================================================
   Phone Mockup (.phone-mockup)
   ======================================================================== */
.phone-mockup {
  width: 280px;
  aspect-ratio: 9 / 19.5;
  border-radius: 44px;
  border: 4px solid #2a2a2a;
  background: #000;
  overflow: hidden;
  position: relative;
  box-shadow:
    0 0 0 2px #1a1a1a,
    0 25px 60px rgba(0, 0, 0, 0.5),
    0 0 60px var(--accent-glow);
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #1a1a1a;
  border-radius: 20px;
  z-index: 10;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.phone-mockup--hero {
  animation: float 4s ease-in-out infinite;
}

.phone-mockup--center {
  transform: scale(1.05);
}

/* ========================================================================
   Problem Strip (.problem)
   ======================================================================== */
.problem {
  padding: 100px 0;
  text-align: center;
  position: relative;
}

.problem::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(29, 183, 166, 0.2), transparent);
}

.problem-statement {
  font-family: var(--font-headline);
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  color: var(--text-secondary);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.5;
}

.problem-statement + .problem-statement {
  margin-top: 48px;
}

.highlight {
  color: var(--accent);
  font-weight: 700;
}

/* ========================================================================
   Features Grid (.features)
   ======================================================================== */
.features {
  padding: 100px 0;
  position: relative;
}

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

.feature-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--accent-glow);
  box-shadow: 0 12px 40px rgba(29, 183, 166, 0.1), 0 0 0 1px rgba(29, 183, 166, 0.15);
}

.feature-icon {
  width: 64px;
  height: 64px;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.feature-icon img {
  width: 64px;
  height: 64px;
  object-fit: contain;
}

.feature-title {
  font-family: var(--font-headline);
  font-size: 1.25rem;
  color: #fff;
  margin-bottom: 8px;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* ========================================================================
   Screenshot Gallery (.gallery)
   ======================================================================== */
.gallery {
  padding: 100px 0;
  overflow: hidden;
}

.gallery-phones {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
}

.gallery-phone {
  flex-shrink: 0;
  text-align: center;
}

.gallery-label {
  text-align: center;
  color: var(--text-secondary);
  margin-top: 16px;
  font-size: 0.875rem;
  font-weight: 500;
}

/* ========================================================================
   Testimonials (.testimonials)
   ======================================================================== */
.testimonials {
  padding: 100px 0;
  position: relative;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border-radius: var(--radius-card);
  padding: 32px;
  border: 1px solid var(--card-border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: rgba(29, 183, 166, 0.2);
}

.testimonial-stars {
  color: #FFD700;
  font-size: 1.25rem;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--text-primary);
  font-style: italic;
  line-height: 1.7;
  margin-bottom: 16px;
  font-size: 0.975rem;
}

.testimonial-author {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.925rem;
}

.testimonial-source {
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 2px;
  opacity: 0.7;
}

/* ========================================================================
   Ad-Free Section (.adfree)
   ======================================================================== */
.adfree {
  padding: 100px 0;
  position: relative;
}

.adfree .container {
  display: flex;
  flex-direction: row;
  gap: 60px;
  align-items: center;
}

.adfree-image {
  max-width: 300px;
  flex-shrink: 0;
}

.adfree-image img {
  width: 100%;
  border-radius: var(--radius-card);
}

.adfree-content {
  flex: 1;
}

.adfree-content h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  margin-bottom: 16px;
}

.adfree-content p {
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 24px;
  font-size: 1.05rem;
}

/* ========================================================================
   Final CTA (.final-cta)
   ======================================================================== */
.final-cta {
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, var(--bg-dark) 0%, rgba(10, 18, 32, 0.95) 40%, rgba(10, 18, 32, 0.98) 100%),
    url("../images/night-bg.jpg") center / cover no-repeat;
  opacity: 0.35;
  z-index: 0;
}

.final-cta::after {
  content: "";
  position: absolute;
  bottom: 10%;
  left: 50%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(29, 183, 166, 0.12) 0%, transparent 70%);
  transform: translateX(-50%);
  z-index: 0;
  pointer-events: none;
}

.final-cta .container {
  position: relative;
  z-index: 1;
}

.final-cta h2 {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 16px;
  line-height: 1.2;
}

.final-cta p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 32px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.final-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.app-store-badge {
  height: 54px;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.app-store-badge:hover {
  opacity: 0.85;
  transform: scale(1.03);
}

.final-cta-icon {
  width: 80px;
  height: 80px;
  border-radius: 18px;
  margin: 0 auto 24px;
}

.btn-lg {
  padding: 16px 40px;
  font-size: 1.1rem;
}

/* ========================================================================
   Footer (.footer)
   ======================================================================== */
.footer {
  background: var(--bg-darker);
  padding: 60px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-column h4 {
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.75rem;
  font-family: var(--font-body);
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  color: var(--text-secondary);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.25s ease, padding-left 0.25s ease;
}

.footer-column a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-column p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  margin-top: 40px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom a {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.footer-bottom a:hover {
  color: var(--accent);
}

/* ========================================================================
   Section Titles
   ======================================================================== */
.section-title {
  text-align: center;
  font-family: var(--font-headline);
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: #fff;
  margin-bottom: 16px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto 60px;
  font-size: 1.05rem;
  line-height: 1.6;
}

/* ========================================================================
   Animations
   ======================================================================== */
@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-12px);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Scroll-triggered animation system */
[data-animate] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

[data-animate].is-visible {
  opacity: 1;
  transform: translateY(0);
}

[data-animate="fade-in"] {
  transform: none;
}

[data-animate="fade-in"].is-visible {
  transform: none;
}

[data-animate="slide-left"] {
  transform: translateX(-30px);
}

[data-animate="slide-left"].is-visible {
  transform: translateX(0);
}

[data-animate="slide-right"] {
  transform: translateX(30px);
}

[data-animate="slide-right"].is-visible {
  transform: translateX(0);
}

/* Stagger delays for child animations */
.stagger > [data-animate]:nth-child(1) { transition-delay: 0s; }
.stagger > [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.stagger > [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.stagger > [data-animate]:nth-child(4) { transition-delay: 0.3s; }
.stagger > [data-animate]:nth-child(5) { transition-delay: 0.4s; }
.stagger > [data-animate]:nth-child(6) { transition-delay: 0.5s; }

/* ========================================================================
   Legal Pages (.legal-page)
   ======================================================================== */
.legal-page {
  padding: 120px 0 80px;
}

.legal-page h1 {
  font-family: var(--font-headline);
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 8px;
}

.legal-updated {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 48px;
}

.legal-page h2 {
  font-family: var(--font-headline);
  font-size: 1.35rem;
  margin-top: 40px;
  margin-bottom: 12px;
  color: #fff;
}

.legal-page p {
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 720px;
}

.legal-page a {
  color: var(--accent);
}

.legal-page h3 {
  font-family: var(--font-headline);
  font-size: 1.1rem;
  margin-top: 28px;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.legal-page ul {
  list-style: disc;
  padding-left: 24px;
  color: var(--text-secondary);
  line-height: 1.8;
  max-width: 720px;
}

.legal-page li {
  margin-bottom: 4px;
}

/* ========================================================================
   Error Page (.error-page)
   ======================================================================== */
.error-page {
  padding: 160px 0 120px;
  text-align: center;
}

.error-page h1 {
  font-family: var(--font-headline);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 12px;
}

.error-page p {
  color: var(--text-secondary);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

/* ========================================================================
   Utility Classes
   ======================================================================== */
.text-accent {
  color: var(--accent);
}

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

/* ========================================================================
   Media Queries
   ======================================================================== */

/* Tablet and below */
@media (max-width: 768px) {
  /* Navigation */
  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-mobile {
    display: flex;
  }

  .nav-overlay {
    display: block;
    pointer-events: none;
  }

  .nav-open .nav-overlay {
    pointer-events: auto;
  }

  /* Hero */
  .hero {
    padding: 100px 0 60px;
    min-height: auto;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .hero-text {
    max-width: 100%;
  }

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

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

  .hero-phone {
    order: -1;
  }

  .phone-mockup {
    width: 240px;
  }

  .phone-mockup--hero {
    animation-duration: 5s;
  }

  /* Problem */
  .problem {
    padding: 70px 0;
  }

  .problem-statement + .problem-statement {
    margin-top: 32px;
  }

  /* Features */
  .features {
    padding: 70px 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .feature-card {
    padding: 24px;
  }

  /* Gallery */
  .gallery {
    padding: 70px 0;
  }

  .gallery-phones {
    justify-content: flex-start;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 20px;
    padding: 0 24px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .gallery-phones::-webkit-scrollbar {
    display: none;
  }

  .gallery-phone {
    scroll-snap-align: center;
  }

  .phone-mockup--center {
    transform: scale(1);
  }

  /* Testimonials */
  .testimonials {
    padding: 70px 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  /* Ad-free */
  .adfree {
    padding: 70px 0;
  }

  .adfree .container {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }

  .adfree-image {
    max-width: 240px;
  }

  /* Final CTA */
  .final-cta {
    padding: 80px 0;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  /* Section titles */
  .section-subtitle {
    margin-bottom: 40px;
  }
}

/* Small phones */
@media (max-width: 480px) {
  .hero-headline {
    font-size: clamp(1.75rem, 7vw, 2.25rem);
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    width: 100%;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    justify-content: center;
    padding: 14px 24px;
  }

  .phone-mockup {
    width: 200px;
    border-radius: 36px;
  }

  .phone-mockup::before {
    width: 80px;
    height: 24px;
    top: 10px;
  }

  .feature-card {
    padding: 20px;
  }

  .testimonial-card {
    padding: 24px;
  }

  .final-cta h2 {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .app-store-badge {
    height: 44px;
  }

  .final-cta-icon {
    width: 48px;
    height: 48px;
  }

  .container {
    padding: 0 16px;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  [data-animate] {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .phone-mockup--hero {
    animation: none;
  }
}
