/* ===================================================================
   YUMRUNNER - Official Landing Page Stylesheet
   Modern, Pixel-Perfect Implementation matching Figma Prototype
   =================================================================== */

:root {
  --primary-orange: #FF4625;
  --primary-orange-dark: #E23816;
  --primary-gradient: linear-gradient(135deg, #FF4B26 0%, #E03513 100%);
  --cta-red: #8F1818;
  --cta-red-hover: #7A1212;
  --text-dark: #1E1E24;
  --text-body: #55555C;
  --text-light: #FFFFFF;
  --card-bg: #FFFFFF;
  --phone-bezel: #1A1A1D;
  --phone-rim: #333336;
  --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.08);
  --shadow-strong: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
  --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.12);
  --transition-smooth: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  background-color: #FFFFFF;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-smooth);
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
}

/* Container Utilities */
.section-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 2;
}

.text-orange {
  color: var(--primary-orange) !important;
}

.text-white {
  color: #FFFFFF !important;
}

.mt-32 {
  margin-top: 32px;
}

/* Section Headings */
.section-label {
  display: block;
  font-size: 1.2rem;
  font-weight: 600;
  color: #1E1E1E;
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}

.section-label-white {
  display: block;
  font-size: 1.2rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 8px;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.85rem;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.5px;
}

.section-header-center {
  text-align: center;
  margin-bottom: 50px;
}

/* ===================================================================
   LOGO
   =================================================================== */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  user-select: none;
}

.logo-icon {
  width: 62px;
  height: 32px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.logo-icon.large {
  width: 76px;
  height: 38px;
}

.logo-text {
  font-family: 'Inter', sans-serif;
  font-style: italic;
  font-weight: 800;
  font-size: 1.7rem;
  letter-spacing: -0.01em;
  color: #FFFFFF;
}

.logo-text.large {
  font-size: 2.15rem;
  letter-spacing: 0;
}

/* ===================================================================
   NAVIGATION BAR
   =================================================================== */
.navbar {
  position: relative;
  z-index: 100;
  width: 100%;
  padding: 26px 0;
  transition: var(--transition-smooth);
}

.nav-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu {
  display: flex;
  list-style: none;
  align-items: center;
  gap: 36px;
}

.nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: #FFFFFF;
  position: relative;
  padding: 4px 0;
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF;
  opacity: 1;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--cta-red);
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 50px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
  transition: var(--transition-smooth);
}

.btn-nav-cta:hover {
  background-color: var(--cta-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.mobile-cta-item {
  display: none;
}

/* Mobile Toggle */
.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  width: 26px;
  height: 3px;
  background-color: #FFFFFF;
  border-radius: 3px;
  transition: var(--transition-smooth);
}

/* ===================================================================
   HERO SECTION
   =================================================================== */
.hero-wrapper {
  position: relative;
  background: var(--primary-gradient);
  min-height: 840px;
  overflow: hidden;
  color: #FFFFFF;
  padding-bottom: 0;
}

/* Food Texture Background Overlay */
.hero-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/food-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

/* Glowing Concentric Rings behind mockups */
.hero-radiant-rings {
  position: absolute;
  top: 50%;
  right: 18%;
  transform: translate(50%, -50%);
  width: 620px;
  height: 620px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 0 0 85px rgba(255, 255, 255, 0.055),
    0 0 0 175px rgba(255, 255, 255, 0.03),
    0 0 0 280px rgba(255, 255, 255, 0.018);
  pointer-events: none;
  z-index: 1;
}

.hero-content-container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 40px 32px 70px;
  position: relative;
  z-index: 2;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 30px;
}

.hero-text-col {
  position: relative;
  z-index: 3;
}

.hero-headline {
  font-family: 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.16;
  letter-spacing: -0.025em;
  margin-bottom: 22px;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
}

.hero-description {
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  line-height: 1.62;
  color: rgba(255, 255, 255, 0.88);
  max-width: 530px;
  margin-bottom: 32px;
  font-weight: 400;
}

/* Store Buttons */
.store-buttons {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 8px;
  line-height: 0;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.25s ease, box-shadow 0.25s ease;
}

.store-badge:hover {
  transform: translateY(-3px);
  filter: brightness(1.1);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.4);
}

.store-badge:active {
  transform: translateY(-1px) scale(0.99);
}

.store-badge-img {
  height: 48px;
  width: auto;
  display: block;
  border-radius: 7px;
  transition: inherit;
}

