/* Pixnap Website — Dark theme with blue/cyan accents */

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

:root {
  --bg: #0e1117;
  --bg-card: #161b22;
  --bg-card-hover: #1c2230;
  --text: #e6edf3;
  --text-secondary: #8b949e;
  --accent: #58a6ff;
  --accent-gradient: linear-gradient(135deg, #58a6ff, #3dd6d0);
  --border: #30363d;
  --radius: 12px;
  --max-width: 960px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a:hover {
  opacity: 0.8;
}

/* ── Layout ─────────────────────────────────── */

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

/* ── Navigation ─────────────────────────────── */

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

nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

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

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

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

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

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

/* ── Hero ────────────────────────────────────── */

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

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 28px;
  margin-bottom: 32px;
  box-shadow: 0 8px 32px rgba(88, 166, 255, 0.15);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: 1.25rem;
  color: var(--text-secondary);
  max-width: 520px;
  margin: 0 auto 40px;
}

.free-badge {
  display: block;
  color: var(--text);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.btn-appstore {
  display: inline-block;
  padding: 14px 36px;
  background: var(--accent-gradient);
  color: #fff;
  font-weight: 600;
  font-size: 1rem;
  border-radius: 50px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-appstore:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(88, 166, 255, 0.3);
  opacity: 1;
}

/* ── Features ────────────────────────────────── */

.features {
  padding: 60px 0;
}

.features h2 {
  text-align: center;
  font-size: 1.8rem;
  margin-bottom: 48px;
}

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

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

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--accent);
}

.feature-card.highlight {
  border-color: rgba(61, 214, 208, 0.4);
  background: rgba(61, 214, 208, 0.05);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 16px;
}

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

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ── Footer ──────────────────────────────────── */

footer {
  border-top: 1px solid var(--border);
  padding: 32px 0;
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.85rem;
}

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

/* ── Content Pages (Privacy / Support) ───────── */

.page-content {
  padding: 60px 0 80px;
  max-width: 720px;
  margin: 0 auto;
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 8px;
}

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

.page-content h2 {
  font-size: 1.3rem;
  margin-top: 36px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}

.page-content p,
.page-content li {
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 24px;
}

.page-content strong {
  color: var(--text);
}

/* FAQ */

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 16px;
}

.faq-item h3 {
  font-size: 1.05rem;
  margin-bottom: 8px;
}

.faq-item p {
  margin-bottom: 0;
}

.contact-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  margin-top: 40px;
  text-align: center;
}

.contact-box h2 {
  border-bottom: none;
  margin-top: 0;
}

/* ── Responsive ──────────────────────────────── */

@media (max-width: 640px) {
  .hero {
    padding: 48px 0 40px;
  }

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

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

  .hero-icon {
    width: 88px;
    height: 88px;
    border-radius: 22px;
  }

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

  .feature-card {
    padding: 20px 16px;
  }

  .nav-links {
    gap: 16px;
  }

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

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