:root,
[data-theme="light"] {
  --bg: #f7f8fa;
  --surface: #ffffff;
  --surface-2: #f1f3f6;
  --text: #0f172a;
  --muted: #5b6472;
  --accent: #16a34a;
  --accent-2: #15803d;
  --border: rgba(15, 23, 42, 0.08);
  --nav-bg: rgba(255, 255, 255, 0.75);
  --shadow-strong: 0 30px 60px -20px rgba(15, 23, 42, 0.18);
  --glow: rgba(34, 197, 94, 0.15);
  --hero-glow-1: rgba(34, 197, 94, 0.10);
  --hero-glow-2: rgba(34, 197, 94, 0.06);
      --swiper-navigation-size: 24px;
      /* mask color used to fade edges of the features swiper; overridden in dark theme */
      --features-mask-start: rgba(255,255,255,0.95);

}

[data-theme="dark"] {
  --bg: #0a0a0a;
  --surface: #141414;
  --surface-2: #1a1a1a;
  --text: #e5e5e5;
  --muted: #9a9a9a;
  --accent: #22c55e;
  --accent-2: #16a34a;
  --border: rgba(255, 255, 255, 0.08);
  --nav-bg: rgba(10, 10, 10, 0.7);
  --shadow-strong: 0 40px 80px -20px rgba(0, 0, 0, 0.6);
  --glow: rgba(34, 197, 94, 0.25);
  --hero-glow-1: rgba(34, 197, 94, 0.08);
  --hero-glow-2: rgba(34, 197, 94, 0.05);
}

/* Dark theme mask color override */
[data-theme="dark"] {
  --features-mask-start: rgba(10,10,10,0.6);
}

* { box-sizing: border-box; }

html, body{
  background: var(--bg);
  color: var(--text);
  font-family: 'IRANSansX' !important;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  transition: background-color .3s ease, color .3s ease;
}

body {
  background-image:
    radial-gradient(600px circle at 10% -10%, var(--hero-glow-1), transparent 60%),
    radial-gradient(700px circle at 100% 0%, var(--hero-glow-2), transparent 60%);
}

.text-accent { color: var(--accent); font-size: 3rem; }
@media (min-width: 992px) {
.text-accent { color: var(--accent); font-size: 3.85rem; }
}
.text-muted-2 { color: var(--muted) !important; }

/* Navbar */
.nav-blur {
  background: var(--nav-bg);
  backdrop-filter: saturate(180%) blur(14px);
  -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
.navbar-brand { color: var(--text) !important; font-size: 1.15rem; }
.brand-logo {
  /* Initial (page-load) larger size */
  height: 56px;
  width: auto;
  object-fit: contain;
  transition: height 0.32s ease, opacity 0.32s ease;
}
.brand-name {
  /* initial larger title */
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  display: none;
  transition: font-size 0.32s ease, opacity 0.32s ease;
}
@media (min-width: 992px) {
  .brand-name { display: inline; }
}

/* Scrolled (normal) state: when user scrolls down the brand becomes smaller */
.navbar-brand.scrolled .brand-logo {
  height: 40px;
}
.navbar-brand.scrolled .brand-name {
  font-size: 0.95rem;
}
.nav-link { color: var(--muted) !important; font-size: 0.95rem; transition: color .2s; }
.nav-link:hover { color: var(--text) !important; }
.navbar-toggler i { color: var(--text); }
.brand-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: inline-flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1rem;
}
.btn-accent {
  background: var(--accent); color: #fff; border: none; font-weight: 600;
  transition: transform .15s, background .2s;
}
.btn-accent:hover { background: var(--accent-2); color: #fff; transform: translateY(-1px); }

/* Theme toggle */
.btn-theme {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  transition: transform .15s, background .2s, color .2s;
}
.btn-theme:hover { color: var(--accent); transform: translateY(-1px); }

/* Generic helpers for replaced bootstrap-icon wrappers */
.bi-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: inherit; /* allow parent color rules to apply */
}
.bi-wrapper svg { width: 1em; height: 1em; display: block; fill: currentColor; }


/* Hero Canvas Animation */
.hero {
  position: relative;
  overflow: hidden;
}

.hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  opacity: 0.8;
}

/* Hero */
.hero { padding: 160px 0 80px; }
.badge-soft {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(34, 197, 94, 0.1); color: var(--accent);
  padding: 6px 14px; border-radius: 999px; font-size: 0.85rem;
  border: 1px solid rgba(34, 197, 94, 0.2);
}
.live-dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(34,197,94, 0.6);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34,197,94, 0.5); }
  70% { box-shadow: 0 0 0 12px rgba(34,197,94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34,197,94, 0); }
}

/* Store buttons */
.btn-store {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); padding: 12px 20px; border-radius: 14px;
  transition: transform .15s, border-color .2s, background .2s, box-shadow .2s;
}
.btn-store:hover {
  background: var(--surface-2); border-color: rgba(34,197,94, 0.4);
  transform: translateY(-2px); color: var(--text);
}
.btn-store[data-store="apk"] { border-color: rgba(34,197,94, 0.25); }
.store-logo {
  width: 42px; height: 42px; object-fit: contain; display: block;
}

/* Phone mockup */
.phone-mockup {
  width: 280px; height: 560px;
  border-radius: 42px;
  background: linear-gradient(180deg, var(--surface-2), var(--surface));
  border: 1px solid var(--border);
  padding: 12px;
  box-shadow: var(--shadow-strong), 0 0 60px -20px var(--glow);
  position: relative;
}
.phone-screen {
  width: 100%; height: 100%; border-radius: 32px;
  background: var(--bg); padding: 24px 20px;
  display: flex; flex-direction: column;
  position: relative; overflow: hidden;
}
.phone-status {
  display: flex; justify-content: space-between;
  font-size: 0.75rem; color: var(--muted); margin-bottom: 40px;
}
.phone-content { text-align: right; flex: 1; display: flex; flex-direction: column; justify-content: center; }
.wave {
  display: flex; align-items: center; justify-content: center; gap: 6px; height: 60px;
}
.wave span {
  width: 4px; background: var(--accent); border-radius: 2px;
  animation: wave 1.2s ease-in-out infinite;
}
.wave span:nth-child(1) { height: 30%; animation-delay: -1.2s; }
.wave span:nth-child(2) { height: 60%; animation-delay: -1.1s; }
.wave span:nth-child(3) { height: 90%; animation-delay: -1s; }
.wave span:nth-child(4) { height: 70%; animation-delay: -0.9s; }
.wave span:nth-child(5) { height: 40%; animation-delay: -0.8s; }
.wave span:nth-child(6) { height: 60%; animation-delay: -0.7s; }
.wave span:nth-child(7) { height: 85%; animation-delay: -0.6s; }
.wave span:nth-child(8) { height: 50%; animation-delay: -0.5s; }
.wave span:nth-child(9) { height: 70%; animation-delay: -0.4s; }
.wave span:nth-child(10) { height: 30%; animation-delay: -0.3s; }
@keyframes wave {
  0%, 100% { transform: scaleY(0.5); opacity: 0.6; }
  50% { transform: scaleY(1); opacity: 1; }
}
.play-btn {
  width: 54px; height: 54px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.5rem;
}

/* Sections */
.section { padding: 100px 0; }
.section-alt { background: linear-gradient(180deg, transparent, var(--surface-2), transparent); }

/* Update Section */
.update-section {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
  position: relative;
  overflow: hidden;
}
.update-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(34,197,94, 0.1), transparent 70%);
  pointer-events: none;
}
.update-title {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--accent);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 24px;
}
.update-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 16px;
}
.update-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px;
  background: var(--surface-2);
  border-radius: 12px;
  color: var(--text);
  font-size: 0.95rem;
}
.update-item i {
  color: var(--accent);
  font-size: 1.2rem;
}