/* Bottom Left Burger Image - Perfectly Aligned to Bottom-Left Corner */
.hero-burgers-container {
  position: absolute;
  bottom: -120px;
  left: -35px;
  width: 390px;
  max-width: 28vw;
  z-index: 4;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.35));
  animation: floatBurger 6s ease-in-out infinite;
  pointer-events: none;
}

.hero-burgers-img {
  width: 100%;
  height: auto;
  display: block;
}

@keyframes floatBurger {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

/* ===================================================================
   IPHONE FRAME COMPONENT
   Refined Realistic Bezel with Integrated Top Notch
   =================================================================== */
.phone-frame {
  position: relative;
  background-color: var(--phone-bezel);
  border: 6px solid #222226;
  border-radius: 46px;
  box-shadow:
    0 0 0 2px #38383C,
    0 25px 60px -10px rgba(0, 0, 0, 0.5),
    0 10px 20px -5px rgba(0, 0, 0, 0.2);
  padding: 4px;
  overflow: hidden;
  user-select: none;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* Sleek Top Notch integrated on border */
.phone-top-notch {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 82px;
  height: 14px;
  background-color: #1A1A1E;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-screen {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 40px;
  overflow: hidden;
  background-color: #000000;
}

.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Screen Glass Glare */
.phone-screen::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 50%);
  pointer-events: none;
  border-radius: inherit;
}

/* ===================================================================
   HERO PHONES COMPOSITION
   =================================================================== */
.hero-mockups-col {
  position: relative;
  height: 650px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-phones-stage {
  position: relative;
  width: 480px;
  height: 610px;
}

/* Front Phone (Welcome) */
.hero-phone-front {
  position: absolute;
  left: 10px;
  top: 15px;
  width: 280px;
  height: 575px;
  z-index: 4;
  transform: rotate(-3deg);
  animation: floatHeroFront 7s ease-in-out infinite;
}

/* Back Phone (Social Login) */
.hero-phone-back {
  position: absolute;
  right: 10px;
  top: 30px;
  width: 280px;
  height: 575px;
  z-index: 2;
  transform: rotate(6deg) scale(0.96);
  animation: floatHeroBack 7s ease-in-out infinite 0.8s;
}

@keyframes floatHeroFront {

  0%,
  100% {
    transform: rotate(-3deg) translateY(0px);
  }

  50% {
    transform: rotate(-2deg) translateY(-12px);
  }
}

@keyframes floatHeroBack {

  0%,
  100% {
    transform: rotate(6deg) scale(0.96) translateY(0px);
  }

  50% {
    transform: rotate(7deg) scale(0.96) translateY(-10px);
  }
}

/* ===================================================================
   ABOUT US SECTION
   =================================================================== */
.about-section {
  padding: 120px 0;
  background-color: #FFFFFF;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
}

.about-mockups-col {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 610px;
}

.about-phones-stage {
  position: relative;
  width: 480px;
  height: 590px;
}

/* About Back Phone: Dashboard */
.about-phone-back {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 275px;
  height: 565px;
  z-index: 1;
  transform: rotate(6deg) scale(0.96);
}

/* About Front Phone: Register */
.about-phone-front {
  position: absolute;
  left: 15px;
  top: 25px;
  width: 275px;
  height: 565px;
  z-index: 3;
  transform: rotate(-3deg);
}

.about-text-col {
  padding-left: 20px;
}

.about-para {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text-body);
  margin-top: 22px;
}

/* ===================================================================
   WHY RESTAURANTS CHOOSE YUMRUNNER SECTION
   (Theme Orange Background matching Hero & Brand Theme)
   =================================================================== */
.why-choose-section {
  padding: 110px 0 120px;
  background: var(--primary-gradient);
  position: relative;
  overflow: hidden;
}

.why-choose-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/food-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.10;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.why-choose-title {
  font-family: 'Inter', sans-serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: #FFFFFF;
  text-align: center;
  letter-spacing: -0.5px;
  margin-bottom: 54px;
  line-height: 1.25;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}

.why-choose-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  max-width: 1220px;
  margin: 0 auto;
}

/* Center single leftover card in a 3-column grid */
.why-choose-grid>.why-card:last-child:nth-child(3n + 1) {
  grid-column: 2;
}

.why-card {
  background-color: #FFFFFF;
  border-radius: 18px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.12);
  transition: transform 0.25s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.25s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.why-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
}

