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

html {
  scroll-behavior: smooth;
}

:root {
  --bg: #000000;
  --bg-elevated: #0a0a0f;
  --bg-card: #0d1117;
  --bg-card-hover: #151b23;
  --text: #f0f4f8;
  --text-dim: #7d8590;
  --accent: #7DD3FC;
  --accent-2: #1D4ED8;
  --accent-3: #3B82F6;
  --border: rgba(125, 211, 252, 0.1);
  --glow: rgba(125, 211, 252, 0.15);
  --gradient-start: #7DD3FC;
  --gradient-end: #1D4ED8;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Node pattern background */
.node-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.5;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(125, 211, 252, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(29, 78, 216, 0.15) 0%, transparent 40%);
}

.node-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: gridPulse 8s ease-in-out infinite;
}

@keyframes gridPulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* Floating orbs in background */
.node-bg::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  top: 20%;
  left: 10%;
  animation: floatOrb1 20s ease-in-out infinite;
}

@keyframes floatOrb1 {
  0%, 100% { transform: translate(0, 0); }
  25% { transform: translate(100px, 50px); }
  50% { transform: translate(50px, 100px); }
  75% { transform: translate(-50px, 50px); }
}

/* Floating shapes */
.floating-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0.5;
}

.shape-1 {
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(125, 211, 252, 0.08) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  animation: floatSlow 25s ease-in-out infinite;
}

.shape-2 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(29, 78, 216, 0.06) 0%, transparent 70%);
  top: 50%;
  left: -5%;
  animation: floatSlow 30s ease-in-out infinite reverse;
}

.shape-3 {
  width: 150px;
  height: 150px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.05) 0%, transparent 70%);
  bottom: 20%;
  right: 20%;
  animation: floatSlow 20s ease-in-out infinite 5s;
}


@keyframes floatSlow {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -20px); }
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(5, 5, 8, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  transition: all 0.3s;
}

.logo img {
  height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
  margin-left: 4rem;
}

.logo:hover {
  text-decoration: none;
  transform: scale(1.03);
  filter: brightness(1.1);
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
}

nav ul a {
  color: var(--text-dim);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s;
  position: relative;
  padding: 0.5rem 0;
}

nav ul a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  transition: all 0.3s;
  transform: translateX(-50%);
  border-radius: 1px;
}

nav ul a:hover, nav ul a.active {
  color: var(--text);
  text-decoration: none;
}

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

/* Language Selector */
.lang-picker {
  display: flex;
  align-items: center;
}

.lang-select {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: var(--text-dim);
  font-size: 0.8rem;
  padding: 0.35rem 0.5rem;
  cursor: pointer;
  font-family: inherit;
  transition: border-color 0.2s;
}

.lang-select:hover {
  border-color: var(--accent);
  color: var(--text);
}

.lang-select:focus {
  outline: none;
  border-color: var(--accent);
}

.lang-select option {
  background: var(--bg);
  color: var(--text);
}

/* Hero - Asymmetric */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 8rem 5rem 5rem;
  gap: 4rem;
}

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

.hero-label {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.2);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  animation: fadeSlideUp 0.6s ease-out;
}

/* Hero animations */
@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.hero h1 {
  animation: fadeSlideUp 0.6s ease-out 0.1s both;
}

.hero p {
  animation: fadeSlideUp 0.6s ease-out 0.2s both;
}

.hero-buttons {
  animation: fadeSlideUp 0.6s ease-out 0.3s both;
}

.hero-visual {
  animation: fadeSlideRight 0.8s ease-out 0.4s both;
}

.hero h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.15rem;
  color: var(--text-dim);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: #fff;
  font-weight: 600;
  border: none;
  box-shadow: 0 4px 15px rgba(29, 78, 216, 0.3);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #93E0FD 0%, #2563EB 100%);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(29, 78, 216, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}

.btn-ghost:hover {
  background: var(--bg-card);
  border-color: rgba(255,255,255,0.1);
  text-decoration: none;
}

/* Hero Visual - Screenshot container */
.hero-visual {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  overflow: visible;
}

/* Legacy app-window - keeping for reference */
.app-window {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.05),
    0 20px 50px -10px rgba(0,0,0,0.5),
    0 0 80px -30px var(--glow);
}

.app-titlebar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: rgba(0,0,0,0.3);
  border-bottom: 1px solid var(--border);
}

.app-titlebar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #333;
}

