/* ===================================================================
   Dim Sum Shop — Main Stylesheet
   File: css/index.css
   To change colours / gradients / layout width, edit :root below.
   =================================================================== */

/* === VARIABLES === */
:root {
  /* --- Brand colours --- */
  --red-deep:    #C8384A;
  --red-medium:  #E04E63;
  --red-light:   #F08090;
  --red-pale:    #FFE4E8;

  /* --- Gold / warm accent --- */
  --gold:        #E8941A;
  --gold-light:  #F5B93E;
  --gold-pale:   #FFF0CC;

  /* --- Neutral backgrounds --- */
  --cream:       #FFF9F2;
  --peach:       #FFECD6;
  --white:       #FFFFFF;

  /* --- Text --- */
  --text-dark:   #3D1A00;
  --text-mid:    #6B3820;
  --text-light:  #FFFFFF;

  /* --- Brown tones (footer, dark elements) --- */
  --brown-dark:  #4A1C0A;
  --brown-mid:   #7A3B1E;
  --brown-light: #B5713A;

  /* --- Accent green --- */
  --jade:        #5BA85B;
  --jade-light:  #80C880;

  /* --- Shadows --- */
  --shadow-warm: rgba(200, 56, 74, 0.18);
  --shadow-soft: rgba(74, 28, 10, 0.12);

  /* --- Gradients (change once, applies everywhere) --- */
  --gradient-hero: linear-gradient(150deg, #C8384A 0%, #E04E63 40%, #E8941A 100%);
  --gradient-cta:  linear-gradient(135deg, #C8384A 0%, #B02035 50%, #8B1728 100%);

  /* --- Layout --- */
  --max-width: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Nunito', sans-serif;
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* === FLOATING DECORATIONS === */
.float-deco {
  position: fixed;
  pointer-events: none;
  z-index: 0;
  font-size: 2.5rem;
  opacity: 0.06;
  animation: floatDeco 20s infinite ease-in-out;
}
.float-deco:nth-child(1) { top: 8%;  left: 3%;  animation-delay: 0s;   font-size: 3rem;   }
.float-deco:nth-child(2) { top: 25%; right: 5%; animation-delay: -5s;  font-size: 2rem;   }
.float-deco:nth-child(3) { top: 55%; left: 2%;  animation-delay: -10s; font-size: 2.8rem; }
.float-deco:nth-child(4) { top: 75%; right: 4%; animation-delay: -15s; font-size: 2.2rem; }
.float-deco:nth-child(5) { top: 42%; left: 90%; animation-delay: -7s;  font-size: 3.5rem; }

@keyframes floatDeco {
  0%, 100% { transform: translateY(0)    rotate(0deg);  }
  33%       { transform: translateY(-20px) rotate(5deg);  }
  66%       { transform: translateY(10px)  rotate(-3deg); }
}

/* === NAVBAR === */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0.9rem 2rem;
  transition: all 0.35s ease;
}
.navbar.scrolled {
  background: rgba(255, 249, 242, 0.96);
  backdrop-filter: blur(20px);
  box-shadow: 0 4px 24px var(--shadow-soft);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.nav-logo img {
  width: 42px; height: 42px;
  border-radius: 10px;
  object-fit: cover;
  box-shadow: 0 4px 12px var(--shadow-warm);
}
.nav-logo-text {
  font-family: 'Pacifico', cursive;
  font-size: 1.35rem;
  color: var(--red-deep);
  text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.8);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--brown-mid);
  text-decoration: none;
  font-weight: 700;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 2.5px;
  background: var(--red-deep);
  border-radius: 2px;
  transition: width 0.3s ease;
}
.nav-links a:hover { color: var(--red-deep); }
.nav-links a:hover::after { width: 100%; }

/* Nav links colour when hero (dark bg) is visible */
.navbar:not(.scrolled) .nav-links a { color: rgba(255, 255, 255, 0.9); }
.navbar:not(.scrolled) .nav-links a:hover { color: var(--gold-light); }
.navbar:not(.scrolled) .nav-links a::after { background: var(--gold-light); }

/* Recharge pill badge in nav */
.nav-recharge-link {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--brown-dark) !important;
  padding: 0.3rem 0.9rem;
  border-radius: 50px;
  font-weight: 800 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 2px 10px rgba(232, 148, 26, 0.3);
}
.nav-recharge-link::after { display: none !important; }
.nav-recharge-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(232, 148, 26, 0.45) !important;
  color: var(--brown-dark) !important;
}