.why-card-title {
  font-family: 'Inter', sans-serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: #18181B;
  margin-bottom: 8px;
  line-height: 1.35;
}

.why-card-desc {
  font-family: 'Inter', sans-serif;
  font-size: 0.94rem;
  font-weight: 400;
  color: #55555C;
  line-height: 1.6;
  margin: 0;
}

/* ===================================================================
   APP SCREENS SECTION
   =================================================================== */
.screens-section {
  padding: 120px 0 100px;
  background-color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.screens-carousel-container {
  position: relative;
  width: 100%;
  max-width: 1300px;
  margin: 50px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 660px;
}

/* Screens Navigation Buttons */
.screens-nav-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid #222226;
  background-color: #FFFFFF;
  color: #222226;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 20;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.screens-nav-btn.prev {
  left: 20px;
}

.screens-nav-btn.next {
  right: 20px;
}

.screens-nav-btn:hover {
  background-color: #222226;
  color: #FFFFFF;
  transform: translateY(-50%) scale(1.08);
}

/* Screens Track 3D Flow */
.screens-track {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  width: 100%;
  height: 640px;
}

.screen-item {
  position: absolute;
  transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1);
  cursor: pointer;
}

.screen-carousel-frame {
  width: 260px;
  height: 535px;
}

/* 5 Positions in the arc matching Figma */
.screen-item.position-1 {
  transform: translateX(-340px) scale(0.85);
  z-index: 1;
  opacity: 0.82;
}

.screen-item.position-2 {
  transform: translateX(-170px) scale(0.93);
  z-index: 3;
  opacity: 0.94;
}

.screen-item.position-3 {
  transform: translateX(0px) scale(1.06);
  z-index: 10;
  opacity: 1;
}

.screen-item.position-3 .phone-frame {
  box-shadow:
    0 0 0 2px #444448,
    0 35px 75px -12px rgba(0, 0, 0, 0.55),
    0 12px 25px -5px rgba(0, 0, 0, 0.25);
}

.screen-item.position-4 {
  transform: translateX(170px) scale(0.93);
  z-index: 3;
  opacity: 0.94;
}

.screen-item.position-5 {
  transform: translateX(340px) scale(0.85);
  z-index: 1;
  opacity: 0.82;
}

/* ===================================================================
   DOWNLOAD BANNER SECTION
   =================================================================== */
.download-section {
  padding: 40px 0 100px;
  background-color: #FFFFFF;
}

.download-banner-card {
  position: relative;
  background: var(--primary-gradient);
  border-radius: 32px;
  overflow: hidden;
  padding: 60px 70px 0;
  color: #FFFFFF;
  box-shadow: 0 25px 60px -15px rgba(226, 56, 22, 0.35);
}

.download-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/food-bg.png');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.download-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: end;
  position: relative;
  z-index: 2;
  gap: 40px;
}

.download-text-col {
  padding-bottom: 70px;
}

.download-headline {
  font-size: 3.3rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.download-desc {
  font-size: 1.02rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.92);
  margin-bottom: 36px;
  max-width: 520px;
}

/* Banner Emerging Phones */
.download-mockups-col {
  position: relative;
  height: 480px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.banner-phones-wrapper {
  position: relative;
  width: 440px;
  height: 520px;
  display: flex;
  align-items: flex-end;
}

/* Left Front Phone */
.banner-phone-front {
  position: absolute;
  left: 20px;
  bottom: -40px;
  width: 255px;
  height: 525px;
  z-index: 3;
}

/* Right Back Phone */
.banner-phone-back {
  position: absolute;
  right: 20px;
  bottom: -50px;
  width: 255px;
  height: 525px;
  z-index: 2;
}

/* ===================================================================
   FOOTER SECTION
   =================================================================== */
.footer {
  position: relative;
  background-color: #D23413;
  color: #FFFFFF;
  padding: 85px 0 35px;
  overflow: hidden;
}

.footer-bg-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('assets/footer-bg.png');
  background-size: cover;
  background-position: center bottom;
  opacity: 0.18;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.footer-main-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  z-index: 2;
}

.footer-logo {
  display: inline-block;
  margin-bottom: 24px;
  text-decoration: none;
}

.footer-logo-img {
  width: 250px;
  max-width: 80vw;
  height: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.footer-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
  max-width: 820px;
  margin: 0 auto 36px;
}

