/* ===========================
   MPT Landing — Bold Athletic
   Colors from app_colors.dart
   =========================== */

:root {
  /* App palette (lib/core/presentation/theme/app_colors.dart) */
  --bg: #0F172A;             /* darkBackground — Slate 900 */
  --surface: #1E293B;        /* darkSurface — Slate 800 */
  --surface-hl: #334155;     /* darkSurfaceHighlight — Slate 700 */

  --primary: #3B82F6;        /* primary — Blue 500 */
  --accent: #6366F1;         /* accent — Indigo 500 */
  --green: #10B981;          /* success — Emerald 500 */
  --error: #F43F5E;          /* error — Rose 500 */
  --warning: #F59E0B;        /* warning — Amber 500 */

  --border: #334155;         /* darkBorder — Slate 700 */
  --border-subtle: rgba(255, 255, 255, 0.05);

  --text: #FFFFFF;           /* darkTextPrimary */
  --text-secondary: #94A3B8; /* darkTextSecondary — Slate 400 */
  --text-muted: #64748B;     /* darkTextTertiary — Slate 500 */
  --text-dim: #475569;       /* Slate 600 */

  --radius-card: 16px;       /* AppLayout.cardRadius */
  --radius-lg: 32px;
  --radius-xl: 48px;
  --radius-pill: 100px;

  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

::selection {
  background: var(--primary);
  color: white;
}

/* ===========================
   Container
   =========================== */

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

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

@media (min-width: 1024px) {
  .container { padding: 0 32px; }
}

/* ===========================
   Floating Logo
   =========================== */

.floating-logo {
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  z-index: 110;
  top: 180px;
  width: 320px;
  height: 320px;
  pointer-events: none;
  cursor: pointer;
  text-decoration: none;
  will-change: top, width, height, left, transform;
  filter: drop-shadow(0 12px 40px rgba(59, 130, 246, 0.3));
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floating-logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  flex-shrink: 0;
}

.floating-logo-name {
  position: absolute;
  bottom: -88px;
  white-space: nowrap;
  font-size: clamp(2.4rem, 5vw, 3.2rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  color: white;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 0 60px rgba(59, 130, 246, 0.3);
  transition: opacity 0.1s;
}

@media (max-width: 640px) {
  .floating-logo-name {
    font-size: clamp(1.4rem, 5vw, 2rem);
    bottom: -52px;
  }
}

/* ===========================
   Navigation
   =========================== */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 20px 0;
  transition: all 0.3s;
}

.nav-scrolled {
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

@media (min-width: 640px) { .nav-container { padding: 0 24px; } }
@media (min-width: 1024px) { .nav-container { padding: 0 32px; } }

.nav-left {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-left a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  transition: color 0.2s;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 2px;
  background: rgba(255,255,255,0.06);
  border-radius: 6px;
  padding: 2px;
  border: 1px solid var(--border);
}

.lang-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 4px 8px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  font-family: inherit;
}

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

.lang-btn.active {
  background: var(--primary);
  color: white;
}

.nav-left a:hover {
  color: var(--primary);
}

.nav-logo-slot {
  width: 80px;
}

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

.nav-cta {
  background: var(--primary);
  color: white;
  padding: 8px 24px;
  border-radius: var(--radius-pill);
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
  transition: all 0.2s;
}

.nav-cta:hover {
  filter: brightness(1.1);
  box-shadow: 0 6px 24px rgba(59, 130, 246, 0.35);
}

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  flex-direction: column;
  gap: 5px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: white;
  border-radius: 2px;
  transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Nav mobile fullscreen overlay */
.nav-links {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.nav-links.open {
  opacity: 1;
  visibility: visible;
}

.nav-links-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.nav-links-logo-link {
  display: block;
  margin-bottom: 8px;
  opacity: 0;
  transform: translateY(16px) scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav-links.open .nav-links-logo-link {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.nav-links-logo-link:hover {
  filter: brightness(1.15);
}

.nav-links-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 4px 20px rgba(59, 130, 246, 0.3));
}

.nav-links-inner > a:not(.nav-links-logo-link) {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 1.3rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: none;
  box-shadow: none;
  padding: 0;
  border-radius: 0;
  transition: color 0.2s, transform 0.3s ease, opacity 0.3s ease;
  transform: translateY(16px);
  opacity: 0;
}

.nav-links.open .nav-links-inner > a:not(.nav-links-logo-link) {
  transform: translateY(0);
  opacity: 1;
}

/* Stagger: child 1=logo-link, child 2=first link, child 3=second link, child 4=CTA */
.nav-links.open .nav-links-inner > a:nth-child(2) { transition-delay: 0.08s; }
.nav-links.open .nav-links-inner > a:nth-child(3) { transition-delay: 0.14s; }
.nav-links.open .nav-links-inner > a:nth-child(4) { transition-delay: 0.20s; }

/* Reset delays on close for instant hide */
.nav-links-inner > a:not(.nav-links-logo-link) { transition-delay: 0s; }

.nav-links-inner > a:not(.nav-links-logo-link):hover {
  color: var(--primary);
}

.nav-links-inner > a:not(.nav-links-logo-link).nav-cta {
  margin-top: 8px;
  text-align: center;
  padding: 16px 48px;
  border-radius: var(--radius-pill);
  display: inline-block;
  font-size: 1.1rem;
  background: var(--primary);
  color: white;
  box-shadow: 0 4px 16px rgba(59, 130, 246, 0.25);
}

.nav-links-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 24px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s ease 0.26s, transform 0.3s ease 0.26s;
}

.nav-links.open .nav-links-footer {
  opacity: 1;
  transform: translateY(0);
}

.nav-links-footer .nav-social-link {
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-links-footer .nav-social-link:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .nav-left { display: none; }
  .nav-right { display: none; }
  .nav-logo-slot { display: none; }
  .nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
  }
  .nav-toggle { display: flex; }
}

