/* ============================================================
   PetThoughts — Shared Stylesheet
   Bold & fun: dark background, bright accent colors, playful type
   ============================================================ */

:root {
  --bg:          #0d0d0f;
  --bg-card:     #18181c;
  --bg-card-alt: #1f1f26;
  --accent:      #ff6b35;
  --accent-alt:  #ffd166;
  --pink:        #ff3d71;
  --blue:        #3d9be9;
  --green:       #06d6a0;
  --text:        #f5f5f7;
  --text-muted:  #a0a0b0;
  --border:      rgba(255,255,255,0.08);
  --radius:      16px;
  --radius-sm:   8px;
  --max-w:       1100px;
}

/* Reset */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
img { max-width: 100%; display: block; }

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

/* ── Nav ── */
nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(13,13,15,0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
nav .inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 60px;
}
.nav-logo { font-size: 1.1rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 24px; }
.nav-links a { color: var(--text-muted); font-size: 0.9rem; }
.nav-links a:hover { color: var(--text); text-decoration: none; }

/* ── Hero ── */
.hero {
  min-height: 90vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center;
  padding: 80px 24px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 20% 40%, rgba(255,107,53,0.18) 0%, transparent 70%),
    radial-gradient(ellipse 50% 60% at 80% 60%, rgba(255,61,113,0.12) 0%, transparent 70%),
    radial-gradient(ellipse 40% 40% at 50% 100%, rgba(61,155,233,0.08) 0%, transparent 60%);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: rgba(255,107,53,0.15);
  border: 1px solid rgba(255,107,53,0.35);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(2.8rem, 7vw, 5.5rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 .highlight { color: var(--accent); }
.hero .sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto 40px;
  line-height: 1.7;
}
.cta-group { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ── Buttons ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 1rem; font-weight: 600;
  cursor: pointer; transition: all 0.2s;
  border: none;
  text-decoration: none;
}
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover { background: #e8562a; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(255,107,53,0.35); text-decoration: none; }
.btn-secondary {
  background: var(--bg-card);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-secondary:hover { background: var(--bg-card-alt); transform: translateY(-1px); text-decoration: none; }
.btn-ghost { background: transparent; color: var(--text-muted); font-size: 0.9rem; padding: 10px 20px; }
.btn-ghost:hover { color: var(--text); text-decoration: none; }

/* App Store badge */
.app-store-btn {
  display: inline-flex; align-items: center; gap: 12px;
  background: #000;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.2);
  padding: 12px 24px;
  border-radius: 14px;
  font-size: 0.85rem;
  transition: all 0.2s;
}
.app-store-btn:hover { border-color: rgba(255,255,255,0.5); transform: translateY(-1px); text-decoration: none; color: #fff; }
.app-store-btn .store-icon { font-size: 1.8rem; line-height: 1; }
.app-store-btn .store-text { text-align: left; }
.app-store-btn .store-label { display: block; font-size: 0.7rem; opacity: 0.7; letter-spacing: 0.04em; }
.app-store-btn .store-name { display: block; font-size: 1.1rem; font-weight: 700; }

/* ── Phone screenshot (hero + showcase) ── */
.phone-wrap {
  margin: 48px auto 0;
  max-width: 200px;
  position: relative;
}
.phone-screenshot {
  width: 100%;
  height: auto;
  border-radius: 44px;
  display: block;
  box-shadow:
    0 40px 80px rgba(0,0,0,0.6),
    0 0 0 1px rgba(255,255,255,0.06);
}

/* ── Screenshots showcase ── */
.screenshots-row {
  display: flex;
  gap: 28px;
  justify-content: center;
  align-items: flex-start;
  margin-top: 48px;
  overflow-x: auto;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}
.screenshot-item {
  flex-shrink: 0;
  text-align: center;
}
.screenshot-item .phone-screenshot {
  width: 160px;
  border-radius: 36px;
  box-shadow:
    0 24px 56px rgba(0,0,0,0.55),
    0 0 0 1px rgba(255,255,255,0.06);
}
.screenshot-item p {
  margin-top: 16px;
  font-size: 0.88rem;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.02em;
}
@media (max-width: 640px) {
  .screenshots-row { justify-content: flex-start; padding: 0 24px 16px; }
  .screenshot-item .phone-screenshot { width: 130px; border-radius: 30px; }
}

/* ── Feature grid ── */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}
.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.2s, transform 0.2s;
}
.feature-card:hover { border-color: rgba(255,107,53,0.3); transform: translateY(-2px); }
.feature-icon { font-size: 2.5rem; margin-bottom: 16px; }
.feature-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.feature-card p { color: var(--text-muted); font-size: 0.95rem; line-height: 1.6; }

/* ── Tones marquee ── */
.tones-section { text-align: center; }
.marquee-wrap { overflow: hidden; margin-top: 40px; }
.marquee-track {
  display: flex; gap: 16px;
  width: max-content;
  animation: marquee 22s linear infinite;
}
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }
.tone-pill {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 12px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  display: flex; align-items: center; gap: 8px;
}

