/* ============================================================
   Ally Lama — Global Stylesheet
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@200;300;400;600&display=swap');

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background: #02092f;
  min-height: 100%;
}

body {
  font-family: 'Avenir Next', 'Avenir', 'Nunito', 'Century Gothic', sans-serif;
  font-weight: 400;
  background: linear-gradient(120deg, #02092f 0%, #00327d 100%);
  color: #ffffff;
  line-height: 1.7;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-weight: 300;
  letter-spacing: 0.02em;
  line-height: 1.25;
}

h1 { font-size: clamp(2.4rem, 5vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }

p { font-weight: 400; }

a { color: #0078ff; text-decoration: none; transition: opacity 0.2s; font-weight: 400; }
a:hover { opacity: 0.75; }

/* ── Layout helpers ───────────────────────────────────────── */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 60px;
}

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: inherit;
  font-weight: 300;
  font-size: 1rem;
  letter-spacing: 0.04em;
  cursor: pointer;
  border: none;
  transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none;
}

.btn:hover { transform: translateY(-2px); opacity: 0.92; }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: #0078ff;
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 24px rgba(0, 120, 255, 0.4);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(0, 120, 255, 0.55);
  color: #ffffff;
}

.btn-ghost {
  background: transparent;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #ffffff;
}

/* ── Glass card ───────────────────────────────────────────── */
.glass {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: background 0.3s ease, padding 0.3s ease, backdrop-filter 0.3s ease;
}

.nav.scrolled {
  background: linear-gradient(120deg, rgba(2, 9, 47, 0.75) 0%, rgba(0, 50, 125, 0.75) 100%);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo { display: flex; align-items: center; }
.nav-logo img { height: 40px; width: auto; transition: none; }
.nav-logo:hover { opacity: 1; }

.nav-app-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(0,120,255,0.35), 0 0 0 1.5px rgba(0,120,255,0.5);
  transition: transform 0.2s, box-shadow 0.2s;
}

.nav-app-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 20px rgba(0,120,255,0.5), 0 0 0 2px rgba(0,120,255,0.7);
}

.nav-app-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

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

.nav-links a {
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 400;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}

