/* =============================================
   Daily Routines & Habits — main.css
   ============================================= */

/* --- Variables --- */
:root {
  --blue:   #007AFF;
  --green:  #34C759;
  --purple: #AF52DE;
  --orange: #FF9500;
  --red:    #FF3B30;
  --teal:   #30B0C7;
  --indigo: #5856D6;

  --bg:          #F5F5F7;
  --bg-alt:      #FFFFFF;
  --card:        #FFFFFF;
  --card-glass:  rgba(255, 255, 255, 0.78);
  --text:        #1D1D1F;
  --text-2:      #6E6E73;
  --border:      rgba(0, 0, 0, 0.08);
  --shadow-sm:   rgba(0, 0, 0, 0.06);
  --shadow-md:   rgba(0, 0, 0, 0.12);

  --r-phone: 46px;
  --r-xl:    24px;
  --r-lg:    18px;
  --r-md:    12px;

  --section-v: 100px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:         #000000;
    --bg-alt:     #0D0D0D;
    --card:       #1C1C1E;
    --card-glass: rgba(20, 20, 22, 0.80);
    --text:       #F5F5F7;
    --text-2:     #86868B;
    --border:     rgba(255, 255, 255, 0.10);
    --shadow-sm:  rgba(0, 0, 0, 0.25);
    --shadow-md:  rgba(0, 0, 0, 0.45);
  }
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Text', 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
button { cursor: pointer; }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Inter', system-ui, sans-serif;
  line-height: 1.1;
  letter-spacing: -0.025em;
}
h1 { font-size: clamp(40px, 6vw, 72px); font-weight: 700; }
h2 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; }
h3 { font-size: 19px; font-weight: 600; letter-spacing: -0.01em; }

/* --- lang-btn as anchor --- */
a.lang-btn { text-decoration: none; }

/* --- Layout --- */
.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
}
.section { padding: var(--section-v) 0; }
.section--cta { padding: 24px 0 40px; }

.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header h2 { margin-bottom: 12px; }
.section-sub {
  font-size: 18px;
  color: var(--text-2);
  max-width: 520px;
  margin: 0 auto;
  line-height: 1.6;
}

/* --- Reveal Animations --- */
.reveal, .reveal-r {
  opacity: 0;
  transition:
    opacity  0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal   { transform: translateY(32px); }
.reveal-r { transform: translateX(52px); transition-delay: 0.08s; }
.reveal.in, .reveal-r.in { opacity: 1; transform: none; }

/* --- App Icon --- */
.app-icon {
  position: relative;
  border-radius: 22.5%;
  background: linear-gradient(145deg, #007AFF 0%, #5856D6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.app-icon--lg { width: 88px; height: 88px; box-shadow: 0 10px 36px rgba(0, 122, 255, 0.35); }
.app-icon--lg svg { width: 46px; height: 46px; }
.app-icon--sm { width: 32px; height: 32px; }
.app-icon--sm svg { width: 17px; height: 17px; }
.app-icon img.icon-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 2;
  border-radius: inherit;
}
.app-icon .icon-fallback { z-index: 1; position: relative; }

/* --- Download Button --- */
.dl-btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  background: linear-gradient(135deg, #007AFF 0%, #5856D6 100%);
  color: #fff;
  padding: 13px 26px;
  border-radius: 100px;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  text-decoration: none;
  user-select: none;
  box-shadow: 0 4px 18px rgba(0, 122, 255, 0.38);
  transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}
.dl-btn svg { fill: #fff; flex-shrink: 0; }
.dl-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 122, 255, 0.52);
  filter: brightness(1.08);
  text-decoration: none;
  color: #fff;
}
.dl-btn:active { transform: scale(0.96); filter: brightness(0.96); }

/* Nav size variant */
.dl-btn--sm {
  font-size: 14px;
  padding: 8px 18px;
  gap: 7px;
  box-shadow: 0 3px 12px rgba(0, 122, 255, 0.32);
}

/* --- App Store Badge (hero + CTA) --- */
.appstore-badge {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.18s;
}
.appstore-badge:hover { opacity: 0.82; transform: translateY(-2px); text-decoration: none; }
.appstore-badge:active { transform: scale(0.97); }
.appstore-badge img { display: block; height: 54px; width: auto; }

/* --- Navigation --- */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  transition: background 0.3s, border-color 0.3s, backdrop-filter 0.3s;
}
.nav.scrolled {
  background: var(--card-glass);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  flex-shrink: 0;
}
.nav-logo:hover { text-decoration: none; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nav-links a {
  color: var(--text-2);
  font-size: 15px;
  font-weight: 400;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); text-decoration: none; }