/* ── Section headings ── */
.section-label {
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
}
.section-sub {
  color: var(--text-muted);
  font-size: 1.05rem;
  max-width: 560px;
  line-height: 1.7;
}

/* ── Privacy/FAQ ── */
.prose {
  max-width: 720px;
  margin: 0 auto;
}
.prose h2 {
  font-size: 1.4rem;
  font-weight: 700;
  margin: 40px 0 12px;
  color: var(--text);
}
.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--accent);
}
.prose p, .prose li {
  color: var(--text-muted);
  font-size: 0.97rem;
  line-height: 1.75;
  margin-bottom: 12px;
}
.prose ul { padding-left: 20px; margin-bottom: 16px; }
.prose li { margin-bottom: 6px; }
.prose a { color: var(--accent); }
.prose .updated {
  display: inline-block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 8px 16px;
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

/* ── FAQ accordion ── */
.faq-list { margin-top: 40px; display: flex; flex-direction: column; gap: 12px; }
details {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
details[open] { border-color: rgba(255,107,53,0.3); }
summary {
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex; justify-content: space-between; align-items: center;
}
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--accent); font-size: 1.3rem; transition: transform 0.2s; }
details[open] summary::after { transform: rotate(45deg); }
.faq-body { padding: 0 24px 20px; color: var(--text-muted); font-size: 0.95rem; line-height: 1.7; }

/* ── Contact card ── */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  margin-top: 48px;
}
.contact-card .contact-emoji { font-size: 3rem; margin-bottom: 16px; }
.contact-card h2 { font-size: 1.5rem; font-weight: 700; margin-bottom: 8px; }
.contact-card p { color: var(--text-muted); margin-bottom: 24px; }

/* ── CTA banner ── */
.cta-banner {
  background: linear-gradient(135deg, rgba(255,107,53,0.15) 0%, rgba(255,61,113,0.1) 100%);
  border: 1px solid rgba(255,107,53,0.25);
  border-radius: 24px;
  padding: 64px 40px;
  text-align: center;
}
.cta-banner .big-emoji { font-size: 4rem; margin-bottom: 16px; }

/* ── Footer ── */
footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}
.footer-inner {
  max-width: var(--max-w); margin: 0 auto; padding: 0 24px;
  display: flex; flex-wrap: wrap; gap: 16px;
  align-items: center; justify-content: space-between;
}
.footer-logo { font-weight: 700; font-size: 0.95rem; }
.footer-logo span { color: var(--accent); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { color: var(--text-muted); font-size: 0.88rem; }
.footer-links a:hover { color: var(--text); }
.footer-copy { color: var(--text-muted); font-size: 0.82rem; width: 100%; text-align: center; }

/* ── Floating paws background ── */
.paw-bg {
  position: absolute; inset: 0; pointer-events: none; overflow: hidden;
}
.paw-bg span {
  position: absolute;
  opacity: 0.04;
  font-size: 2rem;
  animation: floatPaw 20s linear infinite;
  user-select: none;
}
@keyframes floatPaw {
  0%   { transform: translateY(100vh) rotate(0deg);   opacity: 0; }
  10%  { opacity: 0.04; }
  90%  { opacity: 0.04; }
  100% { transform: translateY(-10vh) rotate(360deg); opacity: 0; }
}

/* ── Utilities ── */
.text-center { text-align: center; }
.mt-8  { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-40 { margin-top: 40px; }

/* ── Responsive ── */
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .hero { min-height: 80vh; }
  .cta-banner { padding: 40px 24px; }
  .contact-card { padding: 28px 24px; }
  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { justify-content: center; }
  .nav-links { display: none; }
}
