/* ===== Reset & Base ===== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #fafafa;
  --color-surface: #ffffff;
  --color-primary: #f57c00;
  --color-primary-dark: #e06500;
  --color-text: #1d1d1f;
  --color-text-secondary: #6e6e73;
  --color-border: #e5e5ea;
  --color-footer-bg: #1d1d1f;
  --color-footer-text: #a1a1a6;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    Roboto, Helvetica, Arial, sans-serif;
  --max-width: 980px;
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background: var(--color-bg);
  color: var(--color-text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--color-primary-dark);
}

img {
  max-width: 100%;
  display: block;
}

/* ===== Nav ===== */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 250, 250, 0.85);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--color-border);
}

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

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--color-text);
}

.nav-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
}

.nav-brand:hover {
  color: var(--color-text);
}

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

.nav-links a {
  color: var(--color-text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}

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

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-text);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 80px 24px 60px;
  max-width: var(--max-width);
  margin: 0 auto;
}

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  margin: 0 auto 32px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.hero-icon-placeholder {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  margin: 0 auto 32px;
  background: linear-gradient(135deg, var(--color-primary), #ff9800);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 30px rgba(245, 124, 0, 0.25);
}

.hero-icon-placeholder svg {
  width: 56px;
  height: 56px;
  fill: #fff;
}

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

.hero h1 .highlight {
  background: linear-gradient(90deg, var(--color-primary), #ff9800);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .subtitle {
  font-size: 1.35rem;
  color: var(--color-text-secondary);
  margin-bottom: 32px;
}

.hero .platforms {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.badge svg {
  width: 16px;
  height: 16px;
  fill: currentColor;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--color-text);
  color: #fff;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}

.cta-button:hover {
  color: #fff;
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

.cta-button svg {
  width: 20px;
  height: 20px;
  fill: #fff;
}

/* ===== Features ===== */
.features {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 40px 24px 80px;
}

.features h2 {
  text-align: center;
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}

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

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.feature-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--color-primary), #ff9800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 24px;
  height: 24px;
  fill: #fff;
}

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

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

/* ===== Screenshots placeholder ===== */
.screenshots {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px 80px;
  text-align: center;
}

.screenshots h2 {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 48px;
}

.screenshots-grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-placeholder {
  width: 220px;
  height: 440px;
  border-radius: 24px;
  background: var(--color-surface);
  border: 2px dashed var(--color-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-secondary);
  font-size: 0.85rem;
}

/* ===== Page Content (about, contact, privacy) ===== */
.page-content {
  max-width: 720px;
  margin: 0 auto;
  padding: 60px 24px 80px;
  flex: 1;
}

.page-content h1 {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.page-content .page-subtitle {
  color: var(--color-text-secondary);
  font-size: 1.15rem;
  margin-bottom: 40px;
}

.page-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-top: 36px;
  margin-bottom: 12px;
}

.page-content p {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 16px;
}

.page-content ul {
  color: var(--color-text-secondary);
  font-size: 1.05rem;
  line-height: 1.7;
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content a {
  font-weight: 500;
}

/* About page specifics */
.about-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  margin: 32px 0;
}

.about-highlight {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
}

.about-highlight .emoji {
  font-size: 2rem;
  margin-bottom: 8px;
}

.about-highlight h3 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.about-highlight p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 8px;
}

.form-group label {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--color-text);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 1rem;
  color: var(--color-text);
  background: var(--color-surface);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(245, 124, 0, 0.12);
}

.form-group textarea {
  min-height: 140px;
  resize: vertical;
}

.form-submit {
  align-self: flex-start;
  background: var(--color-text);
  color: #fff;
  border: none;
  padding: 14px 36px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.form-submit:hover {
  transform: scale(1.03);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

/* Privacy policy extras */
.effective-date {
  font-size: 0.9rem !important;
  color: var(--color-text-secondary) !important;
  font-style: italic;
  margin-bottom: 32px !important;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--color-footer-bg);
  color: var(--color-footer-text);
  margin-top: auto;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 32px 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.footer-copyright {
  font-size: 0.85rem;
}

.footer-links {
  display: flex;
  gap: 24px;
  list-style: none;
}

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

.footer-links a:hover {
  color: #fff;
}

/* ===== Responsive ===== */
@media (max-width: 700px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 52px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250, 250, 250, 0.97);
    backdrop-filter: saturate(180%) blur(20px);
    padding: 16px 24px;
    gap: 16px;
    border-bottom: 1px solid var(--color-border);
  }

  .nav-links.open {
    display: flex;
  }

  .hero {
    padding: 48px 20px 40px;
  }

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

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

  .features {
    padding: 24px 20px 56px;
  }

  .features h2 {
    font-size: 1.6rem;
  }

  .screenshots-grid {
    gap: 16px;
  }

  .screenshot-placeholder {
    width: 160px;
    height: 320px;
  }

  .page-content {
    padding: 40px 20px 60px;
  }

  .page-content h1 {
    font-size: 1.8rem;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