.nav-cta { color: var(--blue) !important; font-weight: 500 !important; }
.nav-back { font-size: 13px !important; color: var(--text-2); opacity: 0.55; transition: opacity 0.2s !important; }
.nav-back:hover { opacity: 1; color: var(--text-2) !important; }

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

.lang-btn {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-2);
  background: var(--border);
  border: none;
  padding: 4px 10px;
  border-radius: 8px;
  font-family: inherit;
  letter-spacing: 0.04em;
  transition: color 0.2s, background 0.2s;
}
.lang-btn:hover { color: var(--text); }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 36px;
  height: 36px;
  background: none;
  border: none;
  padding: 4px;
}
.hamburger span {
  display: block;
  height: 1.5px;
  width: 22px;
  background: var(--text);
  border-radius: 2px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: center;
}
.nav.open .hamburger span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav.open .hamburger span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav.open .hamburger span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile nav drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  gap: 4px;
  padding: 8px 20px 16px;
  background: var(--card-glass);
  backdrop-filter: blur(24px) saturate(1.8);
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  border-bottom: 1px solid var(--border);
}
.nav.open .nav-drawer { display: flex; }
.nav-drawer a {
  color: var(--text);
  font-size: 16px;
  font-weight: 500;
  padding: 12px 8px;
  border-bottom: 1px solid var(--border);
}
.nav-drawer a:last-child { border-bottom: none; }
.nav-drawer .dl-btn {
  border-bottom: none;
  margin-top: 8px;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 14px;
  color: #fff;
  gap: 7px;
}
.nav-drawer .dl-btn:hover { color: #fff; }
.nav-drawer a:hover { text-decoration: none; color: var(--blue); }

/* --- Phone Mockup --- */
.phone {
  position: relative;
  background: #1A1A1A;
  border-radius: var(--r-phone);
  padding: 9px;
  box-shadow:
    0 0 0 1.5px #3C3C3E,
    0 0 0 3px #111,
    0 50px 100px rgba(0,0,0,0.42),
    0 18px 40px rgba(0,0,0,0.22);
  flex-shrink: 0;
}
.phone-screen {
  width: 100%;
  height: 100%;
  border-radius: calc(var(--r-phone) - 10px);
  overflow: hidden;
  background: #000;
  /* Fix blurry images in Safari with overflow+border-radius */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.phone-screen picture,
.phone-screen img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: top center;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.phone-btn {
  position: absolute;
  background: #2C2C2E;
  border-radius: 2px;
}
.phone-btn--vu { left: -2.5px; top: 120px; width: 2.5px; height: 30px; }
.phone-btn--vd { left: -2.5px; top: 165px; width: 2.5px; height: 30px; }
.phone-btn--pw { right: -2.5px; top: 140px; width: 2.5px; height: 46px; }

/* Hero phone */
.phone--hero {
  width: 340px;
  height: 747px;
  border-radius: 44px;
  animation: float 4.5s ease-in-out infinite;
  will-change: transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.phone--hero .phone-screen { border-radius: 32px; }

/* Gallery phones */
.phone--gallery {
  width: 240px;
  height: 500px;
  border-radius: 40px;
}
.phone--gallery .phone-screen { border-radius: 24px; }

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

/* --- Hero --- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 62px;
  position: relative;
  overflow: hidden;
}
.hero-blob-1,
.hero-blob-2 {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(80px);
}
.hero-blob-1 {
  width: 700px; height: 700px;
  top: -180px; right: -120px;
  background: radial-gradient(circle, rgba(0,122,255,0.13) 0%, transparent 70%);
}
.hero-blob-2 {
  width: 500px; height: 500px;
  bottom: -80px; left: -60px;
  background: radial-gradient(circle, rgba(88,86,214,0.11) 0%, transparent 70%);
}
.hero-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 80px 28px 100px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 64px;
  align-items: center;
}
.hero-text { max-width: 560px; }

.hero-approw {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 28px;
}
.hero-appmeta { display: flex; flex-direction: column; gap: 3px; }
.hero-cat {
  font-size: 12px;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-platform {
  font-size: 13px;
  color: var(--text-2);
}

.hero-h1 {
  margin-bottom: 16px;
}
.hero-h1-text {
  display: block;
  background: linear-gradient(160deg, var(--text) 0%, var(--text-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: clamp(17px, 2.2vw, 22px);
  font-weight: 500;
  color: var(--text);
  margin-bottom: 14px;
  -webkit-text-fill-color: var(--text);
}
.hero-desc {
  font-size: 17px;
  color: var(--text-2);
  line-height: 1.68;
  margin-bottom: 36px;
  max-width: 480px;
}
.hero-free {
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-2);
}

/* --- Features --- */
.features { background: var(--bg-alt); }
.feat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.feat-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease,
              opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              translate 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.feat-card:hover { transform: translateY(-4px); box-shadow: 0 14px 48px var(--shadow-md); }

/* Stagger delays */
.feat-card:nth-child(1) { transition-delay: 0.00s; }
.feat-card:nth-child(2) { transition-delay: 0.07s; }
.feat-card:nth-child(3) { transition-delay: 0.14s; }
.feat-card:nth-child(4) { transition-delay: 0.07s; }
.feat-card:nth-child(5) { transition-delay: 0.14s; }
.feat-card:nth-child(6) { transition-delay: 0.21s; }

.feat-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}
.feat-icon svg { width: 26px; height: 26px; color: #fff; stroke: #fff; fill: none; }
.feat-card h3 { margin-bottom: 8px; }
.feat-card p {
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.62;
}
.feat-card strong { color: var(--text); }

/* --- Screenshots --- */
.screenshots { overflow: hidden; }
.ss-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding: 16px 0 48px;
  cursor: grab;
}
.ss-scroll:active { cursor: grabbing; }
.ss-scroll::-webkit-scrollbar { display: none; }
.ss-track {
  display: flex;
  gap: 24px;
  padding: 16px calc((100vw - 1120px) / 2 + 28px);
  width: max-content;
  align-items: flex-end;
}
.ss-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}
.ss-item:nth-child(2) { padding-top: 24px; }
.ss-item:nth-child(3) { padding-top: 12px; }
.ss-label {
  font-size: 14px;
  color: var(--text-2);
  font-weight: 500;
}

/* --- How it works --- */
.howto { background: var(--bg-alt); }
.steps-wrap {
  max-width: 640px;
  margin: 0 auto;
}
.step {
  display: flex;
  gap: 24px;
  position: relative;
  padding-bottom: 44px;
}
.step:last-child { padding-bottom: 0; }
.step:not(:last-child)::after {
  content: '';
  position: absolute;
  left: 19px;
  top: 48px;
  bottom: 0;
  width: 1px;
  background: var(--border);
}
.step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  flex-shrink: 0;
  z-index: 1;
}
.step-body { padding-top: 8px; }
.step-body h3 { margin-bottom: 6px; }
.step-body p { font-size: 16px; color: var(--text-2); line-height: 1.65; }

