/* ==========================================================================
   Coinculus Crypto - Official App Landing Page & Google Play Privacy Suite
   Theme: Deep Slate Navy (#080d17 / #0f1726), Electric Cyan (#38bdf8), Emerald (#10b981)
   Optimized for High Performance on Desktop, Tablet & Mobile Devices
   ========================================================================== */

:root {
  --bg-main: #080d17;
  --bg-elevated: #0f1726;
  --bg-card: #131d31;
  --bg-card-hover: #18253e;
  --bg-input: #0b1322;
  --border-subtle: rgba(148, 163, 184, 0.14);
  --border-highlight: rgba(56, 189, 248, 0.45);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent-cyan: #38bdf8;
  --accent-cyan-dark: #0284c7;
  --accent-green: #10b981;
  --accent-green-bg: rgba(16, 185, 129, 0.14);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --shadow-card: 0 20px 45px -15px rgba(0, 0, 0, 0.65);
  --shadow-glow: 0 0 35px rgba(56, 189, 248, 0.18);
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-main);
  color: var(--text-primary);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
}

body {
  background-color: var(--bg-main);
  background-image: 
    radial-gradient(circle at 12% 10%, rgba(56, 189, 248, 0.10) 0%, transparent 40%),
    radial-gradient(circle at 88% 22%, rgba(16, 185, 129, 0.08) 0%, transparent 42%),
    radial-gradient(circle at 50% 75%, rgba(56, 189, 248, 0.06) 0%, transparent 50%);
  color: var(--text-primary);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}

body.menu-open {
  overflow: hidden;
}

a {
  color: var(--accent-cyan);
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
  color: #7dd3fc;
}

img {
  max-width: 100%;
  display: block;
}

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

section[id], main[id], div[id] {
  scroll-margin-top: 86px;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(8, 13, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  padding: 13px 0;
  transition: padding 0.2s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-primary);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.02em;
  min-width: 0;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 11px;
  box-shadow: 0 4px 14px rgba(56, 189, 248, 0.25);
  flex-shrink: 0;
}

.brand-text-wrap {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.brand-sub {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--accent-cyan);
  letter-spacing: 0.02em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-links-desktop {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-quick-link {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  transition: all 0.2s ease;
}

.nav-quick-link:hover {
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.08);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.lang-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-dark));
  color: #04101d;
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.35);
}

/* Mobile Hamburger Button */
.mobile-menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
  padding: 0;
}

.mobile-menu-btn:hover,
.mobile-menu-btn.active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

.mobile-menu-btn .menu-icon-close {
  display: none;
}

.mobile-menu-btn.active .menu-icon-open {
  display: none;
}

.mobile-menu-btn.active .menu-icon-close {
  display: block;
}

/* Mobile Navigation Drawer */
.mobile-nav-drawer {
  display: none;
  background: rgba(11, 19, 34, 0.98);
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0 22px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.75);
}

.mobile-nav-drawer.open {
  display: block;
  animation: fadeInDown 0.22s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  background: rgba(19, 29, 49, 0.65);
  border: 1px solid var(--border-subtle);
  min-height: 48px;
}

.mobile-nav-link::after {
  content: "›";
  font-size: 1.3rem;
  color: var(--accent-cyan);
  line-height: 1;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
}

.mobile-lang-row {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
  padding: 12px 14px;
  background: var(--bg-input);
  border-radius: 12px;
  border: 1px solid var(--border-subtle);
}

.mobile-lang-label {
  font-size: 0.76rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  font-weight: 700;
  letter-spacing: 0.05em;
}

.mobile-lang-buttons {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
}

.mobile-lang-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 8px;
  border-radius: 8px;
  cursor: pointer;
  text-align: center;
  transition: all 0.2s ease;
  min-height: 40px;
}

.mobile-lang-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-dark));
  color: #04101d;
  border-color: var(--accent-cyan);
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.35);
}

.mobile-nav-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 6px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 1rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-dark));
  color: #04101d;
  text-align: center;
  min-height: 50px;
  box-shadow: 0 4px 16px rgba(56, 189, 248, 0.35);
}

.mobile-nav-cta:hover {
  color: #04101d;
  filter: brightness(1.08);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.22s ease;
  text-decoration: none;
}

.btn-outline {
  background: rgba(19, 29, 49, 0.75);
  color: var(--text-primary);
  border-color: var(--border-subtle);
}

