/* =========================================
   MY EXPENSE — Main Stylesheet
   Sorted Systems Pvt Ltd
   ========================================= */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400&display=swap');

/* ---------- Design Tokens ---------- */
:root {
  /* Brand — pulled from real app screenshots */
  --violet:       #7C3AED;
  --violet-light: #8B5CF6;
  --violet-mid:   #A78BFA;
  --violet-pale:  rgba(139,92,246,0.12);
  --blue:         #3B82F6;
  --blue-light:   #60A5FA;
  --teal:         #06B6D4;
  --green:        #10B981;
  --orange:       #F59E0B;
  --red:          #EF4444;

  /* Backgrounds */
  --bg:           #07080f;
  --bg-1:         #0d0f1e;
  --bg-2:         #131627;
  --bg-card:      rgba(255,255,255,0.04);
  --bg-card-h:    rgba(139,92,246,0.07);
  --bg-glass:     rgba(255,255,255,0.055);
  --border:       rgba(255,255,255,0.07);
  --border-v:     rgba(139,92,246,0.22);

  /* Text */
  --t1: #eef0ff;
  --t2: rgba(238,240,255,0.62);
  --t3: rgba(238,240,255,0.36);

  /* Type */
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;

  /* Radii */
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 32px;
  --r-pill: 999px;

  /* Shadows */
  --shadow-v:    0 0 80px rgba(139,92,246,0.18);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.45);
  --shadow-glow: 0 4px 24px rgba(139,92,246,0.35);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--t1);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font); }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 32px;
}

/* =========================================
   GLOBAL BACKGROUND
   ========================================= */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 90% 55% at 50% -5%, rgba(124,58,237,0.14) 0%, transparent 65%),
    radial-gradient(ellipse 40% 40% at 85% 75%, rgba(59,130,246,0.07) 0%, transparent 60%);
}

/* =========================================
   SCROLL PROGRESS
   ========================================= */
#scroll-progress {
  position: fixed;
  top: 0; left: 0;
  height: 2px;
  width: 0%;
  background: linear-gradient(90deg, var(--violet), var(--blue-light));
  z-index: 9999;
  transition: width 0.1s linear;
}

/* =========================================
   NAVIGATION
   ========================================= */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 900;
  padding: 20px 0;
  transition: padding 0.35s, background 0.35s, border-color 0.35s;
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  padding: 13px 0;
  background: rgba(7,8,15,0.88);
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  border-bottom-color: var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  margin-right: auto;
}
.nav-logo img {
  width: 36px; height: 36px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(124,58,237,0.4);
}
.nav-logo-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}
.nav-links {
  display: flex;
  gap: 30px;
}
.nav-links a {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--t2);
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--t1); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--violet);
  color: #fff;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: var(--r-sm);
  border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.nav-cta:hover {
  background: var(--violet-light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-glow);
}
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 22px; height: 2px;
  background: var(--t1);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.nav-mobile-menu {
  display: none;
  flex-direction: column;
  padding: 12px 0 20px;
  border-top: 1px solid var(--border);
  margin-top: 12px;
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu a {
  padding: 12px 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--t2);
  border-bottom: 1px solid var(--border);
}

/* =========================================
   HERO
   ========================================= */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 130px 0 90px;
  overflow: hidden;
}

/* Grid bg lines */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(139,92,246,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,92,246,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-mid);
  background: rgba(139,92,246,0.1);
  border: 1px solid rgba(139,92,246,0.25);
  padding: 6px 14px;
  border-radius: var(--r-pill);
  margin-bottom: 22px;
}
.eyebrow-dot {
  width: 6px; height: 6px;
  background: var(--violet-mid);
  border-radius: 50%;
  animation: blinkDot 1.6s ease-in-out infinite;
}
@keyframes blinkDot { 0%,100%{opacity:1} 50%{opacity:0.25} }

