:root {
  --bg: #000000;
  --card: rgba(255,255,255,0.04);
  --accent: #EDA1A8;
  --accentGlow: rgba(237,161,168,0.6);
  --textPrimary: #ffffff;
  --textSecondary: rgba(255,255,255,0.6);

  --radius-lg: 20px;
  --radius-xl: 28px;

  --space-xs: 8px;
  --space-sm: 16px;
  --space-md: 24px;
  --space-lg: 48px;
  --space-xl: 96px;

  --container: 720px;
  --blur: 18px;

  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --duration: 600ms;
  --bg-offset-y: -50px; /* ⬅️ тут керуєш зсувом вниз */
}

* { box-sizing: border-box; }

html {
  margin: 0;
  background: var(--bg);
}

body {
  margin: 0;
  background: transparent;
  color: var(--textPrimary);
  font-family: -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "SF Pro Display",
    "Inter", system-ui, sans-serif;
  line-height: 1.6;
}

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

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--space-md);
}

/* Glass */
.glass {
  background: var(--card);
  backdrop-filter: blur(var(--blur));
  border-radius: var(--radius-xl);
}

/* Header */
.header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(12px);
  z-index: 10;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-sm) var(--space-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  font-weight: 600;
}

.brand-logo {
  height: 36px;
  border-radius: 8px;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.header:hover .brand-logo {
  transform: scale(1.04);
  opacity: 0.9;
}

/* Hero */
.hero {
  padding-top: 80px;
  padding-bottom: var(--space-xl);
  text-align: center;
}

.hero h1 {
  font-size: 56px;
  letter-spacing: -0.03em;
  line-height: 1;
  margin-bottom: var(--space-sm);
}

.hero-line {
  font-size: 28px;
  padding-top: 150px;
  margin-bottom: var(--space-sm);
}

.hero-line span { color: var(--accent); }

.hero-support {
  color: var(--textSecondary);
  margin-bottom: var(--space-md);
}

/* CTA */
.cta {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
  background: var(--card);
  transition: transform var(--duration) var(--ease),
              box-shadow var(--duration) var(--ease);
}

.cta-small { font-size: 14px; }

.cta-glow {
  animation: glowPulse 3.5s ease-in-out infinite;
}

@keyframes glowPulse {
  0%   { box-shadow: 0 0 0 rgba(0,0,0,0); }
  50%  { box-shadow: 0 0 40px var(--accentGlow); }
  100% { box-shadow: 0 0 0 rgba(0,0,0,0); }
}

.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 56px var(--accentGlow);
}

/* Sections */
.section {
  padding: var(--space-xl) 0;
}

.section h2 {
  display: none;
}

.section p {
  color: var(--textSecondary);
  margin-bottom: var(--space-sm);
}

/* Emotion */
.emotion {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.emotion-inner {
  padding: var(--space-lg);
}

.emotion-line {
  font-size: 20px;
  line-height: 1.5;
  color: var(--textSecondary);
  margin-bottom: 8px;
}

.emotion-strong {
  font-size: 26px;
  line-height: 1.4;
  letter-spacing: -0.015em;
  margin: 16px 0 40px;
}

/* Text */
.text-narrow { max-width: 520px; }

.section-label {
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--textSecondary);
  margin-bottom: 32px;
}

.statement {
  font-size: 32px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
}

.statement.subtle {
  color: rgba(255,255,255,0.75);
}

.body {
  font-size: 17px;
  line-height: 1.65;
  color: var(--textSecondary);
  margin-bottom: 24px;
}

.body-lg {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 28px;
}

/* Steps & Features */
.steps, .features {
  display: grid;
  gap: var(--space-sm);
}

.step, .feature {
  padding: var(--space-md);
}

.step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--accent);
}

/* Notification preview */
.notification-preview {
  display: flex;
  justify-content: center;
}

.notification-preview img {
  width: 100%;
  max-width: 360px;
  aspect-ratio: 2034 / 388;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.6);
}

/* Privacy */
.privacy-list {
  padding: var(--space-md);
  list-style: none;
  margin-bottom: var(--space-md);
}

.privacy-list li {
  margin-bottom: var(--space-xs);
}

/* Final */
.final {
  padding-bottom: var(--space-xl);
}

.final-inner {
  text-align: center;
  padding: var(--space-lg);
}

/* Footer */
.footer {
  padding: var(--space-lg) 0;
  color: var(--textSecondary);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.footer-links {
  display: flex;
  gap: var(--space-sm);
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
  transition: opacity var(--duration) var(--ease),
              transform var(--duration) var(--ease);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
  }
  .cta-glow {
    animation: none;
  }
}

/* Background scene */
.bg-scene {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
}

/* Центрований градієнт */
.bg-glow {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--bg-offset-y));

  width: 520px;
  height: 520px;
  border-radius: 50%;

  background: radial-gradient(
    circle,
    rgba(237,161,168,0.45),
    rgba(237,161,168,0.25) 40%,
    transparent 70%
  );

  transform: translate(-50%, -50%);
  filter: blur(48px);
  will-change: transform;
}

/* Іконка — як була */
.bg-icon {
  position: absolute;
  left: 50%;
  top: calc(50% + var(--bg-offset-y));

  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;

  opacity: 0.35;
  filter: drop-shadow(0 0 18px rgba(237,161,168,0.35));
}

/* Foreground stacking */
header,
main,
footer {
  position: relative;
  z-index: 1;
}

/* Foreground stacking */
header,
main,
footer {
  position: relative;
  z-index: 1;
}