/* ═══════════════════════════════════════════════════════════════
   OurLogs Landing Page — Styles
   Self-contained, no iframe dependencies.
═══════════════════════════════════════════════════════════════ */

/* ── Design Tokens ── */
:root {
  --primary:       #FF7E9D;
  --primary-l:     rgba(255,126,157,0.12);
  --primary-m:     rgba(255,126,157,0.2);
  --secondary:     #FFB347;
  --dark:          #1A1A2E;
  --dark-2:        #2D2B55;
  --text:          #1A1A2E;
  --text-2:        #7B7B9A;
  --text-3:        #C4C4D4;
  --bg:            #FFF8F9;
  --surface:       #FFFFFF;
  --divider:       #F0E8EA;

  --grad-hero:     linear-gradient(135deg, #FFDDE1, #FFC3D0);
  --grad-warm:     linear-gradient(135deg, #FFE29A, #FFA99F);
  --grad-brand:    linear-gradient(135deg, #FF7E9D, #FFB347);
  --grad-dark:     linear-gradient(180deg, #1A1A2E, #2D2B55);

  --r-xs: 8px; --r-sm: 12px; --r-md: 16px;
  --r-lg: 24px; --r-xl: 32px; --r-full: 9999px;

  --ease-out-quint: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:    cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-smooth:    cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: clip; }

body {
  font-family: -apple-system, "Inter", "PingFang SC", "SF Pro Display", sans-serif;
  background: #fff;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ═══════════════════════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 60px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 40px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0,0,0,0);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  border-bottom-color: rgba(0,0,0,0.06);
  box-shadow: 0 1px 24px rgba(0,0,0,0.06);
}

.nav-logo { text-decoration: none; display: flex; align-items: center; gap: 9px; }
.nav-logo img { width: 36px; height: 36px; border-radius: 9px; object-fit: cover; display: block; }
.nav-logo-text { font-size: 19px; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; }
.nav-logo-text em { color: var(--primary); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 36px; list-style: none; }
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-2); text-decoration: none;
  transition: color 0.2s var(--ease-smooth);
}
.nav-links a:hover { color: var(--dark); }

.nav-cta { display: flex; align-items: center; gap: 10px; }
.btn-nav-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 20px; background: var(--dark); color: white;
  border-radius: var(--r-full); font-size: 14px; font-weight: 600;
  text-decoration: none; transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  border: none; cursor: pointer;
}
.btn-nav-primary:hover { transform: scale(1.04); box-shadow: 0 4px 16px rgba(26,26,46,0.25); }

/* ═══════════════════════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh; display: flex; align-items: center; justify-content: center;
  padding: 120px 40px 80px; background: #fff;
  position: relative; overflow: hidden;
}
.hero-orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero-orb-1 { width: 700px; height: 700px; background: radial-gradient(circle, rgba(255,126,157,0.1) 0%, transparent 70%); top: -200px; right: -200px; }
.hero-orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, rgba(255,179,71,0.08) 0%, transparent 70%); bottom: -100px; left: -100px; }
.hero-orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, rgba(116,167,255,0.08) 0%, transparent 70%); top: 20%; left: 20%; }

.hero-inner {
  max-width: 1200px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
  position: relative; z-index: 1;
}

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 7px 16px; background: var(--primary-l);
  border: 1px solid rgba(255,126,157,0.22); border-radius: var(--r-full);
  font-size: 13px; font-weight: 600; color: var(--primary);
  margin-bottom: 28px;
}
.hero-badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--primary); animation: pulse-dot 2s ease infinite; }
@keyframes pulse-dot { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.5; transform: scale(0.8); } }

.hero-title {
  font-size: clamp(48px, 5.5vw, 80px); font-weight: 900;
  line-height: 1.0; letter-spacing: -3px; color: var(--dark); margin-bottom: 24px;
}
.hero-title em {
  font-style: normal; background: var(--grad-brand);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.hero-desc { font-size: 18px; line-height: 1.75; color: var(--text-2); margin-bottom: 40px; max-width: 460px; }
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 52px; }

.btn-store {
  display: flex; align-items: center; gap: 12px;
  padding: 13px 22px; border-radius: var(--r-lg); text-decoration: none;
  transition: transform 0.2s var(--ease-spring), box-shadow 0.2s;
  cursor: pointer; border: none;
}
.btn-store:hover { transform: translateY(-2px) scale(1.02); }
.btn-apple { background: var(--dark); color: white; }
.btn-apple:hover { box-shadow: 0 10px 28px rgba(26,26,46,0.28); }
.btn-android { background: #fff; color: var(--dark); border: 1.5px solid #e4e4ef; }
.btn-android:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.1); border-color: var(--primary); }

.btn-store-icon { width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.btn-store-text span { display: block; font-size: 11px; font-weight: 400; opacity: 0.65; line-height: 1; }
.btn-store-text strong { display: block; font-size: 16px; font-weight: 700; line-height: 1.3; }

.hero-stats { display: flex; gap: 36px; padding-top: 16px; border-top: 1px solid var(--divider); }
.stat-num { font-size: 26px; font-weight: 800; color: var(--dark); letter-spacing: -0.5px; line-height: 1; }
.stat-num em { color: var(--primary); font-style: normal; }
.stat-label { font-size: 12px; color: var(--text-2); margin-top: 4px; }

/* ═══════════════════════════════════════════════════════════════
   PHONE MOCKUP BASE
═══════════════════════════════════════════════════════════════ */
.phone-mock {
  width: 390px; height: 844px; border-radius: 50px;
  position: relative; flex-shrink: 0; overflow: hidden;
  box-shadow: 0 40px 100px rgba(0,0,0,0.45), 0 20px 40px rgba(0,0,0,0.25);
}
.phone-mock::before {
  content: ''; position: absolute; inset: 0; z-index: 5;
  border-radius: 50px; border: 10px solid #1e1e2e;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.10), inset 0 1px 0 rgba(255,255,255,0.15);
  pointer-events: none;
}
.phone-mock::after {
  content: ''; position: absolute; left: -4px; top: 130px;
  width: 4px; height: 64px;
  background: linear-gradient(180deg, #2a2a3a, #3a3a4a, #2a2a3a);
  border-radius: 2px 0 0 2px; z-index: 6;
}
.phone-notch {
  position: absolute; top: 12px; left: 50%; transform: translateX(-50%);
  width: 110px; height: 30px; background: #0f0f18;
  border-radius: 0 0 20px 20px; z-index: 10;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 42px; overflow: hidden;
  background: var(--bg); position: relative;
}

.phone-float { animation: phone-float 5s ease-in-out infinite; filter: drop-shadow(0 30px 60px rgba(255,126,157,0.15)); }
@keyframes phone-float { 0%, 100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-22px) rotate(-2deg); } }
.phone-wrap { display: flex; justify-content: center; align-items: center; }

