/* ══════════════════════════════════════════════════════════════
   YUMGPT OFFICIAL WEB DESIGN SYSTEM & STYLESHEET
   Typography: Outfit (Headings) & Inter (Body)
   Theme: Modern Clean Light Mode with Emerald & Mint Accents
   ══════════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Outfit:wght@400;500;600;700;800;900&family=Tajawal:wght@400;500;700;800&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --font-arabic: 'Tajawal', 'Inter', sans-serif;

  --bg-light: #f8fafc;
  --bg-card: #ffffff;
  --bg-glass: rgba(255, 255, 255, 0.92);
  --border: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(16, 185, 129, 0.35);

  --primary: #059669;
  --primary-light: #10b981;
  --primary-glow: rgba(16, 185, 129, 0.22);
  --primary-gradient: linear-gradient(135deg, #059669 0%, #0284c7 100%);
  
  --accent: #0284c7;
  --accent-glow: rgba(2, 132, 199, 0.2);
  --warning: #f59e0b;
  --danger: #ef4444;
  --success: #10b981;

  --text-main: #0f172a;
  --text-body: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 10px 30px -5px rgba(15, 23, 42, 0.07), 0 4px 12px -2px rgba(15, 23, 42, 0.03);
  --shadow-lg: 0 20px 45px -10px rgba(16, 185, 129, 0.12), 0 8px 20px -4px rgba(15, 23, 42, 0.04);
  --shadow-glow: 0 8px 28px var(--primary-glow);
}

/* RTL Support for Arabic & Hebrew */
[dir="rtl"] {
  --font-sans: var(--font-arabic);
  --font-heading: var(--font-arabic);
}

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

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-light);
  color: var(--text-body);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  min-height: 100vh;
}

/* Ambient Radiant Backgrounds */
body::before {
  content: '';
  position: fixed;
  top: -15vw;
  left: 10vw;
  width: 55vw;
  height: 55vw;
  background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(2, 132, 199, 0.04) 45%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

body::after {
  content: '';
  position: fixed;
  bottom: -15vw;
  right: 5vw;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.06) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  filter: blur(80px);
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.25;
}

h1 { font-size: clamp(2.4rem, 5.5vw, 4rem); font-weight: 800; letter-spacing: -0.02em; }
h2 { font-size: clamp(1.8rem, 3.8vw, 2.7rem); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2.4vw, 1.6rem); }
p { color: var(--text-body); font-size: 1.05rem; }

.gradient-text {
  background: var(--primary-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.cyan-gradient-text {
  background: linear-gradient(135deg, #0284c7 0%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

/* Navigation Bar */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1000;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 76px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
}

.brand-logo-img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.25);
  object-fit: cover;
}

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

.nav-link {
  text-decoration: none;
  color: var(--text-body);
  font-weight: 600;
  font-size: 0.95rem;
  transition: color 0.2s ease;
  position: relative;
}

.nav-link:hover {
  color: var(--primary);
}

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

/* Language Selector Dropdown */
.lang-selector-wrapper {
  position: relative;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.2s ease;
}

.lang-btn:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  min-width: 190px;
  max-height: 380px;
  overflow-y: auto;
  display: none;
  z-index: 1001;
}

[dir="rtl"] .lang-dropdown {
  right: auto;
  left: 0;
}

.lang-dropdown.active {
  display: block;
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--text-body);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease;
  border: none;
  width: 100%;
  background: transparent;
  text-align: left;
}

[dir="rtl"] .lang-option {
  text-align: right;
}

.lang-option:hover, .lang-option.selected {
  background: rgba(16, 185, 129, 0.1);
  color: var(--primary);
  font-weight: 700;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 11px 22px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #ffffff;
  box-shadow: 0 4px 18px rgba(16, 185, 129, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16, 185, 129, 0.45);
  color: #ffffff;
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-main);
  cursor: pointer;
}

/* Hero Section */
.hero {
  padding: 80px 0 50px;
  text-align: center;
  position: relative;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 18px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: var(--radius-full);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.88rem;
  margin-bottom: 24px;
}

.hero-title {
  margin-bottom: 20px;
}