.hero h1 {
  font-size: clamp(2.6rem, 4.8vw, 4.2rem);
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: -0.035em;
  margin-bottom: 22px;
  color: var(--t1);
}
.hero h1 em {
  font-style: normal;
  background: linear-gradient(135deg, var(--violet-mid), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 1.1rem;
  color: var(--t2);
  line-height: 1.72;
  max-width: 480px;
  margin-bottom: 38px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 30px;
  border-radius: var(--r-md);
  border: none;
  cursor: pointer;
  transition: transform 0.22s, box-shadow 0.22s, background 0.22s;
  text-decoration: none;
}
.btn-violet {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 6px 28px rgba(124,58,237,0.35);
}
.btn-violet:hover {
  background: var(--violet-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(139,92,246,0.42);
}
.btn-ghost {
  background: var(--bg-glass);
  color: var(--t1);
  border: 1px solid var(--border);
  backdrop-filter: blur(12px);
  padding: 13px 28px;
}
.btn-ghost:hover {
  background: rgba(255,255,255,0.09);
  border-color: rgba(255,255,255,0.14);
  transform: translateY(-2px);
}

.hero-trust {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--t3);
}
.trust-check {
  width: 16px; height: 16px;
  border-radius: 50%;
  background: rgba(16,185,129,0.15);
  border: 1px solid rgba(16,185,129,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  color: var(--green);
  flex-shrink: 0;
}
.trust-divider { width: 1px; height: 14px; background: var(--border); }

/* ---------- Hero Phone Stack ---------- */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.phone-stack {
  position: relative;
  width: 240px;
}

.phone-frame {
  position: relative;
  width: 240px;
  background: #0e0e1a;
  border-radius: 38px;
  padding: 7px;
  border: 1px solid rgba(139,92,246,0.3);
  box-shadow: var(--shadow-v), var(--shadow-card), 0 0 0 1px rgba(255,255,255,0.05);
}

.phone-notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 6px;
  background: #1a1a2e;
  border-radius: 3px;
  z-index: 10;
}

.phone-slides {
  width: 100%;
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  height: 480px;
}

.phone-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.6s ease;
}
.phone-slide.active { opacity: 1; }
.phone-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  border-radius: 32px;
}

.phone-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 16px;
}
.phone-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: background 0.2s, width 0.2s;
  border: none;
}
.phone-dot.active {
  background: var(--violet-mid);
  width: 18px;
  border-radius: 3px;
}

/* Floating badges */
.hero-badge-float {
  position: absolute;
  background: var(--bg-1);
  border: 1px solid var(--border-v);
  border-radius: var(--r-md);
  padding: 12px 16px;
  box-shadow: var(--shadow-card);
  z-index: 5;
  white-space: nowrap;
}
.hero-badge-float.f1 {
  top: 10%;
  right: -40px;
  animation: floatBadge 4s ease-in-out infinite;
}
.hero-badge-float.f2 {
  bottom: 18%;
  left: -44px;
  animation: floatBadge 4s ease-in-out infinite 1.8s;
}
@keyframes floatBadge {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.badge-val {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
  line-height: 1.2;
}
.badge-lbl {
  font-size: 0.68rem;
  color: var(--t3);
  margin-top: 2px;
}

/* =========================================
   SECTION COMMONS
   ========================================= */
.section { position: relative; padding: 110px 0; z-index: 1; }
.section-sm { padding: 72px 0; }

.eyebrow {
  display: inline-block;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--violet-mid);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.85rem);
  font-weight: 800;
  letter-spacing: -0.033em;
  line-height: 1.08;
  color: var(--t1);
  margin-bottom: 14px;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--t2);
  line-height: 1.72;
  max-width: 560px;
}
.text-center { text-align: center; }
.text-center .section-sub { margin: 0 auto; }

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s cubic-bezier(0.16,1,0.3,1), transform 0.65s cubic-bezier(0.16,1,0.3,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.d1 { transition-delay: 0.08s !important; }
.d2 { transition-delay: 0.16s !important; }
.d3 { transition-delay: 0.24s !important; }
.d4 { transition-delay: 0.32s !important; }
.d5 { transition-delay: 0.40s !important; }
.d6 { transition-delay: 0.48s !important; }
.d7 { transition-delay: 0.56s !important; }
.d8 { transition-delay: 0.64s !important; }
.d9 { transition-delay: 0.72s !important; }

/* =========================================
   STATS STRIP
   ========================================= */
.stats-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 1;
}
.stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat-cell {
  padding: 48px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.25s;
}
.stat-cell:last-child { border-right: none; }
.stat-cell:hover { background: var(--bg-card); }
.stat-num {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.045em;
  line-height: 1;
  margin-bottom: 8px;
  background: linear-gradient(135deg, var(--violet-mid), var(--blue-light));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-lbl {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--t3);
}