/* Feature cards */
.feature-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 28px; height: 100%;
  transition: transform .2s, border-color .2s, background .2s, box-shadow .2s;
}
.feature-card:hover {
  transform: translateY(-4px);
}
.bento-grid { 
  display: grid; 
  gap: 20px; 
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  grid-auto-rows: minmax(200px, auto);
}
.bento-item-large { grid-row: span 1; }
.feature-card { 
  height: 100%; 
  display: flex; 
  flex-direction: column; 
  align-items: flex-start;
  text-align: right;
  padding: 15px; 
  border-radius: 24px;
}
.feature-card img { margin-bottom: 20px !important; }
@media (max-width: 768px) { .bento-item-large { grid-row: span 1; } }
.feature-card i,
.feature-card .bi-wrapper,
.feature-card svg,
.feature-card .bi-wrapper svg {
  font-size: 1.75rem;
  color: var(--accent);
gin-bottom: 16px;
}

/* The visual box (background, size, centering) should be applied to the original
   <i> or the replacement wrapper (.bi-wrapper). The SVG inside uses 1em so it
   scales with font-size and inherits currentColor (fill=currentColor in the SVGs).
*/
.feature-card i,
.feature-card .bi-wrapper {
  background: rgba(34,197,94, 0.1);
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

/* Dark mode adjustments for feature cards and update section */
[data-theme="dark"] .feature-card {
  background: linear-gradient(160deg, rgba(20,20,20,1), rgba(26,26,26,1));
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 8px 30px rgba(0,0,0,0.6);
  color: var(--text);
}

/* Override Bootstrap utility classes used inside update-section in dark mode */
[data-theme="dark"] .update-section .bg-white {
  background-color: transparent !important; /* let the card background show */
  color: var(--muted) !important;
  border-color: rgba(255,255,255,0.03) !important;
}

/* If individual update-item elements used .bg-white, give them a subtle dark surface */
[data-theme="dark"] .update-section .p-3 {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01)) !important;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.02) !important;
}

/* Ensure feature-cards are dark in dark theme (stronger specificity) */
[data-theme="dark"] .features-swiper .feature-card,
[data-theme="dark"] .feature-card {
  background: linear-gradient(160deg, rgba(16,16,16,1), rgba(26,26,26,1)) !important;
  border: 1px solid rgba(255,255,255,0.04) !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.6) !important;
}

[data-theme="dark"] .feature-card h5, [data-theme="dark"] .feature-card p {
  color: var(--text) !important;
}

/* Make sure pagination bullets remain visible in dark mode */
[data-theme="dark"] .swiper-pagination-bullet { background: rgba(34,197,94,0.85); }

[data-theme="dark"] .feature-card .bi-wrapper,
[data-theme="dark"] .feature-card i {
  background: rgba(34,197,94, 0.06);
  width: 44px;
  height: 44px;
  border-radius: 10px;
}

[data-theme="dark"] .update-section {
  background: linear-gradient(180deg, rgba(20,20,20,0.9), rgba(26,26,26,0.95));
  border: 1px solid rgba(255,255,255,0.04);
  box-shadow: 0 20px 50px rgba(0,0,0,0.45);
  color: var(--text);
}

[data-theme="dark"] .update-section::before {
  background: radial-gradient(circle, rgba(34,197,94, 0.06), transparent 70%);
}

/* Reduce icon scale to look better inside the circular box */
.feature-card i, .feature-card .bi-wrapper { font-size: 1.25rem; }

/* Fade masks for features swiper to gently hide overflowing slides at edges.
   Uses the page background color (--bg) so it works in both light and dark themes. */
#features {
  position: relative;
  overflow: visible;
}
#features::before,
#features::after {
  content: '';
  /* Allow the masks to be positioned relative to the viewport while tied to the #features selector.
     We set the exact left/top/width/height via CSS variables from JS so we don't need to create extra DOM nodes. */
  position: fixed;
  top: var(--features-mask-top, 0px);
  height: var(--features-mask-height, 0px);
  pointer-events: none;
  z-index: 26; /* above slides but below nav (nav z-index:30) */
}
#features::before {
  left: var(--features-mask-left, 0px);
  width: var(--features-mask-left-width, 6%);
  background: linear-gradient(to right, var(--features-mask-start, var(--bg)) 0%, rgba(0,0,0,0) 70%);
}
#features::after {
  left: var(--features-mask-right-left, 100%);
  width: var(--features-mask-right-width, 6%);
  background: linear-gradient(to left, var(--features-mask-start, var(--bg)) 0%, rgba(0,0,0,0) 70%);
}