.nav-download-btn {
  background: linear-gradient(135deg, var(--red-deep), var(--red-medium));
  color: var(--white);
  text-decoration: none;
  padding: 0.55rem 1.4rem;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px var(--shadow-warm);
}
.nav-download-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px var(--shadow-warm);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}
.mobile-menu-btn span {
  display: block;
  width: 26px; height: 3px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s ease;
}
.navbar.scrolled .mobile-menu-btn span { background: var(--brown-dark); }

.mobile-menu {
  display: none;
  position: absolute;
  top: 100%; left: 0; right: 0;
  background: rgba(255, 249, 242, 0.98);
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px var(--shadow-soft);
  padding: 1.2rem 2rem;
}
.mobile-menu.open { display: block; }
.mobile-menu a {
  display: block;
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 700;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(200, 56, 74, 0.1);
}
.mobile-menu a:last-child { border-bottom: none; }

/* Coloured links inside mobile menu */
.mobile-menu-recharge  { color: var(--gold) !important; }
.mobile-menu-download  { color: var(--red-deep) !important; }

/* === HERO === */
.hero {
  min-height: 100vh;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2rem 4rem;
}

/* Decorative circles */
.hero-bg-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}
.hero-bg-circle:nth-child(1) { width: 500px; height: 500px; top: -180px; right: -80px;  }
.hero-bg-circle:nth-child(2) { width: 350px; height: 350px; bottom: -100px; left: -80px; }
.hero-bg-circle:nth-child(3) { width: 200px; height: 200px; top: 40%; left: 35%;         }

/* Steam bubbles */
.hero-steam {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 180px;
  pointer-events: none;
  overflow: hidden;
}
.steam-bubble {
  position: absolute;
  bottom: 0;
  width: 8px; height: 8px;
  background: rgba(255, 255, 255, 0.18);
  border-radius: 50%;
  animation: steamRise 6s infinite ease-in-out;
}
.steam-bubble:nth-child(1) { left: 10%; animation-delay: 0s;    width: 6px;  height: 6px;  }
.steam-bubble:nth-child(2) { left: 25%; animation-delay: -1.2s; width: 10px; height: 10px; }
.steam-bubble:nth-child(3) { left: 40%; animation-delay: -2.4s; width: 7px;  height: 7px;  }
.steam-bubble:nth-child(4) { left: 60%; animation-delay: -0.8s; width: 12px; height: 12px; }
.steam-bubble:nth-child(5) { left: 75%; animation-delay: -3.6s; width: 5px;  height: 5px;  }
.steam-bubble:nth-child(6) { left: 88%; animation-delay: -2s;   width: 9px;  height: 9px;  }
.steam-bubble:nth-child(7) { left: 50%; animation-delay: -4.5s; width: 8px;  height: 8px;  }

@keyframes steamRise {
  0%   { transform: translateY(0) scale(1);         opacity: 0; }
  20%  { opacity: 1; }
  100% { transform: translateY(-160px) scale(2.5);  opacity: 0; }
}

/* Hero layout */
.hero-content {
  position: relative;
  z-index: 2;
  max-width: var(--max-width);
  width: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  color: var(--white);
  padding: 0.45rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.hero-badge span { font-size: 1.1rem; }
.hero-title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2.8rem, 6vw, 4.5rem);
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1rem;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.2);
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
  margin-bottom: 2.5rem;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}

/* App Store button */
.hero-store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  color: var(--text-dark);
  text-decoration: none;
  padding: 0.9rem 1.8rem;
  border-radius: 16px;
  font-weight: 800;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}
.hero-store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.3);
}
.hero-store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.hero-store-info  { display: flex; flex-direction: column; line-height: 1.2; }
.hero-store-label { font-size: 0.72rem; font-weight: 600; opacity: 0.65; text-transform: uppercase; letter-spacing: 0.05em; }
.hero-store-name  { font-size: 1.1rem; font-weight: 900; }