/* =========================================
   FEATURES
   ========================================= */
.features-tabs {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 52px;
}
.feat-tab {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--t2);
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-pill);
  padding: 8px 18px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.feat-tab:hover, .feat-tab.active {
  background: rgba(139,92,246,0.12);
  border-color: rgba(139,92,246,0.3);
  color: var(--violet-mid);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-lg);
  padding: 28px;
  transition: border-color 0.3s, background 0.3s, transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  border-color: var(--border-v);
  background: var(--bg-card-h);
  transform: translateY(-4px);
  box-shadow: 0 16px 44px rgba(124,58,237,0.1);
}
.feature-card.featured {
  grid-column: span 2;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 28px;
  background: linear-gradient(135deg, rgba(124,58,237,0.08), rgba(59,130,246,0.05));
  border-color: var(--border-v);
}
.feat-icon {
  width: 46px; height: 46px;
  border-radius: var(--r-sm);
  background: rgba(139,92,246,0.12);
  border: 1px solid rgba(139,92,246,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.feature-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--t1);
  margin-bottom: 8px;
  letter-spacing: -0.01em;
}
.feature-card p {
  font-size: 0.865rem;
  color: var(--t2);
  line-height: 1.7;
}
.feature-card.featured .feat-icon { margin-bottom: 0; }
.feature-card.featured .feat-content {}
.feature-card.featured .feat-visual {
  flex-shrink: 0;
  width: 130px;
  height: 86px;
  border-radius: var(--r-md);
  background: var(--bg-2);
  border: 1px solid var(--border);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =========================================
   APP SCREENSHOTS GALLERY
   ========================================= */
.gallery-section {
  background: linear-gradient(180deg, transparent, rgba(124,58,237,0.04) 50%, transparent);
}
.gallery-scroll {
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 12px 4px 28px;
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  scrollbar-color: var(--border-v) transparent;
}
.gallery-scroll::-webkit-scrollbar { height: 4px; }
.gallery-scroll::-webkit-scrollbar-track { background: transparent; }
.gallery-scroll::-webkit-scrollbar-thumb { background: var(--border-v); border-radius: 2px; }

.gallery-item {
  flex-shrink: 0;
  scroll-snap-align: start;
  width: 160px;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  position: relative;
}
.gallery-item:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--border-v);
  box-shadow: var(--shadow-v);
}
.screenshot-img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  object-position: top;
  display: block;
}
.gallery-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 28px 12px 12px;
  background: linear-gradient(0deg, rgba(7,8,15,0.9) 0%, transparent 100%);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--t2);
  text-align: center;
}

/* =========================================
   PRIVACY
   ========================================= */