/* In dark mode the gradients should fade from dark page background */
[data-theme="dark"] #features::before { background: linear-gradient(to right, var(--bg) 0%, rgba(0,0,0,0) 60%); }
[data-theme="dark"] #features::after { background: linear-gradient(to left, var(--bg) 0%, rgba(0,0,0,0) 60%); }

/* Ensure nav buttons stay above masks */
.swiper-button-prev, .swiper-button-next { z-index: 30; }

/* Features swiper styles (moved from inline <style> in index.html)
   Use theme variables so colors match when #features background is white/var(--surface). */
.section#features { background: var(--surface);overflow: hidden; }
.features-swiper { padding-bottom: 50px !important; overflow: visible; position: relative; }
.features-swiper .swiper { overflow: visible; }
.features-swiper .swiper-wrapper { display: flex; align-items: stretch; }
.features-swiper .swiper-slide { height: auto; display: flex; transition: transform .6s cubic-bezier(0.22, 1, 0.36, 1), opacity .6s ease; }
.features-swiper .feature-card { height: 100%; display: flex; flex-direction: column; background: linear-gradient(160deg, var(--surface), var(--surface-2)); border: 1px solid var(--border); box-shadow: 0 8px 24px rgba(12,12,12,0.06); transition: transform .5s cubic-bezier(0.22, 1, 0.36, 1); }

/* Navigation buttons (RTL aware) */
.features-swiper .swiper-button-prev,
.features-swiper .swiper-button-next,
.swiper-button-prev,
.swiper-button-next {
  color: var(--accent);
  background: var(--surface);
  border-radius: 999px;
  width: 46px;
  height: 46px;
  box-shadow: 0 6px 18px rgba(12,12,12,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  border: 1px solid rgba(0,0,0,0.04);
}
.features-swiper .swiper-button-prev { right: 12px; }
.features-swiper .swiper-button-next { left: 12px; }
.swiper-button-prev { right: 12px; left: auto; }
.swiper-button-next { left: 12px; right: auto; }
.features-swiper .swiper-button-prev::after,
.features-swiper .swiper-button-next::after { font-size: 18px; }

/* Make sure the buttons are positioned relative to the features container only */
#features > .container { position: relative; }

/* Hover / focus effects to make buttons more visible */
.swiper-button-prev,
.swiper-button-next {
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease, color 160ms ease;
  cursor: pointer;
}
.swiper-button-prev:hover,
.swiper-button-next:hover,
.swiper-button-prev:focus,
.swiper-button-next:focus {
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 12px 30px rgba(12,12,12,0.18);
  background: var(--surface-2);
  color: var(--accent-2);
  outline: none;
}

/* Slightly larger icon inside the circular button */
.swiper-button-prev span,
.swiper-button-next span {
  font-size: 16px; /* slightly smaller to fit visually */
  line-height: 1;
  display: inline-block;
  user-select: none;
  width: 1em;
  height: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* RTL: flip button sides so they don't overlap on rtl pages */
html[dir="rtl"] .swiper-button-prev { left: 12px; right: auto; }
html[dir="rtl"] .swiper-button-next { right: 12px; left: auto; }

/* Slightly reduce overall button size on small screens to avoid overlap */
@media (max-width: 767.98px) {
  .swiper-button-prev, .swiper-button-next { width: 40px; height: 40px; }
  .swiper-button-prev span, .swiper-button-next span { font-size: 14px; }
}

/* Emphasize center three slides and dim others */
.features-swiper .swiper-slide.swiper-slide-active { opacity: 1; transform: scale(1); z-index: 20; filter: none; }
.features-swiper .swiper-slide.swiper-slide-prev,
.features-swiper .swiper-slide.swiper-slide-next { opacity: 0.9; transform: scale(0.98); z-index: 15; }
.features-swiper .swiper-slide:not(.swiper-slide-active):not(.swiper-slide-prev):not(.swiper-slide-next) {
  opacity: 0.24; transform: scale(0.94); filter: grayscale(0.12) blur(0.2px);
}

.swiper-pagination-bullet { background: var(--accent); opacity: 0.5; }
.swiper-pagination-bullet-active { opacity: 1; transform: scale(1.2); }

/* Ensure inline SVGs size and color correctly inside the wrapper */
.feature-card svg,
.feature-card .bi-wrapper svg {
  width: 1em;
  height: 1em;
  display: block;
  fill: currentColor;
}
.feature-card h5 { font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }

/* Screens slider with Swiper */
.screens-swiper {
  padding: 20px 0 40px;
  margin: 0 auto;
}

.screens-swiper .swiper-wrapper {
  display: flex;
}

.screens-swiper .swiper-slide {
  width: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.screen-card {
  width: 100%;
  height: 440px;
  border-radius: 28px;
  background: linear-gradient(160deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.screen-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 24px;
}

.screen-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px -10px rgba(34, 197, 94, 0.2);
}

.screen-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 30%, rgba(34,197,94, 0.15), transparent 60%);
  border-radius: 24px;
}

.screen-label {
  position: relative;
  color: var(--muted);
  font-size: 0.9rem;
  background: var(--surface);
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
}

/* Download card */
.download-card {
  background: linear-gradient(135deg, var(--surface), var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 24px; padding: 48px;
  position: relative; overflow: hidden;
}
.download-card::before {
  content: ''; position: absolute; top: -50%; left: -20%;
  width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(34,197,94, 0.15), transparent 70%);
  pointer-events: none;
}
.qr-box {
  background: var(--surface); padding: 16px; border-radius: 16px;
  border: 1px solid var(--border); width: 180px;
}
.qr-box svg { width: 100%; height: auto; border-radius: 8px; }

/* Accordion */
.custom-accordion .accordion-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 12px !important; margin-bottom: 10px; overflow: hidden;
}
.custom-accordion .accordion-button {
  background: transparent; color: var(--text); font-weight: 600;
  box-shadow: none !important;
}
.custom-accordion .accordion-button:not(.collapsed) { color: var(--accent); background: transparent; }
[data-theme="dark"] .custom-accordion .accordion-button::after {
  filter: invert(1) brightness(0.7);
}