/* Recharge button (hero area) */
.hero-recharge-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, rgba(232, 148, 26, 0.22), rgba(245, 185, 62, 0.18));
  backdrop-filter: blur(10px);
  color: var(--white);
  text-decoration: none;
  padding: 0.9rem 1.5rem;
  border-radius: 16px;
  font-weight: 800;
  transition: all 0.3s ease;
  border: 1.5px solid rgba(245, 185, 62, 0.55);
  box-shadow: 0 4px 18px rgba(232, 148, 26, 0.25);
}
.hero-recharge-btn:hover {
  background: linear-gradient(135deg, rgba(232, 148, 26, 0.42), rgba(245, 185, 62, 0.35));
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(232, 148, 26, 0.4);
  border-color: rgba(245, 185, 62, 0.85);
}
.hero-recharge-btn .hero-store-info .hero-store-label { opacity: 0.75; }

/* Hero tags */
.hero-tags {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
  margin-top: 1.8rem;
}
.hero-tag {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.92);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* Phone mockups */
.hero-phones {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 0.6rem;
}
.hero-phone-wrap {
  position: relative;
  flex-shrink: 0;
  transition: transform 0.4s ease;
}
.hero-phone-wrap.main-phone {
  z-index: 3;
  filter: drop-shadow(0 28px 55px rgba(0, 0, 0, 0.42));
  animation: heroFloat 4s ease-in-out infinite;
  --phone-base-transform: translateY(0);
  --phone-float-transform: translateY(-14px);
}
.hero-phone-wrap.side-phone-left {
  z-index: 2;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.32));
  animation: heroFloat 4s ease-in-out infinite;
  animation-delay: -1.5s;
  --phone-base-transform: rotate(-6deg) translateY(24px) scale(0.84);
  --phone-float-transform: rotate(-6deg) translateY(10px) scale(0.84);
}
.hero-phone-wrap.side-phone-right {
  z-index: 2;
  filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.32));
  animation: heroFloat 4s ease-in-out infinite;
  animation-delay: -3s;
  --phone-base-transform: rotate(6deg) translateY(24px) scale(0.84);
  --phone-float-transform: rotate(6deg) translateY(10px) scale(0.84);
}
@keyframes heroFloat {
  0%, 100% { transform: var(--phone-base-transform,  translateY(0));     }
  50%       { transform: var(--phone-float-transform, translateY(-14px)); }
}
.hero-phone-frame {
  width: 185px;
  border-radius: 34px;
  overflow: hidden;
  border: 6px solid rgba(255, 255, 255, 0.92);
  background: #000;
}
.hero-phone-frame img { width: 100%; display: block; }

/* === SECTION COMMONS === */
.section-header {
  text-align: center;
  margin-bottom: 3.5rem;
}
.section-tag {
  display: inline-block;
  background: var(--red-pale);
  color: var(--red-deep);
  padding: 0.4rem 1.1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  letter-spacing: 0.03em;
}
.section-title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  color: var(--red-deep);
  margin-bottom: 0.9rem;
  line-height: 1.2;
}
.section-desc {
  font-size: 1.05rem;
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

/* === FEATURES === */
.features {
  padding: 6rem 2rem;
  background: var(--white);
  position: relative;
  overflow: hidden;
}
.features::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--red-deep), var(--gold), var(--red-deep));
}
.features-inner { max-width: var(--max-width); margin: 0 auto; }
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}
.feature-card {
  background: var(--cream);
  border-radius: 24px;
  padding: 2rem 1.6rem;
  text-align: center;
  transition: all 0.35s ease;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 22px;
  background: linear-gradient(135deg, var(--red-pale), var(--gold-pale));
  opacity: 0;
  transition: opacity 0.35s ease;
}
.feature-card:hover {
  transform: translateY(-6px);
  border-color: var(--red-light);
  box-shadow: 0 16px 48px var(--shadow-warm);
}
.feature-card:hover::before { opacity: 1; }
.feature-icon  { font-size: 3rem; margin-bottom: 1rem; display: block; position: relative; z-index: 1; }
.feature-title { font-size: 1.05rem; font-weight: 800; color: var(--red-deep); margin-bottom: 0.6rem; position: relative; z-index: 1; }
.feature-desc  { font-size: 0.9rem; color: var(--text-mid); line-height: 1.6; position: relative; z-index: 1; }

