/* ==========================================================================
   ZAQZOUKA TV & ZAG PLAYER - OFFICIAL LANDING PAGE STYLESHEET
   Aesthetic: Bespoke Luxury Cinema & Artisanal Warm Theme
   Palette: Signature Terracotta (#B94E3C), Cinema Gold (#E5A958), Deep Plum Ink (#0F0C0F)
   ========================================================================== */

:root {
  --bg-deep: #0E0B0E;
  --bg-surface: #171116;
  --bg-card: rgba(26, 20, 25, 0.88);
  --bg-card-hover: rgba(36, 28, 35, 0.96);

  --border-subtle: rgba(242, 230, 215, 0.09);
  --border-hover: rgba(185, 78, 60, 0.4);

  --terracotta: #B94E3C;
  --terracotta-hover: #D25D49;
  --terracotta-dark: #8F3729;
  --terracotta-glow: rgba(185, 78, 60, 0.28);

  --gold: #E5A958;
  --gold-glow: rgba(229, 169, 88, 0.22);

  --paper-ivory: #FFFBF5;
  --paper-sand: #F2E6D7;
  --text-muted: #9F8E9B;

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --font-ar: 'Cairo', system-ui, -apple-system, sans-serif;
  --font-en: 'Outfit', system-ui, -apple-system, sans-serif;

  --shadow-card: 0 16px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-button: 0 8px 24px -6px rgba(185, 78, 60, 0.45);
}

/* Reset & Global */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background-color: var(--bg-deep);
  color: var(--paper-ivory);
  font-family: var(--font-ar);
  direction: rtl;
  overflow-x: hidden;
  line-height: 1.65;
  min-height: 100vh;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

body[dir="ltr"] {
  font-family: var(--font-en);
  direction: ltr;
}

.container {
  width: 100%;
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Ambient Cinema Glows */
.ambient-glow-top {
  position: fixed;
  top: -120px;
  right: 5%;
  width: 600px;
  height: 500px;
  background: radial-gradient(circle, rgba(185, 78, 60, 0.18) 0%, transparent 70%);
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}

.ambient-glow-bottom {
  position: fixed;
  bottom: 0;
  left: 5%;
  width: 650px;
  height: 550px;
  background: radial-gradient(circle, rgba(229, 169, 88, 0.12) 0%, transparent 70%);
  filter: blur(100px);
  pointer-events: none;
  z-index: 0;
}

/* Header & Navbar */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 16px 0;
  background: rgba(14, 11, 14, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  transition: all 0.3s ease;
}

.site-header.scrolled {
  padding: 12px 0;
  background: rgba(14, 11, 14, 0.95);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.logo-img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--paper-ivory);
  letter-spacing: -0.3px;
  line-height: 1.2;
}

.brand-tag {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

.nav-link {
  color: var(--paper-sand);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.lang-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--paper-sand);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper-ivory);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-nav-download {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: #FFF;
  text-decoration: none;
  padding: 8px 18px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: var(--shadow-button);
  transition: all 0.25s ease;
}

.btn-nav-download:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--terracotta-hover) 0%, var(--terracotta) 100%);
  box-shadow: 0 10px 28px -4px rgba(185, 78, 60, 0.6);
}

/* Hero Section */
.hero-section {
  position: relative;
  padding: 60px 0 80px;
  z-index: 1;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 48px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(185, 78, 60, 0.12);
  border: 1px solid rgba(185, 78, 60, 0.3);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 22px;
}

.hero-title {
  font-size: 2.85rem;
  font-weight: 900;
  line-height: 1.25;
  margin-bottom: 20px;
  color: var(--paper-ivory);
  letter-spacing: -0.5px;
}

.highlight-brick {
  color: var(--terracotta-hover);
  position: relative;
}

.highlight-gold {
  color: var(--gold);
}

.hero-desc {
  font-size: 1.12rem;
  color: var(--paper-sand);
  line-height: 1.8;
  margin-bottom: 34px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 34px;
  max-width: 480px;
}

.btn-primary-action, .btn-secondary-action {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 20px;
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: all 0.25s ease;
}

.btn-primary-action {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: #FFF;
  box-shadow: var(--shadow-button);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-primary-action:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--terracotta-hover) 0%, var(--terracotta) 100%);
  box-shadow: 0 12px 32px -4px rgba(185, 78, 60, 0.6);
}

.btn-secondary-action {
  background: rgba(36, 27, 34, 0.85);
  color: var(--paper-ivory);
  border: 1px solid var(--border-subtle);
}