/* ═══════════════════════════════════════════════════════════════
   FEATURE SECTIONS — Card-Stack Sticky
═══════════════════════════════════════════════════════════════ */
.feature-section {
  position: sticky; top: 0; height: 100vh;
  display: flex; align-items: center; justify-content: center;
  padding: 0 40px;
}
.feature-section[data-feature="1"] { z-index: 10; }
.feature-section[data-feature="2"] { z-index: 11; }
.feature-section[data-feature="3"] { z-index: 12; }
.feature-section[data-feature="4"] { z-index: 13; }

.feature-sticky {
  position: relative; width: 100%; max-width: 1200px; height: 100%;
  display: flex; align-items: center; justify-content: center;
}
.feature-inner {
  max-width: 1100px; width: 100%;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center; position: relative; z-index: 2;
}
.feature-inner.flip { direction: rtl; }
.feature-inner.flip > * { direction: ltr; }

.feature-label {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 13px; font-weight: 700; color: var(--primary);
  letter-spacing: 0.8px; text-transform: uppercase; margin-bottom: 18px;
}
.feature-title { font-size: clamp(36px, 3.5vw, 52px); font-weight: 900; line-height: 1.08; letter-spacing: -1.8px; margin-bottom: 20px; }
.feature-title.dark { color: white; }
.feature-title.light { color: var(--dark); }
.feature-desc { font-size: 17px; line-height: 1.8; margin-bottom: 36px; }
.feature-desc.dark { color: rgba(255,255,255,0.55); }
.feature-desc.light { color: var(--text-2); }

.feature-bullets { display: flex; flex-direction: column; gap: 12px; }
.feature-bullet { display: flex; align-items: flex-start; gap: 12px; }
.bullet-icon { width: 20px; height: 20px; border-radius: 50%; background: var(--primary-l); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-top: 1px; }
.bullet-icon::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: var(--primary); display: block; }
.feature-bullet-text { font-size: 15px; line-height: 1.6; }
.feature-bullet-text.dark { color: rgba(255,255,255,0.5); }
.feature-bullet-text.light { color: var(--text-2); }