/* === IPHONE SCREENSHOTS === */
.iphone-screenshots {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--peach) 0%, var(--cream) 100%);
  overflow: hidden;
}
.iphone-screenshots .section-header { padding: 0 2rem; }
.screenshots-track-wrap {
  overflow: hidden;
  position: relative;
  padding: 1rem 0 2rem;
}
.screenshots-track-wrap::before,
.screenshots-track-wrap::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.screenshots-track-wrap::before {
  left: 0;
  background: linear-gradient(90deg, var(--peach), transparent);
}
.screenshots-track-wrap::after {
  right: 0;
  background: linear-gradient(-90deg, var(--peach), transparent);
}
.screenshots-track {
  display: flex;
  gap: 1.2rem;
  animation: scrollTrack 22s linear infinite;
  width: max-content;
  padding: 0 1rem;
}
.screenshots-track:hover { animation-play-state: paused; }
@keyframes scrollTrack {
  0%   { transform: translateX(0);    }
  100% { transform: translateX(-50%); }
}
.screenshot-phone {
  flex-shrink: 0;
  width: 160px;
  border-radius: 28px;
  overflow: hidden;
  border: 5px solid rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 40px var(--shadow-warm);
  transition: transform 0.3s ease;
  background: #000;
}
.screenshot-phone:hover { transform: translateY(-8px) scale(1.04); }
.screenshot-phone img { width: 100%; display: block; }

/* === IPAD SCREENSHOTS === */
.ipad-screenshots {
  padding: 6rem 2rem;
  background: var(--white);
  position: relative;
}
.ipad-screenshots-inner { max-width: var(--max-width); margin: 0 auto; }
.ipad-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}
.ipad-frame {
  border-radius: 14px;
  overflow: hidden;
  border: 4px solid rgba(200, 56, 74, 0.15);
  box-shadow: 0 8px 24px var(--shadow-soft);
  background: #111;
  transition: all 0.35s ease;
  aspect-ratio: 4/3;
}
.ipad-frame:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 44px var(--shadow-warm);
  border-color: var(--red-light);
}
.ipad-frame img { width: 100%; height: 100%; display: block; object-fit: cover; }

/* === DOWNLOAD CTA === */
.download-cta {
  padding: 6rem 2rem;
  background: var(--gradient-cta);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.download-cta::before {
  content: '🥟';
  position: absolute;
  font-size: 8rem;
  top: -20px; left: -10px;
  opacity: 0.08;
}
.download-cta::after {
  content: '🫖';
  position: absolute;
  font-size: 8rem;
  bottom: -20px; right: -10px;
  opacity: 0.08;
}
.download-cta-inner {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.download-cta-emoji {
  font-size: 4rem;
  margin-bottom: 1rem;
  display: block;
  animation: wiggle 3s ease-in-out infinite;
}
@keyframes wiggle {
  0%, 100% { transform: rotate(-5deg) scale(1);   }
  50%       { transform: rotate(5deg)  scale(1.1); }
}
.download-cta-title {
  font-family: 'Pacifico', cursive;
  font-size: clamp(2rem, 5vw, 3.2rem);
  color: var(--white);
  margin-bottom: 1rem;
  text-shadow: 2px 4px 12px rgba(0, 0, 0, 0.25);
}
.download-cta-desc {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.7;
  margin-bottom: 2.5rem;
}
.download-btns {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Store buttons (shared by hero area & CTA section) */
.store-btn-big {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--white);
  color: var(--text-dark);
  text-decoration: none;
  padding: 1rem 2.2rem;
  border-radius: 18px;
  font-weight: 800;
  transition: all 0.3s ease;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.25);
}
.store-btn-big:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.35);
}
.store-btn-big svg { width: 30px; height: 30px; flex-shrink: 0; }
.store-btn-info  { display: flex; flex-direction: column; line-height: 1.2; text-align: left; }
.store-btn-label { font-size: 0.72rem; font-weight: 600; opacity: 0.6; text-transform: uppercase; letter-spacing: 0.06em; }
.store-btn-name  { font-size: 1.15rem; font-weight: 900; }

/* Recharge variant (inside CTA section) */
.recharge-btn-cta {
  background: linear-gradient(135deg, var(--gold-pale), #fff8e6) !important;
  color: var(--brown-dark) !important;
  border: 2px solid var(--gold-light);
}
.recharge-btn-cta:hover {
  background: linear-gradient(135deg, var(--gold), var(--gold-light)) !important;
}

.download-rating {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  padding: 0.6rem 1.4rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2rem;
}
.star-icons { color: var(--gold-light); letter-spacing: 2px; }

/* === CONTACT === */
.contact { padding: 6rem 2rem; background: var(--cream); }
.contact-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}
/* Remove the default bottom-margin of section-header inside contact */
.contact .section-header { margin-bottom: 2rem; }

