/* SnapSlim Website — Shared Styles
   Brand: Everyday Solutions
   Colors: #0A0A0F bg, #1C1C1E surface, #00D4FF accent, #FFFFFF text, #8E8E93 secondary
*/

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

:root {
  --bg:        #0A0A0F;
  --surface:   #1C1C1E;
  --surface2:  #2C2C2E;
  --accent:    #00D4FF;
  --success:   #34C759;
  --text:      #FFFFFF;
  --secondary: #8E8E93;
  --border:    rgba(255,255,255,0.08);
  --radius:    16px;
  --max-w:     760px;
}

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

/* ── NAV ────────────────────────────────────── */
nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 40px;
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
}

.nav-logo-icon {
  width: 32px;
  height: 32px;
  background: var(--accent);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-logo span {
  font-size: 18px;
  font-weight: 700;
}

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

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

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

/* ── HERO ───────────────────────────────────── */
.hero {
  text-align: center;
  padding: 100px 24px 80px;
  max-width: 680px;
  margin: 0 auto;
}

.hero-badge {
  display: inline-block;
  background: rgba(0,212,255,0.12);
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid rgba(0,212,255,0.3);
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.hero h1 {
  font-size: clamp(36px, 6vw, 56px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 20px;
}

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

.hero p {
  font-size: 18px;
  color: var(--secondary);
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.7;
}

/* ── BUTTONS ────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover { opacity: 0.85; transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-primary {
  background: var(--accent);
  color: #000;
}

.btn-ghost {
  background: transparent;
  color: var(--secondary);
  border: 1px solid var(--border);
}

.btn-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ── STATS BAR ──────────────────────────────── */
.stats-bar {
  display: flex;
  gap: 0;
  justify-content: center;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin: 0 0 80px;
  overflow: hidden;
}

.stat {
  flex: 1;
  text-align: center;
  padding: 28px 20px;
  border-right: 1px solid var(--border);
}

.stat:last-child { border-right: none; }

.stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--accent);
  display: block;
}

.stat-label {
  font-size: 13px;
  color: var(--secondary);
  margin-top: 4px;
}

/* ── SECTION ────────────────────────────────── */
section {
  max-width: var(--max-w);
  margin: 0 auto 80px;
  padding: 0 24px;
}

.section-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 32px;
  letter-spacing: -0.5px;
}

/* ── CARDS ──────────────────────────────────── */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 60px;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
}

.card-icon {
  font-size: 28px;
  margin-bottom: 14px;
  display: block;
}

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

.card p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.5;
}

/* ── HOW IT WORKS ───────────────────────────── */
.steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}

.step-num {
  width: 36px;
  height: 36px;
  background: rgba(0,212,255,0.12);
  border: 1px solid rgba(0,212,255,0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  flex-shrink: 0;
}

.step-content h3 { font-size: 15px; font-weight: 600; margin-bottom: 4px; }
.step-content p  { font-size: 14px; color: var(--secondary); }

/* ── PRICING ────────────────────────────────── */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
}

.pricing-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 20px;
  text-align: center;
  position: relative;
}

.pricing-card.featured {
  border-color: var(--accent);
  background: rgba(0,212,255,0.04);
}

.pricing-badge {
  position: absolute;
  top: -11px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--accent);
  color: #000;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 20px;
  white-space: nowrap;
}

.pricing-tier {
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 26px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 4px;
}

.pricing-period {
  font-size: 12px;
  color: var(--secondary);
  margin-bottom: 16px;
}

.pricing-limit {
  font-size: 13px;
  color: var(--accent);
  font-weight: 600;
}

/* ── APP STORE BADGE ────────────────────────── */
.app-store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--text);
  color: #000;
  padding: 10px 20px;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  transition: opacity 0.2s;
}

.app-store-badge:hover { opacity: 0.85; }

/* ── FOOTER ─────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: gap;
  gap: 16px;
}

footer p { font-size: 13px; color: var(--secondary); }

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

.footer-links a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

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

/* ── LEGAL PAGES ────────────────────────────── */
.legal-page {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 60px 24px 100px;
}

.legal-page h1 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.legal-meta {
  font-size: 14px;
  color: var(--secondary);
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.legal-page h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text);
}

.legal-page h3 {
  font-size: 16px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--secondary);
}

.legal-page p {
  color: rgba(255,255,255,0.75);
  margin-bottom: 14px;
  line-height: 1.75;
}

.legal-page ul, .legal-page ol {
  padding-left: 24px;
  margin-bottom: 14px;
}

.legal-page li {
  color: rgba(255,255,255,0.75);
  margin-bottom: 6px;
  line-height: 1.65;
}

.legal-page a { color: var(--accent); }

.highlight-box {
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 24px 0;
}

.highlight-box p {
  color: var(--text) !important;
  margin-bottom: 0;
}

/* ── SUPPORT PAGE ───────────────────────────── */
.faq { display: flex; flex-direction: column; gap: 12px; }

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px 24px;
}

.faq-item h3 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 8px;
}

.faq-item p {
  font-size: 14px;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ── CONTACT FORM ───────────────────────────── */
.contact-form {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  margin-top: 24px;
}

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--secondary);
  text-transform: uppercase;
  letter-spacing: 0.4px;
  margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 16px;
  color: var(--text);
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--accent);
}

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

.form-group select option { background: var(--surface); }

.form-submit {
  background: var(--accent);
  color: #000;
  border: none;
  border-radius: 50px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 0.2s;
  width: 100%;
}

.form-submit:hover { opacity: 0.85; }

.success-msg {
  display: none;
  background: rgba(52,199,89,0.1);
  border: 1px solid rgba(52,199,89,0.3);
  border-radius: 12px;
  padding: 16px 20px;
  color: var(--success);
  font-weight: 600;
  margin-top: 16px;
}

/* ── FOOTER INNER (enhanced footer layout) ──── */
.footer-inner {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-tagline {
  font-size: 12px;
  color: var(--secondary);
  margin: 0;
}

.footer-copy {
  font-size: 13px;
  color: var(--secondary);
  width: 100%;
  margin-top: 8px;
}

/* ── CTA BUTTON ─────────────────────────────── */
.cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #000;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  transition: opacity 0.2s, transform 0.15s;
}
.cta-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ── RESPONSIVE ─────────────────────────────── */
@media (max-width: 600px) {
  nav { padding: 16px 20px; }
  .nav-links { display: none; }
  .stats-bar { flex-direction: column; }
  .stat { border-right: none; border-bottom: 1px solid var(--border); }
  .stat:last-child { border-bottom: none; }
  footer { flex-direction: column; align-items: flex-start; }
}