/* --- Areas --- */
.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  max-width: 680px;
  margin: 0 auto;
}
.area-chip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  background: var(--card);
  border: 1.5px solid var(--area-c, var(--blue));
  border-radius: 100px;
  font-size: 15px;
  font-weight: 500;
  color: var(--area-c, var(--blue));
  transition: transform 0.2s ease, background 0.2s ease;
}
.area-chip:hover { transform: scale(1.06); }
.area-emoji { font-size: 17px; line-height: 1; }

/* --- CTA --- */
.cta-card {
  background: linear-gradient(140deg, #007AFF 0%, #5856D6 100%);
  border-radius: 20px;
  padding: 28px 28px;
  text-align: center;
  position: relative;
  overflow: hidden;
  max-width: 520px;
  margin: 0 auto;
}
.cta-card::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.13) 0%, transparent 65%);
  pointer-events: none;
}
.cta-card::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.cta-card h2 { color: #fff; font-size: clamp(20px, 2.5vw, 26px); margin-bottom: 20px; }
.cta-meta { margin-top: 10px; font-size: 13px; color: rgba(255,255,255,0.55); }

/* --- Footer --- */
.footer {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  padding: 44px 0;
}
.footer-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: var(--text);
}
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a {
  font-size: 14px;
  color: var(--text-2);
  transition: color 0.2s;
}
.footer-nav a:hover { color: var(--text); text-decoration: none; }
.footer-copy {
  font-size: 13px;
  color: var(--text-2);
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

/* --- Inner Pages (Privacy, Support) --- */
.page-top {
  padding: 128px 28px 56px;
  text-align: center;
}
.page-top h1 { font-size: clamp(32px, 5vw, 56px); margin-bottom: 10px; }
.page-top .page-date { font-size: 14px; color: var(--text-2); }

.page-body {
  max-width: 720px;
  margin: 0 auto;
  padding: 0 28px 96px;
}

/* Prose */
.prose section { margin-bottom: 48px; }
.prose h2 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--text);
}
.prose p {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.72;
  margin-bottom: 14px;
}
.prose ul {
  list-style: none;
  padding: 0;
  margin-bottom: 14px;
}
.prose ul li {
  font-size: 16px;
  color: var(--text-2);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
  margin-bottom: 5px;
}
.prose ul li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-2);
  opacity: 0.5;
}
.prose a { color: var(--blue); }