.btn-secondary-action:hover {
  background: rgba(48, 36, 45, 0.95);
  border-color: rgba(229, 169, 88, 0.4);
  transform: translateY(-2px);
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.btn-text {
  display: flex;
  flex-direction: column;
}

.btn-main-label {
  font-size: 1.05rem;
  font-weight: 800;
  line-height: 1.25;
}

.btn-sub-label {
  font-size: 0.8rem;
  opacity: 0.82;
  font-weight: 500;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.trust-item svg {
  color: var(--gold);
}

/* Phone Mockup Showcase */
.hero-showcase {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding: 24px 0;
}

/* Glow ring behind the device */
.phone-glow-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 340px;
  height: 340px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(185,78,60,0.22) 0%, rgba(229,169,88,0.08) 50%, transparent 70%);
  filter: blur(32px);
  pointer-events: none;
  z-index: 0;
  animation: glowPulse 3.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%, 100% { opacity: 0.75; transform: translate(-50%, -50%) scale(1); }
  50% { opacity: 1; transform: translate(-50%, -50%) scale(1.08); }
}

/* Device frame */
.phone-frame {
  width: 300px;
  height: 610px;
  background: linear-gradient(170deg, #221A21 0%, #160E15 100%);
  border-radius: 50px;
  border: 2px solid rgba(255,255,255,0.10);
  box-shadow:
    0 0 0 6px #1A121A,
    0 0 0 7px rgba(255,255,255,0.06),
    0 32px 80px -16px rgba(0, 0, 0, 0.90),
    inset 0 1px 0 rgba(255,255,255,0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1;
}

/* Dynamic island / notch */
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 28px;
  background: #0A080A;
  border-radius: 20px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 10px;
  border: 1px solid rgba(255,255,255,0.05);
}

.phone-camera-pill {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #1C1A1C;
  border: 1px solid #2D2A2D;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.5), 0 0 4px rgba(100,100,255,0.15);
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: #000;
}

.screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: opacity 0.4s ease;
}

/* Glass reflection on screen */
.phone-reflection {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55%;
  background: linear-gradient(170deg, rgba(255,255,255,0.055) 0%, transparent 100%);
  pointer-events: none;
  z-index: 5;
  border-radius: 50px 50px 0 0;
}

/* Section Header Shared */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  display: inline-block;
  padding: 4px 14px;
  background: rgba(229, 169, 88, 0.12);
  border: 1px solid rgba(229, 169, 88, 0.25);
  border-radius: var(--radius-full);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.section-title {
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 14px;
  color: var(--paper-ivory);
}

.section-desc {
  font-size: 1.05rem;
  color: var(--paper-sand);
  line-height: 1.7;
}

/* Dual Apps Section */
.apps-section {
  padding: 90px 0;
  position: relative;
  z-index: 1;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.app-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 38px 32px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-card);
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.card-badge {
  position: absolute;
  top: 22px;
  left: 24px;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(185, 78, 60, 0.16);
  border: 1px solid rgba(185, 78, 60, 0.3);
  color: var(--terracotta-hover);
}

body[dir="ltr"] .card-badge {
  left: auto;
  right: 24px;
}

.card-player .card-badge {
  background: rgba(229, 169, 88, 0.14);
  border-color: rgba(229, 169, 88, 0.3);
  color: var(--gold);
}

.card-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 18px;
}

.app-icon {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  object-fit: cover;
  border: 1px solid var(--border-subtle);
}

.player-icon-box {
  width: 58px;
  height: 58px;
  border-radius: 14px;
  background: linear-gradient(135deg, #A83E2F 0%, #75291E 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFF;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.app-name {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--paper-ivory);
}

.app-sub-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.app-text {
  font-size: 0.98rem;
  color: var(--paper-sand);
  line-height: 1.7;
  margin-bottom: 22px;
}

.app-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 28px;
  flex-grow: 1;
}

.app-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.92rem;
  color: var(--paper-sand);
}

.app-features-list li svg {
  color: var(--terracotta);
  flex-shrink: 0;
  margin-top: 3px;
}

.card-player .app-features-list li svg {
  color: var(--gold);
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.card-actions {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
}

.btn-card-download {
  background: linear-gradient(135deg, var(--terracotta) 0%, var(--terracotta-dark) 100%);
  color: #FFF;
  text-decoration: none;
  padding: 13px 20px;
  border-radius: var(--radius-md);
  font-size: 0.98rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-button);
  transition: all 0.25s ease;
}

.btn-card-download:hover {
  background: linear-gradient(135deg, var(--terracotta-hover) 0%, var(--terracotta) 100%);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px -4px rgba(185, 78, 60, 0.6);
}

.btn-player-download {
  background: linear-gradient(135deg, #963B2B 0%, #682317 100%);
}

.btn-player-download:hover {
  background: linear-gradient(135deg, #B94E3C 0%, #822C1E 100%);
}

.btn-card-qr {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: var(--paper-sand);
  padding: 0 18px;
  border-radius: var(--radius-md);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  transition: all 0.2s ease;
}

.btn-card-qr:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--paper-ivory);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Steps Section */
.steps-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 34px 28px;
  position: relative;
  transition: all 0.3s ease;
}

.step-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.85;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--paper-ivory);
  margin-bottom: 12px;
}

.step-desc {
  font-size: 0.95rem;
  color: var(--paper-sand);
  line-height: 1.7;
}