.btn-outline:hover {
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

/* Google Play Official-Style Badge Button */
.btn-google-play {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  background: #0c1424;
  border: 1.5px solid var(--accent-cyan);
  color: var(--text-primary);
  padding: 12px 26px;
  border-radius: 14px;
  box-shadow: 0 10px 30px -8px rgba(56, 189, 248, 0.35);
  transition: all 0.25s ease;
  min-height: 52px;
}

.btn-google-play:hover {
  background: #132038;
  border-color: #7dd3fc;
  transform: translateY(-2px);
  box-shadow: 0 14px 36px -6px rgba(56, 189, 248, 0.52);
  color: #fff;
}

.gp-icon {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.gp-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
}

.gp-overline {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  font-weight: 600;
}

.gp-title {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  padding: 72px 0 84px;
  position: relative;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 56px;
  align-items: center;
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--accent-cyan);
  font-size: 0.82rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 10px var(--accent-green);
}

.hero h1 {
  font-size: clamp(2.2rem, 4.2vw, 3.65rem);
  font-weight: 850;
  line-height: 1.12;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.gradient-text {
  background: linear-gradient(135deg, #38bdf8 0%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  margin-bottom: 30px;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-bottom: 36px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

.stat-card {
  background: rgba(19, 29, 49, 0.55);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
}

.stat-value {
  font-family: var(--font-mono);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--accent-cyan);
  display: block;
}

.stat-label {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.3;
}

/* Hero Phone Showcase */
.hero-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 540px;
}

.phone-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  height: 540px;
}

.phone-mockup {
  position: absolute;
  border-radius: 28px;
  background: #050911;
  padding: 8px;
  border: 2px solid rgba(148, 163, 184, 0.22);
  box-shadow: var(--shadow-card);
  transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
  overflow: hidden;
  cursor: pointer;
}

.phone-mockup img {
  border-radius: 20px;
  width: 100%;
  height: auto;
  display: block;
}

.phone-center {
  width: 265px;
  left: 50%;
  top: 10px;
  transform: translateX(-50%);
  z-index: 3;
  border-color: rgba(56, 189, 248, 0.55);
  box-shadow: 0 25px 60px -12px rgba(0, 0, 0, 0.85), 0 0 35px rgba(56, 189, 248, 0.22);
}

.phone-left {
  width: 225px;
  left: 0;
  top: 55px;
  transform: rotate(-6deg);
  z-index: 2;
  opacity: 0.92;
}

.phone-right {
  width: 225px;
  right: 0;
  top: 55px;
  transform: rotate(6deg);
  z-index: 2;
  opacity: 0.92;
}

@media (hover: hover) and (pointer: fine) {
  .phone-stage:hover .phone-left {
    transform: rotate(-8deg) translateX(-10px);
  }

  .phone-stage:hover .phone-right {
    transform: rotate(8deg) translateX(10px);
  }

  .phone-stage:hover .phone-center {
    transform: translateX(-50%) translateY(-6px);
  }
}

/* Mobile interactive phone switcher */
.phone-tabs-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  padding: 4px;
  gap: 4px;
  margin-bottom: 16px;
  max-width: 340px;
  width: 100%;
}

.phone-tab-btn {
  flex: 1;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 10px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.phone-tab-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-dark));
  color: #04101d;
  box-shadow: 0 2px 8px rgba(56, 189, 248, 0.35);
}

.phone-hint-mobile {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 10px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Providers Strip
   ========================================================================== */
.providers-strip {
  background: rgba(15, 23, 38, 0.75);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  padding: 22px 0;
}

.providers-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.providers-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.providers-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.provider-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
  min-height: 38px;
}

.provider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-cyan);
}

/* ==========================================================================
   Section Scaffolding
   ========================================================================== */
.section {
  padding: 84px 0;
}

.section-alt {
  background: rgba(15, 23, 38, 0.45);
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 52px;
}

.section-header h2 {
  font-size: clamp(1.85rem, 3.2vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  margin-bottom: 14px;
}

.section-header p {
  color: var(--text-secondary);
  font-size: 1.05rem;
}

/* ==========================================================================
   Features Grid (3 Core Pillars)
   ========================================================================== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
  overflow: hidden;
}

.feature-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.feature-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-cyan);
  margin-bottom: 22px;
  flex-shrink: 0;
}

.feature-card h3 {
  font-size: 1.32rem;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card > p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.feature-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: #cbd5e1;
}

.check-icon {
  color: var(--accent-green);
  font-weight: 900;
  flex-shrink: 0;
  margin-top: 2px;
}

/* ==========================================================================
   Screenshots Gallery with Category Filter Tabs
   ========================================================================== */
.gallery-filter-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 34px;
}