@media (min-width: 769px) {
  .nav-links { display: none !important; }
}

/* Toggle sits above overlay */
.nav-toggle {
  position: relative;
  z-index: 210;
}

/* ===========================
   Hero
   =========================== */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 0 0 80px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (min-width: 768px) {
  .hero { padding: 0 0 80px; }
}

.hero-logo-space {
  height: 460px;
  margin-bottom: 24px;
}

@media (max-width: 768px) {
  .hero-logo-space {
    height: 360px;
    margin-bottom: 16px;
  }
}

.hero-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  max-width: 800px;
  height: 600px;
  background: rgba(59, 130, 246, 0.1);
  filter: blur(120px);
  border-radius: 50%;
  z-index: 0;
}

.hero-glow-secondary {
  position: absolute;
  bottom: 0;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.06);
  filter: blur(100px);
  border-radius: 50%;
  z-index: 0;
}

.hero-center {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

.hero-title {
  font-size: clamp(1.8rem, 5vw, 3.2rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
  color: white;
  max-width: 100%;
  overflow-wrap: break-word;
  word-break: break-word;
}

.text-gradient {
  background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.hero-subtitle {
  max-width: 640px;
  width: 100%;
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 40px;
}

.hero-subtitle strong {
  color: var(--text);
  font-weight: 600;
}

/* ===========================
   Store Buttons
   =========================== */

.store-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 64px;
}

@media (min-width: 640px) {
  .store-buttons { flex-direction: row; }
}

.store-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 24px;
  border-radius: var(--radius-card);
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: var(--surface);
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.store-btn:hover {
  background: #253349;
  border-color: var(--primary);
}

.store-btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  border-color: var(--border) !important;
  background: rgba(15, 23, 42, 0.5) !important;
}

.store-btn-disabled:hover {
  background: rgba(15, 23, 42, 0.5) !important;
  border-color: var(--border) !important;
}

.store-btn-icon {
  color: var(--text-muted);
  display: flex;
  align-items: center;
}

.store-btn-icon-active {
  color: var(--primary);
}

.store-btn-text {
  text-align: left;
}

.store-btn-label {
  display: block;
  font-size: 0.6rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  line-height: 1;
}

.store-btn-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
}