.nav-links a:hover { color: #ffffff; opacity: 1; }

.nav-cta { margin-left: 8px; padding: 10px 24px; font-size: 0.92rem; white-space: nowrap; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: rgba(255,255,255,0.8);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
.nav-mobile {
  display: none;
  flex-direction: column;
  gap: 0;
  background: rgba(2, 9, 47, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  z-index: 99;
  justify-content: center;
  align-items: center;
  padding: 40px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.nav-mobile.open {
  display: flex;
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  color: rgba(255,255,255,0.85);
  font-size: 1.6rem;
  font-weight: 400;
  padding: 16px 0;
  letter-spacing: 0.05em;
  border-bottom: 1px solid rgba(255,255,255,0.08);
  width: 100%;
  text-align: center;
}

.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: #ffffff; opacity: 1; }
.nav-mobile .btn { margin-top: 24px; width: 100%; justify-content: center; }

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


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

.hero-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #0078ff;
  margin-bottom: 16px;
  border: 1px solid #0078ff;
  padding: 5px 14px;
  border-radius: 50px;
}

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

.hero-title span { color: #0078ff; }

/* Mobile-only duplicate title — hidden on desktop */
.hero-title-mobile { display: none; }

.hero-sub {
  font-size: 1.15rem;
  margin-bottom: 36px;
  max-width: 460px;
  font-weight: 400;
}

/* ── Hero Download Card ───────────────────────────────────── */
.hero-download-card {
  display: inline-flex;
  flex-direction: column;
  gap: 20px;
  background: linear-gradient(135deg, rgba(0,120,255,0.13) 0%, rgba(0,60,180,0.18) 100%);
  border: 1.5px solid rgba(0,120,255,0.55);
  border-radius: 20px;
  padding: 24px 28px;
  margin-bottom: 0;
  box-shadow: 0 0 32px rgba(0,120,255,0.12), inset 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.hero-download-headline {
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: center;
}

.hero-download-free {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.01em;
  line-height: 1.1;
  background: linear-gradient(90deg, #ffffff 0%, #a8d4ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-download-sub {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-weight: 400;
  letter-spacing: 0.01em;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 10px 20px;
  color: #ffffff;
  font-weight: 400;
  font-size: 0.88rem;
  transition: background 0.2s, transform 0.2s, border-color 0.2s;
  text-decoration: none;
}

.store-badge:hover {
  background: rgba(0, 120, 255, 0.2);
  border-color: #0078ff;
  transform: translateY(-2px);
  color: #ffffff;
  opacity: 1;
}

.store-badge svg { flex-shrink: 0; }

.store-badge .badge-sub { font-size: 0.7rem; opacity: 0.65; display: block; font-weight: 400; }
.store-badge .badge-name { font-size: 0.95rem; font-weight: 400; display: block; margin-top: 1px; }

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 24px;
  overflow: visible;
}

.hero-image img {
  width: 100%;
  max-width: 420px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.hero-image img { pointer-events: none; }

/* ── iPhone mockup + carousel ────────────────────────────── */
.hero-phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  perspective: 1400px;
}

@keyframes phoneFloat {
  0%, 100% { transform: rotateY(-18deg) rotateX(4deg) translateY(0px); }
  50%       { transform: rotateY(-18deg) rotateX(4deg) translateY(-18px); }
}

/* Slab wrapper — owns the 3D rotation and animation */
.iphone-slab {
  position: relative;
  width: 260px;
  height: 554px;
  transform-style: preserve-3d;
  animation: phoneFloat 5s ease-in-out infinite;
}

/* Front face — static, sits at z=0 */
.iphone-frame {
  position: absolute;
  inset: 0;
  background: #0a0a0f;
  border-radius: 30px;
  border: 2px solid #0078ff;
  box-shadow:
    12px 6px 0 0 rgba(0, 120, 255, 0.85),
    0 0 0 1px rgba(255,255,255,0.06),
    0 40px 100px rgba(0,0,0,0.7),
    inset 0 0 0 1px rgba(255,255,255,0.04);
  overflow: visible;
  transform-style: preserve-3d;
}



/* Dynamic island */
.iphone-island {
  position: absolute;
  top: 14px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 28px;
  background: #0a0a0f;
  border-radius: 20px;
  z-index: 10;
  border: 1px solid rgba(255,255,255,0.08);
}

/* Side buttons */
.iphone-btn {
  position: absolute;
  background: #1a1a22;
  border-radius: 3px;
}
.iphone-vol-up   { left: -4px; top: 110px; width: 4px; height: 36px; }
.iphone-vol-down { left: -4px; top: 158px; width: 4px; height: 36px; }
.iphone-power    { right: -4px; top: 130px; width: 4px; height: 60px; }

/* Screen */
.iphone-screen {
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 25px;
  overflow: hidden;
  background: #000;
}

/* Screen reflection */
.iphone-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255,255,255,0.32) 0%,
    rgba(255,255,255,0.12) 25%,
    rgba(255,255,255,0.03) 50%,
    transparent 65%
  );
  border-radius: 25px;
  pointer-events: none;
  z-index: 10;
}

/* Carousel — absolute-positioned slides for per-direction control */
.iphone-carousel {
  position: relative;
  width: 100%;
  height: 100%;
}

.iphone-carousel img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  display: block;
  will-change: transform;
}

/* Dot indicators */
.iphone-dots {
  display: flex;
  gap: 8px;
  position: relative;
  z-index: 10;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  transition: background 0.3s, transform 0.3s;
  cursor: pointer;
}

.dot.active {
  background: #0078ff;
  transform: scale(1.25);
}

/* ── Features ─────────────────────────────────────────────── */
.features { }

.features-monk-hero {
  width: 100%;
  max-width: 420px;
  display: block;
  margin: 0 auto 28px;
  filter: drop-shadow(0 12px 32px rgba(0,120,255,0.2));
  animation: float 6s ease-in-out infinite;
}

.features-header {
  text-align: center;
  margin-bottom: 72px;
}

.features-header h2 { color: #ffffff; }
.features-header p { margin-top: 12px; font-size: 1.05rem; max-width: 680px; margin-left: auto; margin-right: auto; }

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px 80px;
  align-items: center;
  margin-bottom: 80px;
}

.feature-row:last-child { margin-bottom: 0; }

.feature-row.reverse { direction: rtl; }
.feature-row.reverse > * { direction: ltr; }

.feature-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 24px;
  overflow: visible;
}