.app-titlebar span:nth-child(1) { background: #ff5f57; }
.app-titlebar span:nth-child(2) { background: #febc2e; }
.app-titlebar span:nth-child(3) { background: #28c840; }

.app-content {
  padding: 1.5rem;
  min-height: 320px;
  position: relative;
  overflow: hidden;
}

/* Mock wallet nodes */
.mock-node {
  position: absolute;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0.6rem 0.8rem;
  font-size: 0.75rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  z-index: 2;
}

.mock-node .chain {
  display: inline-block;
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}

.mock-node .label {
  font-weight: 600;
  font-size: 0.7rem;
  margin-bottom: 0.15rem;
}

.mock-node .addr {
  color: var(--text-dim);
  font-family: monospace;
  font-size: 0.6rem;
}

.node-1 { top: 30px; left: 20px; animation: nodeFloat 5s ease-in-out infinite; }
.node-1 .chain { background: #627EEA; }

.node-2 { top: 40px; right: 20px; animation: nodeFloat 5s ease-in-out infinite 1s; }
.node-2 .chain { background: #00FFA3; color: #000; }

.node-3 { bottom: 80px; left: 30px; animation: nodeFloat 5s ease-in-out infinite 2s; }
.node-3 .chain { background: #6FE4C6; color: #000; }

.node-4 { bottom: 40px; right: 40px; animation: nodeFloat 5s ease-in-out infinite 0.5s; }
.node-4 .chain { background: #4DA2FF; }

@keyframes nodeFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* SVG Connection paths */
.mock-connections {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.connection-path {
  fill: none;
  stroke: var(--accent);
  stroke-width: 2;
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawPath 2s ease-out forwards, pathGlow 3s ease-in-out infinite 2s;
}

.connection-path.delay {
  animation: drawPath 2s ease-out 0.5s forwards, pathGlow 3s ease-in-out infinite 2.5s;
}

@keyframes drawPath {
  to { stroke-dashoffset: 0; }
}

@keyframes pathGlow {
  0%, 100% { stroke-opacity: 0.6; }
  50% { stroke-opacity: 1; }
}

/* Mock Minimap */
.mock-minimap {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 80px;
  height: 50px;
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.25rem;
}

.minimap-dot {
  position: absolute;
  width: 5px;
  height: 5px;
  border-radius: 50%;
}

.dot-1 { top: 10px; left: 15px; background: #627EEA; }
.dot-2 { top: 25px; right: 20px; background: #00FFA3; }
.dot-3 { bottom: 10px; left: 25px; background: #8247E5; }

.minimap-viewport {
  position: absolute;
  top: 8px;
  left: 10px;
  width: 30px;
  height: 20px;
  border: 1px solid rgba(125, 211, 252, 0.5);
  border-radius: 2px;
  animation: viewportMove 10s ease-in-out infinite;
}

@keyframes viewportMove {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(20px, 8px); }
}

/* Feature Mockups */
.feature-mockup {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  position: relative;
  min-height: 200px;
}

/* Groups Mockup */
.mock-group {
  position: absolute;
  border: 2px dashed rgba(29, 78, 216, 0.4);
  background: rgba(29, 78, 216, 0.05);
  border-radius: 12px;
  z-index: 0;
}

.mock-group-label {
  position: absolute;
  top: -10px;
  left: 12px;
  background: var(--bg-card);
  padding: 0 0.5rem;
  font-size: 0.65rem;
  font-weight: 600;
  color: #3B82F6;
}

.mock-group.group-1 {
  top: 20px;
  left: 10px;
  width: 160px;
  height: 230px;
  animation: groupFade 4s ease-in-out infinite;
}

@keyframes groupFade {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* Mini nodes for mockups */
.mini-node {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.4rem 0.6rem;
  font-size: 0.65rem;
  z-index: 2;
}

.mini-node .chain-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  margin-right: 0.3rem;
  vertical-align: middle;
}

/* Connection SVG in bento cards */
.connection-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.animated-path {
  stroke-dasharray: 200;
  stroke-dashoffset: 200;
  animation: drawLine 2s ease-out forwards, pulseLine 2s ease-in-out infinite 2s;
}

@keyframes drawLine {
  to { stroke-dashoffset: 0; }
}

@keyframes pulseLine {
  0%, 100% { stroke-opacity: 0.7; }
  50% { stroke-opacity: 1; }
}

/* Connections Mockup */
.mock-connection {
  position: absolute;
  height: 2px;
  background: var(--accent);
  transform-origin: left center;
}

.mock-connection::after {
  content: attr(data-label);
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.6rem;
  color: var(--text-dim);
  white-space: nowrap;
}

/* Export Mockup */
.export-formats {
  display: flex;
  gap: 0.5rem;
}

.export-format {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 0.5rem 0.8rem;
  font-size: 0.7rem;
  transition: all 0.3s;
  cursor: default;
}

.export-format:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.export-format.encrypted {
  background: rgba(125, 211, 252, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.3);
  color: var(--accent);
}


/* Portfolio Mockup - Pie Chart */
.portfolio-total {
  text-align: center;
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.mock-pie {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: conic-gradient(
    #627EEA 0deg 140deg,
    #00FFA3 140deg 200deg,
    #8247E5 200deg 260deg,
    #28A0F0 260deg 300deg,
    #F7931A 300deg 360deg
  );
  margin: 0 auto;
  position: relative;
}

.mock-pie::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: var(--bg-elevated);
  border-radius: 50%;
}

.mock-pie-legend {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1rem;
}

.mock-pie-item {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.65rem;
  color: var(--text-dim);
}

.mock-pie-item span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
}

/* Tags Mockup */
.mock-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}

.mock-tag {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
  transition: transform 0.2s;
  cursor: default;
}

.mock-tag:hover {
  transform: scale(1.1);
}

.mock-tag.exchange { background: rgba(59, 130, 246, 0.2); color: #60A5FA; }
.mock-tag.cold { background: rgba(59, 130, 246, 0.2); color: #3b82f6; }
.mock-tag.defi { background: rgba(29, 78, 216, 0.2); color: #3B82F6; }
.mock-tag.whale { background: rgba(6, 182, 212, 0.2); color: #06b6d4; }
.mock-tag.team { background: rgba(20, 184, 166, 0.2); color: #14b8a6; }
.mock-tag.treasury { background: rgba(234, 179, 8, 0.2); color: #eab308; }

/* Wallet card mockup with details */
.mock-wallet-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1rem;
  max-width: 200px;
}

.mock-wallet-card .header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.mock-wallet-card .chain-badge {
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 700;
}

.mock-wallet-card .name {
  font-weight: 600;
  font-size: 0.85rem;
}

.mock-wallet-card .address {
  font-family: monospace;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.mock-wallet-card .balance {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
}

/* Use case cards - expanded */
.usecase-card .subtitle {
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.usecase-card ul {
  list-style: none;
  margin-top: 1rem;
}

.usecase-card li {
  color: var(--text-dim);
  font-size: 0.85rem;
  padding-left: 1rem;
  position: relative;
  margin-bottom: 0.5rem;
}

.usecase-card li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5rem;
  width: 4px;
  height: 4px;
  background: var(--accent);
  border-radius: 50%;
}

/* Bento Grid */
.bento-section {
  padding: 6rem 5rem;
}

.section-header {
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.5rem;
}

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

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}

.bento-grid.symmetric {
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
}

.bento-grid.symmetric .bento-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 200px;
}

.card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(125, 211, 252, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  flex-shrink: 0;
}

.card-icon svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

.bento-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.bento-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(255,255,255,0.1);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.bento-card.large {
  grid-column: span 2;
}

.bento-card.tall {
  grid-row: span 2;
}

.bento-card .icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.bento-card .icon.cyan { background: rgba(125, 211, 252, 0.15); }
.bento-card .icon.purple { background: rgba(29, 78, 216, 0.15); }
.bento-card .icon.orange { background: rgba(59, 130, 246, 0.15); }
.bento-card .icon.green { background: rgba(34, 197, 94, 0.15); }
.bento-card .icon.blue { background: rgba(59, 130, 246, 0.15); }
.bento-card .icon.pink { background: rgba(236, 72, 153, 0.15); }

.bento-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.bento-card p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Chain Pills in Bento Card */
.chain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.chain-pill {
  padding: 0.4rem 0.75rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #fff;
  transition: transform 0.2s;
  cursor: default;
}

.chain-pill:hover {
  transform: scale(1.05);
}

/* Lock Visual */
.lock-visual {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(125, 211, 252, 0.05);
  border: 1px solid rgba(125, 211, 252, 0.1);
  border-radius: 12px;
}

.lock-icon {
  position: relative;
  width: 24px;
  height: 32px;
}

.lock-body {
  position: absolute;
  bottom: 0;
  width: 24px;
  height: 18px;
  background: var(--accent);
  border-radius: 4px;
}

.lock-shackle {
  position: absolute;
  top: 0;
  left: 4px;
  width: 16px;
  height: 14px;
  border: 3px solid var(--accent);
  border-bottom: none;
  border-radius: 8px 8px 0 0;
}

.lock-status {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
}

/* Stats Row */
.stats-row {
  display: flex;
  gap: 3rem;
  margin-top: 1.5rem;
}

.stat {
  text-align: center;
}

.stat .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--accent);
}

.stat .label {
  font-size: 0.8rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
}

/* How It Works */
.how-section {
  padding: 6rem 5rem;
  background: var(--bg-elevated);
}

.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.step {
  text-align: center;
  position: relative;
}

.step::after {
  content: '';
  position: absolute;
  top: 2rem;
  right: -1rem;
  width: 2rem;
  height: 2px;
  background: linear-gradient(90deg, var(--border), transparent);
}

.step:last-child::after {
  display: none;
}

.step-number {
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--accent);
  margin: 0 auto 1.25rem;
  transition: all 0.2s;
}

.step:hover .step-number {
  border-color: var(--accent);
  transform: scale(1.05);
}

.step h4 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
}

.step p {
  font-size: 0.9rem;
  color: var(--text-dim);
}

/* Use Cases - Grid Layout */
.usecases-section {
  padding: 6rem 5rem;
}

.usecase-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.usecase-card {
  background: linear-gradient(135deg, var(--bg-card) 0%, var(--bg-elevated) 100%);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.usecase-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.usecase-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.usecase-card p {
  color: var(--text-dim);
  font-size: 0.9rem;
  line-height: 1.6;
}

/* CTA Section */
.cta-section {
  padding: 8rem 5rem;
  text-align: center;
  position: relative;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--glow) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

.cta-section h2 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  position: relative;
}

.cta-section p {
  color: var(--text-dim);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  position: relative;
}

/* Footer */
footer {
  padding: 3rem 5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

footer .links {
  display: flex;
  gap: 2rem;
}

footer a {
  color: var(--text-dim);
  font-size: 0.9rem;
  transition: all 0.3s;
  position: relative;
}

footer a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent);
  transition: width 0.3s;
}

footer a:hover {
  color: var(--accent);
  text-decoration: none;
}

footer a:hover::after {
  width: 100%;
}

footer .copy {
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Page Header */
.page-header {
  padding: 10rem 5rem 4rem;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.page-header p {
  color: var(--text-dim);
  font-size: 1.15rem;
  max-width: 500px;
}

/* Download Cards */
.download-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  padding: 0 5rem 6rem;
}

.download-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.download-card:hover {
  border-color: var(--accent);
  transform: translateY(-4px);
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
}

.download-card .os-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.download-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.download-card .version {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

/* Docs Layout */
.docs-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 4rem;
  padding: 2rem 5rem 6rem;
  min-height: 60vh;
}

.docs-sidebar {
  position: sticky;
  top: 100px;
  height: fit-content;
}

.docs-sidebar ul {
  list-style: none;
}

.docs-sidebar li {
  margin-bottom: 0.25rem;
}

.docs-sidebar a {
  display: block;
  padding: 0.6rem 1rem;
  color: var(--text-dim);
  font-size: 0.9rem;
  border-radius: 8px;
  transition: all 0.2s;
}

.docs-sidebar a:hover {
  color: var(--text);
  background: var(--bg-card);
  text-decoration: none;
}

.docs-sidebar a.active {
  color: var(--accent);
  background: rgba(125, 211, 252, 0.1);
}

.docs-content {
  max-width: 720px;
}

.docs-content h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin: 3rem 0 1rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  letter-spacing: -0.01em;
}

.docs-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.docs-content p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.docs-content strong {
  color: var(--text);
}

.docs-content code {
  background: var(--bg-card);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--accent);
}


/* Responsive */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 8rem 3rem 4rem;
    text-align: center;
  }

  .hero-content {
    margin: 0 auto;
  }

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

  .hero-visual {
    max-width: 500px;
    margin: 2rem auto 0;
  }

  .hero-visual .app-frame-content.cropped {
    max-height: 280px;
  }

  .hero-visual .app-frame-content.cropped img {
    height: 280px;
  }

  .bento-section, .how-section, .cta-section {
    padding: 4rem 3rem;
  }

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

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

  .bento-grid.symmetric .bento-card {
    min-height: 180px;
  }

  .bento-card.large, .bento-card.tall {
    grid-column: span 1;
    grid-row: span 1;
  }

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

  .step::after {
    display: none;
  }
}

@media (max-width: 1200px) {
  .usecase-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  nav {
    padding: 0.75rem 1rem;
  }

  nav ul {
    gap: 1rem;
  }

  nav ul a {
    font-size: 0.8rem;
  }

  .logo img {
    height: 60px;
    margin: -0.5rem 0 -1rem 0;
  }

  .hero {
    padding: 6rem 1.5rem 3rem;
    min-height: auto;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-label {
    font-size: 0.7rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-buttons {
    flex-direction: column;
    gap: 0.75rem;
  }

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

  .hero-visual {
    display: block;
    max-width: 100%;
    margin: 2rem 0 0;
  }

  .hero-visual .app-frame-content.cropped {
    max-height: 200px;
  }

  .hero-visual .app-frame-content.cropped img {
    height: 200px;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

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

  .bento-section, .how-section, .usecases-section, .cta-section {
    padding: 3rem 1.25rem;
  }

  .bento-grid.symmetric {
    grid-template-columns: 1fr;
  }

  .bento-grid.symmetric .bento-card {
    min-height: auto;
  }

  .bento-card {
    padding: 1.5rem;
    border-radius: 16px;
  }

  .bento-card h3 {
    font-size: 1.1rem;
  }

  .bento-card p {
    font-size: 0.9rem;
  }

  .usecase-track {
    grid-template-columns: 1fr;
  }

  .usecase-card {
    padding: 1.5rem;
  }

  .usecase-card h4 {
    font-size: 1.05rem;
  }

  .steps {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .step-number {
    width: 3rem;
    height: 3rem;
    font-size: 1rem;
  }

  .download-grid {
    grid-template-columns: 1fr;
    padding: 0 1.25rem 4rem;
  }

  .download-card {
    padding: 1.5rem;
  }

  .page-header {
    padding: 7rem 1.25rem 2rem;
  }

  .page-header h1 {
    font-size: 2rem;
  }

  .page-header p {
    font-size: 1rem;
  }

  .docs-layout {
    grid-template-columns: 1fr;
    padding: 1rem 1.25rem 4rem;
    gap: 2rem;
  }

  .docs-sidebar {
    position: static;
    border-bottom: 1px solid var(--border);
    padding-bottom: 1.5rem;
    margin-bottom: 1rem;
  }

  .docs-sidebar ul {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  .docs-sidebar a {
    padding: 0.4rem 0.75rem;
    font-size: 0.8rem;
  }

  .docs-content h2 {
    font-size: 1.4rem;
    margin: 2rem 0 0.75rem;
    padding-top: 1.5rem;
  }

  .docs-content p {
    font-size: 0.9rem;
  }

  .cta-section h2 {
    font-size: 2rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  footer {
    flex-direction: column;
    gap: 1rem;
    padding: 2rem 1.25rem;
    text-align: center;
  }

  footer .links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  .chain-pills {
    gap: 0.4rem;
  }

  .chain-pill {
    padding: 0.3rem 0.6rem;
    font-size: 0.65rem;
  }

  .stats-row {
    gap: 2rem;
  }

  .stat .number {
    font-size: 1.5rem;
  }

  .feature-image-section {
    padding: 0 1rem;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  nav {
    padding: 0.5rem 0.75rem;
  }

  nav ul {
    gap: 0.75rem;
  }

  nav ul a {
    font-size: 0.75rem;
  }

  .logo img {
    height: 50px;
    margin: -0.25rem 0 -0.75rem 0;
  }

  .hero {
    padding: 5.5rem 1rem 2rem;
  }

  .hero h1 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
  }

  .btn {
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }

  .bento-section, .how-section, .usecases-section, .cta-section {
    padding: 2.5rem 1rem;
  }

  .section-header {
    margin-bottom: 2rem;
  }

  .section-header h2 {
    font-size: 1.5rem;
  }

  .bento-card, .usecase-card, .download-card {
    padding: 1.25rem;
    border-radius: 14px;
  }

  .page-header {
    padding: 6rem 1rem 1.5rem;
  }

  .page-header h1 {
    font-size: 1.75rem;
  }

  .cta-section h2 {
    font-size: 1.75rem;
  }

  .download-grid, .docs-layout {
    padding-left: 1rem;
    padding-right: 1rem;
  }

  footer {
    padding: 1.5rem 1rem;
    gap: 0.75rem;
  }

  footer .links {
    gap: 0.6rem 1rem;
  }

  footer .links a {
    font-size: 0.8rem;
  }

  footer p {
    font-size: 0.8rem !important;
  }
}

/* ===== Screenshot Styles ===== */

/* App Window Frame - macOS style chrome */
.app-frame {
  background: #1a1a1f;
  border-radius: 12px;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.08),
    0 25px 60px rgba(0,0,0,0.6),
    0 0 80px rgba(125, 211, 252, 0.08);
}

.app-frame-titlebar {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: linear-gradient(180deg, #2a2a30 0%, #1f1f24 100%);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.app-frame-titlebar span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
}

.app-frame-titlebar span:nth-child(1) { background: #ff5f57; }
.app-frame-titlebar span:nth-child(2) { background: #febc2e; }
.app-frame-titlebar span:nth-child(3) { background: #28c840; }

.app-frame-content {
  position: relative;
  overflow: hidden;
}

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

/* Snowfall Animation */
.snowfall {
  position: absolute;
  inset: -100px;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}

.snow {
  position: absolute;
  color: rgba(255, 255, 255, 0.5);
  font-size: 12px;
  animation: fall linear infinite;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.3);
}

.snow::before {
  content: '❄';
}

.snow:nth-child(1) { left: 3%; animation-duration: 10s; animation-delay: -2s; font-size: 14px; }
.snow:nth-child(2) { left: 8%; animation-duration: 12s; animation-delay: -8s; font-size: 10px; }
.snow:nth-child(3) { left: 13%; animation-duration: 8s; animation-delay: -4s; font-size: 18px; }
.snow:nth-child(4) { left: 18%; animation-duration: 14s; animation-delay: -10s; font-size: 12px; }
.snow:nth-child(5) { left: 23%; animation-duration: 9s; animation-delay: -6s; font-size: 16px; }
.snow:nth-child(6) { left: 28%; animation-duration: 11s; animation-delay: -3s; font-size: 10px; }
.snow:nth-child(7) { left: 33%; animation-duration: 13s; animation-delay: -9s; font-size: 20px; }
.snow:nth-child(8) { left: 38%; animation-duration: 7s; animation-delay: -5s; font-size: 14px; }
.snow:nth-child(9) { left: 43%; animation-duration: 10s; animation-delay: -1s; font-size: 12px; }
.snow:nth-child(10) { left: 48%; animation-duration: 12s; animation-delay: -7s; font-size: 10px; }
.snow:nth-child(11) { left: 53%; animation-duration: 9s; animation-delay: -4s; font-size: 22px; }
.snow:nth-child(12) { left: 58%; animation-duration: 11s; animation-delay: -8s; font-size: 14px; }
.snow:nth-child(13) { left: 63%; animation-duration: 8s; animation-delay: -2s; font-size: 16px; }
.snow:nth-child(14) { left: 68%; animation-duration: 14s; animation-delay: -11s; font-size: 10px; }
.snow:nth-child(15) { left: 73%; animation-duration: 10s; animation-delay: -6s; font-size: 18px; }
.snow:nth-child(16) { left: 78%; animation-duration: 12s; animation-delay: -3s; font-size: 12px; }
.snow:nth-child(17) { left: 83%; animation-duration: 9s; animation-delay: -7s; font-size: 14px; }
.snow:nth-child(18) { left: 88%; animation-duration: 11s; animation-delay: -5s; font-size: 10px; }
.snow:nth-child(19) { left: 93%; animation-duration: 13s; animation-delay: -9s; font-size: 16px; }
.snow:nth-child(20) { left: 97%; animation-duration: 8s; animation-delay: -1s; font-size: 12px; }
.snow:nth-child(21) { left: 11%; animation-duration: 15s; animation-delay: -12s; font-size: 20px; }
.snow:nth-child(22) { left: 31%; animation-duration: 10s; animation-delay: -4s; font-size: 10px; }
.snow:nth-child(23) { left: 51%; animation-duration: 12s; animation-delay: -10s; font-size: 24px; }
.snow:nth-child(24) { left: 71%; animation-duration: 9s; animation-delay: -6s; font-size: 14px; }
.snow:nth-child(25) { left: 91%; animation-duration: 11s; animation-delay: -2s; font-size: 12px; }

@keyframes fall {
  0% {
    transform: translateY(-20px) translateX(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(700px) translateX(30px);
    opacity: 0;
  }
}

/* Hero Video - Branded */
.hero-video-branded {
  position: relative;
  z-index: 1;
  animation: heroFloat 6s ease-in-out infinite;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  border-radius: 16px;
}

.hero-video-branded::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 18px;
  opacity: 0.5;
  filter: blur(20px);
  z-index: -1;
}

.hero-video-branded video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 13px;
  background: var(--bg);
}

/* Legacy hero-video for backwards compat */
.hero-video {
  position: relative;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 0 0 8px 8px;
}

/* Feature hero image with effects */
.feature-hero-image {
  max-width: 900px;
  margin: 2rem auto 0;
  position: relative;
  padding: 3px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 50%, var(--accent-3) 100%);
  border-radius: 16px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-hero-image::before {
  content: '';
  position: absolute;
  inset: -4px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 20px;
  opacity: 0.4;
  filter: blur(25px);
  z-index: -1;
  transition: opacity 0.3s ease;
}

.feature-hero-image:hover {
  transform: translateY(-4px);
}

.feature-hero-image:hover::before {
  opacity: 0.6;
}

.feature-hero-image img {
  width: 100%;
  display: block;
  border-radius: 13px;
  background: var(--bg);
}

@media (max-width: 768px) {
  .feature-hero-image {
    max-width: 100%;
    margin: 1.5rem auto 0;
    border-radius: 12px;
  }

  .feature-hero-image img {
    border-radius: 10px;
  }
}

.hero-video .app-frame {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 30px 80px rgba(0,0,0,0.7),
    0 0 100px rgba(125, 211, 252, 0.12);
}

/* Hero Screenshot - Main hero with floating animation */
.hero-screenshot {
  position: relative;
  animation: heroFloat 6s ease-in-out infinite;
}

.hero-screenshot .app-frame {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.1),
    0 30px 80px rgba(0,0,0,0.7),
    0 0 100px rgba(125, 211, 252, 0.12),
    inset 0 1px 0 rgba(255,255,255,0.05);
}

/* Gradient fade at bottom edge */
.hero-screenshot .app-frame-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(to top, #1a1a1f 0%, transparent 100%);
  pointer-events: none;
}

@keyframes heroFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(0.5deg); }
}

/* Feature Screenshots - For features page */
.feature-screenshot {
  margin: 2rem 0;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.feature-screenshot .app-frame {
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06),
    0 20px 50px rgba(0,0,0,0.5);
}

.feature-screenshot:hover {
  transform: translateY(-6px) scale(1.01);
}

.feature-screenshot:hover .app-frame {
  box-shadow:
    0 0 0 1px rgba(125, 211, 252, 0.3),
    0 30px 70px rgba(0,0,0,0.6),
    0 0 40px rgba(125, 211, 252, 0.1);
}

/* Cropped screenshot - shows portion of image */
.app-frame-content.cropped {
  max-height: 340px;
  overflow: hidden;
}

.app-frame-content.cropped img {
  object-fit: cover;
  object-position: top center;
  height: 340px;
}

.app-frame-content.cropped-center img {
  object-position: center center;
}

.app-frame-content.cropped-tall {
  max-height: 450px;
}

.app-frame-content.cropped-tall img {
  height: 450px;
}

/* Feature image section */
.feature-image-section {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 2rem;
}

.feature-image-section .feature-screenshot {
  margin: 3rem 0;
}

/* Inline screenshot in bento cards - smaller, subtle */
.bento-card .card-screenshot {
  margin-top: 1.25rem;
  border-radius: 8px;
  overflow: hidden;
  background: #0f0f12;
  border: 1px solid rgba(255,255,255,0.08);
  position: relative;
}

.bento-card .card-screenshot img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.85;
  transition: opacity 0.3s, transform 0.3s;
}

.bento-card:hover .card-screenshot img {
  opacity: 1;
  transform: scale(1.02);
}

/* Gradient overlay for card screenshots */
.bento-card .card-screenshot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 50%,
    rgba(10, 10, 15, 0.8) 100%
  );
  pointer-events: none;
}

/* Use case card images - prominent but contained */
.usecase-card .usecase-image {
  margin: 1.25rem 0;
  border-radius: 10px;
  overflow: hidden;
  background: #0a0a0f;
  border: 1px solid rgba(255,255,255,0.06);
  position: relative;
}

.usecase-card .usecase-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  object-position: center;
  display: block;
  opacity: 0.75;
  transition: opacity 0.4s ease, transform 0.4s ease;
  filter: saturate(0.9);
}

.usecase-card:hover .usecase-image img {
  opacity: 0.95;
  transform: scale(1.03);
  filter: saturate(1);
}

/* Vignette effect */
.usecase-card .usecase-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(10, 10, 15, 0.6) 100%
  );
  pointer-events: none;
  z-index: 1;
}

/* Bottom fade */
.usecase-card .usecase-image::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 50%;
  background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

/* Pricing Section */
.pricing-section {
  padding: 2rem 5rem 4rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 800px;
  margin: 0 auto;
}

.pricing-grid.three-col {
  grid-template-columns: repeat(3, 1fr);
  max-width: 1100px;
}

.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
}

.pricing-card .pricing-features {
  flex: 1;
}

.pricing-card > .btn {
  margin-top: auto;
}

.pricing-card:hover {
  border-color: rgba(255,255,255,0.15);
  transform: translateY(-4px);
}

.pricing-card.featured {
  border-color: var(--accent);
  background: linear-gradient(135deg, var(--bg-card) 0%, rgba(125, 211, 252, 0.05) 100%);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--gradient-start) 0%, var(--gradient-end) 100%);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 100px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.pricing-header h3 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.pricing-subtitle {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 0.5rem;
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.6rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: 0.9rem;
  color: var(--text-dim);
}