/* ===========================
   App Screenshot
   =========================== */

.screenshot-wrapper {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

.screenshot-glow {
  position: absolute;
  inset: -60px;
  background: rgba(59, 130, 246, 0.12);
  filter: blur(100px);
  border-radius: 40px;
  opacity: 0.7;
}

.screenshot {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 40px 80px rgba(0, 0, 0, 0.4),
    0 16px 40px rgba(0, 0, 0, 0.2);
}

.screenshot img {
  width: 100%;
  height: auto;
  display: block;
}

.screenshot-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: linear-gradient(
    to bottom,
    transparent 0%,
    rgba(15, 23, 42, 0.4) 40%,
    rgba(15, 23, 42, 0.85) 70%,
    var(--bg) 100%
  );
  z-index: 2;
  pointer-events: none;
  border-radius: 0 0 16px 16px;
}

.screenshot-reflection {
  position: relative;
  transform: scaleY(-1);
  margin-top: -2px;
  overflow: hidden;
  max-height: 150px;
  border-radius: 16px;
  pointer-events: none;
}

.screenshot-reflection img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.35;
  mask-image: linear-gradient(to bottom, white 0%, transparent 80%);
  -webkit-mask-image: linear-gradient(to bottom, white 0%, transparent 80%);
}

/* ===========================
   Features / Ventajas
   =========================== */

.features {
  padding: 96px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

@media (min-width: 768px) {
  .features-grid { grid-template-columns: repeat(3, 1fr); }
}

.feature-card {
  padding: 32px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  border: 1px solid var(--border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(59, 130, 246, 0.5);
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15), 0 0 24px rgba(59, 130, 246, 0.1);
}

/* Accent card — same style, subtle blue border glow */
.feature-card-accent {
  border-color: rgba(59, 130, 246, 0.3);
}

.feature-card-accent p {
  color: var(--text-secondary);
}

.feature-card-accent:hover {
  box-shadow: 0 16px 48px rgba(59, 130, 246, 0.15), 0 0 24px rgba(59, 130, 246, 0.1);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
}

.feature-icon-green {
  background: rgba(16, 185, 129, 0.1);
  color: var(--green);
}

.feature-icon-white {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

.feature-icon-blue {
  background: rgba(59, 130, 246, 0.1);
  color: var(--primary);
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.feature-card p {
  color: var(--text-secondary);
  font-size: 0.925rem;
  line-height: 1.75;
}

/* ===========================
   Privacy
   =========================== */

.privacy {
  padding: 96px 0;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.privacy-glow {
  position: absolute;
  top: 50%;
  left: -100px;
  transform: translateY(-50%);
  width: 300px;
  height: 300px;
  background: rgba(99, 102, 241, 0.1);
  filter: blur(100px);
  border-radius: 50%;
}

.privacy-card {
  position: relative;
  z-index: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 48px;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
  .privacy-card {
    flex-direction: row;
    align-items: center;
    padding: 64px;
  }
}

.privacy-text {
  flex: 1;
}

.privacy-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 24px;
}

.privacy-text h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.privacy-text > p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  line-height: 1.75;
  margin-bottom: 32px;
}

.privacy-text > p strong {
  color: var(--text);
}

.privacy-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.privacy-stat {
  background: var(--bg);
  padding: 10px 12px;
  border-radius: var(--radius-card);
  border: 1px solid var(--border);
  text-align: center;
  min-height: 56px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.privacy-stat-value {
  display: block;
  font-size: 0.95rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 2px;
}

.color-green { color: var(--green); }
.color-primary { color: var(--primary); }

.privacy-stat-label {
  display: block;
  font-size: 0.5rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.privacy-visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.shield-circle {
  width: 256px;
  height: 256px;
  background: linear-gradient(135deg, var(--surface), var(--bg));
  border-radius: 50%;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
}

.shield-ring {
  position: absolute;
  inset: 16px;
  border: 2px dashed var(--border);
  border-radius: 50%;
  animation: spin 20s linear infinite;
}

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* ===========================
   CTA
   =========================== */

.cta {
  padding: 96px 0;
}

.cta-card {
  background: var(--primary);
  border-radius: 56px;
  padding: 48px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.2);
}

@media (min-width: 768px) {
  .cta-card { padding: 96px; }
}

.cta-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.2), transparent);
}

