/* ==========================================================================
   AD VANISH — Obsidian & Crimson Luxury Design System
   Matches the Android app's exact palette (#0B0B0D, #16161A, #E53935, #34C759)
   ========================================================================== */

:root {
  /* Viewport-wide native dark UI (scrollbars, form controls, initial canvas) */
  color-scheme: dark;

  --bg: #0b0b0d;
  --bg-elevated: #121216;
  --surface: #16161b;
  --surface-hover: #1e1e26;
  --border: rgba(255, 255, 255, 0.085);
  --border-strong: rgba(255, 255, 255, 0.16);

  --accent: #e53935;
  --accent-light: #ff6b62;
  --accent-deep: #b71c1c;
  --accent-soft: rgba(229, 57, 53, 0.14);

  --success: #34c759;
  --success-soft: rgba(52, 199, 89, 0.14);
  --warning: #ff9f0a;

  --text: #f7f7fa;
  --text-muted: #a1a1b0;
  --text-dim: #757586;

  --scrollbar-thumb: #3a3a46;
  --scrollbar-track: #0f0f13;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  accent-color: var(--accent);

  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 28px;
  --max-width: 1140px;

  --font-sans: "Plus Jakarta Sans", "Noto Sans Sinhala", "Noto Sans Tamil", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* WebKit scrollbar fallback when standard scrollbar-color is unsupported */
@supports not (scrollbar-color: auto) {
  :root {
    scrollbar-width: auto;
  }
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }
  ::-webkit-scrollbar-thumb {
    background: var(--scrollbar-thumb);
    border-radius: 999px;
  }
  ::-webkit-scrollbar-track {
    background: var(--scrollbar-track);
  }
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

/* Sinhala and Tamil scripts need slightly taller line-height for clean ascenders/descenders */
html[lang="si"] body,
html[lang="ta"] body {
  line-height: 1.82;
}

img {
  max-inline-size: 100%;
  block-size: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  color: inherit;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid CanvasText;
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  inline-size: min(100% - 2.25rem, var(--max-width));
  margin-inline: auto;
}

/* --------------------------------------------------------------------------
   Ambient Background Glow
   -------------------------------------------------------------------------- */
.page-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(46rem 34rem at 76% 12%, rgba(229, 57, 53, 0.16), transparent 65%),
    radial-gradient(36rem 28rem at 18% 22%, rgba(255, 255, 255, 0.045), transparent 62%),
    radial-gradient(42rem 32rem at 50% 82%, rgba(229, 57, 53, 0.09), transparent 70%);
}

/* --------------------------------------------------------------------------
   Responsive Site Header & Native Popover Navigation (modern-web-guidance: navbar)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  inset-block-start: 0;
  z-index: 40;
  background: rgba(11, 11, 13, 0.82);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-block-end: 1px solid var(--border);
}

.header-inner {
  inline-size: min(100% - 2rem, var(--max-width));
  margin-inline: auto;
  min-block-size: 4.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.header-inner > * {
  flex-shrink: 0;
  white-space: nowrap;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.brand-mark {
  inline-size: 2.35rem;
  block-size: 2.35rem;
  border-radius: 50%;
}

.wordmark {
  font-weight: 900;
  font-size: 1.18rem;
  letter-spacing: -0.02em;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.wordmark-ad {
  color: var(--accent);
}

.wordmark-vanish {
  color: var(--text);
}

.header-controls {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

/* Language Switcher Pill */
.lang-switch {
  display: inline-flex;
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: 999px;
  padding: 0.2rem;
  gap: 0.12rem;
}

.lang-btn {
  border: 0;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.36rem 0.68rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background-color 0.18s ease, color 0.18s ease;
}

.lang-btn:hover {
  color: var(--text);
}

.lang-btn[aria-pressed="true"] {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 2px 12px rgba(229, 57, 53, 0.35);
}

.site-nav {
  display: flex;
  align-items: center;
}

.menu-button {
  anchor-name: --menu-button;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  color: var(--text);
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
}

.menu-button svg {
  inline-size: 1.15rem;
  block-size: 1.15rem;
}