.pricing-features li.included::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #22c55e;
  font-weight: 600;
}

.pricing-features li.excluded {
  opacity: 0.4;
}

.pricing-features li.excluded::before {
  content: '—';
  position: absolute;
  left: 0;
  color: var(--text-dim);
}

.pricing-note {
  text-align: center;
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-top: 2rem;
}

@media (max-width: 1024px) {
  .pricing-grid.three-col {
    grid-template-columns: repeat(2, 1fr);
    max-width: 700px;
  }

  .pricing-grid.three-col .pricing-card:last-child {
    grid-column: 1 / -1;
    max-width: 340px;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  .pricing-section {
    padding: 2rem 1.25rem;
  }

  .pricing-grid,
  .pricing-grid.three-col {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    max-width: 400px;
  }

  .pricing-grid.three-col .pricing-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .pricing-card {
    padding: 2rem;
  }

  .pricing-price {
    font-size: 2.5rem;
  }
}

/* FAQ Section */
.faq-section {
  padding: 2rem 5rem 6rem;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(125, 211, 252, 0.3);
  background: var(--bg-card-hover);
}

.faq-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
  color: var(--text);
}

.faq-item p {
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 0.5rem;
}

.faq-item p:last-child {
  margin-bottom: 0;
}

.faq-item code {
  background: rgba(125, 211, 252, 0.1);
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--accent);
}