.hero-subtitle {
  max-width: 700px;
  margin: 0 auto 36px;
  font-size: 1.15rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* Store Badges */
.app-badges {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.app-badge-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #0f172a;
  color: #ffffff;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  transition: all 0.25s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.app-badge-btn:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-light);
}

.app-badge-btn .badge-icon {
  font-size: 1.8rem;
}

.app-badge-btn .badge-text {
  text-align: left;
}

[dir="rtl"] .app-badge-btn .badge-text {
  text-align: right;
}

.app-badge-btn .small {
  font-size: 0.72rem;
  font-weight: 600;
  color: #94a3b8;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.app-badge-btn .big {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
}

.badge-coming-soon {
  opacity: 0.85;
  cursor: pointer;
  position: relative;
}

.badge-coming-soon:hover {
  opacity: 1;
}

.tag-badge-soon {
  background: rgba(245, 158, 11, 0.2);
  color: #f59e0b;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 8px;
  border-radius: 6px;
  margin-left: 6px;
  vertical-align: middle;
}

/* Sections */
.section {
  padding: 85px 0;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 50px;
}

.section-tag {
  color: var(--primary);
  font-weight: 800;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 10px;
}

/* Feature Cards Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 28px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.feature-icon-wrapper {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(16, 185, 129, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 20px;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

.feature-title {
  margin-bottom: 12px;
  font-size: 1.22rem;
}

.feature-desc {
  color: var(--text-body);
  font-size: 0.98rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════════
   CLEAN & ELEGANT LIVE VOICE COOK MODE SHOWCASE
   ══════════════════════════════════════════════════════════════ */
.showcase-section {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.015) 0%, rgba(16, 185, 129, 0.04) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 48px;
  align-items: center;
}

.showcase-left h2 {
  margin: 16px 0;
}

.showcase-left p {
  margin-bottom: 24px;
  font-size: 1.08rem;
}

.showcase-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.98rem;
  color: var(--text-body);
}

.benefit-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
}

/* Clean Cook Mode Card */
.clean-cook-card {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(16, 185, 129, 0.25);
  position: relative;
}

.cook-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 10px;
}

.cook-step-pill {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.cook-step-num {
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cook-step-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-main);
}

.cook-timer-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.12);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 5px 12px;
  border-radius: var(--radius-full);
  color: #b45309;
  font-weight: 800;
  font-size: 0.9rem;
}

.cook-instruction-box {
  background: #f8fafc;
  border-radius: var(--radius-md);
  padding: 16px;
  margin-bottom: 16px;
  border: 1px solid var(--border);
}

.cook-instruction-box p {
  font-size: 0.95rem;
  color: var(--text-main);
  line-height: 1.55;
  margin-bottom: 10px;
}

.cook-tip-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(2, 132, 199, 0.08);
  padding: 6px 12px;
  border-radius: 8px;
  font-size: 0.82rem;
  color: #0369a1;
  font-weight: 600;
}

/* Audio Player Bar */
.cook-audio-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f1f5f9;
  padding: 8px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 18px;
}

.audio-play-trigger {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--primary);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 900;
  cursor: pointer;
  border: none;
  flex-shrink: 0;
  transition: all 0.2s;
}

.audio-play-trigger:hover {
  transform: scale(1.08);
  background: var(--primary-light);
}

.live-waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  height: 18px;
  flex-grow: 1;
}

.wave-bar {
  width: 3px;
  background: var(--primary);
  border-radius: 3px;
  animation: equalize 1.2s infinite ease-in-out alternate;
}

.wave-bar:nth-child(1) { height: 6px; animation-delay: 0.1s; }
.wave-bar:nth-child(2) { height: 14px; animation-delay: 0.3s; }
.wave-bar:nth-child(3) { height: 18px; animation-delay: 0.5s; }
.wave-bar:nth-child(4) { height: 10px; animation-delay: 0.2s; }
.wave-bar:nth-child(5) { height: 16px; animation-delay: 0.4s; }
.wave-bar:nth-child(6) { height: 18px; animation-delay: 0.6s; }
.wave-bar:nth-child(7) { height: 12px; animation-delay: 0.15s; }
.wave-bar:nth-child(8) { height: 8px; animation-delay: 0.35s; }

@keyframes equalize {
  0% { transform: scaleY(0.4); opacity: 0.6; }
  100% { transform: scaleY(1.2); opacity: 1; }
}