@media (max-width: 520px) {
  .header-inner {
    inline-size: calc(100% - 1.25rem);
    gap: 0.45rem;
  }

  .brand-link {
    gap: 0.42rem;
  }

  .brand-mark {
    inline-size: 1.95rem;
    block-size: 1.95rem;
  }

  .wordmark {
    font-size: 0.98rem;
  }

  .header-controls {
    gap: 0.4rem;
  }

  .lang-btn {
    font-size: 0.72rem;
    padding: 0.3rem 0.48rem;
  }

  .menu-button {
    padding: 0.46rem 0.56rem;
  }

  /* Keep accessible name for screen readers while saving width on compact phones */
  .menu-button span {
    position: absolute;
    inline-size: 1px;
    block-size: 1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .hero-badge {
    max-inline-size: 100%;
    white-space: normal;
    text-align: center;
  }

  .btn {
    max-inline-size: 100%;
    white-space: normal;
    text-align: center;
  }

  .faq-answer {
    padding: 0 1.15rem 1.15rem 1.15rem;
  }
}

/* Narrow Popover Menu */
.site-menu {
  list-style: none;
  margin: 0;
  padding: 0.65rem;
  position: fixed;
  inset: auto;
  /* Fixed fallback offset before anchor() for browsers without Anchor Positioning */
  inset-block-start: 4.85rem;
  inset-block-start: anchor(--menu-button bottom);
  inset-inline-end: 1rem;
  inline-size: min(84dvw, 20rem);
  max-inline-size: calc(100dvw - 2rem);
  block-size: fit-content;
  max-block-size: calc(100dvh - 6rem);
  margin-block-start: 0.5rem;
  overflow: auto;
  background: #17171e;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-md);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.65);
  color: var(--text);
}

.site-menu li a {
  display: block;
  padding: 0.72rem 0.9rem;
  border-radius: 10px;
  font-weight: 600;
  font-size: 0.94rem;
  color: var(--text-muted);
  transition: background-color 0.16s ease, color 0.16s ease;
}

.site-menu li a:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
}

.site-menu .nav-cta-link {
  margin-block-start: 0.35rem;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  text-align: center;
  font-weight: 800;
}

.site-menu .nav-cta-link:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent));
  color: #ffffff;
}

/* Fallback for popover polyfill */
@supports not selector(:popover-open) {
  [popover]:not(.\:popover-open) {
    display: none;
  }
}

.site-header.is-measuring * {
  transition: none !important;
}

/* Wide Inline Layout (toggled automatically by ResizeObserver when links fit) */
.site-header.is-wide .menu-button {
  display: none;
}

.site-header.is-wide .site-menu {
  position: static;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  inline-size: auto;
  max-inline-size: none;
  block-size: auto;
  max-block-size: none;
  overflow: visible;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
}

.site-header.is-wide .site-menu::backdrop {
  display: none;
}

.site-header.is-wide .site-menu li a {
  padding: 0.5rem 0.78rem;
  font-size: 0.9rem;
}

.site-header.is-wide .site-menu .nav-cta-link {
  margin-block-start: 0;
  margin-inline-start: 0.35rem;
  padding: 0.52rem 1.05rem;
  border-radius: 999px;
}

/* --------------------------------------------------------------------------
   Hero Section
   -------------------------------------------------------------------------- */
.hero {
  padding-block: clamp(2.8rem, 6vw, 5.2rem) clamp(3rem, 6vw, 5rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: clamp(2.2rem, 5vw, 4.2rem);
  align-items: center;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.38rem 0.9rem;
  border-radius: 999px;
  background: var(--accent-soft);
  border: 1px solid rgba(229, 57, 53, 0.32);
  color: #ffb3ae;
  font-size: 0.84rem;
  font-weight: 700;
  margin-block-end: 1.25rem;
}

.pulse-dot {
  inline-size: 0.5rem;
  block-size: 0.5rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(52, 199, 89, 0.22);
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.2vw, 3.35rem);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -0.025em;
}

html[lang="si"] .hero h1,
html[lang="ta"] .hero h1 {
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.36;
  letter-spacing: -0.01em;
}