/* Footer */
.footer {
  padding: 40px 0; border-top: 1px solid var(--border); margin-top: 40px;
}
.irib-logo {
  height: 32px;
  width: auto;
  object-fit: contain;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}
.irib-logo:hover { opacity: 1; }
.footer-brand-logo {
  height: 28px;
  width: auto;
  object-fit: contain;
  transition: opacity 0.3s ease;
}
.social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface); color: var(--muted);
  margin-inline-start: 8px; border: 1px solid var(--border);
  transition: color .2s, border-color .2s, transform .15s;
  text-decoration: none;
}
.social-link:hover { color: var(--accent); border-color: rgba(34,197,94, 0.3); transform: translateY(-2px); }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal> a{
  color: var( --muted);
}
.reveal:hover> a{
  color: var(--accent);
}
/* Tablet & below */
@media (max-width: 991.98px) {
  .hero { padding: 110px 0 60px; text-align: center; }
  .hero .d-flex.flex-wrap { justify-content: center; }
  .phone-mockup { margin-top: 32px; transform: scale(0.95); }
  .navbar-collapse {
    background: var(--surface); backdrop-filter: blur(14px);
    border: 1px solid var(--border); border-radius: 14px;
    margin-top: 12px; padding: 16px;
  }
  .section { padding: 70px 0; }
  .download-card { padding: 32px 24px; }
  h1.display-4 { font-size: 4.5rem; }
  .qr-box { margin-top: 8px; }
}

