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

:root {
  --black: #000000;
  --red: #EF4444;
  --red-dark: #DC2626;
  --red-glow: rgba(239, 68, 68, 0.15);
  --white: #FFFFFF;
  --gray: #A3A3A3;
  --gray-dim: #525252;
  --surface: #0f0f0f;
  --surface-2: #1a1a1a;
  --border: #262626;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 860px;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background-color: var(--black);
  color: var(--white);
  font-family: var(--font);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

/* ── Layout ── */

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

/* ── Nav ── */

nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-size: 1.1rem;
  font-weight: 700;
  text-decoration: none;
  letter-spacing: -0.01em;
}

.nav-logo .logo-arrow,
.nav-logo .logo-swipe {
  color: var(--red);
}

.nav-logo .logo-meme {
  color: var(--white);
}

.nav-links {
  display: flex;
  gap: 28px;
  list-style: none;
}

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

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

.nav-links a.active {
  color: var(--white);
}

/* ── Hero ── */

.hero {
  position: relative;
  overflow: hidden;
  padding: 100px 24px 80px;
  text-align: center;
}

.hero::before {
  content: "";
  position: absolute;
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 700px;
  background: radial-gradient(ellipse at center, var(--red-glow) 0%, transparent 65%);
  pointer-events: none;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-logo {
  font-size: clamp(2.6rem, 8vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-logo .logo-arrow,
.hero-logo .logo-swipe {
  color: var(--red);
}

.hero-tagline {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  color: var(--gray);
  margin-bottom: 16px;
  font-weight: 400;
  letter-spacing: 0.02em;
}

.hero-pitch {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--white);
  max-width: 540px;
  margin: 0 auto 40px;
  opacity: 0.9;
}

/* ── Buttons ── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, background-color 0.15s;
}

.btn-primary {
  background-color: var(--white);
  color: var(--black);
}

.btn-primary:hover {
  background-color: #e8e8e8;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(255, 255, 255, 0.12);
}

.btn-red {
  background-color: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background-color: var(--red-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(239, 68, 68, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--red);
  border: 1.5px solid var(--red);
}

.btn-outline:hover {
  background: var(--red);
  color: var(--white);
  transform: translateY(-1px);
}

.app-store-badge {
  height: 20px;
  width: auto;
}

/* ── Sections ── */

section {
  padding: 72px 24px;
}

section + section {
  border-top: 1px solid var(--border);
}

.section-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.section-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

h2 {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 16px;
}

h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

p {
  color: var(--gray);
  line-height: 1.7;
}

p + p {
  margin-top: 12px;
}

/* ── About section ── */

.about-text {
  max-width: 640px;
}

.about-text p {
  font-size: 1.05rem;
}

/* ── Features ── */

.features-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 40px;
}

@media (min-width: 540px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.feature-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: border-color 0.2s, background 0.2s;
}

.feature-card:hover {
  border-color: var(--red);
  background: var(--surface-2);
}

.feature-icon {
  font-size: 1.8rem;
  margin-bottom: 12px;
  display: block;
}

.feature-card h3 {
  font-size: 1.05rem;
  color: var(--white);
}

.feature-card p {
  font-size: 0.93rem;
  margin-top: 6px;
}

/* ── Closing CTA ── */

.cta-section {
  text-align: center;
}

.cta-line {
  font-size: clamp(1rem, 2.5vw, 1.15rem);
  color: var(--gray);
  margin-bottom: 32px;
}

.cta-line strong {
  color: var(--white);
}

/* ── Footer ── */

footer {
  border-top: 1px solid var(--border);
  padding: 36px 24px;
  text-align: center;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 24px;
  list-style: none;
  margin-bottom: 16px;
}

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

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

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

/* ── Inner pages ── */

.page-header {
  padding: 64px 24px 40px;
  border-bottom: 1px solid var(--border);
}

.page-header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

.page-header h1 {
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.page-header .page-subtitle {
  margin-top: 10px;
  font-size: 1rem;
  color: var(--gray);
}

.page-content {
  padding: 56px 24px 80px;
}

.page-content-inner {
  max-width: var(--max-width);
  margin: 0 auto;
}

/* ── Support page ── */

.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  margin: 32px 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.contact-card p {
  font-size: 1.05rem;
}

.topics-list {
  margin: 24px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.topics-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--gray);
  font-size: 0.97rem;
}

.topics-list li::before {
  content: "→";
  color: var(--red);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.response-note {
  background: var(--surface-2);
  border-left: 3px solid var(--red);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 14px 18px;
  font-size: 0.95rem;
  color: var(--gray);
  margin-top: 28px;
}

/* ── Legal pages (Privacy & Terms) ── */

.legal-content h2 {
  font-size: 1.3rem;
  color: var(--white);
  margin-top: 40px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content p {
  font-size: 0.97rem;
  margin-bottom: 12px;
}

.legal-content ul {
  padding-left: 20px;
  margin: 12px 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.legal-content ul li {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-content a {
  color: var(--red);
  text-decoration: none;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-meta {
  font-size: 0.85rem;
  color: var(--gray-dim);
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

/* ── Utilities ── */

.text-red {
  color: var(--red);
}

.text-white {
  color: var(--white);
}

/* ── Responsive tweaks ── */

@media (max-width: 480px) {
  nav .nav-links {
    gap: 16px;
  }

  .nav-links a {
    font-size: 0.82rem;
  }

  .hero {
    padding: 72px 20px 56px;
  }

  section {
    padding: 52px 20px;
  }

  .contact-card {
    padding: 24px 20px;
  }
}