.hero-accent {
  display: block;
  margin-block-start: 0.2rem;
  background: linear-gradient(100deg, #ff7970 0%, #e53935 55%, #ffffff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-subtitle {
  margin-block: 1.3rem 1.85rem;
  font-size: clamp(1rem, 1.35vw, 1.12rem);
  color: var(--text-muted);
  max-inline-size: 56ch;
}

@media (max-width: 900px) {
  .hero-subtitle {
    margin-inline: auto;
  }
}

.hero-download-block {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 0.9rem;
}

@media (max-width: 900px) {
  .hero-actions {
    justify-content: center;
  }

  .android-platform-note {
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-block-size: 3rem;
  padding: 0.92rem 1.5rem;
  border-radius: 14px;
  font-weight: 800;
  font-size: 0.98rem;
  border: 1px solid transparent;
  cursor: pointer;
  touch-action: manipulation;
  transition: transform 0.16s ease, scale 0.15s ease-out, box-shadow 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:active {
  scale: 0.97;
}

.btn-primary {
  /* #d32f2f -> #b71c1c maintains >= 4.81:1 WCAG AA contrast with #ffffff even for sub-labels */
  background: linear-gradient(135deg, #d32f2f 0%, #b71c1c 100%);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 32px rgba(229, 57, 53, 0.36);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #e53935 0%, #c62828 100%);
  box-shadow: 0 18px 42px rgba(229, 57, 53, 0.5);
}

.btn-download-hero {
  min-block-size: 4.15rem;
  padding: 0.95rem 1.65rem;
  border-radius: 18px;
  gap: 0.95rem;
  text-align: start;
  box-shadow:
    0 16px 40px rgba(211, 47, 47, 0.44),
    inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.btn-dl-icon {
  inline-size: 2rem;
  block-size: 2rem;
  flex-shrink: 0;
  color: #ffffff;
}

.btn-dl-icon-sm {
  inline-size: 1.35rem;
  block-size: 1.35rem;
  flex-shrink: 0;
  color: #ffffff;
}

.btn-dl-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.25;
}

.btn-dl-title {
  font-size: clamp(1.06rem, 1.5vw, 1.2rem);
  font-weight: 900;
  letter-spacing: -0.01em;
}

.btn-dl-meta {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
  margin-block-start: 0.15rem;
}

.btn-dl-arrow {
  inline-size: 1.35rem;
  block-size: 1.35rem;
  flex-shrink: 0;
  margin-inline-start: 0.25rem;
}

.btn-hero-plans {
  min-block-size: 4.15rem;
  padding-inline: 1.35rem;
  border-radius: 18px;
}

.android-platform-note {
  margin: 0;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.1);
  border: 1px solid rgba(52, 199, 89, 0.34);
  color: #c8f7d4;
  font-size: 0.84rem;
  font-weight: 700;
  align-self: flex-start;
}

@media (max-width: 900px) {
  .android-platform-note {
    align-self: center;
    border-radius: 14px;
    text-align: center;
  }
}

@media (max-width: 560px) {
  .btn-download-hero,
  .btn-hero-plans {
    inline-size: 100%;
    justify-content: center;
  }

  .btn-dl-copy {
    align-items: flex-start;
  }
}

.android-platform-note svg {
  inline-size: 1.15rem;
  block-size: 1.15rem;
  flex-shrink: 0;
  color: var(--success);
}

.android-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.24rem 0.7rem;
  margin-block-end: 0.45rem;
  border-radius: 999px;
  background: rgba(52, 199, 89, 0.14);
  border: 1px solid rgba(52, 199, 89, 0.4);
  color: #8df0a5;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.android-chip svg {
  inline-size: 0.98rem;
  block-size: 0.98rem;
  flex-shrink: 0;
}

@media (pointer: coarse) {
  .btn,
  .lang-btn,
  .screen-tab,
  .footer-pill {
    min-block-size: 2.75rem;
  }
}

@media (forced-colors: active) {
  .btn,
  .btn-primary,
  .btn-download-hero,
  .android-platform-note,
  .android-chip,
  .download-box {
    border: 2px solid ButtonText;
  }
}

.btn-ghost {
  background: var(--surface);
  border-color: var(--border-strong);
  color: var(--text);
}

.btn-ghost:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.28);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25d366 0%, #16a34a 100%);
  color: #06180c;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.26);
}