.privacy-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.privacy-visual-col {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}
.priv-glow-ring {
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(124,58,237,0.1) 0%, transparent 70%);
  border: 1px solid rgba(124,58,237,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: privPulse 3.5s ease-in-out infinite;
}
@keyframes privPulse {
  0%,100% { box-shadow: 0 0 0 0 rgba(124,58,237,0.12); }
  50% { box-shadow: 0 0 0 28px rgba(124,58,237,0); }
}
.priv-inner-ring {
  width: 200px; height: 200px;
  border-radius: 50%;
  background: rgba(124,58,237,0.1);
  border: 1px solid rgba(124,58,237,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4.5rem;
}
.privacy-points {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-top: 36px;
}
.priv-point {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.priv-icon {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: rgba(16,185,129,0.1);
  border: 1px solid rgba(16,185,129,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.priv-point h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.priv-point p {
  font-size: 0.86rem;
  color: var(--t2);
  line-height: 1.68;
}

/* =========================================
   HOW IT WORKS
   ========================================= */
.hiw-wrap {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  position: relative;
}
.hiw-line {
  position: absolute;
  top: 26px;
  left: calc(16.67% + 12px);
  right: calc(16.67% + 12px);
  height: 1px;
  background: linear-gradient(90deg, var(--violet), var(--blue-light));
  opacity: 0.18;
}
.hiw-step { display: flex; flex-direction: column; gap: 16px; }
.hiw-num {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--bg-2);
  border: 1px solid var(--border-v);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--violet-mid);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}
.hiw-step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
}
.hiw-step p { font-size: 0.875rem; color: var(--t2); line-height: 1.7; }

/* =========================================
   CAPABILITIES GRID
   ========================================= */
.caps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
.cap-item {
  display: flex;
  align-items: center;
  gap: 11px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--r-md);
  padding: 14px 18px;
  transition: border-color 0.2s, background 0.2s;
}
.cap-item:hover {
  border-color: var(--border-v);
  background: var(--bg-card-h);
}
.cap-item span:first-child { font-size: 1.05rem; flex-shrink: 0; width: 24px; text-align: center; }
.cap-item span:last-child { font-size: 0.82rem; font-weight: 600; color: var(--t2); }

/* =========================================
   DOWNLOAD CTA
   ========================================= */
.download-wrap {
  position: relative;
  overflow: hidden;
}
.download-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 65% 65% at 50% 50%, rgba(124,58,237,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.download-box {
  background: var(--bg-1);
  border: 1px solid var(--border-v);
  border-radius: var(--r-xl);
  padding: 80px 60px;
  text-align: center;
  position: relative;
}
.download-box::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--violet-light), transparent);
}
.download-box h2 {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  margin-bottom: 14px;
}
.download-box p {
  font-size: 1.05rem;
  color: var(--t2);
  margin-bottom: 44px;
  max-width: 460px;
  margin-left: auto;
  margin-right: auto;
}
.dl-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}
.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: var(--violet);
  color: #fff;
  padding: 16px 32px;
  border-radius: var(--r-md);
  transition: background 0.22s, transform 0.22s, box-shadow 0.22s;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  text-decoration: none;
}
.store-btn:hover {
  background: var(--violet-light);
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(139,92,246,0.4);
}
.store-btn svg { width: 28px; height: 28px; flex-shrink: 0; }
.store-btn-txt .sm { font-size: 0.68rem; font-weight: 500; opacity: 0.8; }
.store-btn-txt .lg { font-size: 1.1rem; font-weight: 700; line-height: 1.2; }
.dl-note { margin-top: 24px; font-size: 0.78rem; color: var(--t3); }

/* =========================================
   LIGHTBOX
   ========================================= */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.88);
  backdrop-filter: blur(8px);
}
.lightbox-content {
  position: relative;
  z-index: 1;
  max-height: 90vh;
  display: flex;
  align-items: center;
  gap: 16px;
}
.lightbox-img {
  max-height: 88vh;
  max-width: 360px;
  border-radius: var(--r-xl);
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff;
  border-radius: 50%;
  width: 44px; height: 44px;
  font-size: 1.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
  flex-shrink: 0;
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.2); }
.lightbox-close {
  position: absolute;
  top: -20px;
  right: -20px;
  width: 36px; height: 36px;
  font-size: 1.1rem;
}

/* =========================================
   FOOTER
   ========================================= */
footer {
  border-top: 1px solid var(--border);
  padding: 64px 0 32px;
  position: relative;
  z-index: 1;
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
  margin-bottom: 52px;
}
.footer-brand .fl-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-brand .fl-logo img { width: 32px; height: 32px; border-radius: 8px; }
.footer-brand .fl-logo span { font-size: 0.98rem; font-weight: 800; }
.footer-brand p { font-size: 0.875rem; color: var(--t2); line-height: 1.7; max-width: 250px; }

.footer-col h4 {
  font-size: 0.73rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--t3);
  margin-bottom: 18px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 12px; }