@media (max-width: 768px) {
  .faq-section {
    padding: 1.5rem 1.25rem 4rem;
  }

  .faq-item {
    padding: 1.5rem;
    border-radius: 14px;
  }

  .faq-item h3 {
    font-size: 1rem;
  }

  .faq-item p {
    font-size: 0.9rem;
  }
}

/* Docs screenshots */
.docs-screenshot {
  margin: 1.5rem 0;
  border-radius: 10px;
  overflow: hidden;
  background: #0f0f12;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 8px 30px rgba(0,0,0,0.4);
}

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

.docs-screenshot.small {
  max-width: 80px;
  border-radius: 8px;
}

.docs-screenshot.small img {
  height: auto;
}

.docs-screenshot.medium {
  max-width: 600px;
}

.docs-screenshot.medium img {
  max-height: 350px;
  object-fit: cover;
  object-position: top left;
}

.docs-screenshot.large {
  max-width: 800px;
}

.docs-screenshot.large img {
  max-height: none;
  object-fit: contain;
}

/* Screenshot grid */
.screenshot-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin: 2rem 0;
}

.screenshot-grid .feature-screenshot {
  margin: 0;
}

@media (max-width: 768px) {
  .screenshot-grid {
    grid-template-columns: 1fr;
  }

  .hero-screenshot {
    margin: 0 -0.5rem;
  }

  .hero-screenshot .app-frame {
    border-radius: 10px;
  }

  .bento-card .card-screenshot img {
    height: 120px;
  }

  .usecase-card .usecase-image img {
    height: 150px;
  }
}