.btn-whatsapp:hover {
  background: linear-gradient(135deg, #3ee07a 0%, #22c55e 100%);
}

.hero-stats {
  margin-block-start: 2.2rem;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding-block-start: 1.5rem;
  border-block-start: 1px solid var(--border);
}

@media (max-width: 560px) {
  .hero-stats {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
}

.stat-val {
  font-size: 1.35rem;
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-block-start: 0.2rem;
}

/* --------------------------------------------------------------------------
   Interactive Phone Showcase (Real Live Screenshots!)
   -------------------------------------------------------------------------- */
.phone-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  position: relative;
}

.phone-glow {
  position: absolute;
  inset: 10% 8%;
  background: radial-gradient(circle, rgba(229, 57, 53, 0.30) 0%, rgba(255, 255, 255, 0.05) 45%, transparent 72%);
  filter: blur(36px);
  z-index: 0;
  pointer-events: none;
}

.phone-frame {
  position: relative;
  z-index: 1;
  inline-size: min(100%, 305px);
  padding: 10px;
  border-radius: 42px;
  background: linear-gradient(155deg, #2d2d38 0%, #131318 48%, #2a181a 100%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow:
    0 32px 80px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(229, 57, 53, 0.18);
}

.phone-screen {
  border-radius: 33px;
  overflow: hidden;
  background: #0b0b0d;
  aspect-ratio: 9 / 20;
  position: relative;
}

/* Native horizontal scroll-snap carousel track (modern-web-guidance: carousel) */
.carousel-track {
  position: relative;
  display: flex;
  inline-size: 100%;
  block-size: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  /* Contain overscroll ONLY on the horizontal axis so vertical page scroll works */
  overscroll-behavior-x: contain;
  touch-action: manipulation;
  scrollbar-width: none;
}

.carousel-track::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: no-preference) {
  .carousel-track {
    scroll-behavior: smooth;
  }
}

.carousel-slide {
  flex: 0 0 100%;
  inline-size: 100%;
  block-size: 100%;
  scroll-snap-align: center;
}

.carousel-slide img {
  inline-size: 100%;
  block-size: 100%;
  object-fit: cover;
}

.visually-hidden {
  position: absolute;
  inline-size: 1px;
  block-size: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.screen-tabs {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.48rem;
}

.screen-tab {
  position: relative;
  overflow: hidden;
  min-block-size: 2rem;
  border: 1.5px solid var(--border-strong);
  background: var(--surface);
  color: var(--text-muted);
  padding: 0.42rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  touch-action: manipulation;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.screen-tab:hover {
  color: var(--text);
}

/* Non-color active affordance (border weight + scale + subtle bottom progress bar) */
.screen-tab[aria-current="true"] {
  background: var(--accent-soft);
  border-color: var(--accent);
  color: #ffffff;
  transform: scale(1.04);
  box-shadow: 0 0 0 2px rgba(229, 57, 53, 0.25);
}

@media (prefers-reduced-motion: no-preference) {
  @keyframes tab-progress {
    from {
      transform: scaleX(0);
    }
    to {
      transform: scaleX(1);
    }
  }

  .phone-stage:not(.is-paused) .screen-tab[aria-current="true"]::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    inset-block-end: 0;
    block-size: 2.5px;
    background: linear-gradient(90deg, var(--accent-light), var(--accent));
    transform-origin: left center;
    animation: tab-progress 3.4s linear forwards;
  }
}

.screen-caption {
  position: relative;
  z-index: 1;
  margin: 0;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
  max-inline-size: 36ch;
}

/* --------------------------------------------------------------------------
   Shared Section Layout
   -------------------------------------------------------------------------- */
.section {
  padding-block: clamp(3.4rem, 7vw, 5.8rem);
  scroll-margin-block-start: 5.2rem;
}

.section-head {
  text-align: center;
  max-inline-size: 68ch;
  margin-inline: auto;
  margin-block-end: clamp(2.2rem, 4vw, 3.4rem);
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-block-end: 0.65rem;
}

.section-head h2 {
  margin: 0;
  font-size: clamp(1.65rem, 3.2vw, 2.55rem);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: -0.02em;
}

.section-head p {
  margin-block: 0.9rem 0;
  color: var(--text-muted);
  font-size: 1.02rem;
}

/* --------------------------------------------------------------------------
   Features Grid (8 Real Capabilities)
   -------------------------------------------------------------------------- */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.2rem;
}

.feature-card {
  background: linear-gradient(180deg, rgba(28, 28, 36, 0.85) 0%, rgba(20, 20, 26, 0.95) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.55rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.feature-card:hover {
  border-color: rgba(229, 57, 53, 0.42);
  transform: translateY(-3px);
}

.feature-icon {
  inline-size: 2.85rem;
  block-size: 2.85rem;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: var(--accent-soft);
  border: 1px solid rgba(229, 57, 53, 0.26);
  color: var(--accent-light);
}

.feature-icon.green {
  background: var(--success-soft);
  border-color: rgba(52, 199, 89, 0.28);
  color: var(--success);
}

.feature-icon svg {
  inline-size: 1.4rem;
  block-size: 1.4rem;
}

.feature-card h3 {
  margin: 0;
  font-size: 1.06rem;
  font-weight: 800;
  line-height: 1.4;
}

.feature-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.92rem;
}

/* --------------------------------------------------------------------------
   Honest Transparency Callout
   -------------------------------------------------------------------------- */
.honest-box {
  margin-block-start: 2.4rem;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.5rem, 3vw, 2.2rem);
}

.honest-box h3 {
  margin: 0 0 1.2rem;
  font-size: 1.22rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.honest-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 740px) {
  .honest-grid {
    grid-template-columns: 1fr;
  }
}

.honest-col {
  padding: 1.2rem 1.3rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--border);
}