.gallery-filter-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.2s ease;
  min-height: 40px;
}

.gallery-filter-btn:hover {
  color: var(--text-primary);
  border-color: rgba(56, 189, 248, 0.4);
}

.gallery-filter-btn.active {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-cyan-dark));
  color: #04101d;
  border-color: var(--accent-cyan);
  box-shadow: 0 2px 10px rgba(56, 189, 248, 0.35);
}

.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.screen-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
}

.screen-card.hidden {
  display: none !important;
}

.screen-card:hover {
  border-color: var(--border-highlight);
  transform: translateY(-5px);
  box-shadow: var(--shadow-card);
}

.screen-frame {
  background: #060a12;
  border-radius: 20px;
  padding: 8px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  margin-bottom: 18px;
  overflow: hidden;
  max-height: 440px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  position: relative;
}

.screen-frame img {
  width: 100%;
  height: auto;
  border-radius: 14px;
  object-fit: cover;
  object-position: top;
}

.screen-zoom-hint {
  position: absolute;
  bottom: 14px;
  right: 14px;
  background: rgba(8, 13, 23, 0.85);
  border: 1px solid var(--border-highlight);
  color: var(--accent-cyan);
  padding: 5px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(8px);
}

.screen-tag {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.screen-card h4 {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.screen-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

/* Lightbox Modal */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 8, 16, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox.open {
  display: flex;
  animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox-content {
  position: relative;
  max-width: 440px;
  width: 100%;
  background: var(--bg-card);
  border: 1.5px solid var(--border-highlight);
  border-radius: 24px;
  padding: 12px;
  text-align: center;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.9);
}

.lightbox-content img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 16px;
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--accent-cyan);
  color: #04101d;
  border: none;
  font-weight: 900;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ==========================================================================
   Official 9-Section Privacy Policy Suite
   ========================================================================== */
.privacy-container {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  padding: 42px;
  box-shadow: var(--shadow-card);
}

.privacy-meta-header {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--bg-input);
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: var(--radius-md);
  padding: 18px 24px;
  margin-bottom: 24px;
}

.privacy-meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.privacy-meta-label {
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  font-weight: 700;
}

.privacy-meta-value {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--text-primary);
  overflow-wrap: anywhere;
  word-break: break-word;
}

.privacy-top-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding-bottom: 22px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.privacy-badge-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.privacy-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 6px 13px;
  border-radius: 999px;
  background: var(--accent-green-bg);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Quick Jump Navigation Bar */
.privacy-quick-jump {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(11, 19, 34, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  margin-bottom: 28px;
}

.privacy-quick-jump-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.privacy-jump-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.privacy-jump-link {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.25);
  padding: 5px 11px;
  border-radius: 999px;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.privacy-jump-link:hover {
  background: var(--accent-cyan);
  color: #04101d;
}

.privacy-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  margin-bottom: 28px;
}

.privacy-block {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  transition: border-color 0.2s ease;
}

.privacy-block:hover {
  border-color: rgba(56, 189, 248, 0.32);
}

.privacy-block.full-span {
  grid-column: 1 / -1;
}

.privacy-block h4 {
  color: var(--accent-cyan);
  font-size: 1.08rem;
  font-weight: 800;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.privacy-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.14);
  border: 1px solid rgba(56, 189, 248, 0.35);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 800;
  flex-shrink: 0;
}

.privacy-block p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 10px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.privacy-block p:last-child {
  margin-bottom: 0;
}

.privacy-subcards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.privacy-subcard {
  background: rgba(19, 29, 49, 0.65);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 18px;
}