.feature-monk-img {
  width: 100%;
  max-width: 320px;
  object-fit: contain;
}

.icon-circle {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  background: rgba(0, 120, 255, 0.1);
  border: 2px solid #0078ff;
  box-shadow: 0 0 40px rgba(0, 120, 255, 0.25), 0 20px 60px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-text { }

.feature-number {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #0078ff;
  font-weight: 400;
  margin-bottom: 10px;
}

.feature-text h3 {
  color: #0078ff;
  margin-bottom: 14px;
  font-size: clamp(1.625rem, 2.5vw, 2.125rem);
  font-weight: 400;
}

.feature-text p {
  font-size: 1.05rem;
  line-height: 1.75;
  font-weight: 400;
  max-width: 520px;
}

/* ── Pricing / No Tiers ───────────────────────────────────── */
.pricing {
  text-align: center;
}

.pricing-inner {
  max-width: 740px;
  margin: 0 auto;
}

.pricing-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 120, 255, 0.15);
  border: 1px solid #0078ff;
  border-radius: 50px;
  padding: 8px 20px;
  font-size: 0.82rem;
  font-weight: 400;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #0078ff;
  margin-bottom: 24px;
}

.pricing h2 { color: #ffffff; margin-bottom: 16px; font-weight: 400; }
.pricing .pricing-sub { font-size: 1.1rem; margin-bottom: 48px; max-width: 520px; margin-left: auto; margin-right: auto; }

.pricing-monk {
  width: 180px;
  margin: 0 auto 40px;
  filter: drop-shadow(0 10px 30px rgba(0,120,255,0.25));
  animation: float 6s ease-in-out infinite;
}

.pricing-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 36px;
}