/* Mobile */
@media (max-width: 575.98px) {
  .container { padding-inline: 20px; }
  .hero { padding: 100px 0 40px; }
  h1.display-4 { font-size: 3.4rem; line-height: 1.25; }
  .lead { font-size: 1rem; }

  .hero .d-flex.flex-wrap,
  .download-card .d-flex.flex-wrap {
    flex-direction: column;
    align-items: stretch;
    gap: 12px !important;
    width: 100%;
  }
  .btn-store {
    width: 100%;
    justify-content: center;
    padding: 14px 18px;
  }

  .phone-mockup {
    width: 240px; height: 480px;
    transform: none; margin-top: 28px;
    border-radius: 36px; padding: 10px;
  }
  .phone-screen { border-radius: 28px; padding: 20px 16px; }
  .phone-status { margin-bottom: 28px; }

  .section { padding: 56px 0; }
  h2.fw-bold { font-size: 1.6rem; }

  .feature-card { padding: 22px; border-radius: 14px; }
  .feature-card i { width: 46px; height: 46px; font-size: 1.5rem; }

  .screens-swiper .swiper-slide { width: 180px; }
  .screen-card { height: 360px; border-radius: 24px; }

  .download-card { padding: 28px 20px; border-radius: 20px; text-align: center; }
  .download-card h2 { font-size: 1.5rem; }
  .qr-box { width: 150px; margin-top: 16px; }
  .download-card::before { width: 260px; height: 260px; }

  .custom-accordion .accordion-button { font-size: 0.95rem; padding: 16px; }
  .custom-accordion .accordion-body { font-size: 0.9rem; }

  .footer { padding: 32px 0; text-align: center; }
  .social-link { margin-inline: 4px; }

  .badge-soft { font-size: 0.8rem; padding: 5px 12px; }
}

@media (max-width: 359.98px) {
  h1.display-4 { font-size: 1.7rem; }
  .phone-mockup { width: 210px; height: 420px; }
  .container { padding-inline: 16px; }
}

/* Image zoom overlay for screenshots */
.img-zoom-overlay {
  position: fixed;
  inset: 0;
  display: none; /* toggled via .open */
  align-items: center;
  justify-content: center;
  background: rgba(10,10,10,0.92);
  z-index: 9999;
  padding: 20px;
}
.img-zoom-overlay.open { display: flex; }
.img-zoom-overlay .zoomed-img {
  max-width: 92vw;
  max-height: 92vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(0.98);
  transition: transform 240ms ease, opacity 200ms ease;
}
.img-zoom-overlay.open .zoomed-img { transform: scale(1); }

.img-zoom-overlay .zoom-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.35);
  color: #fff;
  border: none;
  width: 56px;
  height: 56px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  cursor: pointer;
  backdrop-filter: blur(4px);
}
.img-zoom-overlay .zoom-prev { left: 18px; }
.img-zoom-overlay .zoom-next { right: 18px; }
.img-zoom-overlay .zoom-close {
  position: absolute;
  top: 18px;
  right: 18px;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 20px; cursor: pointer;
}

@media (max-width: 575.98px) {
  .img-zoom-overlay .zoom-btn { width: 44px; height: 44px; font-size: 22px; }
  .img-zoom-overlay .zoom-close { width: 40px; height: 40px; }
}
 .pixel-phone {
          width: 280px;
    height: 570px;
    background: #e7e7e7;
    border-radius: 50px;
    position: relative;
    padding: 12px;
    box-shadow: 0 15px 35px rgb(34 45 0 / 30%);
    z-index: 1;
    }

    .pixel-phone .camera {
      width: 12px;
      height: 12px;
      background: #000;
      border-radius: 50%;
      position: absolute;
      top: 22px;
      left: 50%;
      transform: translateX(-50%);
      z-index: 5;
      border: 1px solid #1a1a1a;
    }

    .pixel-phone .buttons {
      position: absolute;
      background: #c9c9c9;
      border-radius: 2px;
      z-index: 0;
    }

    .pixel-phone .volume-up {
      top: 130px;
      right: -4px;
      width: 4px;
      height: 40px;
    }

    .pixel-phone .power {
      top: 180px;
      right: -4px;
      width: 4px;
      height: 70px;
    }

    .pixel-phone .frame {
      width: 100%;
      height: 100%;
      background: #000;
      border-radius: 38px;
      position: relative;
      overflow: hidden;
      padding: 6px;
    }

    .screen-container {
      width: 100%;
      height: 100%;
      position: relative;
      background: #000;
      border-radius: 32px;
      overflow: hidden;
    }

    .screen-container img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      position: absolute;
      top: 0;
      left: 0;
      opacity: 0;
      transition: opacity 1s ease-in-out;
    }

    .screen-container img.active {
      opacity: 1;
    }