/* Features Grid */
.features-section {
  padding: 80px 0;
  position: relative;
  z-index: 1;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  transition: all 0.25s ease;
}

.feature-item:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(185, 78, 60, 0.14);
  color: var(--terracotta);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-item h4 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--paper-ivory);
  margin-bottom: 10px;
}

.feature-item p {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* FAQ Section */
.faq-section {
  padding: 80px 0 100px;
  position: relative;
  z-index: 1;
}

.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s ease;
}

.faq-item:hover {
  border-color: rgba(242, 230, 215, 0.18);
}

.faq-item.active {
  border-color: var(--border-hover);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: transparent;
  border: none;
  color: var(--paper-ivory);
  font-family: inherit;
  font-size: 1.05rem;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

body[dir="ltr"] .faq-question {
  text-align: left;
}

.faq-chevron {
  color: var(--gold);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-answer p {
  padding: 0 24px 22px;
  font-size: 0.95rem;
  color: var(--paper-sand);
  line-height: 1.75;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--border-subtle);
  padding: 34px 0;
  background: rgba(10, 8, 10, 0.9);
  position: relative;
  z-index: 1;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.footer-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--paper-ivory);
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Modal QR */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease;
  padding: 20px;
}

.modal-overlay.open {
  opacity: 1;
  visibility: visible;
}

.modal-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  max-width: 400px;
  width: 100%;
  text-align: center;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  left: 18px;
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: var(--paper-ivory);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

body[dir="ltr"] .modal-close-btn {
  left: auto;
  right: 18px;
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--paper-ivory);
  margin-bottom: 8px;
}

.modal-desc {
  font-size: 0.9rem;
  color: var(--paper-sand);
  margin-bottom: 24px;
}

.qr-box {
  background: #FFF;
  padding: 16px;
  border-radius: var(--radius-md);
  display: inline-block;
  margin-bottom: 16px;
}

.qr-target-name {
  display: block;
  font-size: 0.82rem;
  color: var(--gold);
  font-weight: 700;
}

/* Mobile Sticky Bar */
.mobile-bottom-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(22, 17, 21, 0.95);
  backdrop-filter: blur(16px);
  border-top: 1px solid var(--border-subtle);
  padding: 10px 16px;
  display: none;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  z-index: 99;
}

.btn-mobile-download, .btn-mobile-player {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 800;
  text-decoration: none;
}

.btn-mobile-download {
  background: var(--terracotta);
  color: #FFF;
}

.btn-mobile-player {
  background: rgba(255, 255, 255, 0.08);
  color: var(--paper-ivory);
  border: 1px solid var(--border-subtle);
}

/* ============================================================
   RESPONSIVE — Tablet & Mobile
   ============================================================ */

/* ---- Tablet (≤ 992px) ---- */
@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-trust-row {
    justify-content: center;
  }

  /* Show phone ABOVE the text on tablet/mobile */
  .hero-grid {
    display: flex;
    flex-direction: column-reverse;
  }

  /* Bigger, more prominent phone on tablet */
  .phone-frame {
    width: 270px;
    height: 548px;
    border-radius: 44px;
  }

  .phone-glow-ring {
    width: 310px;
    height: 310px;
  }

  
  

  .apps-grid {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }

  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ---- Mobile (≤ 768px) ---- */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .hero-section {
    padding: 36px 0 100px;
  }

  .hero-title {
    font-size: 1.85rem;
    line-height: 1.3;
  }

  .hero-desc {
    font-size: 1rem;
  }

  /* Full-width centered phone on mobile */
  .hero-showcase {
    width: 100%;
    padding: 32px 0 24px;
  }

  .phone-frame {
    width: min(285px, 76vw);
    height: min(580px, 155vw);
    border-radius: 46px;
  }

  .phone-glow-ring {
    width: min(290px, 80vw);
    height: min(290px, 80vw);
  }

  /* Stat pills: tighter on small screens */
  

  
  

  /* CTA buttons: full width */
  .hero-cta-group {
    max-width: 100%;
    gap: 12px;
  }

  .btn-primary-action,
  .btn-secondary-action {
    padding: 13px 16px;
  }

  .btn-main-label {
    font-size: 0.95rem;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .mobile-bottom-bar {
    display: grid;
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  /* Section titles smaller */
  .section-title {
    font-size: 1.75rem;
  }

  .app-card {
    padding: 28px 20px;
  }

  .card-actions {
    grid-template-columns: 1fr;
  }

  .btn-card-qr {
    justify-content: center;
    padding: 12px;
  }
}

/* ---- Very small phones (≤ 390px) ---- */
@media (max-width: 390px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .phone-frame {
    width: 72vw;
    height: 148vw;
  }

  

  .hero-badge span {
    font-size: 0.75rem;
  }
}

/* Phone entry animation */
@keyframes phoneEntrance {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.phone-frame {
  animation: phoneEntrance 0.75s cubic-bezier(0.22, 1, 0.36, 1) both;
}