.contact-card {
  background: var(--white);
  border-radius: 28px;
  padding: 2.5rem 2rem;
  box-shadow: 0 8px 40px var(--shadow-soft);
  border: 2px solid var(--red-pale);
  margin-top: 1rem;
}
.contact-email-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--red-pale), var(--gold-pale));
  color: var(--red-deep);
  text-decoration: none;
  padding: 1.1rem 2rem;
  border-radius: 16px;
  font-weight: 800;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  border: 2px solid var(--red-light);
}
.contact-email-link:hover {
  background: var(--red-deep);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px var(--shadow-warm);
}
.contact-email-link svg { width: 22px; height: 22px; flex-shrink: 0; }
.contact-note {
  margin-top: 1rem;
  font-size: 0.88rem;
  color: var(--brown-light);
}

/* === FOOTER === */
.footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 2.5rem 2rem;
}
.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 0.8rem;
}
.footer-brand img { width: 38px; height: 38px; border-radius: 8px; object-fit: cover; }
.footer-brand-name {
  font-family: 'Pacifico', cursive;
  font-size: 1.2rem;
  color: var(--white);
}
.footer-company-info {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.8;
  margin-top: 0.4rem;
}
.footer-links-group { display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-group a {
  color: rgba(255, 255, 255, 0.65);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease;
}
.footer-links-group a:hover { color: var(--gold-light); }

/* Specific footer link colours */
.footer-recharge-link { color: var(--gold-light) !important; font-weight: 800 !important; }
.footer-appstore-link { color: rgba(255, 255, 255, 0.55); font-size: 0.82rem; text-decoration: none; }
.footer-appstore-link:hover { color: var(--gold-light); }

.footer-bottom {
  max-width: var(--max-width);
  margin: 1.5rem auto 0;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.footer-copyright {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.45);
}

/* === MODALS === */
.modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(74, 28, 10, 0.75);
  backdrop-filter: blur(8px);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
}
.modal.open { display: flex; }
.modal-box {
  background: var(--white);
  border-radius: 24px;
  max-width: 760px;
  width: 100%;
  max-height: 85vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}
.modal-header {
  padding: 1.5rem 2rem;
  background: linear-gradient(135deg, var(--red-deep), var(--red-medium));
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}
.modal-title {
  font-family: 'Pacifico', cursive;
  font-size: 1.4rem;
  color: var(--white);
}
.modal-close {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: var(--white);
  width: 34px; height: 34px;
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
  line-height: 1;
}
.modal-close:hover { background: rgba(255, 255, 255, 0.35); }
.modal-body {
  padding: 2rem;
  overflow-y: auto;
  flex: 1;
  font-size: 0.93rem;
  color: var(--text-dark);
  line-height: 1.75;
}
.modal-body h2 { font-size: 1.1rem; font-weight: 800; color: var(--red-deep); margin: 1.5rem 0 0.5rem; }
.modal-body h3 { font-size: 1rem; font-weight: 800; color: var(--brown-mid); margin: 1.2rem 0 0.4rem; }
.modal-body p  { margin-bottom: 0.75rem; }
.modal-body ul, .modal-body ol { padding-left: 1.5rem; margin-bottom: 0.75rem; }
.modal-body li { margin-bottom: 0.35rem; }
.modal-body a  { color: var(--red-deep); }
.modal-body strong { color: var(--brown-dark); }

/* === RESPONSIVE === */
@media (max-width: 968px) {
  .nav-links, .nav-download-btn { display: none; }
  .mobile-menu-btn { display: flex; }
  .hero-content { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .hero-subtitle { margin: 0 auto 2rem; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-tags { justify-content: center; }
  .hero-phone-frame { width: 145px; }
  .hero-phone-wrap.side-phone-left,
  .hero-phone-wrap.side-phone-right { transform: rotate(0deg) translateY(0) scale(0.82); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .ipad-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 600px) {
  .hero { padding: 5.5rem 1.5rem 3rem; }
  .features-grid { grid-template-columns: 1fr; }
  .hero-phone-frame { width: 110px; }
  .hero-phone-wrap.side-phone-left { display: none; }
  .footer-inner { flex-direction: column; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .ipad-grid { grid-template-columns: repeat(2, 1fr); }
  .download-btns { flex-direction: column; align-items: center; }
}
