/* ===================================================
   VISULO   App Landing Page Stylesheet
   Design: Premium dark theme with purple/indigo accents
   =================================================== */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
  /* Colors */
  --bg-primary: #02060b;
  --bg-secondary: #050714;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-hover: rgba(255, 255, 255, 0.07);
  --bg-glass: rgba(2, 6, 11, 0.75);
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-glass: rgba(255, 255, 255, 0.1);

  --text-primary: #f0f0f5;
  --text-secondary: #8b8b9e;
  --text-tertiary: #5a5a70;

  --accent-purple: #8b5cf6;
  --accent-indigo: #6366f1;
  --accent-blue: #3b82f6;
  --accent-cyan: #22d3ee;
  --accent-green: #22c55e;
  --accent-pink: #ec4899;
  --accent-orange: #f97316;

  --gradient-hero: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #3b82f6 100%);
  --gradient-purple: linear-gradient(135deg, #8b5cf6, #6366f1);
  --gradient-blue: linear-gradient(135deg, #6366f1, #3b82f6);
  --gradient-warm: linear-gradient(135deg, #f97316, #ec4899);

  /* Spacing */
  --section-padding: 120px 0;
  --container-width: 1200px;
  --container-padding: 0 24px;

  /* Typography */
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-mono: 'JetBrains Mono', 'SF Mono', 'Fira Code', monospace;

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-glow-purple: 0 0 80px rgba(139, 92, 246, 0.15);
  --shadow-glow-blue: 0 0 80px rgba(59, 130, 246, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);

  /* Transitions */
  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-spring: 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  background-image:
    radial-gradient(circle 650px at 0% 0%, #144c6b 0%, #0f3e5a 15%, #0b2f4a 40%, rgba(8, 31, 54, 0.8) 65%, rgba(5, 12, 22, 0.3) 85%, transparent 100%),
    radial-gradient(circle 650px at 100% 100%, #144c6b 0%, #0f3e5a 15%, #0b2f4a 40%, rgba(8, 31, 54, 0.8) 65%, rgba(5, 12, 22, 0.3) 85%, transparent 100%);
  background-attachment: fixed;
  background-repeat: no-repeat;
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

/* --- Container --- */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: var(--container-padding);
}

/* --- Section Base --- */
.section {
  padding: var(--section-padding);
  position: relative;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--accent-purple);
  margin-bottom: 16px;
}

.section-tag::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gradient-hero);
  border-radius: 1px;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}

.section-title .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 540px;
  line-height: 1.8;
}

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}


/* ===================================================
   NAVIGATION
   =================================================== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 16px 0;
  transition: all var(--transition-smooth);
}

.navbar.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.nav-logo-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--transition-fast);
  position: relative;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-hero);
  border-radius: 1px;
  transition: width var(--transition-smooth);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #007AFF;
  color: white;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  border: none;
  cursor: pointer;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 30px rgba(0, 122, 255, 0.35);
}

.nav-cta svg {
  width: 18px;
  height: 18px;
}

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

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.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);
}


/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

/* Global animated background gradients */
.global-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

#particleCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  /* Do not block clicking other HTML elements */
}

.global-bg .orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0;
  animation: orbFloat 20s ease-in-out infinite;
}

.global-bg .orb-1 {
  width: 600px;
  height: 600px;
  background: var(--accent-purple);
  top: -200px;
  right: -100px;
  animation-delay: 0s;
}

.global-bg .orb-2 {
  width: 400px;
  height: 400px;
  background: var(--accent-blue);
  bottom: -100px;
  left: -100px;
  animation-delay: -7s;
}

.global-bg .orb-3 {
  width: 300px;
  height: 300px;
  background: var(--accent-indigo);
  top: 40%;
  left: 40%;
  animation-delay: -14s;
}

@keyframes orbFloat {

  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }

  25% {
    transform: translate(30px, -40px) scale(1.05);
  }

  50% {
    transform: translate(-20px, 20px) scale(0.95);
  }

  75% {
    transform: translate(40px, 30px) scale(1.02);
  }
}

/* Noise texture overlay */
.global-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}

.hero .container {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 80px;
}

.hero-content {
  flex: 1;
  max-width: 560px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(139, 92, 246, 0.12);
  border: 1px solid rgba(139, 92, 246, 0.2);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-purple);
  margin-bottom: 28px;
}

.hero-badge .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.5;
    transform: scale(0.8);
  }
}

/* Hero branding */
.hero-branding {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
}

.hero-app-logo {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.hero-app-name {
  font-size: 1.75rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero-title .gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 40px;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: #007AFF;
  color: white;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 122, 255, 0.4);
}

.btn-primary svg {
  width: 20px;
  height: 20px;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: transparent;
  color: var(--text-primary);
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-glass);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Hero phone mockup */
.hero-visual {
  flex: 0 0 auto;
  position: relative;
}

.phone-mockup {
  position: relative;
  width: 330px;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.5));
}

.phone-mockup.large {
  width: 370px;
}