.sec-white { background: #fff; }
.sec-blush { background: #FFF8F9; }
.sec-dark { background: var(--dark); }
.sec-dark-2 { background: linear-gradient(160deg, #1a1a2e, #22213a); }

.feature-phone-wrap { display: flex; justify-content: center; align-items: center; }

/* Entrance animations */
.feature-section.fs-entering .feature-phone-wrap { animation: ftPhoneRise 1.0s var(--ease-out-quint) 0s both; }
.feature-section.fs-entering .feature-text { animation: ftTextReveal 0.8s var(--ease-out-quint) 0.6s both; }
@keyframes ftPhoneRise { from { opacity: 0; transform: translateY(80px); } to { opacity: 1; transform: translateY(0); } }
@keyframes ftTextReveal { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

.feature-section[data-feature]::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 2px; background: var(--grad-brand); opacity: 0; transition: opacity 0.4s;
}
.feature-section.fs-active::after { opacity: 1; }

/* Scroll dots */
#scroll-dots {
  position: fixed; right: 28px; top: 50%; transform: translateY(-50%);
  display: flex; flex-direction: column; gap: 10px;
  z-index: 100; opacity: 0; transition: opacity 0.4s;
}
#scroll-dots.visible { opacity: 1; }
.scroll-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: rgba(255,255,255,0.25); border: 1.5px solid rgba(255,255,255,0.4);
  cursor: pointer; transition: all 0.3s var(--ease-spring);
}
.scroll-dot.active {
  background: var(--primary); border-color: var(--primary);
  transform: scale(1.5); box-shadow: 0 0 10px rgba(255,126,157,0.6);
}

.phone-mock-tilt { transition: transform 0.5s var(--ease-smooth); }
.phone-mock-tilt:hover { transform: rotate(0deg) scale(1.03) !important; }

/* ═══════════════════════════════════════════════════════════════
   STATS
═══════════════════════════════════════════════════════════════ */
.stats-section { padding: 80px 40px; background: var(--bg); border-top: 1px solid var(--divider); border-bottom: 1px solid var(--divider); }
.stats-inner { max-width: 900px; margin: 0 auto; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; text-align: center; }
.stats-num {
  font-size: 42px; font-weight: 900;
  background: var(--grad-brand); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  letter-spacing: -1.5px; line-height: 1; margin-bottom: 8px;
}
.stats-label { font-size: 14px; color: var(--text-2); font-weight: 500; }

/* ═══════════════════════════════════════════════════════════════
   GALLERY
═══════════════════════════════════════════════════════════════ */
#gallery { padding: 110px 0 80px; background: linear-gradient(180deg, #14141f, #1e1d30); overflow: hidden; }
.gallery-head { text-align: center; padding: 0 40px 64px; }
.gallery-eyebrow { font-size: 13px; font-weight: 700; color: var(--primary); letter-spacing: 1.2px; text-transform: uppercase; margin-bottom: 14px; }
.gallery-title { font-size: clamp(32px, 4vw, 54px); font-weight: 900; color: white; line-height: 1.08; letter-spacing: -1.8px; }
.gallery-title em { font-style: normal; color: var(--primary); }

.gallery-track-wrap { position: relative; }
.gallery-track-wrap::before, .gallery-track-wrap::after { content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none; }
.gallery-track-wrap::before { left: 0; background: linear-gradient(90deg, #14141f, transparent); }
.gallery-track-wrap::after  { right: 0; background: linear-gradient(-90deg, #14141f, transparent); }

.gallery-track { display: flex; gap: 28px; overflow-x: auto; padding: 10px 80px 30px; scrollbar-width: none; cursor: grab; user-select: none; }
.gallery-track::-webkit-scrollbar { display: none; }
.gallery-track:active { cursor: grabbing; }

.gallery-phone-wrap { flex-shrink: 0; text-align: center; }
.gallery-phone-label { color: rgba(255,255,255,0.35); font-size: 12px; font-weight: 600; margin-top: 18px; letter-spacing: 0.5px; }

.phone-mock-sm {
  width: 300px; height: 624px;
  background: linear-gradient(160deg, #2a2a3a, #14141f);
  border-radius: 40px; padding: 8px;
  position: relative; flex-shrink: 0;
  box-shadow: 0 0 0 1px rgba(255,255,255,0.07) inset, 0 24px 60px rgba(0,0,0,0.5);
  transition: transform 0.3s var(--ease-smooth);
}
.phone-mock-sm:hover { transform: translateY(-8px) scale(1.02); }
.phone-notch-sm { position: absolute; top: 11px; left: 50%; transform: translateX(-50%); width: 88px; height: 22px; background: #0f0f18; border-radius: 0 0 11px 11px; z-index: 10; }
.phone-screen-sm { width: 100%; height: 100%; border-radius: 34px; overflow: hidden; background: var(--bg); position: relative; }

/* ═══════════════════════════════════════════════════════════════
   DOWNLOAD
═══════════════════════════════════════════════════════════════ */
#download { padding: 130px 40px; background: #fff; position: relative; overflow: hidden; text-align: center; }
#download::before {
  content: ''; position: absolute; width: 800px; height: 800px;
  background: radial-gradient(circle, rgba(255,126,157,0.08) 0%, transparent 65%);
  top: 50%; left: 50%; transform: translate(-50%, -50%); border-radius: 50%; pointer-events: none;
}
.dl-inner { position: relative; z-index: 1; max-width: 660px; margin: 0 auto; }
.dl-app-icon {
  width: 88px; height: 88px; background: var(--grad-brand); border-radius: 24px;
  display: flex; align-items: center; justify-content: center; font-size: 44px;
  margin: 0 auto 32px; box-shadow: 0 16px 40px rgba(255,126,157,0.35);
  animation: icon-pulse 3s ease-in-out infinite;
}
@keyframes icon-pulse { 0%, 100% { box-shadow: 0 16px 40px rgba(255,126,157,0.35); } 50% { box-shadow: 0 24px 56px rgba(255,126,157,0.5); transform: scale(1.04); } }

.dl-title { font-size: clamp(38px, 4.5vw, 62px); font-weight: 900; color: var(--dark); line-height: 1.05; letter-spacing: -2.5px; margin-bottom: 18px; }
.dl-title em { font-style: normal; color: var(--primary); }
.dl-desc { font-size: 18px; line-height: 1.75; color: var(--text-2); margin-bottom: 44px; }
.dl-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-dl { display: flex; align-items: center; gap: 13px; padding: 15px 26px; border-radius: var(--r-xl); text-decoration: none; cursor: pointer; border: none; transition: transform 0.2s var(--ease-spring), box-shadow 0.2s; }
.btn-dl:hover { transform: translateY(-3px) scale(1.02); }
.btn-dl-apple { background: var(--dark); color: white; }
.btn-dl-apple:hover { box-shadow: 0 14px 36px rgba(26,26,46,0.3); }
.btn-dl-android { background: #fff; color: var(--dark); border: 1.5px solid #e4e4ef; }
.btn-dl-android:hover { border-color: transparent; box-shadow: 0 14px 36px rgba(0,0,0,0.12); }
.btn-dl-icon { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; }
.btn-dl-text span { display: block; font-size: 11px; opacity: 0.6; font-weight: 400; line-height: 1; }
.btn-dl-text strong { display: block; font-size: 17px; font-weight: 700; line-height: 1.3; }
.dl-note { margin-top: 28px; font-size: 13px; color: var(--text-3); }

/* ═══════════════════════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════════════════════ */
footer { background: var(--dark); padding: 56px 40px 40px; }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 32px; }
.footer-logo { display: flex; align-items: center; gap: 10px; }
.footer-logo img { width: 40px; height: 40px; border-radius: 11px; object-fit: cover; }
.footer-logo-text { font-size: 22px; font-weight: 800; color: rgba(255,255,255,0.9); letter-spacing: -0.5px; }
.footer-logo-text em { color: var(--primary); font-style: normal; }
.footer-links { display: flex; gap: 28px; list-style: none; flex-wrap: wrap; justify-content: center; }
.footer-links a { font-size: 13px; color: rgba(255,255,255,0.35); text-decoration: none; transition: color 0.2s; }
.footer-links a:hover { color: rgba(255,255,255,0.65); }
.footer-divider { width: 100%; height: 1px; background: rgba(255,255,255,0.07); }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); text-align: center; }

/* ═══════════════════════════════════════════════════════════════
   SCROLL ANIMATIONS
═══════════════════════════════════════════════════════════════ */
.js-ready .reveal { opacity: 0; transform: translateY(50px); transition: opacity 0.9s var(--ease-out-quint), transform 0.9s var(--ease-out-quint); }
.js-ready .reveal.visible { opacity: 1; transform: translateY(0); }
.js-ready .reveal.d1 { transition-delay: 0.08s; }
.js-ready .reveal.d2 { transition-delay: 0.16s; }
.js-ready .reveal.d3 { transition-delay: 0.24s; }
.js-ready .reveal.d4 { transition-delay: 0.32s; }
.js-ready .reveal.d5 { transition-delay: 0.40s; }
.js-ready .reveal-left { opacity: 0; transform: translateX(-60px); transition: opacity 0.9s var(--ease-out-quint), transform 0.9s var(--ease-out-quint); }
.js-ready .reveal-left.visible { opacity: 1; transform: translateX(0); }
.js-ready .reveal-right { opacity: 0; transform: translateX(60px); transition: opacity 0.9s var(--ease-out-quint), transform 0.9s var(--ease-out-quint); }
.js-ready .reveal-right.visible { opacity: 1; transform: translateX(0); }

/* ═══════════════════════════════════════════════════════════════
   MOBILE NAVIGATION
═══════════════════════════════════════════════════════════════ */
.nav-hamburger {
  display: none; width: 44px; height: 44px;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
  cursor: pointer; border: none; background: none; border-radius: 10px; padding: 10px;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--primary-l); }
.nav-hamburger span { display: block; width: 20px; height: 2px; background: var(--dark); border-radius: 2px; transition: transform 0.35s var(--ease-out-quint), opacity 0.25s; transform-origin: center; }
.nav-hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-mobile {
  position: fixed; inset: 0; z-index: 998;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(24px); -webkit-backdrop-filter: blur(24px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transform: translateY(-12px);
  transition: opacity 0.35s var(--ease-out-quint), transform 0.35s var(--ease-out-quint);
}
.nav-mobile.open { opacity: 1; pointer-events: all; transform: translateY(0); }
.nav-mobile-links { list-style: none; text-align: center; display: flex; flex-direction: column; gap: 4px; margin-bottom: 40px; }
.nav-mobile-links li { overflow: hidden; }
.nav-mobile-links a { display: block; font-size: 40px; font-weight: 900; line-height: 1.3; color: var(--dark); text-decoration: none; letter-spacing: -1.5px; padding: 6px 0; transition: color 0.2s; }
.nav-mobile-links a:hover { color: var(--primary); }
.nav-mobile-btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.nav-mobile-divider { width: 40px; height: 2px; background: var(--divider); border-radius: 2px; margin-bottom: 36px; }

/* ═══════════════════════════════════════════════════════════════
   APP SCREEN MOCKUPS — Static CSS/HTML phone screens
   Contained inside .phone-screen / .phone-screen-sm
═══════════════════════════════════════════════════════════════ */
.app-screen {
  width: 390px; height: 844px;
  font-family: -apple-system, "PingFang SC", "Inter", sans-serif;
  background: #FFF8F9; color: #1A1A2E;
  position: relative; overflow: hidden;
  font-size: 14px; line-height: 1.4;
}

/* Scale app-screen to fit inside gallery phones */
.phone-screen-sm .app-screen {
  transform: scale(0.728);
  transform-origin: top left;
}

/* ── Shared inner elements ── */
.app-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 52px 20px 12px;
  background: rgba(255,248,249,0.92);
  backdrop-filter: blur(10px);
}
.app-header-title { font-size: 17px; font-weight: 700; }
.app-icon-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(0,0,0,0.04); display: flex; align-items: center; justify-content: center; font-size: 16px; }
.app-content { padding: 8px 20px 90px; overflow: hidden; }

/* ── Bottom nav bar ── */
.app-bottom-nav {
  position: absolute; bottom: 16px; left: 50%; transform: translateX(-50%);
  width: 66%; height: 56px; border-radius: 9999px;
  background: #fff; box-shadow: 0 6px 24px rgba(0,0,0,0.12);
  display: flex; align-items: center; justify-content: space-around;
  z-index: 5;
}
.app-nav-item { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: #7B7B9A; }
.app-nav-item.active { color: #FF7E9D; }
.app-nav-item .nav-icon { font-size: 20px; }
.app-nav-create { width: 44px; height: 44px; border-radius: 50%; background: linear-gradient(135deg, #FF9AB2, #FF7E9D); display: flex; align-items: center; justify-content: center; font-size: 22px; color: white; box-shadow: 0 4px 12px rgba(255,126,157,0.4); }

/* ═══════ HOME SCREEN ═══════ */
.app-home .app-header { justify-content: center; gap: 12px; }
.app-home .app-logo { font-size: 17px; font-weight: 800; }
.app-home .app-logo em { color: #FF7E9D; font-style: normal; }

.home-hero-card {
  background: linear-gradient(135deg, #FFDDE1, #FFC3D0);
  border-radius: 24px; padding: 20px; margin-bottom: 16px;
  position: relative; overflow: hidden;
}
.home-hero-card::before { content: ''; position: absolute; width: 120px; height: 120px; border-radius: 50%; background: rgba(255,255,255,0.2); top: -30px; right: -20px; }
.home-couple { display: flex; align-items: center; justify-content: center; gap: 20px; margin-bottom: 12px; }
.home-avatar { text-align: center; }
.home-avatar-circle { width: 48px; height: 48px; border-radius: 50%; background: rgba(255,255,255,0.6); display: flex; align-items: center; justify-content: center; font-size: 24px; margin: 0 auto 4px; }
.home-avatar-name { font-size: 12px; font-weight: 600; color: #1A1A2E; }
.home-heart { font-size: 24px; text-align: center; }
.home-heart-days { font-size: 28px; font-weight: 900; text-align: center; color: #1A1A2E; }
.home-heart-sub { font-size: 11px; color: rgba(26,26,46,0.6); text-align: center; margin-top: 2px; }
.home-anniv { display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,0.5); border-radius: 12px; padding: 8px 12px; margin-top: 12px; font-size: 12px; }
.home-anniv-badge { background: #FF7E9D; color: white; border-radius: 8px; padding: 2px 8px; font-size: 10px; font-weight: 700; margin-left: auto; }

.home-note-card {
  background: #fff; border-radius: 24px; padding: 18px; margin-bottom: 16px;
  box-shadow: 0 2px 12px rgba(255,126,157,0.08);
  position: relative;
}
.home-note-pin { position: absolute; top: -6px; left: 50%; transform: translateX(-50%); }
.home-note-pin-head { width: 16px; height: 16px; border-radius: 50%; background: linear-gradient(135deg, #FF9AB2, #FF6B83); margin: 0 auto; box-shadow: 0 2px 6px rgba(255,107,131,0.4); }
.home-note-pin-body { width: 2px; height: 10px; background: #c0392b; margin: 0 auto; }
.home-note-top { display: flex; align-items: center; gap: 8px; margin-bottom: 10px; }
.home-note-title { font-size: 14px; font-weight: 700; }
.home-note-badge { background: var(--primary-l); color: #FF7E9D; border-radius: 8px; padding: 2px 8px; font-size: 10px; font-weight: 600; }
.home-note-paper {
  background: #FEFBF0; border-radius: 12px; padding: 14px 14px 14px 28px;
  position: relative; min-height: 70px;
  background-image: repeating-linear-gradient(transparent, transparent 27px, rgba(160,125,70,0.15) 27px, rgba(160,125,70,0.15) 28px);
}
.home-note-paper::before { content: ''; position: absolute; left: 22px; top: 0; bottom: 0; width: 1.5px; background: rgba(220,80,80,0.18); }
.home-note-from { font-size: 11px; color: #7B7B9A; margin-bottom: 6px; }
.home-note-text { font-family: 'Ma Shan Zheng', cursive; font-size: 16px; line-height: 1.75; color: #1A1A2E; }

.home-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 16px; }
.home-card-mini { border-radius: 20px; padding: 16px; position: relative; overflow: hidden; }
.home-card-ai { background: linear-gradient(150deg, #FFF0E8, #FFE2D0); }
.home-card-plan { background: linear-gradient(150deg, #F4F0FF, #EAE4FF); }
.home-card-mini-label { font-size: 10px; font-weight: 600; color: #FF7E9D; margin-bottom: 6px; }
.home-card-mini-title { font-size: 14px; font-weight: 700; margin-bottom: 2px; }
.home-card-mini-sub { font-size: 11px; color: #7B7B9A; }
.home-card-mini-icon { font-size: 18px; margin-bottom: 6px; }

/* ═══════ NOTES LIST SCREEN ═══════ */
.app-notes-list .app-content { padding-top: 4px; }
.notes-date-group { margin-bottom: 14px; }
.notes-date-label { font-size: 12px; font-weight: 700; color: #7B7B9A; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.notes-date-count { background: var(--primary-l); color: #FF7E9D; border-radius: 8px; padding: 1px 7px; font-size: 10px; font-weight: 700; }
.note-card {
  background: #fff; border-radius: 20px; padding: 14px 16px;
  margin-bottom: 8px; box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  display: flex; gap: 12px; align-items: flex-start;
}
.note-card-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #FFDDE1, #FFC3D0); display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.note-card-body { flex: 1; min-width: 0; }
.note-card-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 3px; }
.note-card-sender { font-size: 13px; font-weight: 600; }
.note-card-time { font-size: 10px; color: #C4C4D4; }
.note-card-preview { font-size: 12px; color: #7B7B9A; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.note-card-unread { position: relative; }
.note-card-unread::after { content: ''; position: absolute; top: 4px; right: -2px; width: 7px; height: 7px; border-radius: 50%; background: #FF7E9D; }
.notes-write-btn {
  position: absolute; bottom: 24px; left: 20px; right: 20px;
  background: linear-gradient(135deg, #FF9AB2, #FF7E9D, #FF5F7E);
  color: white; border: none; border-radius: 16px;
  padding: 14px; font-size: 15px; font-weight: 700;
  text-align: center; box-shadow: 0 4px 20px rgba(255,126,157,0.38);
}

/* ═══════ NOTES WRITE SCREEN ═══════ */
.app-notes-write .app-header { background: #fff; }
.app-notes-write .app-header .send-btn { background: #FF7E9D; color: white; border: none; border-radius: 16px; padding: 6px 16px; font-size: 13px; font-weight: 700; }
.notes-write-paper {
  background: #FEFBF0; border-radius: 20px; margin: 12px 20px;
  padding: 16px 16px 16px 32px; min-height: 340px;
  position: relative;
  background-image: repeating-linear-gradient(transparent, transparent 27px, rgba(160,125,70,0.15) 27px, rgba(160,125,70,0.15) 28px);
}
.notes-write-paper::before { content: ''; position: absolute; left: 26px; top: 0; bottom: 0; width: 1.5px; background: rgba(220,80,80,0.18); }
.notes-write-to { font-size: 13px; color: #7B7B9A; margin-bottom: 14px; }
.notes-write-to span { color: #1A1A2E; font-weight: 600; }
.notes-write-placeholder { font-family: 'Ma Shan Zheng', cursive; font-size: 18px; color: #C4C4D4; }
.notes-color-dots { display: flex; gap: 10px; justify-content: center; padding: 16px 20px; }
.notes-color-dot { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; }
.notes-color-dot.active { border-color: #FF7E9D; box-shadow: 0 0 0 2px rgba(255,126,157,0.3); }
.notes-toolbar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-around;
  padding: 12px 20px; background: #fff;
  border-top: 1px solid #F0E8EA;
}
.notes-tool-icon { font-size: 18px; color: #7B7B9A; }
.notes-char-count { font-size: 11px; color: #C4C4D4; }

/* ═══════ ANNIVERSARY SCREEN ═══════ */
.app-anniversary .app-content { padding-top: 0; }
.anniv-tabs {
  display: flex; background: rgba(0,0,0,0.04); border-radius: 12px;
  padding: 3px; margin: 8px 20px 14px;
}
.anniv-tab { flex: 1; text-align: center; padding: 8px; border-radius: 10px; font-size: 13px; font-weight: 600; color: #7B7B9A; }
.anniv-tab.active { background: #FF7E9D; color: white; }

.anniv-hero {
  background: linear-gradient(135deg, #FFDDE1, #FFC3D0);
  border-radius: 24px; padding: 20px; margin: 0 20px 16px;
  text-align: center; position: relative; overflow: hidden;
}
.anniv-hero::before { content: ''; position: absolute; width: 100px; height: 100px; border-radius: 50%; background: rgba(255,255,255,0.2); top: -20px; right: -20px; }
.anniv-hero-couple { display: flex; justify-content: center; align-items: center; gap: 16px; margin-bottom: 8px; }
.anniv-hero-count { font-size: 36px; font-weight: 900; }
.anniv-hero-label { font-size: 12px; color: rgba(26,26,46,0.6); }

.anniv-group-title { font-size: 11px; font-weight: 700; color: #7B7B9A; letter-spacing: 0.8px; text-transform: uppercase; margin: 16px 20px 8px; }

.anniv-card {
  display: flex; align-items: center; gap: 14px;
  background: #fff; border-radius: 20px; padding: 14px 16px;
  margin: 0 20px 8px; box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.anniv-card-icon { width: 40px; height: 40px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 18px; }
.anniv-card-body { flex: 1; }
.anniv-card-name { font-size: 14px; font-weight: 600; }
.anniv-card-date { font-size: 11px; color: #7B7B9A; }
.anniv-card-badge { font-size: 12px; font-weight: 700; color: #FF7E9D; }
.anniv-card-repeat { font-size: 9px; color: #4CAF82; background: rgba(76,175,130,0.1); padding: 1px 6px; border-radius: 6px; }

/* ═══════ ANNIVERSARY ADD SCREEN ═══════ */
.app-anniversary-add { background: #fff; }
.anniv-add-header { display: flex; align-items: center; justify-content: space-between; padding: 52px 20px 14px; }
.anniv-add-tabs { display: flex; gap: 0; background: rgba(0,0,0,0.04); border-radius: 10px; padding: 2px; margin: 10px 20px 16px; }
.anniv-add-tab { flex: 1; text-align: center; padding: 7px; border-radius: 8px; font-size: 12px; font-weight: 600; color: #7B7B9A; }
.anniv-add-tab.active { background: #FF7E9D; color: white; }

.anniv-form-group { margin: 0 20px 14px; background: #FAFAFA; border-radius: 16px; padding: 14px 16px; }
.anniv-form-label { font-size: 11px; color: #7B7B9A; font-weight: 600; margin-bottom: 4px; }
.anniv-form-value { font-size: 14px; font-weight: 500; color: #1A1A2E; }
.anniv-form-placeholder { color: #C4C4D4; }
.anniv-form-row { display: flex; justify-content: space-between; align-items: center; }
.anniv-color-dots { display: flex; gap: 8px; margin-top: 6px; }
.anniv-color-dot { width: 24px; height: 24px; border-radius: 50%; }
.anniv-color-dot.active { box-shadow: 0 0 0 2px #fff, 0 0 0 4px #FF7E9D; }

.anniv-submit-btn {
  position: absolute; bottom: 36px; left: 20px; right: 20px;
  background: linear-gradient(135deg, #FF9AB2, #FF7E9D, #FF5F7E);
  color: white; border: none; border-radius: 16px; padding: 14px;
  font-size: 15px; font-weight: 700; text-align: center;
  box-shadow: 0 4px 20px rgba(255,126,157,0.38);
}

/* ═══════ LOVE MAP SCREEN ═══════ */
.app-map { background: #e8f4e8; }
.map-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 40%, rgba(76,175,130,0.15) 0%, transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(116,167,255,0.12) 0%, transparent 50%),
    linear-gradient(135deg, #e8f4e8, #d4ebd4, #c8e6c8);
}
.map-roads {
  position: absolute; inset: 0;
  background:
    linear-gradient(0deg, transparent 48%, rgba(255,255,255,0.6) 48%, rgba(255,255,255,0.6) 52%, transparent 52%),
    linear-gradient(90deg, transparent 30%, rgba(255,255,255,0.5) 30%, rgba(255,255,255,0.5) 31%, transparent 31%),
    linear-gradient(90deg, transparent 65%, rgba(255,255,255,0.5) 65%, rgba(255,255,255,0.5) 66%, transparent 66%),
    linear-gradient(0deg, transparent 25%, rgba(255,255,255,0.4) 25%, rgba(255,255,255,0.4) 26%, transparent 26%),
    linear-gradient(0deg, transparent 75%, rgba(255,255,255,0.4) 75%, rgba(255,255,255,0.4) 76%, transparent 76%);
}
.map-pin { position: absolute; width: 24px; height: 32px; }
.map-pin::before { content: ''; position: absolute; width: 24px; height: 24px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); }
.map-pin::after { content: ''; position: absolute; top: 5px; left: 5px; width: 14px; height: 14px; border-radius: 50%; background: white; }
.map-pin-1 { top: 35%; left: 25%; }
.map-pin-1::before { background: #FF7E9D; }
.map-pin-2 { top: 50%; left: 55%; }
.map-pin-2::before { background: #FFB347; }
.map-pin-3 { top: 30%; left: 65%; }
.map-pin-3::before { background: #74A7FF; }
.map-pin-4 { top: 60%; left: 35%; }
.map-pin-4::before { background: #4CAF82; }

.map-status {
  position: absolute; top: 54px; left: 20px;
  background: rgba(255,255,255,0.9); backdrop-filter: blur(10px);
  border-radius: 16px; padding: 10px 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.map-city { font-size: 22px; font-weight: 900; margin-bottom: 2px; }
.map-weather { font-size: 11px; color: #7B7B9A; }

.map-side-tools { position: absolute; top: 50%; right: 14px; transform: translateY(-50%); display: flex; flex-direction: column; gap: 8px; }
.map-tool-btn { width: 40px; height: 40px; border-radius: 14px; background: rgba(255,255,255,0.9); box-shadow: 0 2px 8px rgba(0,0,0,0.1); display: flex; align-items: center; justify-content: center; font-size: 16px; }

.map-bottom-bar {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 16px;
}
.map-create-btn { width: 56px; height: 56px; border-radius: 50%; background: linear-gradient(135deg, #FF9AB2, #FF5E87); display: flex; align-items: center; justify-content: center; font-size: 26px; color: white; box-shadow: 0 6px 20px rgba(255,126,157,0.45); }

.map-distance-bar {
  position: absolute; top: 130px; left: 20px; right: 20px;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: rgba(255,255,255,0.85); border-radius: 12px; padding: 8px 14px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.map-avatar-sm { width: 24px; height: 24px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 12px; }
.map-avatar-me { background: linear-gradient(135deg, #FFDDE1, #FFC3D0); }
.map-avatar-ta { background: linear-gradient(135deg, #E0D4FF, #C4B5FD); }
.map-dist-line { flex: 1; height: 1px; border-top: 1px dashed #C4C4D4; }
.map-dist-text { font-size: 11px; font-weight: 700; color: #1A1A2E; }
.map-online-dot { width: 6px; height: 6px; border-radius: 50%; background: #34D058; }

/* ═══════ AI SCREEN ═══════ */
.app-ai .app-header { flex-direction: column; align-items: flex-start; gap: 2px; }
.app-ai .app-header-title { font-size: 20px; font-weight: 800; }
.app-ai .app-header-sub { font-size: 12px; color: #7B7B9A; }
.ai-section-label { font-size: 11px; font-weight: 700; color: #7B7B9A; letter-spacing: 0.8px; text-transform: uppercase; margin: 14px 0 10px; display: flex; align-items: center; gap: 8px; }
.ai-section-label::after { content: ''; flex: 1; height: 1px; background: #F0E8EA; }

.ai-feature-card { border-radius: 20px; padding: 20px; margin-bottom: 12px; color: white; position: relative; overflow: hidden; }
.ai-feature-card::after { content: ''; position: absolute; width: 80px; height: 80px; border-radius: 50%; background: rgba(255,255,255,0.15); bottom: -20px; right: -10px; }
.ai-card-pink { background: linear-gradient(135deg, #FFBDCC, #FF6389); }
.ai-card-purple { background: linear-gradient(135deg, #C4B5FD, #7C5CE8); }
.ai-card-teal { background: linear-gradient(135deg, #6EE7CF, #17A896); }
.ai-card-icon { font-size: 28px; margin-bottom: 8px; }
.ai-card-title { font-size: 16px; font-weight: 800; margin-bottom: 4px; }
.ai-card-desc { font-size: 11px; opacity: 0.85; line-height: 1.5; }
.ai-card-status { display: inline-flex; align-items: center; gap: 4px; font-size: 10px; margin-top: 8px; padding: 2px 8px; background: rgba(255,255,255,0.2); border-radius: 8px; }
.ai-card-status-dot { width: 5px; height: 5px; border-radius: 50%; background: #A8FFD0; }

.ai-coming-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.ai-coming-card {
  background: #fff; border-radius: 16px; padding: 14px;
  box-shadow: 0 1px 6px rgba(0,0,0,0.04);
  text-align: center;
}
.ai-coming-icon { font-size: 24px; margin-bottom: 6px; }
.ai-coming-name { font-size: 12px; font-weight: 600; margin-bottom: 2px; }
.ai-coming-tag { font-size: 9px; color: #C4C4D4; }

/* ═══════ CREATE EDITOR SCREEN ═══════ */
.app-create { background: #FAFAFA; }
.app-create .app-header { background: #fff; }
.app-create .publish-btn { background: linear-gradient(135deg, #FF9AB2, #FF7E9D); color: white; border: none; border-radius: 14px; padding: 5px 14px; font-size: 12px; font-weight: 700; }
.create-meta { display: flex; align-items: center; gap: 8px; padding: 10px 20px; font-size: 12px; color: #7B7B9A; }
.create-meta-tag { background: var(--primary-l); color: #FF7E9D; border-radius: 8px; padding: 2px 8px; font-size: 11px; font-weight: 600; }
.create-block { background: #fff; border-radius: 16px; margin: 0 20px 10px; padding: 16px; }
.create-title-input { font-size: 19px; font-weight: 800; border: none; background: none; width: 100%; color: #1A1A2E; }
.create-text { font-size: 14px; line-height: 1.8; color: #1A1A2E; }
.create-images { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 12px; }
.create-img-placeholder { aspect-ratio: 1; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 28px; }
.create-drawing-block {
  background: #fff; border-radius: 16px; margin: 0 20px 10px; padding: 16px;
  border: 1.5px dashed #E0D4FF;
}
.create-drawing-preview { height: 60px; display: flex; align-items: center; justify-content: center; font-size: 30px; gap: 8px; color: #C4C4D4; }
.create-drawing-label { text-align: center; font-size: 11px; color: #7B7B9A; margin-top: 6px; }
.create-toolbar {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-around;
  padding: 10px 20px 28px;
  background: #fff; border-top: 1px solid #F0E8EA;
}
.create-tool { display: flex; flex-direction: column; align-items: center; gap: 2px; font-size: 10px; color: #7B7B9A; }
.create-tool-icon { font-size: 20px; }

/* ═══════ DRAW SCREEN ═══════ */
.app-draw { background: #1A1A2E; color: white; }
.app-draw .app-header { background: rgba(26,26,46,0.92); }
.app-draw .app-header-title { color: white; }
.draw-done-btn { background: #FF7E9D; color: white; border: none; border-radius: 14px; padding: 5px 14px; font-size: 12px; font-weight: 700; }
.draw-cancel { color: rgba(255,255,255,0.6); font-size: 14px; }

.draw-tools {
  display: flex; align-items: center; justify-content: center;
  gap: 10px; padding: 12px 20px;
}
.draw-color { width: 28px; height: 28px; border-radius: 50%; border: 2px solid transparent; }
.draw-color.active { border-color: white; box-shadow: 0 0 0 2px rgba(255,255,255,0.3); }

.draw-canvas {
  margin: 10px 20px; border-radius: 16px;
  background: rgba(255,255,255,0.04);
  height: 400px; position: relative; overflow: hidden;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1px);
  background-size: 16px 16px;
}
.draw-stroke {
  position: absolute; border: none; border-radius: 50%;
}
.draw-heart { position: absolute; font-size: 40px; top: 30%; left: 40%; opacity: 0.8; }
.draw-star { position: absolute; font-size: 20px; top: 20%; right: 25%; opacity: 0.6; }
.draw-wave {
  position: absolute; bottom: 35%; left: 15%; right: 25%;
  height: 3px; border-radius: 2px;
  background: linear-gradient(90deg, #FF7E9D, #9B6CF5, #4A9FE8);
  opacity: 0.7;
}
.draw-flower { position: absolute; font-size: 24px; bottom: 25%; right: 20%; opacity: 0.7; }

.draw-bottom {
  position: absolute; bottom: 0; left: 0; right: 0;
  display: flex; align-items: center; justify-content: space-between;
  padding: 14px 24px 32px;
  background: rgba(26,26,46,0.95);
}
.draw-action { font-size: 12px; color: rgba(255,255,255,0.5); }
.draw-brush-preview { width: 36px; height: 36px; border-radius: 50%; border: 2px solid rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; }
.draw-brush-dot { width: 8px; height: 8px; border-radius: 50%; background: #FF7E9D; }

/* ═══════════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-inner { gap: 60px; }
  .feature-inner { gap: 60px; }
}

@media (max-width: 860px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .nav-cta .btn-nav-primary { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 88px 24px 56px; min-height: auto; }
  .hero-inner { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .hero-badge { margin-left: auto; margin-right: auto; margin-bottom: 20px; }
  .hero-desc { max-width: 480px; margin-left: auto; margin-right: auto; }
  .hero-btns { justify-content: center; }
  .hero-stats { justify-content: center; flex-wrap: wrap; gap: 24px; }
  .phone-wrap { order: -1; overflow: visible; display: flex; justify-content: center; }
  .phone-wrap .phone-mock { transform: scale(0.62); transform-origin: top center; margin-bottom: -321px; }

  .feature-section { padding: 80px 24px; min-height: 100vh; height: auto; }
  .feature-inner { grid-template-columns: 1fr; gap: 48px; direction: ltr !important; }
  .feature-phone-wrap { order: -1; display: flex; justify-content: center; }
  .feature-label { justify-content: center; display: flex; }
  .feature-title { text-align: center; }
  .feature-desc { text-align: center; }
  .feature-bullets { align-items: flex-start; max-width: 400px; margin: 0 auto; }

  .stats-section { padding: 60px 24px; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); gap: 24px 16px; }

  #gallery { padding: 80px 0 60px; }
  .gallery-head { padding: 0 24px 48px; }
  .gallery-track { padding: 10px 24px 24px; gap: 16px; }
  .gallery-track-wrap::before { width: 32px; }
  .gallery-track-wrap::after  { width: 32px; }

  #download { padding: 90px 24px; }
  .dl-btns { flex-direction: column; align-items: center; }
  .btn-dl { width: 260px; justify-content: center; }
}

@media (max-width: 560px) {
  .nav { height: 56px; }

  .hero { padding: 72px 20px 44px; }
  .hero-inner { gap: 28px; }
  .hero-badge { font-size: 12px; padding: 5px 13px; margin-bottom: 14px; }
  .hero-title { font-size: clamp(30px, 9vw, 42px); letter-spacing: -1.5px; margin-bottom: 14px; }
  .hero-desc { font-size: 15px; line-height: 1.65; margin-bottom: 24px; }
  .hero-btns { flex-direction: column; align-items: center; gap: 10px; margin-bottom: 28px; }
  .btn-store { width: 230px; justify-content: center; }
  .hero-stats { gap: 16px; padding-top: 14px; }
  .stat-num { font-size: 20px; }
  .stat-label { font-size: 11px; }

  .phone-wrap .phone-mock { transform: scale(0.48); transform-origin: top center; margin-bottom: -439px; }
  .phone-wrap, .feature-phone-wrap { overflow: visible; }

  .feature-phone-wrap .phone-mock { transform: scale(0.52) !important; transform-origin: top center; margin-bottom: -405px; }
  .phone-float { animation: none; filter: none; }

  .feature-section { padding: 64px 20px; min-height: 100vh; height: auto; }
  .feature-title { font-size: 30px; letter-spacing: -1px; }
  .feature-desc { font-size: 15px; }
  .feature-bullet-text { font-size: 13px; }

  .stats-num { font-size: 34px; }
  .stats-section { padding: 50px 20px; }

  .phone-mock-sm { width: 200px; height: 416px; border-radius: 28px; }
  .phone-notch-sm { width: 66px; height: 17px; top: 9px; }
  .phone-screen-sm .app-screen { transform: scale(0.485); }
  .gallery-track { gap: 16px; padding: 10px 24px 20px; }

  #download { padding: 72px 20px; }
  .dl-app-icon { width: 72px; height: 72px; border-radius: 20px; font-size: 36px; }
  .dl-title { font-size: 36px; letter-spacing: -1.5px; }
  .btn-dl { width: 240px; justify-content: center; }

  footer { padding: 40px 20px 28px; }
  .footer-links { gap: 16px; }
}
