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

:root {
  --green: #39FF14;
  --green-dim: rgba(57, 255, 20, 0.15);
  --green-glow: rgba(57, 255, 20, 0.4);
  --cyan: #00E5FF;
  --cyan-dim: rgba(0, 229, 255, 0.12);
  --bg: #0D1117;
  --bg-card: rgba(255, 255, 255, 0.04);
  --bg-card-border: rgba(255, 255, 255, 0.08);
  --text: #E6EDF3;
  --text-muted: #8B949E;
  --radius: 20px;
  --font: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

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

/* ── Layout ── */

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

section {
  padding: 96px 0;
}

/* ── Hero ── */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 120px 24px 96px;
}

.hero-inner {
  max-width: 680px;
}

.app-icon {
  width: 140px;
  height: 140px;
  border-radius: 32px;
  box-shadow:
    0 0 40px var(--green-glow),
    0 0 80px rgba(57, 255, 20, 0.15);
  margin-bottom: 40px;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { box-shadow: 0 0 40px var(--green-glow), 0 0 80px rgba(57, 255, 20, 0.15); }
  50% { box-shadow: 0 0 60px var(--green-glow), 0 0 120px rgba(57, 255, 20, 0.2); }
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 8px;
}

.hero h1 .accent {
  color: var(--green);
}

.hero .subtitle {
  font-size: 1.25rem;
  color: var(--cyan);
  font-weight: 600;
  margin-bottom: 24px;
}

.hero .tagline {
  font-size: 1.15rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 40px;
  line-height: 1.7;
}

/* ── Buttons ── */

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  background: var(--green);
  color: #0D1117;
  font-size: 1.05rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 20px var(--green-glow);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px var(--green-glow), 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text);
  font-size: 1rem;
  font-weight: 600;
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  text-decoration: none;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover {
  border-color: var(--green);
  background: var(--green-dim);
}

/* ── Section Headers ── */

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

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

.section-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto;
}

/* ── Features ── */

.features {
  background: linear-gradient(180deg, transparent, rgba(57, 255, 20, 0.02), transparent);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color 0.3s, transform 0.3s, background 0.3s;
}

.feature-card:hover {
  border-color: rgba(57, 255, 20, 0.2);
  background: rgba(255, 255, 255, 0.06);
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
  display: block;
  width: 52px;
  height: 52px;
  line-height: 52px;
  text-align: center;
  border-radius: 14px;
  background: var(--green-dim);
}

.feature-card:nth-child(even) .feature-icon {
  background: var(--cyan-dim);
}

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

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

/* ── How It Works ── */

.how-it-works {
  background: linear-gradient(180deg, transparent, rgba(0, 229, 255, 0.02), transparent);
}

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.step {
  text-align: center;
  max-width: 280px;
  padding: 0 20px;
}

.step-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cyan-dim);
  border: 2px solid rgba(0, 229, 255, 0.3);
  color: var(--cyan);
  font-size: 1.25rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

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

.step p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.step-connector {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, rgba(0, 229, 255, 0.3), rgba(57, 255, 20, 0.3));
  margin-top: 26px;
  flex-shrink: 0;
}

/* ── Why RunOrithm ── */

.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  max-width: 800px;
  margin: 0 auto;
}

.comparison-card {
  border-radius: var(--radius);
  padding: 32px 28px;
  border: 1px solid var(--bg-card-border);
}

.comparison-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
}

.comparison-card ul {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.comparison-card li {
  font-size: 0.95rem;
  color: var(--text-muted);
  padding-left: 24px;
  position: relative;
  line-height: 1.5;
}

.comparison-them {
  background: rgba(255, 255, 255, 0.02);
}

.comparison-them h3 {
  color: var(--text-muted);
}

.comparison-them li::before {
  content: "−";
  position: absolute;
  left: 0;
  color: #f85149;
  font-weight: 700;
}

.comparison-us {
  background: var(--green-dim);
  border-color: rgba(57, 255, 20, 0.15);
}

.comparison-us h3 {
  color: var(--green);
}

.comparison-us li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--green);
  font-weight: 700;
}

/* ── Privacy ── */

.privacy {
  text-align: center;
}

.privacy-statement {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
  line-height: 1.3;
}

.privacy-statement .highlight {
  color: var(--cyan);
}

.privacy-points {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.privacy-point {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.privacy-point .icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: var(--cyan-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.privacy-point strong {
  font-size: 1rem;
  font-weight: 700;
}

.privacy-point span {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 180px;
}

.privacy-note {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ── FAQ ── */

.faq {
  background: linear-gradient(180deg, transparent, rgba(57, 255, 20, 0.02), transparent);
}

.faq-list {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--bg-card-border);
  border-radius: 14px;
  overflow: hidden;
  transition: border-color 0.3s;
}

.faq-item[open] {
  border-color: rgba(57, 255, 20, 0.2);
}

.faq-item summary {
  padding: 20px 24px;
  font-size: 1.05rem;
  font-weight: 600;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  font-size: 1.3rem;
  color: var(--text-muted);
  flex-shrink: 0;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
  color: var(--green);
}

.faq-item p {
  padding: 0 24px 20px;
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ── CTA ── */

.cta {
  text-align: center;
  padding: 80px 0;
}

.cta h2 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 32px;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.cta-trust {
  margin-top: 20px;
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

/* ── Footer ── */

footer {
  border-top: 1px solid var(--bg-card-border);
  padding: 32px 0;
  text-align: center;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 32px;
  margin-bottom: 16px;
}

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

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

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

/* ── Scroll Animations ── */

.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Responsive ── */

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero .subtitle {
    font-size: 1.1rem;
  }

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

  .app-icon {
    width: 110px;
    height: 110px;
    border-radius: 26px;
  }

  section {
    padding: 64px 0;
  }

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

  .features-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 0;
  }

  .step-connector {
    width: 2px;
    height: 32px;
    margin: 0;
    background: linear-gradient(180deg, rgba(0, 229, 255, 0.3), rgba(57, 255, 20, 0.3));
  }

  .step {
    max-width: 100%;
  }

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

  .privacy-statement {
    font-size: 1.5rem;
  }

  .privacy-points {
    gap: 32px;
  }

  .cta h2 {
    font-size: 1.8rem;
  }

  .footer-links {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 80px 20px 64px;
  }

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

  .btn-primary {
    padding: 14px 28px;
    font-size: 1rem;
  }

  .container {
    padding: 0 16px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