.audio-time-stamp {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.cook-chips-label {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.interactive-chips-row {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.voice-chip {
  background: #f8fafc;
  border: 1px solid var(--border);
  color: var(--text-body);
  padding: 6px 12px;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.voice-chip:hover, .voice-chip.active {
  background: rgba(16, 185, 129, 0.12);
  border-color: var(--primary);
  color: var(--primary);
  font-weight: 700;
}

/* Simulated Dialogue Result */
.cook-dialogue-box {
  background: rgba(16, 185, 129, 0.04);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: var(--radius-md);
  padding: 14px 16px;
}

.dialogue-q {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.dialogue-a {
  font-size: 0.92rem;
  color: var(--text-main);
  line-height: 1.5;
}

/* ══════════════════════════════════════════════════════════════
   HOW IT WORKS, FAQ, CTA & FOOTER
   ══════════════════════════════════════════════════════════════ */
.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-5px);
  border-color: var(--border-hover);
  box-shadow: var(--shadow-lg);
}

.step-num {
  font-size: 2.5rem;
  font-weight: 900;
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 16px;
}

/* FAQ Accordion */
.faq-list {
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.2s ease;
}

.faq-item:hover {
  border-color: var(--border-hover);
}

.faq-question {
  padding: 20px 24px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text-main);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  user-select: none;
}

.faq-question::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--primary);
  font-weight: 700;
  transition: transform 0.25s ease;
}

.faq-item.active .faq-question::after {
  content: '−';
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* CTA Download Banner */
.cta-banner-section {
  padding: 60px 0;
}

.cta-banner-card {
  background: linear-gradient(135deg, #064e3b 0%, #0f172a 100%);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  color: #ffffff;
  box-shadow: 0 25px 60px -15px rgba(5, 150, 105, 0.4);
  position: relative;
  overflow: hidden;
}

.cta-banner-card h2 {
  color: #ffffff;
  margin-bottom: 16px;
}

.cta-banner-card p {
  color: #94a3b8;
  max-width: 580px;
  margin: 0 auto 32px;
  font-size: 1.15rem;
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border);
  padding: 70px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand p {
  color: var(--text-muted);
  font-size: 0.92rem;
  margin-top: 14px;
  max-width: 320px;
}

.footer-col h4 {
  font-size: 1rem;
  color: var(--text-main);
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 12px;
}

/* Modal for iOS App Store */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 36px;
  max-width: 440px;
  width: 100%;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform 0.25s ease;
}

.modal-overlay.active .modal-box {
  transform: translateY(0);
}

.modal-icon {
  font-size: 3rem;
  margin-bottom: 16px;
}

.modal-box h3 {
  margin-bottom: 12px;
}

.modal-box p {
  color: var(--text-body);
  margin-bottom: 24px;
  font-size: 0.95rem;
}

/* ══════════════════════════════════════════════════════════════
   APP SCREENSHOTS SHOWCASE
   ══════════════════════════════════════════════════════════════ */
.screenshots-section {
  background: #f8fafc;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.screenshots-showcase {
  width: 100%;
  margin-top: 40px;
}

.screenshots-track {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  flex-wrap: nowrap;
}

.phone-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 0 0 280px;
  max-width: 280px;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease;
}

.phone-card:hover {
  transform: translateY(-8px);
}

.phone-card.featured {
  transform: translateY(-14px);
}

.phone-card.featured:hover {
  transform: translateY(-20px);
}

.phone-mockup {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 18.5;
  border-radius: 38px;
  background: #0f172a;
  border: 7px solid #1e293b;
  box-shadow: 0 24px 48px -12px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(255, 255, 255, 0.1) inset;
  overflow: hidden;
}

.phone-card.featured .phone-mockup {
  border-color: #0f172a;
  box-shadow: 0 28px 56px -12px rgba(16, 185, 129, 0.22), 0 0 0 1px rgba(16, 185, 129, 0.25) inset;
}

.phone-speaker {
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  width: 54px;
  height: 4px;
  background: #334155;
  border-radius: 4px;
  z-index: 5;
}

.phone-screen {
  width: 100%;
  height: 100%;
  overflow: hidden;
  position: relative;
  background: #ffffff;
}

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

.phone-caption {
  margin-top: 16px;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-main);
  text-align: center;
  line-height: 1.35;
}

/* ══════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN (Tablets & Mobile)
   ══════════════════════════════════════════════════════════════ */
@media (max-width: 992px) {
  .showcase-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .screenshots-track {
    gap: 20px;
  }

  .phone-card {
    flex: 0 0 240px;
    max-width: 240px;
  }
}