.privacy-subcard h5 {
  color: var(--text-primary);
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.privacy-subcard p,
.privacy-subcard li {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.privacy-subgrid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 12px;
}

.privacy-block ul {
  padding-left: 18px;
  margin-top: 8px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.perm-code {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent-cyan);
  background: rgba(56, 189, 248, 0.12);
  padding: 3px 8px;
  border-radius: 6px;
  border: 1px solid rgba(56, 189, 248, 0.25);
  display: inline-block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.privacy-console-box {
  background: rgba(56, 189, 248, 0.08);
  border: 1px dashed rgba(56, 189, 248, 0.45);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.privacy-actions-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}

.copy-toast {
  display: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: #34d399;
  align-items: center;
  gap: 6px;
}

.copy-toast.show {
  display: inline-flex;
}

/* ==========================================================================
   CTA Banner & Footer
   ========================================================================== */
.cta-banner {
  background: linear-gradient(135deg, #0f1b33 0%, #0b2239 100%);
  border: 1px solid var(--border-highlight);
  border-radius: var(--radius-xl);
  padding: 56px 40px;
  text-align: center;
  box-shadow: var(--shadow-card), var(--shadow-glow);
}

.cta-banner h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-banner p {
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto 28px;
  font-size: 1.05rem;
}

.footer {
  border-top: 1px solid var(--border-subtle);
  padding: 40px 0 32px;
  background: #050911;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 14px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* Floating Back-to-Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 20px;
  z-index: 990;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 38, 0.92);
  border: 1.5px solid var(--border-highlight);
  color: var(--accent-cyan);
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.65);
  transition: all 0.25s ease;
  backdrop-filter: blur(10px);
}

.back-to-top.visible {
  display: flex;
}

.back-to-top:hover {
  background: var(--accent-cyan);
  color: #04101d;
  transform: translateY(-3px);
}

/* ==========================================================================
   Responsive Breakpoints (Desktop, Tablet & Mobile)
   ========================================================================== */
@media (max-width: 992px) {
  .hero {
    padding: 48px 0 64px;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-lead {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-cta-group {
    justify-content: center;
  }

  .hero-visual {
    margin-top: 8px;
    min-height: 490px;
  }

  .phone-stage {
    max-width: 450px;
    height: 490px;
    margin: 0 auto;
  }

  .features-grid,
  .screenshots-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

  .privacy-grid,
  .privacy-subcards,
  .privacy-subgrid-2,
  .privacy-meta-header {
    grid-template-columns: 1fr;
  }

  .providers-inner {
    flex-direction: column;
    text-align: center;
    justify-content: center;
  }

  .providers-badges {
    justify-content: center;
  }
}

@media (max-width: 860px) {
  .nav-links-desktop {
    display: none;
  }

  .mobile-menu-btn {
    display: inline-flex;
  }
}

@media (max-width: 640px) {
  .container {
    padding: 0 16px;
  }

  .navbar {
    padding: 10px 0;
  }

  .nav-inner {
    gap: 10px;
  }

  .brand {
    gap: 10px;
    font-size: 1.05rem;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 9px;
  }

  .brand-sub {
    font-size: 0.65rem;
  }

  .nav-actions {
    gap: 8px;
  }

  /* Keep header compact on mobile by hiding desktop lang switcher (it's accessible in the mobile drawer) */
  .nav-actions .lang-switcher {
    display: none;
  }

  .hero {
    padding: 30px 0 46px;
  }

  .eyebrow-badge {
    font-size: 0.72rem;
    padding: 5px 12px;
    margin-bottom: 16px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 7.8vw, 2.35rem);
    line-height: 1.15;
    margin-bottom: 16px;
  }

  .hero-lead {
    font-size: 0.98rem;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    margin-bottom: 26px;
  }

  .hero-cta-group .btn-google-play,
  .cta-banner .btn-google-play {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 13px 20px;
  }

  /* Hero stats responsive wrap */
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    padding-top: 18px;
  }

  .stat-card {
    padding: 10px 6px;
    text-align: center;
  }

  .stat-value {
    font-size: 0.98rem;
  }

  .stat-label {
    font-size: 0.68rem;
    line-height: 1.25;
  }

  /* Mobile Interactive 3-Phone Stage */
  .hero-visual {
    min-height: auto;
    margin-top: 6px;
  }

  .phone-tabs-mobile {
    display: flex;
  }

  .phone-hint-mobile {
    display: flex;
  }

  .phone-stage {
    width: 100%;
    max-width: 330px;
    height: clamp(315px, 86vw, 395px);
    margin: 0 auto;
  }

  .phone-mockup {
    border-radius: 20px;
    padding: 5px;
  }

  .phone-mockup img {
    border-radius: 15px;
  }

  .phone-center {
    width: 58%;
    max-width: 195px;
    left: 50%;
    top: 6px;
    transform: translateX(-50%);
  }

  .phone-left {
    width: 48%;
    max-width: 160px;
    left: 2%;
    top: 36px;
    transform: rotate(-6deg);
  }

  .phone-right {
    width: 48%;
    max-width: 160px;
    right: 2%;
    top: 36px;
    transform: rotate(6deg);
  }

  /* State when left phone is selected on mobile */
  .phone-stage.focus-left .phone-left {
    z-index: 5;
    left: 50%;
    transform: translateX(-50%) scale(1.04);
    opacity: 1;
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.3);
  }
  .phone-stage.focus-left .phone-center {
    z-index: 2;
    left: 2%;
    transform: rotate(-6deg);
    opacity: 0.85;
  }
  .phone-stage.focus-left .phone-right {
    z-index: 2;
    right: 2%;
    transform: rotate(6deg);
    opacity: 0.85;
  }

  /* State when right phone is selected on mobile */
  .phone-stage.focus-right .phone-right {
    z-index: 5;
    left: 50%;
    right: auto;
    transform: translateX(-50%) scale(1.04);
    opacity: 1;
    border-color: rgba(56, 189, 248, 0.7);
    box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.9), 0 0 35px rgba(56, 189, 248, 0.3);
  }
  .phone-stage.focus-right .phone-center {
    z-index: 2;
    left: 2%;
    transform: rotate(-6deg);
    opacity: 0.85;
  }
  .phone-stage.focus-right .phone-left {
    z-index: 2;
    left: auto;
    right: 2%;
    transform: rotate(6deg);
    opacity: 0.85;
  }

  /* Providers 2x2 Grid on Mobile */
  .providers-strip {
    padding: 16px 0;
  }

  .providers-label {
    font-size: 0.78rem;
  }

  .providers-badges {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
    width: 100%;
  }

  .provider-pill {
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.82rem;
  }

  /* Sections & Cards */
  .section {
    padding: 52px 0;
  }

  .section-header {
    margin-bottom: 32px;
  }

  .section-header h2 {
    font-size: clamp(1.5rem, 6vw, 1.95rem);
  }

  .section-header p {
    font-size: 0.94rem;
  }

  .features-grid,
  .screenshots-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .feature-card {
    padding: 22px 18px;
    border-radius: 20px;
  }

  .feature-icon {
    width: 46px;
    height: 46px;
    margin-bottom: 16px;
  }

  .feature-card h3 {
    font-size: 1.18rem;
  }

  /* Centered Mobile Phone Frame inside Screenshot Cards */
  .screen-card {
    padding: 16px 14px;
    border-radius: 20px;
    text-align: center;
  }

  .screen-frame {
    max-width: 245px;
    max-height: 400px;
    margin: 0 auto 16px;
  }

  .screen-tag {
    align-self: center;
  }

  /* Privacy Policy Mobile Layout */
  .privacy-container {
    padding: 20px 14px;
    border-radius: 22px;
  }

  .privacy-meta-header {
    padding: 14px 14px;
    gap: 10px;
  }

  .privacy-top-bar {
    padding-bottom: 16px;
    margin-bottom: 18px;
  }

  .privacy-pill {
    font-size: 0.74rem;
    padding: 5px 10px;
    width: 100%;
    justify-content: flex-start;
  }

  .privacy-quick-jump {
    padding: 12px 14px;
    margin-bottom: 22px;
  }

  .privacy-jump-pills {
    gap: 6px;
  }

  .privacy-jump-link {
    font-size: 0.74rem;
    padding: 5px 9px;
  }

  .privacy-block {
    padding: 18px 14px;
  }

  .privacy-block h4 {
    font-size: 0.98rem;
    align-items: flex-start;
  }

  .privacy-subcard {
    padding: 14px 12px;
  }

  .privacy-console-box {
    padding: 16px 14px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
  }

  .privacy-actions-row {
    flex-direction: column;
    width: 100%;
  }

  .privacy-actions-row .btn {
    width: 100%;
    justify-content: center;
  }

  .cta-banner {
    padding: 34px 18px;
    border-radius: 22px;
  }

  .footer {
    padding: 30px 0 22px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 8px;
    text-align: left;
  }
}

@media (max-width: 370px) {
  .brand-sub {
    display: none;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .providers-badges {
    grid-template-columns: 1fr;
  }

  .phone-stage {
    max-width: 290px;
    height: 290px;
  }
}

@media print {
  .navbar,
  .hero,
  .providers-strip,
  #features,
  #screenshots,
  .privacy-quick-jump,
  .privacy-console-box,
  .cta-banner,
  .footer,
  .lightbox,
  .back-to-top {
    display: none !important;
  }

  body,
  .privacy-container,
  .privacy-block,
  .privacy-subcard {
    background: #ffffff !important;
    color: #000000 !important;
    box-shadow: none !important;
  }
}