.pricing-card {
  padding: 32px 28px;
  border-radius: 20px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.pricing-card.featured {
  background: rgba(0, 120, 255, 0.12);
  border: 1px solid rgba(0, 120, 255, 0.4);
  box-shadow: 0 0 40px rgba(0, 120, 255, 0.15);
}

.pricing-card.standard {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-tag {
  display: inline-block;
  background: #0078ff;
  color: white;
  font-size: 0.7rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 50px;
  margin-bottom: 16px;
}

.pricing-card h4 {
  font-size: 1.05rem;
  font-weight: 400;
  opacity: 0.65;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 2.4rem;
  font-weight: 300;
  color: #ffffff;
  line-height: 1;
  margin-bottom: 4px;
}

.pricing-price sup { font-size: 1rem; vertical-align: super; }
.pricing-price span { font-size: 1rem; opacity: 0.55; }

.pricing-saving {
  font-size: 0.8rem;
  color: #0078ff;
  font-weight: 400;
  margin-bottom: 20px;
}

.pricing-card p {
  font-size: 0.9rem;
  opacity: 0.6;
  line-height: 1.6;
}

.pricing-free-note {
  font-size: 0.88rem;
  font-weight: 400;
  margin-top: 12px;
}

/* ── CTA Banner ───────────────────────────────────────────── */
.cta-banner {
  text-align: center;
  padding: 80px 0;
}

.cta-banner h2 { margin-bottom: 16px; }
.cta-banner p { margin-bottom: 36px; font-size: 1.1rem; }

.cta-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 48px 0 36px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: center;
  margin-bottom: 32px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.footer-logo > img { height: 32px; opacity: 1; }

.footer-social {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.footer-social-label {
  font-size: 0.75rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #ffffff;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, transform 0.2s;
  color: rgba(255,255,255,0.55);
}

.social-link:hover {
  background: rgba(0, 120, 255, 0.2);
  transform: translateY(-2px);
  color: #0078ff;
  opacity: 1;
}

.footer-links {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: 0.82rem;
  color: #ffffff;
  font-weight: 400;
  transition: color 0.2s;
}

.footer-links a:hover { color: rgba(255,255,255,0.85); opacity: 1; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom p {
  font-size: 0.78rem;
  font-weight: 400;
  color: #ffffff;
}

/* ── Inner pages ──────────────────────────────────────────── */
.page-hero {
  padding: 140px 0 64px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.page-hero h1 { margin-bottom: 10px; }
.page-hero .page-meta { font-size: 0.85rem; font-weight: 400; }

.page-content {
  padding: 64px 0 100px;
  max-width: 760px;
}

.page-content h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #0078ff;
  margin: 40px 0 12px;
  letter-spacing: 0.04em;
}

.page-content h2:first-child { margin-top: 0; }

.page-content p {
  margin-bottom: 14px;
  font-size: 1rem;
  line-height: 1.8;
  font-weight: 400;
}

.page-content ul {
  margin: 0 0 16px 20px;
  opacity: 0.78;
}

.page-content li {
  margin-bottom: 6px;
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 400;
  color: #ffffff;
}

.page-content a { border-bottom: 1px solid rgba(0,120,255,0.3); }
.page-content a:hover { border-bottom-color: #0078ff; opacity: 1; }

/* Support page */
.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.support-card {
  padding: 32px 28px;
  border-radius: 20px;
}

.support-card-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 120, 255, 0.2);
  border: 1px solid #0078ff;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: #0078ff;
}

.support-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 8px; color: #ffffff; }
.support-card p { font-size: 0.92rem; margin-bottom: 16px; }

/* ── Scroll animations ────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner { display: flex; flex-direction: column; align-items: center; text-align: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-download-card { align-items: center; text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-image { order: -1; }
  .hero-image img { max-width: 280px; }
  .hero-phone-wrap { order: -1; display: flex; flex-direction: column; align-items: center; justify-content: center; perspective: 1400px; margin-right: 20px; }
  .iphone-slab { animation: phoneFloat 5s ease-in-out infinite; transform-style: preserve-3d; margin-bottom: 16px; }
  .iphone-dots { display: flex; justify-content: center; margin-top: 10px; }
  .iphone-frame { width: 260px; height: 554px; }

  .feature-row { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .feature-row.reverse { direction: ltr; }
  .feature-visual { justify-content: center; }

  .pricing-cards { grid-template-columns: 1fr; max-width: 360px; margin-left: auto; margin-right: auto; }

  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-logo { display: flex; justify-content: center; }
  .footer-links { justify-content: center; }
  .footer-bottom { justify-content: center; text-align: center; }
  .footer { background: transparent; border-top: none; }
  .footer-logo { flex-direction: column; align-items: center; gap: 16px; }
  .footer-logo .nav-app-icon { width: 63px; height: 63px; border-radius: 16px; }
}

@media (max-width: 660px) {
  .container { padding: 0 32px; }
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  .section { padding: 64px 0; }
  h1 { font-size: 2rem; }

  .icon-circle { width: 200px; height: 200px; }
  .feature-monk-img { max-width: 240px; }

  .hero-image img { max-width: 220px; }

  /* Extend nav glass into mobile status bar */
  .nav {
    padding-top: calc(20px + env(safe-area-inset-top));
  }
  .nav.scrolled {
    padding-top: calc(14px + env(safe-area-inset-top));
  }
  .iphone-slab { width: 240px; height: 512px; }

  /* Reorder hero on mobile: title → phone → eyebrow → rest */
  .hero-title { display: none; }
  .hero-title-mobile {
    display: block;
    order: -2;
    font-size: 3rem;
    color: #ffffff;
    text-align: center;
    margin-bottom: 12px;
    line-height: 1.2;
  }
  .hero-title-mobile span { color: #0078ff; }
  .hero-eyebrow { margin-top: 20px; }
  .iphone-frame { border-radius: 28px; }
  .iphone-screen { border-radius: 23px; }
}