@media (max-width: 768px) {
  .mobile-toggle {
    display: block;
    padding: 6px 8px;
    font-size: 1.3rem;
  }

  .nav-wrapper {
    height: 64px;
  }

  .nav-actions {
    gap: 8px;
  }

  /* Compact Language Selector: Hide language text, show flag + arrow */
  #currentLangName {
    display: none;
  }

  .lang-btn {
    padding: 6px 10px;
    font-size: 0.82rem;
    gap: 4px;
    min-width: unset;
  }

  /* Compact Nav Download Button: Remove bulkiness on mobile */
  #navDownloadBtn {
    padding: 7px 13px;
    font-size: 0.82rem;
    white-space: nowrap;
    letter-spacing: -0.01em;
  }

  .nav-links {
    position: fixed;
    top: 64px;
    left: 0;
    width: 100%;
    background: #ffffff;
    flex-direction: column;
    padding: 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    transform: translateY(-150%);
    transition: transform 0.3s ease;
  }

  .nav-links.active {
    transform: translateY(0);
  }

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

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .hero {
    padding: 42px 0 30px;
  }

  .app-badges {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .app-badge-btn {
    width: 100%;
    max-width: 270px;
    padding: 10px 16px;
    font-size: 0.88rem;
    justify-content: center;
  }

  .cta-banner-card {
    padding: 36px 18px;
  }

  /* Screenshots Mobile Horizontal Swipe Carousel */
  .screenshots-section {
    padding: 56px 0;
  }

  .screenshots-showcase {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory;
    padding: 10px 20px 24px;
    margin: 20px -20px 0;
  }

  .screenshots-track {
    justify-content: flex-start;
    gap: 16px;
    width: max-content;
  }

  .phone-card {
    scroll-snap-align: center;
    flex: 0 0 240px;
    max-width: 240px;
    transform: none !important;
  }

  .phone-mockup {
    border-width: 5px;
    border-radius: 28px;
  }

  .phone-caption {
    font-size: 0.85rem;
    margin-top: 10px;
  }
}

@media (max-width: 480px) {
  .logo-text {
    font-size: 1.15rem;
  }

  .nav-actions {
    gap: 6px;
  }

  #navDownloadBtn {
    padding: 6px 10px;
    font-size: 0.78rem;
  }

  .lang-btn {
    padding: 5px 8px;
    font-size: 0.78rem;
  }

  .phone-card {
    flex: 0 0 215px;
    max-width: 215px;
  }
}

/* ══════════════════════════════════════════════════════════════
   LEGAL PAGES & ADMOB COMPLIANCE STYLES
   ══════════════════════════════════════════════════════════════ */
.legal-wrapper {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 0 80px;
}

.legal-header {
  text-align: center;
  margin-bottom: 36px;
}

.badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  background: rgba(5, 150, 105, 0.08);
  border: 1px solid rgba(5, 150, 105, 0.25);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.legal-header h1 {
  font-size: clamp(2.2rem, 4.5vw, 3.2rem);
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.legal-meta {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 500;
}

.legal-highlight-box {
  background: linear-gradient(135deg, rgba(5, 150, 105, 0.04) 0%, rgba(2, 132, 199, 0.04) 100%);
  border: 1px solid rgba(5, 150, 105, 0.22);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  margin-bottom: 36px;
  box-shadow: 0 4px 20px rgba(5, 150, 105, 0.04);
}

.legal-highlight-box p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.7;
}

.legal-quick-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.legal-fact-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
}

.legal-fact-item .fact-label {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
}

.legal-fact-item .fact-val {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-main);
  margin-top: 2px;
}

.legal-section {
  margin-bottom: 40px;
}

.legal-section h2 {
  font-size: 1.55rem;
  color: var(--text-main);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(5, 150, 105, 0.15);
}

.legal-section h3 {
  font-size: 1.22rem;
  color: var(--text-main);
  margin: 20px 0 10px;
}

.legal-section p {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 14px;
}

.legal-section ul, .legal-section ol {
  margin-left: 24px;
  margin-bottom: 18px;
}

.legal-section li {
  color: var(--text-body);
  font-size: 1.02rem;
  line-height: 1.75;
  margin-bottom: 8px;
}

.legal-table-container {
  width: 100%;
  overflow-x: auto;
  margin: 20px 0;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  text-align: left;
}

.legal-table th {
  background: #f1f5f9;
  color: var(--text-main);
  font-weight: 700;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
}

.legal-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-body);
  vertical-align: top;
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.legal-table tr:nth-child(even) td {
  background: rgba(248, 250, 252, 0.6);
}

.legal-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 14px;
  margin: 18px 0;
}

.legal-link-card {
  display: block;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all 0.2s ease;
}

.legal-link-card:hover {
  border-color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.1);
}

.legal-link-card .link-title {
  font-weight: 700;
  color: var(--primary);
  font-size: 0.98rem;
}

.legal-link-card .link-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