/* Contact Pills */
.footer-contact-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.contact-icon-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-text,
.contact-pill a {
  font-size: 0.95rem;
  font-weight: 500;
  color: #FFFFFF;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.contact-pill a:hover {
  opacity: 0.85;
  text-decoration: underline;
}

/* Social Row */
.footer-social-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.social-circle-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background-color: #FFFFFF;
  color: var(--primary-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.social-circle-btn:hover {
  background-color: #1A1A1A;
  color: #FFFFFF;
  transform: translateY(-3px) scale(1.05);
}

/* Bottom Divider & Copyright */
.footer-bottom-bar {
  position: relative;
  z-index: 2;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 25px;
  text-align: center;
}

.copyright-text {
  font-size: 0.92rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 400;
}

/* ===================================================================
   FLOATING BACK TO TOP BUTTON
   =================================================================== */
.back-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 42px;
  height: 42px;
  background-color: #EB4320;
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  z-index: 999;
  transition: all 0.25s ease;
  cursor: pointer;
  text-decoration: none;
}

.back-to-top-btn:hover {
  background-color: #D23413;
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
}

/* ===================================================================
   RESPONSIVE DESIGN (Media Queries)
   =================================================================== */

/* --- 1. Large Tablets & Small Laptops (<= 1200px) --- */
@media (max-width: 1200px) {
  .hero-headline {
    font-size: 3rem;
  }

  .hero-burgers-container {
    width: 320px;
    bottom: 20px;
    left: -20px;
  }

  .why-choose-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }

  .screen-item.position-1 {
    transform: translateX(-260px) scale(0.78);
  }

  .screen-item.position-2 {
    transform: translateX(-130px) scale(0.88);
  }

  .screen-item.position-3 {
    transform: translateX(0px) scale(1);
  }

  .screen-item.position-4 {
    transform: translateX(130px) scale(0.88);
  }

  .screen-item.position-5 {
    transform: translateX(260px) scale(0.78);
  }
}

