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

:root {
  --bg: #070709;
  --bg-gradient: radial-gradient(circle at 50% 0%, #151522 0%, #070709 70%);
  --card-bg: rgba(15, 15, 23, 0.7);
  --card-border: rgba(255, 255, 255, 0.05);
  --card-border-hover: rgba(99, 102, 241, 0.35);
  
  --primary: #6366f1;
  --primary-glow: rgba(99, 102, 241, 0.25);
  --primary-gradient: linear-gradient(135deg, #818cf8 0%, #6366f1 100%);
  
  --emerald: #10b981;
  --emerald-glow: rgba(16, 185, 129, 0.2);
  --emerald-gradient: linear-gradient(135deg, #34d399 0%, #10b981 100%);
  
  --amber: #f59e0b;
  --rose: #f43f5e;
  
  --text: #f9fafb;
  --text-muted: #9ca3af;
  --text-dim: #6b7280;
  
  --font-display: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Glow Background Blobs */
.glow-blob {
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  filter: blur(130px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
}

.blob-primary {
  background: var(--primary);
  top: -10%;
  left: 20%;
}

.blob-emerald {
  background: var(--emerald);
  top: 30%;
  right: 10%;
}

.blob-purple {
  background: #a855f7;
  bottom: 10%;
  left: 10%;
}

/* Base Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 1;
}

section {
  padding: 8rem 0;
  position: relative;
}

/* Typography */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

h1 {
  font-size: 3.5rem;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1rem;
  text-align: center;
}

.section-subtitle {
  color: var(--text-muted);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 4rem auto;
  font-size: 1.1rem;
}

p {
  color: var(--text-muted);
}

.gradient-text {
  background: linear-gradient(135deg, #fff 30%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

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

.accent-text-purple {
  background: linear-gradient(135deg, #c084fc 0%, #818cf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Header & Navigation */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background: rgba(7, 7, 9, 0.4);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

.logo-icon {
  background: var(--primary-gradient);
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 15px var(--primary-glow);
  font-size: 1.1rem;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-family: var(--font-display);
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(99, 102, 241, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 4px 30px rgba(99, 102, 241, 0.5);
  transform: translateY(-2px);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border-color: var(--card-border);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

.btn-emerald {
  background: var(--emerald-gradient);
  color: #fff;
  box-shadow: 0 4px 20px rgba(16, 185, 129, 0.3);
}

.btn-emerald:hover {
  box-shadow: 0 4px 30px rgba(16, 185, 129, 0.5);
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  padding-top: 10rem;
  padding-bottom: 5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
}

.hero-content {
  max-width: 650px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
  color: #a5b4fc;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-tagline .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--emerald);
  animation: pulse 2s infinite;
}

.hero-description {
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-ratings {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-top: 1px solid var(--card-border);
  padding-top: 1.5rem;
}

.rating-item {
  display: flex;
  flex-direction: column;
}

.rating-stars {
  color: var(--amber);
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.rating-number {
  font-weight: 700;
  font-size: 1.1rem;
}

.rating-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* Glass Card Component */
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 24px;
  padding: 2.5rem;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.glass-card:hover {
  border-color: var(--card-border-hover);
  box-shadow: 0 10px 40px rgba(99, 102, 241, 0.05);
}

/* Hero Widget: 14-Day Streak Grid */
.hero-widget {
  width: 100%;
}

.widget-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.widget-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.1rem;
  font-weight: 700;
}

.widget-status {
  font-size: 0.8rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-weight: 600;
  border: 1px solid rgba(16, 185, 129, 0.2);
}

/* Streak Grid Board */
.streak-board {
  background: rgba(7, 7, 9, 0.5);
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid var(--card-border);
  margin-bottom: 1.5rem;
}

.streak-grid-labels {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  font-size: 0.7rem;
  color: var(--text-dim);
  padding: 0 0.25rem;
}

.streak-grid {
  display: grid;
  grid-template-rows: repeat(12, 1fr);
  gap: 4px;
  margin-bottom: 1rem;
}

.streak-row {
  display: grid;
  grid-template-columns: 80px repeat(14, 1fr);
  gap: 4px;
  align-items: center;
}

.tester-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.grid-cell {
  aspect-ratio: 1;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
}

.grid-cell:hover {
  transform: scale(1.2);
  z-index: 10;
}

.grid-cell.completed {
  background-color: var(--emerald);
  box-shadow: 0 0 6px rgba(16, 185, 129, 0.4);
}

.grid-cell.missed {
  background-color: var(--rose);
  box-shadow: 0 0 6px rgba(244, 63, 94, 0.4);
}

.grid-cell.warning {
  background-color: var(--amber);
  box-shadow: 0 0 6px rgba(245, 158, 11, 0.4);
}

.grid-cell.inactive {
  background-color: rgba(255, 255, 255, 0.05);
}

.grid-cell.current {
  outline: 1.5px solid var(--primary);
  animation: cellPulse 1.5s infinite alternate;
}

.grid-legend {
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.legend-color {
  width: 10px;
  height: 10px;
  border-radius: 2px;
}

/* Custom Tooltip */
.grid-cell::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 130%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  background: #111827;
  color: #fff;
  padding: 0.4rem 0.8rem;
  border-radius: 6px;
  font-size: 0.7rem;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.5), 0 0 0 1px var(--card-border);
  z-index: 100;
}

.grid-cell:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* Simulation Controls */
.widget-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.sim-btn {
  background: var(--primary-glow);
  color: #c7d2fe;
  border: 1px solid rgba(99, 102, 241, 0.3);
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

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

.days-count {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.days-count span {
  color: var(--emerald);
}

/* Stats Section */
.stats-section {
  padding: 4rem 0;
  border-top: 1px solid var(--card-border);
  border-bottom: 1px solid var(--card-border);
  background: rgba(10, 10, 15, 0.3);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.stat-card h3 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #fff 0%, #a5b4fc 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Problem/Solution Section */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.comparison-card {
  height: 100%;
}

.comparison-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pain-card {
  border-left: 3px solid var(--rose);
}

.gain-card {
  border-left: 3px solid var(--emerald);
  background: radial-gradient(circle at 100% 100%, rgba(16, 185, 129, 0.03) 0%, transparent 60%), var(--card-bg);
}

.comparison-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.comparison-list li i {
  margin-top: 0.25rem;
  font-size: 1rem;
}

.pain-card li i {
  color: var(--rose);
}

.gain-card li i {
  color: var(--emerald);
}

/* Core Mechanics Section */
.mechanics-container {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 4rem;
  align-items: center;
}

.mechanics-menu {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.menu-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  padding: 1.25rem;
  cursor: pointer;
  text-align: left;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--text);
  font-family: inherit;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
}

.menu-item.active {
  background: rgba(99, 102, 241, 0.08);
  border-color: var(--primary);
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.1);
}

.menu-item-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--text-muted);
  transition: var(--transition);
}

.menu-item.active .menu-item-icon {
  background: var(--primary);
  color: #fff;
}

.menu-item-text h4 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  transition: var(--transition);
  color: var(--text);
}

.menu-item.active .menu-item-text h4 {
  color: #fff;
}

.menu-item-text p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.mechanics-tab-content {
  min-height: 450px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.mechanics-tab {
  display: none;
  animation: fadeIn 0.4s ease-out forwards;
}

.mechanics-tab.active {
  display: block;
}

/* Interactive Simulator: Handshake */
.handshake-sim-box {
  background: rgba(7, 7, 9, 0.5);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.handshake-visual {
  display: flex;
  justify-content: space-around;
  align-items: center;
  margin: 2rem 0;
  position: relative;
}

.dev-profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  z-index: 2;
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  position: relative;
  transition: var(--transition);
}

.dev-profile.active .avatar {
  border-color: var(--primary);
  box-shadow: 0 0 20px var(--primary-glow);
}

.dev-profile.active-green .avatar {
  border-color: var(--emerald);
  box-shadow: 0 0 20px var(--emerald-glow);
}

.avatar-badge {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--text-dim);
  border: 2px solid var(--bg);
}

.dev-profile.active .avatar-badge {
  background: var(--primary);
}

.dev-profile.active-green .avatar-badge {
  background: var(--emerald);
}

.app-bubble {
  font-size: 0.7rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  padding: 0.2rem 0.5rem;
  border-radius: 9999px;
  color: var(--text-muted);
}

.handshake-connection {
  flex-grow: 1;
  height: 2px;
  background: rgba(255, 255, 255, 0.05);
  margin: 0 1rem;
  position: relative;
  overflow: hidden;
}

.handshake-line-flow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  transform: translateX(-100%);
}

.handshake-sim-box.connected .handshake-connection {
  background: var(--emerald);
  box-shadow: 0 0 8px var(--emerald-glow);
}

.handshake-sim-box.connected .handshake-line-flow {
  background: linear-gradient(90deg, transparent, var(--emerald), transparent);
  animation: flowLine 2s infinite linear;
  transform: translateX(100%);
}

.handshake-status-text {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  min-height: 27px;
}

.handshake-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
  min-height: 40px;
  max-width: 400px;
  margin: 0 auto 1.5rem auto;
}

/* Interactive Simulator: Trust Score */
.trust-sim-box {
  background: rgba(7, 7, 9, 0.5);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 3rem;
  margin-bottom: 1.5rem;
}

.trust-gauge-container {
  position: relative;
  width: 150px;
  height: 150px;
  flex-shrink: 0;
}

.trust-svg {
  transform: rotate(-90deg);
}

.trust-gauge-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.03);
  stroke-width: 8px;
}

.trust-gauge-fill {
  fill: none;
  stroke: var(--emerald);
  stroke-width: 8px;
  stroke-linecap: round;
  stroke-dasharray: 440;
  stroke-dashoffset: 440;
  transition: stroke-dashoffset 1s ease-out, stroke 0.5s ease;
}

.trust-gauge-value {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.trust-percentage {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
}

.trust-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.trust-details-panel {
  flex-grow: 1;
}

.trust-status-badge {
  display: inline-flex;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  background: rgba(16, 185, 129, 0.1);
  color: var(--emerald);
}

.trust-status-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.trust-status-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.sim-actions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.trust-action-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text);
  padding: 0.5rem;
  font-size: 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
}

.trust-action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn-action-emerald:hover {
  background: rgba(16, 185, 129, 0.1);
  border-color: var(--emerald);
  color: var(--emerald);
}

.btn-action-amber:hover {
  background: rgba(245, 158, 11, 0.1);
  border-color: var(--amber);
  color: var(--amber);
}

.btn-action-rose:hover {
  background: rgba(244, 63, 94, 0.1);
  border-color: var(--rose);
  color: var(--rose);
}

/* Interactive Simulator: Organic Timer */
.timer-sim-box {
  background: rgba(7, 7, 9, 0.5);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

.timer-wheel-container {
  position: relative;
  width: 140px;
  height: 140px;
  margin: 0 auto 1.5rem auto;
}

.timer-number {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
}

.timer-details {
  max-width: 450px;
  margin: 0 auto 1.5rem auto;
}

.timer-status-alert {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--rose);
  background: rgba(244, 63, 94, 0.1);
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  border: 1px solid rgba(244, 63, 94, 0.2);
  margin-bottom: 0.5rem;
  animation: pulse-danger 2s infinite;
}

.timer-status-alert.active {
  color: var(--emerald);
  background: rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
  animation: pulse 2s infinite;
}

.timer-subtext {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.feature-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--primary-glow);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
  border: 1px solid rgba(99, 102, 241, 0.2);
}

.feature-card.green-icon .feature-icon {
  background: var(--emerald-glow);
  color: var(--emerald);
  box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
  border-color: rgba(16, 185, 129, 0.2);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

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

/* Steps / Workflow */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  position: relative;
}

.step-card {
  position: relative;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
  transition: var(--transition);
  z-index: 2;
}

.step-card:hover .step-number {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.step-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
}

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

.steps-line {
  position: absolute;
  top: 18px;
  left: 10%;
  width: 80%;
  height: 1px;
  background: linear-gradient(90deg, var(--card-border) 0%, rgba(99, 102, 241, 0.2) 50%, var(--card-border) 100%);
  z-index: 1;
}

/* Call To Action */
.cta-section {
  padding-bottom: 8rem;
}

.cta-box {
  background: linear-gradient(135deg, rgba(99, 102, 241, 0.05) 0%, rgba(16, 185, 129, 0.03) 100%), var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 32px;
  padding: 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 4rem;
  overflow: hidden;
  position: relative;
}

.cta-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 100% 50%, var(--primary-glow) 0%, transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.cta-content {
  max-width: 600px;
  position: relative;
  z-index: 2;
}

.cta-box h2 {
  text-align: left;
  font-size: 2.75rem;
  margin-bottom: 1rem;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 2.5rem;
}

.cta-visual {
  display: flex;
  align-items: center;
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.qr-code-box {
  background: #fff;
  padding: 1rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  width: 130px;
  height: 130px;
}

.qr-code-box svg {
  width: 100%;
  height: 100%;
}

.cta-download-buttons {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Footer styling */
footer {
  border-top: 1px solid var(--card-border);
  padding: 4rem 0 2rem 0;
  background: rgba(5, 5, 8, 0.8);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 3rem;
  gap: 4rem;
}

.footer-info {
  max-width: 320px;
}

.footer-info p {
  font-size: 0.85rem;
  margin-top: 1rem;
}

.footer-links-col {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-links-col h4 {
  font-size: 0.95rem;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.footer-links-col a {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: var(--transition);
}

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

.footer-bottom {
  border-top: 1px solid var(--card-border);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
}

/* Keyframe Animations */
@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

@keyframes pulse-danger {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.4);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(244, 63, 94, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(244, 63, 94, 0);
  }
}

@keyframes cellPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.4);
  }
  100% {
    box-shadow: 0 0 8px 3px rgba(99, 102, 241, 0.7);
  }
}

@keyframes flowLine {
  0% {
    transform: translateX(-100%);
  }
  100% {
    transform: translateX(100%);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Grid and Adjustments */
@media (max-width: 1024px) {
  h1 {
    font-size: 2.75rem;
  }
  
  .nav-links {
    display: none;
  }
  
  .nav-container {
    padding: 0 1.5rem;
  }
  
  #btnHeaderDownload {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  
  .hero-content {
    max-width: 100%;
    text-align: center;
  }
  
  .hero-tagline, .hero-ctas, .hero-ratings {
    justify-content: center;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .comparison-grid {
    grid-template-columns: 1fr;
  }
  
  .mechanics-container {
    grid-template-columns: 1fr;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .steps-line {
    display: none;
  }
  
  .cta-box {
    flex-direction: column;
    padding: 3rem 2rem;
    text-align: center;
  }
  
  .cta-box h2 {
    text-align: center;
  }
}

@media (max-width: 640px) {
  h1 {
    font-size: 2.25rem;
  }
  
  h2 {
    font-size: 1.75rem;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .trust-sim-box {
    flex-direction: column;
    text-align: center;
    gap: 2rem;
  }
  
  .sim-actions-grid {
    grid-template-columns: 1fr !important;
  }
  
  .footer-grid {
    flex-direction: column;
    gap: 2rem;
  }
}

/* Whitepaper Section & Carousel */
.whitepaper-section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
  background: radial-gradient(circle at 50% 50%, #0d0d16 0%, #070709 100%);
  border-top: 1px solid var(--card-border);
}

.whitepaper-carousel-wrapper {
  position: relative;
  width: 100%;
  margin-top: 2rem;
  overflow: hidden;
  padding: 1rem 0;
}

.whitepaper-carousel {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  gap: 1.5rem;
}

.whitepaper-carousel-card {
  flex: 0 0 calc(25% - 1.125rem);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 20px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: var(--transition);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.whitepaper-carousel-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary-glow);
  box-shadow: 0 15px 40px rgba(99, 102, 241, 0.15);
}

@media (max-width: 1024px) {
  .whitepaper-carousel-card {
    flex: 0 0 calc(50% - 0.75rem);
  }
}

@media (max-width: 640px) {
  .whitepaper-carousel-card {
    flex: 0 0 100%;
  }
}

.carousel-phone-mockup {
  width: 100%;
  max-width: 240px;
  aspect-ratio: 9/19;
  background: #000;
  border: 10px solid #1a1a24;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  position: relative;
  margin-bottom: 1.5rem;
}

.carousel-phone-mockup::before {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 14px;
  background: #1a1a24;
  border-radius: 8px;
  z-index: 10;
}

.carousel-phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.whitepaper-carousel-card:hover .carousel-phone-mockup img {
  transform: scale(1.03);
}

.whitepaper-carousel-info {
  text-align: center;
}

.whitepaper-carousel-info h4 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.whitepaper-carousel-info p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.carousel-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--card-border);
  color: var(--text);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.carousel-btn:hover {
  background: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 0 15px var(--primary-glow);
}

.carousel-indicators {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition);
}

.carousel-dot.active {
  background: var(--primary);
  width: 24px;
  border-radius: 4px;
}