/* Legal Page */
.legal-section {
  padding: 2rem 5rem 6rem;
}

.legal-container {
  max-width: 800px;
  margin: 0 auto;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 3rem;
}

.legal-container h2 {
  font-size: 1.75rem;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  color: var(--text);
}

.legal-container h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 2rem 0 0.75rem;
  color: var(--text);
}

.legal-container p {
  color: var(--text-dim);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-container ul {
  color: var(--text-dim);
  margin: 0.5rem 0 1rem 1.5rem;
  line-height: 1.8;
}

.legal-container li {
  margin-bottom: 0.5rem;
}

.legal-container code {
  background: rgba(125, 211, 252, 0.1);
  padding: 0.15rem 0.4rem;
  border-radius: 4px;
  font-size: 0.85rem;
  color: var(--accent);
}

.legal-container strong {
  color: var(--text);
}

@media (max-width: 768px) {
  .legal-section {
    padding: 1.5rem 1.25rem 4rem;
  }

  .legal-container {
    padding: 1.5rem;
    border-radius: 14px;
  }

  .legal-container h2 {
    font-size: 1.4rem;
  }

  .legal-container h3 {
    font-size: 1rem;
  }
}

/* 404 Page */
.error-section {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 2rem;
}

.error-content {
  text-align: center;
}

.error-content h1 {
  font-size: 8rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: 1rem;
}

.error-content .error-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 0.5rem;
}