/* --- 2. Tablets & iPads (<= 992px) --- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }

  .store-buttons {
    justify-content: center;
  }

  .hero-burgers-container {
    position: relative;
    bottom: auto;
    left: auto;
    margin: 20px auto 0;
    width: 280px;
    max-width: 60vw;
  }

  .hero-mockups-col {
    margin-top: 30px;
    height: 580px;
  }

  .hero-phones-stage {
    width: 440px;
    height: 550px;
    margin: 0 auto;
  }

  .hero-radiant-rings {
    right: 50%;
    transform: translate(50%, -50%);
    width: 450px;
    height: 450px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .about-text-col {
    padding-left: 0;
    text-align: center;
  }

  .about-mockups-col {
    order: 2;
    height: 540px;
  }

  .about-phones-stage {
    width: 440px;
    height: 520px;
    margin: 0 auto;
  }

  .why-choose-title {
    font-size: 2.3rem;
    margin-bottom: 40px;
  }

  .why-choose-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .why-choose-grid>.why-card:last-child:nth-child(2n + 1) {
    grid-column: 1 / -1;
    max-width: 540px;
    margin: 0 auto;
    width: 100%;
  }

  .download-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 30px;
  }

  .download-text-col {
    padding-bottom: 20px;
  }

  .download-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .download-mockups-col {
    margin-top: 20px;
    height: 440px;
  }

  .banner-phones-wrapper {
    width: 380px;
    height: 460px;
    margin: 0 auto;
  }
}

/* --- 3. Mobile Navigation & Medium Screens (<= 820px) --- */
@media (max-width: 820px) {
  .nav-menu {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background: #FF4625;
    flex-direction: column;
    padding: 26px 20px;
    gap: 18px;
    transform: translateY(-20px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.25);
    z-index: 1000;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .mobile-toggle {
    display: flex;
  }

  .screens-track {
    overflow: hidden;
  }

  .screen-item.position-1,
  .screen-item.position-5 {
    display: none;
  }

  .screen-item.position-2 {
    transform: translateX(-120px) scale(0.85);
  }

  .screen-item.position-4 {
    transform: translateX(120px) scale(0.85);
  }
}

/* --- 4. Mobile Devices & Small Screens (<= 640px) --- */
@media (max-width: 640px) {
  .nav-container {
    padding: 0 16px;
  }

  .logo-icon {
    width: 44px;
    height: 24px;
  }

  .logo-text {
    font-size: 1.35rem;
  }

  .nav-actions .btn-nav-cta {
    display: none;
  }

  .nav-menu .mobile-cta-item {
    display: block;
    margin-top: 10px;
    text-align: center;
  }

  .mobile-menu-cta {
    display: inline-flex;
    padding: 10px 24px;
  }

  .hero-content-container {
    padding: 24px 18px 50px;
  }

  .hero-headline {
    font-size: 2.15rem;
    line-height: 1.2;
  }

  .hero-description {
    font-size: 0.95rem;
    margin-bottom: 24px;
  }

  .store-buttons {
    flex-wrap: wrap;
    gap: 12px;
  }

  .store-badge {
    width: auto;
    height: auto;
    padding: 0;
  }

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

  .hero-mockups-col {
    height: 480px;
  }

  .hero-phones-stage {
    width: 100%;
    max-width: 280px;
    height: 460px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .hero-phone-front {
    position: relative;
    width: 230px;
    height: 460px;
    left: auto;
    top: 10px;
    margin: 0 auto;
    transform: none;
    animation: none;
  }

  .hero-phone-back {
    display: none;
  }

  .hero-burgers-container {
    display: none;
  }

  .hero-radiant-rings {
    display: none;
  }

  /* About section mobile */
  .about-section {
    padding: 60px 0;
  }

  .section-title {
    font-size: 2rem;
  }

  .about-para {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .about-mockups-col {
    height: 450px;
  }

  .about-phones-stage {
    width: 100%;
    max-width: 310px;
    height: 440px;
  }

  .about-phone-front {
    width: 215px;
    height: 435px;
    left: 0;
    top: 10px;
  }

  .about-phone-back {
    width: 205px;
    height: 420px;
    right: 0;
    top: 20px;
  }

  /* Why Choose Section mobile */
  .why-choose-section {
    padding: 65px 0 75px;
  }

  .why-choose-title {
    font-size: 1.85rem;
    margin-bottom: 28px;
  }

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

  .why-choose-grid>.why-card:last-child:nth-child(3n + 1),
  .why-choose-grid>.why-card:last-child:nth-child(2n + 1) {
    grid-column: auto;
    max-width: 100%;
    margin: 0;
  }

  .why-card {
    padding: 22px 20px;
    border-radius: 16px;
  }

  .why-card-title {
    font-size: 1.15rem;
  }

  .why-card-desc {
    font-size: 0.9rem;
  }

  /* Screens carousel mobile */
  .screens-section {
    padding: 60px 0 50px;
  }

  .screens-carousel-container {
    min-height: 480px;
    margin-top: 20px;
  }

  .screens-track {
    height: 460px;
  }

  .screen-carousel-frame {
    width: 210px;
    height: 430px;
  }

  .screen-item.position-2 {
    transform: translateX(-80px) scale(0.8);
    opacity: 0.45;
  }

  .screen-item.position-4 {
    transform: translateX(80px) scale(0.8);
    opacity: 0.45;
  }

  .screens-nav-btn {
    width: 42px;
    height: 42px;
  }

  .screens-nav-btn.prev {
    left: 8px;
  }

  .screens-nav-btn.next {
    right: 8px;
  }

  /* Download Banner mobile */
  .download-section {
    padding: 30px 0 60px;
  }

  .download-banner-card {
    padding: 40px 18px 0;
    border-radius: 24px;
  }

  .download-headline {
    font-size: 2.1rem;
    margin-bottom: 14px;
  }

  .download-desc {
    font-size: 0.92rem;
    margin-bottom: 24px;
  }

  .download-mockups-col {
    height: 360px;
  }

  .banner-phones-wrapper {
    width: 100%;
    max-width: 280px;
    height: 360px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .banner-phone-front {
    position: relative;
    left: auto;
    bottom: 0;
    margin: 0 auto;
    transform: none;
    width: 210px;
    height: 420px;
  }

  .banner-phone-back {
    display: none;
  }

  /* Footer mobile */
  .footer-contact-row {
    flex-direction: column;
    gap: 14px;
    align-items: center;
  }

  .back-to-top-btn {
    bottom: 16px;
    right: 16px;
    width: 38px;
    height: 38px;
  }
}

/* --- 5. Ultra Small Phones (<= 360px) --- */
@media (max-width: 360px) {
  .hero-headline {
    font-size: 1.85rem;
  }

  .store-badge {
    width: auto;
    height: auto;
    padding: 0;
  }

  .store-badge-img {
    height: 40px;
  }

  .why-choose-title {
    font-size: 1.65rem;
  }
}