.phone-frame {
  position: relative;
  background: transparent;
}

.phone-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Glow behind phone */
.phone-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 20%;
  left: 0;
  background: radial-gradient(ellipse at center, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
  filter: blur(40px);
  z-index: -1;
}

/* Hero stats row */
.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 48px;
  padding-top: 32px;
}

.hero-stat {
  text-align: left;
}

.hero-stat-value {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text-primary);
}

.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  margin-top: 2px;
}


/* ===================================================
   FEATURE SECTIONS
   =================================================== */
.features-section {
  padding: var(--section-padding);
  position: relative;
}

/* Alternating feature blocks */
.feature-block {
  display: flex;
  align-items: center;
  gap: 80px;
  margin-bottom: 140px;
}

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

.feature-block.reverse {
  flex-direction: row-reverse;
}

.feature-text {
  flex: 1;
}

.feature-visual {
  flex: 0 0 auto;
  position: relative;
}

/* Feature pills / badges */
.feature-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 32px;
}

.feature-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

.feature-pill:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass);
  color: var(--text-primary);
}

.feature-pill .pill-icon {
  font-size: 0.85rem;
}

.feature-divider {
  display: none;
}


/* ===================================================
   TOPICS GRID
   =================================================== */
.topics-section {
  padding: var(--section-padding);
  text-align: center;
}

.topics-section .section-desc {
  margin: 0 auto 60px;
  text-align: center;
}

.topics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  max-width: 900px;
  margin: 0 auto;
}

.topic-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 32px 20px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
  cursor: default;
}

.topic-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass);
  transform: translateY(-4px);
  box-shadow: var(--shadow-card);
}

.topic-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.topic-icon.ds {
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-cyan);
}

.topic-icon.algo {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-orange);
}

.topic-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.topic-card p {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.topic-badge {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--radius-full);
}

.topic-badge.ds-badge {
  background: rgba(34, 211, 238, 0.1);
  color: var(--accent-cyan);
}

.topic-badge.algo-badge {
  background: rgba(249, 115, 22, 0.1);
  color: var(--accent-orange);
}


/* ===================================================
   HOW IT WORKS
   =================================================== */
.how-section {
  padding: var(--section-padding);
  text-align: center;
  position: relative;
}

.how-section .section-desc {
  margin: 0 auto 72px;
  text-align: center;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1000px;
  margin: 0 auto;
  position: relative;
}



.step-card {
  position: relative;
  z-index: 1;
  text-align: center;
  padding: 0 8px;
}

.step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: 800;
  margin: 0 auto 20px;
  position: relative;
}

.step-number.step-1 {
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border: 2px solid rgba(139, 92, 246, 0.3);
}

.step-number.step-2 {
  background: rgba(99, 102, 241, 0.15);
  color: var(--accent-indigo);
  border: 2px solid rgba(99, 102, 241, 0.3);
}

.step-number.step-3 {
  background: rgba(59, 130, 246, 0.15);
  color: var(--accent-blue);
  border: 2px solid rgba(59, 130, 246, 0.3);
}

.step-number.step-4 {
  background: rgba(34, 197, 94, 0.15);
  color: var(--accent-green);
  border: 2px solid rgba(34, 197, 94, 0.3);
}

.step-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
}


/* ===================================================
   PRIVACY POLICY
   =================================================== */
.privacy-section {
  padding: var(--section-padding);
  position: relative;
}

.privacy-section .container {
  max-width: 900px;
}

.privacy-header {
  text-align: center;
  margin-bottom: 64px;
}

.privacy-header .section-desc {
  margin: 0 auto;
  text-align: center;
}

.privacy-shield {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(34, 197, 94, 0.1);
  border: 2px solid rgba(34, 197, 94, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin: 0 auto 24px;
}

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

.privacy-card {
  padding: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}

.privacy-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass);
}

.privacy-card-icon {
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.privacy-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.privacy-card p {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.privacy-compliance {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.compliance-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(34, 197, 94, 0.08);
  border: 1px solid rgba(34, 197, 94, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent-green);
}


/* ===================================================
   ABOUT / FOOTER
   =================================================== */
.about-section {
  padding: 80px 0 40px;
  border-top: 1px solid var(--border-subtle);
}

.about-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.about-dev {
  display: flex;
  align-items: center;
  gap: 20px;
}

.about-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gradient-hero);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
  overflow: hidden;
}

.about-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-info h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-info p {
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.about-tech {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.tech-tag {
  padding: 6px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.about-socials {
  display: flex;
  gap: 12px;
}

.social-link {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  font-size: 1.1rem;
  transition: all var(--transition-fast);
}

.social-link:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.footer {
  padding: 24px 0;
  border-top: 1px solid var(--border-subtle);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-built {
  font-size: 0.8rem;
  color: var(--text-tertiary);
}

.footer-built span {
  color: var(--accent-purple);
}


/* ===================================================
   SEPARATOR WITH GRADIENT
   =================================================== */
.section-separator {
  display: none;
}


/* ===================================================
   MOBILE NAV DRAWER
   =================================================== */
.mobile-nav {
  display: flex;
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85%;
  height: 100vh;
  background: rgba(3, 6, 11, 0.88);
  backdrop-filter: blur(35px) saturate(190%);
  -webkit-backdrop-filter: blur(35px) saturate(190%);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 999;
  flex-direction: column;
  align-items: stretch;
  padding: 110px 40px;
  gap: 40px;
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s;
}

.mobile-nav.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: all;
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.6);
}

.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 20px;
}

.mobile-nav-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
}