.error-content .error-message {
  color: var(--text-dim);
  font-size: 1rem;
}

/* Changelog Page */
.changelog-section {
  padding: 2rem 5rem 4rem;
}

.changelog-container {
  max-width: 800px;
  margin: 0 auto;
}

.changelog-entry {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

.changelog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.changelog-version {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text);
}

.changelog-date {
  color: var(--text-dim);
  font-size: 0.9rem;
}

.changelog-tag {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.changelog-tag.tag-initial {
  background: rgba(34, 197, 94, 0.15);
  color: #22c55e;
}

.changelog-tag.tag-feature {
  background: rgba(59, 130, 246, 0.15);
  color: #3b82f6;
}

.changelog-tag.tag-fix {
  background: rgba(249, 115, 22, 0.15);
  color: #f97316;
}

.changelog-tag.tag-security {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
}

.changelog-body h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text);
  margin: 1.25rem 0 0.5rem;
}

.changelog-body h4:first-child {
  margin-top: 0;
}

.changelog-body p {
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.changelog-body ul {
  color: var(--text-dim);
  margin: 0 0 1rem 1.5rem;
  line-height: 1.8;
}

.changelog-body li {
  margin-bottom: 0.25rem;
}

@media (max-width: 768px) {
  .error-content h1 {
    font-size: 5rem;
  }

  .changelog-section {
    padding: 1.5rem 1.25rem 3rem;
  }

  .changelog-entry {
    padding: 1.5rem;
    border-radius: 14px;
  }

  .changelog-version {
    font-size: 1.1rem;
  }
}