/* FAQ */
.faq-section { margin-bottom: 56px; }
.faq-section h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.faq-list { display: flex; flex-direction: column; gap: 10px; }
.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  overflow: hidden;
}
.faq-q {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  padding: 18px 22px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  font-family: inherit;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  transition: background 0.15s;
  line-height: 1.4;
}
.faq-q:hover { background: var(--bg); }
.faq-chevron {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  color: var(--text-2);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.faq-item.open .faq-chevron { transform: rotate(180deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding: 0 22px 18px;
  font-size: 15px;
  color: var(--text-2);
  line-height: 1.68;
  margin: 0;
}

/* Contact card */
.contact-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-xl);
  padding: 44px;
  text-align: center;
}
.contact-box h2 { font-size: 26px; margin-bottom: 10px; }
.contact-box p { color: var(--text-2); font-size: 16px; margin-bottom: 24px; line-height: 1.6; }
.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--blue);
  color: #fff;
  padding: 13px 26px;
  border-radius: 13px;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.contact-btn:hover { opacity: 0.85; transform: translateY(-1px); text-decoration: none; }
.contact-btn svg { fill: #fff; }

/* Privacy header chip */
.privacy-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 13px;
  color: var(--text-2);
  margin-bottom: 16px;
}
.privacy-chip svg { color: var(--green); stroke: currentColor; fill: none; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

/* --- Responsive --- */
@media (max-width: 960px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --section-v: 64px; }

  .hero-inner {
    grid-template-columns: 1fr;
    padding: 72px 24px 80px;
    gap: 56px;
    text-align: center;
  }
  .hero-text { max-width: 100%; display: flex; flex-direction: column; align-items: center; }
  .hero-approw { justify-content: center; }
  .hero-desc { max-width: 100%; }

  .hero-inner .reveal-r { display: flex; justify-content: center; }
  .phone--hero { width: 270px; height: 595px; }

  .nav-links { display: none; }
  .nav-right .dl-btn { display: none; }
  .hamburger { display: flex; }

  .feat-grid { grid-template-columns: 1fr; gap: 12px; }

  .ss-track { padding: 16px 24px; }

  .cta-card { padding: 28px 20px; margin: 0 16px; }

  .footer-row { flex-direction: column; align-items: center; gap: 12px; text-align: center; }
  .footer-nav { justify-content: center; flex-direction: column; align-items: center; gap: 10px; }
  .footer-copy { text-align: center; }

  .contact-box { padding: 32px 24px; }
}

@media (max-width: 430px) {
  .phone--hero { width: 240px; height: 528px; }
  .hero-inner { padding: 64px 20px 72px; }
  .container { padding: 0 20px; }
}

/* --- Screenshot lightbox --- */
.phone--clickable { cursor: zoom-in; }
.ss-item .phone--clickable { transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1); }
.ss-item .phone--clickable:hover { transform: translateY(-5px); }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 24px;
  background: rgba(8, 8, 12, 0.72);
  -webkit-backdrop-filter: blur(22px) saturate(140%);
  backdrop-filter: blur(22px) saturate(140%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}
.lightbox.open { opacity: 1; pointer-events: auto; }

.phone--zoom {
  width: min(420px, 88vw, 38vh);
  aspect-ratio: 420 / 891;
  height: auto;
  border-radius: clamp(40px, 11vw, 54px);
  cursor: default;
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.lightbox.open .phone--zoom { transform: scale(1); }
.phone--zoom .phone-screen { border-radius: clamp(31px, 9vw, 45px); }

.lightbox-label {
  color: #fff;
  font-size: 15px;
  font-weight: 500;
  text-align: center;
}

.lightbox-close,
.lightbox-arrow {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  cursor: pointer;
  transition: background 0.2s ease;
  z-index: 2;
}
.lightbox-close:hover,
.lightbox-arrow:hover { background: rgba(255, 255, 255, 0.24); }
.lightbox-close svg,
.lightbox-arrow svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.lightbox-close { top: 20px; right: 20px; }
.lightbox-arrow { top: 50%; transform: translateY(-50%); }
.lightbox-arrow--prev { left: 16px; }
.lightbox-arrow--next { right: 16px; }

@media (max-width: 600px) {
  .lightbox { padding: 16px; gap: 14px; }
  .lightbox-close { top: 14px; right: 14px; }
  .lightbox-arrow { width: 40px; height: 40px; }
  .lightbox-arrow--prev { left: 10px; }
  .lightbox-arrow--next { right: 10px; }
}