.honest-col.good {
  border-color: rgba(52, 199, 89, 0.3);
}

.honest-col.real {
  border-color: rgba(255, 159, 10, 0.3);
}

.honest-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  padding: 0.22rem 0.65rem;
  border-radius: 999px;
  margin-block-end: 0.65rem;
}

.honest-col.good .honest-tag {
  background: var(--success-soft);
  color: var(--success);
}

.honest-col.real .honest-tag {
  background: rgba(255, 159, 10, 0.14);
  color: var(--warning);
}

.honest-col p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* --------------------------------------------------------------------------
   3 Easy Steps
   -------------------------------------------------------------------------- */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.25rem;
}

@media (max-width: 820px) {
  .steps-grid {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 1.6rem;
  position: relative;
}

.step-num {
  inline-size: 2.3rem;
  block-size: 2.3rem;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  color: #ffffff;
  font-weight: 900;
  font-size: 1rem;
  margin-block-end: 1rem;
  box-shadow: 0 6px 20px rgba(229, 57, 53, 0.32);
}

.step-card h3 {
  margin: 0 0 0.55rem;
  font-size: 1.06rem;
  font-weight: 800;
}

.step-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

/* --------------------------------------------------------------------------
   Pricing Section (1 Month Rs. 300 & Lifetime Rs. 600)
   -------------------------------------------------------------------------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  max-inline-size: 900px;
  margin-inline: auto;
}

@media (max-width: 760px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

.plan-card {
  background: var(--surface);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-lg);
  padding: clamp(1.6rem, 3vw, 2.25rem);
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  position: relative;
}

.plan-card.featured {
  background: linear-gradient(165deg, rgba(229, 57, 53, 0.14) 0%, #17161d 42%, #14141a 100%);
  border: 1.5px solid rgba(229, 57, 53, 0.65);
  box-shadow: 0 24px 70px rgba(229, 57, 53, 0.16);
}

.plan-badge {
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 800;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
}

.plan-card.featured .plan-badge {
  background: var(--accent);
  color: #ffffff;
}

.plan-name {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.plan-price-row {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.plan-price {
  font-size: clamp(2.1rem, 4vw, 2.75rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.plan-period {
  color: var(--text-muted);
  font-size: 0.94rem;
  font-weight: 600;
}

.plan-desc {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.93rem;
}

.plan-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.68rem;
  flex: 1;
}

.plan-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.93rem;
  color: #e4e4ee;
}

.plan-list svg {
  inline-size: 1.15rem;
  block-size: 1.15rem;
  flex-shrink: 0;
  margin-block-start: 0.25rem;
  color: var(--success);
}

.payment-strip {
  max-inline-size: 900px;
  margin: 1.6rem auto 0;
  padding: 1.15rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  text-align: center;
}

.payment-strip strong {
  display: block;
  font-size: 0.92rem;
  margin-block-end: 0.25rem;
}

.payment-strip span {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* Official APK Verification & Prominent Android Download Strip */
.download-box {
  max-inline-size: 900px;
  margin: 1.8rem auto 0;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(211, 47, 47, 0.14) 0%, #17171f 55%, #14141a 100%);
  border: 1.5px solid rgba(229, 57, 53, 0.55);
  box-shadow: 0 22px 60px rgba(211, 47, 47, 0.16);
  scroll-margin-block-start: 5.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.35rem;
}

.download-meta {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  min-inline-size: 0;
  flex: 1 1 300px;
}

.download-meta img {
  inline-size: 3.35rem;
  block-size: 3.35rem;
  border-radius: 50%;
  flex-shrink: 0;
}

.download-meta h3 {
  margin: 0;
  font-size: 1.15rem;
  font-weight: 900;
}

.download-meta p {
  margin: 0.25rem 0 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.sha-line {
  margin-block-start: 0.45rem;
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 0.72rem;
  color: var(--text-dim);
  word-break: break-all;
}

.download-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.btn-download-card {
  min-block-size: 3.55rem;
  padding: 0.95rem 1.55rem;
  font-size: 1.02rem;
  border-radius: 16px;
}

@media (max-width: 600px) {
  .download-actions {
    inline-size: 100%;
  }

  .download-actions .btn {
    inline-size: 100%;
  }
}

/* --------------------------------------------------------------------------
   FAQ Native <details> Accordion (modern-web-guidance: accordion)
   -------------------------------------------------------------------------- */
.accordion {
  max-inline-size: 820px;
  margin-inline: auto;
  display: grid;
  gap: 0.8rem;
}

.accordion details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  transition: border-color 0.2s ease;
}

.accordion details[open] {
  border-color: rgba(229, 57, 53, 0.42);
}

.accordion summary {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1.15rem 1.35rem;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
}

.accordion summary::-webkit-details-marker {
  display: none;
}

/* Marker directly before label text for easy vertical scanning & screen-magnifier clarity */
.accordion summary::before {
  content: "";
  inline-size: 1.05em;
  block-size: 1.05em;
  flex-shrink: 0;
  background-color: var(--accent-light);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center / contain;
  rotate: -90deg;
}

.accordion details[open] > summary::before {
  rotate: 0deg;
}

.accordion details::details-content {
  interpolate-size: allow-keywords;
  overflow: clip;
  contain: layout;
}

.accordion details:not([open])::details-content {
  block-size: 0;
}

@media (prefers-reduced-motion: no-preference) {
  .accordion summary::before {
    transition: rotate 0.22s ease;
  }
  .accordion details::details-content {
    transition: block-size, content-visibility, display;
    transition-duration: 0.28s;
    transition-timing-function: ease-in-out;
    transition-behavior: allow-discrete;
  }
}

.faq-answer {
  padding: 0 1.35rem 1.25rem 3.2rem;
  color: var(--text-muted);
  font-size: 0.94rem;
}

.faq-answer p {
  margin: 0;
}

/* --------------------------------------------------------------------------
   Progressive Scroll-Driven Entry Effects (modern-web-guidance: scroll-entry-exit-effects)
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: no-preference) {
  @supports ((animation-timeline: view()) and (animation-range: entry)) {
    @keyframes reveal-up {
      from {
        opacity: 0;
        transform: translateY(24px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .reveal-item {
      animation: reveal-up auto linear backwards;
      /* Declared strictly AFTER the animation shorthand */
      animation-timeline: view();
      animation-range: entry 0% entry 32%;
    }
  }
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  border-block-start: 1px solid var(--border);
  padding-block: 2.8rem 3.2rem;
  background: rgba(16, 16, 21, 0.72);
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.footer-brand p {
  margin: 0.55rem 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
  max-inline-size: 46ch;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.58rem 1rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--border-strong);
  font-size: 0.88rem;
  font-weight: 700;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}

.footer-pill:hover {
  border-color: var(--accent);
  background: var(--surface-hover);
}

.footer-bottom {
  margin-block-start: 1.8rem;
  padding-block-start: 1.25rem;
  border-block-start: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.82rem;
  color: var(--text-dim);
}
