/* PeptideKit — premium dark site */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Geist:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg-0: #05060F;
  --bg-1: #0B0E1F;
  --bg-2: #0E1230;
  --ink: #FFFFFF;
  --ink-70: rgba(255, 255, 255, 0.72);
  --ink-50: rgba(255, 255, 255, 0.52);
  --ink-30: rgba(255, 255, 255, 0.30);
  --ink-12: rgba(255, 255, 255, 0.12);
  --ink-08: rgba(255, 255, 255, 0.08);
  --ink-04: rgba(255, 255, 255, 0.04);
  --blue: #3B82F6;
  --cyan: #00D9FF;
  --violet: #6D28D9;
  --violet-2: #8B5CF6;
  --grad-text: linear-gradient(100deg, #8B5CF6 0%, #3B82F6 45%, #00D9FF 100%);
  --grad-glow: radial-gradient(60% 60% at 50% 40%, rgba(109,40,217,0.55) 0%, rgba(59,130,246,0.35) 35%, rgba(0,217,255,0.12) 65%, transparent 80%);
}

* { box-sizing: border-box; -webkit-font-smoothing: antialiased; }
html, body { margin: 0; padding: 0; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg-0);
  color: var(--ink);
  line-height: 1.55;
  letter-spacing: -0.005em;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; color: inherit; }

/* Site-wide ambient background */
.site-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(140% 70% at 50% -10%, rgba(109,40,217,0.30) 0%, rgba(59,130,246,0.10) 30%, transparent 55%),
    radial-gradient(80% 50% at 90% 30%, rgba(0,217,255,0.10) 0%, transparent 60%),
    linear-gradient(180deg, #05060F 0%, #07091A 40%, #0B0E1F 100%);
}
.site-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 3px 3px;
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
}

/* Grain */
.grain {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.05;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
}

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

/* Display type — Geist for headlines */
.display {
  font-family: 'Geist', 'Inter', sans-serif;
  font-weight: 700;
  letter-spacing: -0.035em;
  line-height: 1.02;
  text-wrap: balance;
}
.eyebrow {
  font-family: 'Geist', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--ink-70);
}
.gradient-text {
  background: var(--grad-text);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

/* Glass surface */
.glass {
  background: linear-gradient(180deg, rgba(255,255,255,0.045) 0%, rgba(255,255,255,0.02) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(18px) saturate(140%);
  -webkit-backdrop-filter: blur(18px) saturate(140%);
  border-radius: 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  font-weight: 600;
  font-size: 14px;
  border-radius: 999px;
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: #fff;
  color: #0B0E1F;
  box-shadow: 0 10px 30px rgba(255,255,255,0.10);
}
.btn-primary:hover { box-shadow: 0 14px 40px rgba(255,255,255,0.18); }
.btn-ghost {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.10);
  color: var(--ink);
}
.btn-ghost:hover { background: rgba(255,255,255,0.08); }

/* Apple App Store badge */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 18px;
  background: #000;
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 14px;
  color: #fff;
  transition: transform 200ms ease, border-color 200ms ease;
}
.app-store-badge:hover { transform: translateY(-1px); border-color: rgba(255,255,255,0.4); }
.app-store-badge .badge-sub { font-size: 10px; letter-spacing: 0.08em; opacity: 0.8; line-height: 1; }
.app-store-badge .badge-main { font-family: 'Geist', sans-serif; font-size: 19px; font-weight: 600; line-height: 1.1; letter-spacing: -0.02em; }

/* Phone wrapper with rim glow */
.phone-glow {
  position: relative;
  display: inline-block;
}
.phone-glow::before {
  content: '';
  position: absolute;
  inset: -10% -8% -4%;
  background: radial-gradient(50% 45% at 50% 65%, rgba(0,217,255,0.40) 0%, rgba(59,130,246,0.25) 30%, transparent 70%);
  filter: blur(20px);
  z-index: -1;
}

/* Section */
.section { padding: 120px 0; position: relative; }
.section-tight { padding: 80px 0; }

/* Reveal */
.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 700ms cubic-bezier(.2,.7,.2,1), transform 700ms cubic-bezier(.2,.7,.2,1);
}
.reveal.pre {
  opacity: 0;
  transform: translateY(24px);
}

/* Bokeh particles */
.bokeh {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 0;
}
.bokeh span {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0,217,255,0.55), rgba(0,217,255,0) 70%);
  filter: blur(2px);
  animation: float 14s ease-in-out infinite;
  opacity: 0.5;
}
@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); opacity: 0.3; }
  50% { transform: translate(20px, -30px) scale(1.2); opacity: 0.7; }
}

/* Hero phone float */
@keyframes phoneFloat {
  0%, 100% { transform: translateY(0) rotate(-2deg); }
  50% { transform: translateY(-12px) rotate(-2deg); }
}
.phone-float { animation: phoneFloat 7s ease-in-out infinite; }

/* Pulse */
@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: scale(1); }
  50% { opacity: 1; transform: scale(1.04); }
}

/* Scrollbar (subtle) */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.08); border-radius: 999px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.18); }

/* Utility */
.divider-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
}