.footer-col a { font-size: 0.875rem; color: var(--t2); transition: color 0.2s; }
.footer-col a:hover { color: var(--t1); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
  gap: 16px;
}
.footer-bottom p { font-size: 0.78rem; color: var(--t3); }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  color: var(--t2);
  transition: all 0.2s;
}
.footer-social a:hover {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff;
}

/* =========================================
   PRIVACY PAGE
   ========================================= */
.priv-page {
  min-height: 100vh;
  padding: 120px 0 80px;
  position: relative;
  z-index: 1;
}
.priv-page-header {
  margin-bottom: 52px;
  padding-bottom: 40px;
  border-bottom: 1px solid var(--border);
}
.priv-page-header h1 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}
.priv-date { font-size: 0.85rem; color: var(--t3); font-style: italic; }
.priv-body {
  max-width: 720px;
}
.priv-body h2 {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--t1);
  margin: 40px 0 14px;
  padding-top: 8px;
  border-top: 1px solid var(--border);
}
.priv-body h2:first-child { border-top: none; margin-top: 0; }
.priv-body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--violet-mid);
  margin: 20px 0 10px;
}
.priv-body p {
  font-size: 0.95rem;
  color: var(--t2);
  line-height: 1.8;
  margin-bottom: 14px;
}
.priv-body ul {
  list-style: none;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.priv-body ul li {
  font-size: 0.92rem;
  color: var(--t2);
  line-height: 1.7;
  padding-left: 18px;
  position: relative;
}
.priv-body ul li::before {
  content: '–';
  position: absolute;
  left: 0;
  color: var(--violet-mid);
  font-weight: 700;
}
.priv-body strong { color: var(--t1); font-weight: 700; }
.priv-body a { color: var(--violet-mid); transition: color 0.2s; }
.priv-body a:hover { color: var(--violet-light); text-decoration: underline; }

.priv-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  font-size: 0.88rem;
}
.priv-table th, .priv-table td {
  text-align: left;
  padding: 12px 16px;
  border: 1px solid var(--border);
}
.priv-table th {
  background: var(--bg-card);
  color: var(--t1);
  font-weight: 700;
}
.priv-table td { color: var(--t2); }

.priv-contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border-v);
  border-radius: var(--r-lg);
  padding: 24px 28px;
  margin-top: 32px;
}
.priv-contact-box h2 {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}
.priv-summary {
  margin-top: 32px;
  background: rgba(139,92,246,0.07);
  border: 1px solid var(--border-v);
  border-radius: var(--r-md);
  padding: 18px 22px;
  font-size: 0.9rem;
  color: var(--t2);
  line-height: 1.7;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; gap: 52px; }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-card.featured { grid-column: span 2; }
  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat-cell:nth-child(2) { border-right: none; }
  .stat-cell:nth-child(3) { border-top: 1px solid var(--border); border-right: 1px solid var(--border); }
  .stat-cell:nth-child(4) { border-top: 1px solid var(--border); border-right: none; }
  .caps-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 36px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .nav-hamburger { display: flex; }

  .hero { padding: 106px 0 60px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: -1; }
  .phone-frame { width: 200px; }
  .phone-slides { height: 400px; }
  .hero-badge-float { display: none; }
  .hero h1 { font-size: 2.4rem; }

  .privacy-wrap { grid-template-columns: 1fr; gap: 44px; }
  .privacy-visual-col { order: -1; }
  .priv-glow-ring { width: 220px; height: 220px; }
  .priv-inner-ring { width: 150px; height: 150px; font-size: 3.5rem; }

  .hiw-wrap { grid-template-columns: 1fr; }
  .hiw-line { display: none; }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card.featured { grid-column: span 1; grid-template-columns: 1fr; }
  .feature-card.featured .feat-visual { display: none; }

  .download-box { padding: 52px 28px; }
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }

  .priv-page { padding: 100px 0 60px; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .hero h1 { font-size: 2rem; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat-cell:nth-child(3) { border-right: 1px solid var(--border); }
  .caps-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item { width: 140px; }
  .screenshot-img { height: 240px; }
  .download-box { padding: 40px 20px; }
  .priv-table { font-size: 0.78rem; }
  .priv-table th, .priv-table td { padding: 9px 11px; }
}