.mobile-nav-title {
  font-size: 1.4rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 28px;
}

.mobile-nav-link {
  font-size: 1.35rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: color var(--transition-fast), transform var(--transition-fast), opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  opacity: 0;
  transform: translateY(15px);
}

.mobile-nav-link:hover {
  color: var(--text-primary);
  transform: translateX(-4px);
}

.mobile-nav-cta {
  align-self: flex-end;
  margin-top: 12px;
  opacity: 0;
  transform: translateY(15px);
  transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow var(--transition-fast), transform var(--transition-fast);
}

/* Staggered load animation for content when drawer slides open */
.mobile-nav.open .mobile-nav-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.open .mobile-nav-cta {
  opacity: 1;
  transform: translateY(0);
}

.mobile-nav.open .mobile-nav-link:nth-child(1) { transition-delay: 0.15s; }
.mobile-nav.open .mobile-nav-link:nth-child(2) { transition-delay: 0.22s; }
.mobile-nav.open .mobile-nav-link:nth-child(3) { transition-delay: 0.29s; }
.mobile-nav.open .mobile-nav-link:nth-child(4) { transition-delay: 0.36s; }
.mobile-nav.open .mobile-nav-cta { transition-delay: 0.43s; }

/* Glowing neon decoration inside drawer */
.mobile-nav-glow {
  position: absolute;
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(0, 122, 255, 0.2) 0%, transparent 70%);
  bottom: -60px;
  left: -60px;
  z-index: -1;
  pointer-events: none;
  filter: blur(50px);
}


/* ===================================================
   APP LOGO SHOWCASE SECTION
   =================================================== */
.logo-showcase-section {
  padding: var(--section-padding);
  text-align: center;
  position: relative;
}

.logo-showcase-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  max-width: 600px;
  margin: 0 auto;
}

.large-showcase-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 15px 40px rgba(0, 122, 255, 0.45));
  animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.large-showcase-title {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 4px;
}

.large-showcase-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  font-weight: 500;
  letter-spacing: -0.01em;
}


/* ===================================================
   RESPONSIVE
   =================================================== */
@media (max-width: 1024px) {
  .hero .container {
    flex-direction: column;
    text-align: center;
  }

  .hero-content {
    max-width: 100%;
  }

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

  .hero-actions {
    justify-content: center;
  }

  .hero-stats {
    justify-content: center;
  }

  .feature-block,
  .feature-block.reverse {
    flex-direction: column;
    text-align: center;
    gap: 48px;
  }

  .feature-text .section-desc {
    margin-left: auto;
    margin-right: auto;
  }

  .feature-pills {
    justify-content: center;
  }

  .phone-mockup {
    width: 280px;
  }

  .phone-mockup.large {
    width: 320px;
  }

  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .steps-grid::before {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 80px 0;
  }

  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-actions {
    flex-direction: column;
    align-items: center;
  }

  .hero-stats {
    flex-direction: column;
    gap: 20px;
    align-items: center;
  }

  .hero-stat {
    text-align: center;
  }

  .feature-block {
    margin-bottom: 80px;
  }

  .phone-mockup {
    width: 250px;
  }

  .phone-mockup.large {
    width: 290px;
  }

  .topics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .privacy-grid {
    grid-template-columns: 1fr;
  }

  .privacy-compliance {
    flex-direction: column;
    align-items: center;
  }

  .steps-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .about-content {
    flex-direction: column;
    text-align: center;
  }

  .about-dev {
    flex-direction: column;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .topics-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }

  .topic-card {
    padding: 24px 12px;
  }

  .hero-badge {
    font-size: 0.7rem;
  }
}

/* SF Symbols (SVG icons) styling */
.sf-symbol {
  width: 1.1em;
  height: 1.1em;
  fill: #ffffff; /* Solid white color */
  vertical-align: middle;
  display: inline-block;
}

.pill-icon svg {
  width: 16px;
  height: 16px;
  fill: #ffffff;
  vertical-align: text-top;
}

/* Adjust size specifically for larger card headers */
.privacy-shield svg {
  width: 48px;
  height: 48px;
  fill: #ffffff;
}

.privacy-card-icon svg {
  width: 32px;
  height: 32px;
  fill: #ffffff;
}

.compliance-badge svg {
  width: 14px;
  height: 14px;
  fill: #ffffff;
  margin-right: 6px;
  display: inline-block;
  vertical-align: middle;
  margin-top: -2px;
}