.cta-content {
  position: relative;
  z-index: 1;
}

.cta-content h2 {
  font-size: clamp(3rem, 10vw, 6.25rem);
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: -0.05em;
  line-height: 0.95;
  margin-bottom: 32px;
  color: white;
}

.cta-content > p {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  font-weight: 700;
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  max-width: 560px;
  margin: 0 auto 48px;
  line-height: 1.5;
}

.cta-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

@media (min-width: 640px) {
  .cta-actions { flex-direction: row; }
}

.cta-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: white;
  color: var(--primary);
  padding: 20px 48px;
  border-radius: var(--radius-card);
  font-size: 1.15rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
  transition: all 0.2s;
}

.cta-btn-primary:hover {
  background: #f1f5f9;
  transform: scale(1.02);
}

.cta-btn-primary:active {
  transform: scale(0.98);
}

.cta-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: rgba(0, 0, 0, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: rgba(255, 255, 255, 0.5);
  padding: 20px 48px;
  border-radius: var(--radius-card);
  font-size: 1.15rem;
  font-weight: 900;
  font-style: italic;
  text-transform: uppercase;
}

/* ===========================
   Footer
   =========================== */

.footer {
  padding: 48px 0;
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
}

.footer-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (min-width: 768px) {
  .footer-left {
    flex-direction: row;
    gap: 32px;
    align-items: center;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-logo-img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.footer-brand span {
  font-size: 1.25rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: -0.05em;
  color: white;
}

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

.footer-links a {
  color: var(--text-dim);
  text-decoration: none;
  font-size: 0.65rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--primary);
}

.nav-social-link {
  color: var(--text-dim);
  display: flex;
  align-items: center;
  margin-left: 8px;
  transition: color 0.2s;
}

.nav-social-link:hover {
  color: var(--primary);
}

.footer-tagline {
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-family: monospace;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  opacity: 0.85;
}

/* ===========================
   Reveal Animations
   =========================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   Scrollbar
   =========================== */

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--surface-hl);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-muted);
}

/* ===========================
   Responsive Fixes
   =========================== */

@media (max-width: 640px) {
  .hero {
    min-height: 100vh;
    min-height: 100dvh;
    padding: 0 0 40px;
  }

  .hero-logo-space {
    height: 330px;
  }

  .hero-badge {
    white-space: normal;
    text-align: center;
    max-width: 90vw;
  }

  .hero-title {
    font-size: clamp(1.6rem, 8vw, 2.4rem);
    line-height: 1.05;
  }

  .hero-subtitle {
    font-size: 0.95rem;
    padding: 0 8px;
  }

  .store-buttons {
    width: 100%;
    margin-bottom: 56px;
  }

  .store-btn {
    width: 100%;
    justify-content: center;
  }

  .features,
  .privacy,
  .cta {
    padding: 64px 0;
  }

  .privacy-card {
    border-radius: var(--radius-lg);
    padding: 24px;
  }

  .shield-circle {
    width: 180px;
    height: 180px;
  }

  .shield-circle svg {
    width: 56px;
    height: 56px;
  }

  .cta-card {
    border-radius: var(--radius-lg);
    padding: 40px 20px;
  }

  .cta-btn-primary,
  .cta-btn-secondary {
    padding: 16px 32px;
    font-size: 1rem;
    width: 100%;
    justify-content: center;
  }
}
