/* ===========================
   EMBERPAWS — STYLESHEET
   =========================== */

:root {
  --bg:          #120602;
  --bg-card:     #1E0A04;
  --bg-card-2:   #2A1008;
  --border:      rgba(232, 168, 64, 0.12);
  --amber:       #E8A840;
  --orange:      #E06828;
  --flame:       #F5A020;
  --cream:       #F5EDD5;
  --muted:       #C4A880;
  --dim:         #8A7060;
  --green:       #5A8A5A;
  --red:         #A0402D;
  --radius-sm:   10px;
  --radius-md:   18px;
  --radius-lg:   28px;
  --font-head:   'Playfair Display', Georgia, serif;
  --font-body:   'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--cream);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ---- UTILITIES ---- */
.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  transition: filter 0.2s, transform 0.15s;
  cursor: pointer;
  border: none;
}

.btn:hover  { filter: brightness(1.1); transform: translateY(-1px); }
.btn:active { transform: translateY(0); }

.btn-sm {
  background: var(--bg-card-2);
  color: var(--amber);
  border: 1px solid var(--border);
  padding: 9px 20px;
  font-size: 0.875rem;
}

.btn-primary {
  background: linear-gradient(135deg, var(--amber) 0%, var(--orange) 100%);
  color: #1A0600;
  padding: 15px 32px;
  font-size: 1rem;
  font-weight: 700;
  box-shadow: 0 8px 32px rgba(224, 104, 40, 0.35);
}

.btn-lg { padding: 18px 40px; font-size: 1.05rem; }
.btn-icon { width: 20px; height: 20px; flex-shrink: 0; }

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(16px) saturate(1.4);
  -webkit-backdrop-filter: blur(16px) saturate(1.4);
  background: rgba(18, 6, 2, 0.82);
  border-bottom: 1px solid var(--border);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  padding: 14px 24px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.nav-icon  { width: 34px; height: 34px; border-radius: 8px; }
.nav-name  {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  letter-spacing: 0.01em;
}

/* ---- HERO ---- */
.hero {
  position: relative;
  text-align: center;
  padding: 100px 0 120px;
  overflow: hidden;
}

.hero-glow {
  position: absolute;
  top: -60px;
  left: 50%;
  transform: translateX(-50%);
  width: 640px;
  height: 640px;
  background: radial-gradient(circle, rgba(232, 168, 64, 0.18) 0%, rgba(224, 104, 40, 0.08) 45%, transparent 70%);
  pointer-events: none;
}

.hero-content { position: relative; z-index: 1; }

.hero-icon {
  width: 120px;
  height: 120px;
  border-radius: 26px;
  box-shadow: 0 20px 60px rgba(224, 104, 40, 0.4), 0 4px 16px rgba(0,0,0,0.5);
  margin-bottom: 24px;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--amber);
  margin-bottom: 16px;
}

.hero-title {
  font-family: var(--font-head);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 800;
  line-height: 1.05;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, var(--cream) 30%, var(--amber) 70%, var(--flame) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 12px;
}

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--amber);
  margin-bottom: 20px;
  letter-spacing: 0.01em;
}

.hero-sub {
  max-width: 560px;
  margin: 0 auto 40px;
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
}

.hero-cta   { margin-bottom: 16px; }
.hero-badge { font-size: 0.8rem; color: var(--dim); letter-spacing: 0.04em; }

.hero-paws  { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.paw        { position: absolute; font-size: 1.5rem; opacity: 0.06; user-select: none; }
.paw-1 { top: 15%; left: 8%;  transform: rotate(-20deg); font-size: 2.5rem; }
.paw-2 { top: 60%; left: 5%;  transform: rotate(15deg);  font-size: 1.8rem; }
.paw-3 { top: 20%; right: 7%; transform: rotate(25deg);  font-size: 2rem;   }
.paw-4 { top: 70%; right: 9%; transform: rotate(-10deg); font-size: 1.6rem; }

/* ---- BAND ---- */
.band {
  background: linear-gradient(90deg, var(--bg-card) 0%, var(--bg-card-2) 50%, var(--bg-card) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
}

.band-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 1rem;
  color: var(--muted);
  font-style: italic;
}

.band-divider { color: var(--border); }
.heart        { color: var(--orange); font-style: normal; }

/* ---- SECTION SHARED ---- */
.section-title {
  font-family: var(--font-head);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
  color: var(--cream);
  margin-bottom: 16px;
  text-align: center;
}

.section-title.left { text-align: left; }

.section-sub {
  text-align: center;
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 520px;
  margin: 0 auto 60px;
}

/* ---- EMBER SCORE SECTION ---- */
.score-section {
  padding: 80px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.score-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 60px;
  align-items: center;
  background: var(--bg-card-2);
  border: 1px solid rgba(90, 138, 90, 0.25);
  border-radius: var(--radius-lg);
  padding: 52px;
  box-shadow: 0 0 60px rgba(90, 138, 90, 0.08);
}

.score-number-wrap { display: flex; align-items: center; justify-content: center; }

.score-ring {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: conic-gradient(var(--green) 0% 83%, rgba(90,138,90,0.15) 83% 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(90, 138, 90, 0.3), inset 0 0 0 12px var(--bg-card-2);
  position: relative;
}

.score-ring::after {
  content: '';
  position: absolute;
  inset: 10px;
  background: var(--bg-card-2);
  border-radius: 50%;
}

.score-number {
  position: relative;
  z-index: 1;
  font-family: var(--font-head);
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--green);
  line-height: 1;
}

.score-label {
  position: relative;
  z-index: 1;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--dim);
}

.score-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
  margin-bottom: 12px;
}

.score-title {
  font-family: var(--font-head);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--cream);
  margin-bottom: 16px;
}

.score-desc {
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.7;
  max-width: 520px;
  margin-bottom: 28px;
}

.score-chips { display: flex; gap: 10px; flex-wrap: wrap; }

.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
}

.chip::before { content: '●'; font-size: 0.6rem; }

.chip-green { background: rgba(90, 138, 90, 0.15); color: #7AC07A; border: 1px solid rgba(90,138,90,0.3); }
.chip-amber { background: rgba(232, 168, 64, 0.12); color: var(--amber); border: 1px solid rgba(232,168,64,0.25); }
.chip-red   { background: rgba(160, 64, 45, 0.15);  color: #D07060;      border: 1px solid rgba(160,64,45,0.3);  }

/* ---- FEATURES ---- */
.features { padding: 100px 0; }

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

.feature-card {
  position: relative;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  transition: border-color 0.25s, transform 0.2s;
}

.feature-card:hover {
  border-color: rgba(232, 168, 64, 0.35);
  transform: translateY(-3px);
}

.feature-card--coming {
  border-color: rgba(232, 168, 64, 0.08);
  opacity: 0.75;
}

.coming-badge {
  display: inline-block;
  background: rgba(232, 168, 64, 0.1);
  color: var(--amber);
  border: 1px solid rgba(232, 168, 64, 0.2);
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 3px 10px;
  margin-bottom: 12px;
}

.feature-icon-wrap {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(232, 168, 64, 0.15), rgba(224, 104, 40, 0.08));
  border: 1px solid rgba(232, 168, 64, 0.2);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--amber);
}

.feature-icon-wrap svg { width: 24px; height: 24px; }

.feature-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}

.feature-desc { font-size: 0.9rem; color: var(--muted); line-height: 1.6; }

/* ---- SCREENSHOTS ---- */
.screenshots {
  padding: 100px 0;
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.screenshots-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 32px;
  flex-wrap: wrap;
}

.phone-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.3s;
}

.phone-wrap--center {
  transform: scale(1) translateY(0px);
  z-index: 1;
}

.phone-wrap:hover { transform: scale(0.93) translateY(16px); }
.phone-wrap--center:hover { transform: scale(1.02) translateY(-4px); }

.phone-frame {
  width: 200px;
  background: #0C0604;
  border-radius: 36px;
  border: 2px solid rgba(232, 168, 64, 0.15);
  box-shadow:
    0 32px 80px rgba(0,0,0,0.6),
    0 8px 24px rgba(224, 104, 40, 0.15),
    inset 0 1px 0 rgba(255,255,255,0.05);
  overflow: hidden;
  padding: 0;
}

.phone-frame img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 34px;
}

.phone-caption {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  text-align: center;
}

.phone-sub-caption {
  font-size: 0.8rem;
  color: var(--dim);
  text-align: center;
  max-width: 180px;
}

/* ---- ABOUT ---- */
.about {
  padding: 100px 0;
}

.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.about-desc {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 20px;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 12px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.93rem;
  color: var(--muted);
}

.list-dot {
  width: 8px;
  height: 8px;
  min-width: 8px;
  border-radius: 50%;
  background: var(--amber);
  margin-top: 7px;
}

.about-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 360px;
}

.about-glow {
  position: absolute;
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(232, 168, 64, 0.22) 0%, transparent 70%);
  border-radius: 50%;
}

.about-icon {
  position: relative;
  z-index: 2;
  width: 160px;
  height: 160px;
  border-radius: 36px;
  box-shadow: 0 24px 64px rgba(224, 104, 40, 0.4);
}

.about-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--border);
  animation: spin-ring 24s linear infinite;
}

.ring-1 { width: 260px; height: 260px; border-color: rgba(232, 168, 64, 0.12); }
.ring-2 { width: 340px; height: 340px; border-color: rgba(232, 168, 64, 0.07); animation-direction: reverse; animation-duration: 36s; }

@keyframes spin-ring {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}

/* ---- PRIVACY ---- */
.privacy { padding: 80px 0; }

.privacy-inner {
  display: flex;
  align-items: flex-start;
  gap: 32px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 48px;
}

.privacy-icon-wrap {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: linear-gradient(135deg, rgba(232, 168, 64, 0.18), rgba(224, 104, 40, 0.08));
  border: 1px solid rgba(232, 168, 64, 0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--amber);
}

.privacy-icon-wrap svg { width: 30px; height: 30px; }

.privacy-title {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 10px;
}

.privacy-desc {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.7;
  max-width: 600px;
}

/* ---- CTA SECTION ---- */
.cta-section {
  position: relative;
  text-align: center;
  padding: 120px 0;
  overflow: hidden;
}

.cta-glow {
  position: absolute;
  bottom: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 700px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(232, 168, 64, 0.15) 0%, rgba(224, 104, 40, 0.06) 40%, transparent 70%);
  pointer-events: none;
}

.cta-inner { position: relative; z-index: 1; }

.cta-icon {
  width: 90px;
  height: 90px;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(224, 104, 40, 0.4);
  margin-bottom: 28px;
}

.cta-title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: var(--cream);
  margin-bottom: 14px;
}

.cta-sub  { color: var(--muted); font-size: 1rem; margin-bottom: 40px; }
.cta-note { margin-top: 18px; font-size: 0.8rem; color: var(--dim); letter-spacing: 0.04em; }

/* ---- FOOTER ---- */
.footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-brand { display: flex; align-items: center; gap: 10px; }
.footer-icon  { width: 28px; height: 28px; border-radius: 7px; }
.footer-name  { font-family: var(--font-head); font-size: 1rem; color: var(--cream); }

.footer-links { display: flex; gap: 28px; }

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

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

.footer-copy { font-size: 0.8rem; color: var(--dim); width: 100%; text-align: center; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .score-card {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 36px;
    text-align: center;
  }
  .score-number-wrap { justify-content: center; }
  .score-chips       { justify-content: center; }
}

@media (max-width: 768px) {
  .hero { padding: 72px 0 90px; }
  .hero-icon { width: 96px; height: 96px; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .about-visual { height: 260px; order: -1; }
  .about-icon   { width: 120px; height: 120px; border-radius: 28px; }
  .ring-1       { width: 200px; height: 200px; }
  .ring-2       { width: 260px; height: 260px; }

  .privacy-inner { flex-direction: column; padding: 32px; }

  .section-title.left { text-align: center; }

  .footer-inner  { flex-direction: column; align-items: center; text-align: center; }
  .footer-links  { justify-content: center; }

  .phone-wrap        { transform: scale(0.95) translateY(10px); }
  .phone-wrap--center { transform: scale(1) translateY(0); }
  .phone-frame       { width: 160px; }
}

@media (max-width: 600px) {
  .screenshots-row { flex-direction: column; align-items: center; gap: 24px; }
  .phone-wrap, .phone-wrap--center { transform: none; }
  .phone-frame { width: 220px; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .band-inner    { flex-direction: column; gap: 6px; text-align: center; }
  .band-divider  { display: none; }
  .privacy-inner { padding: 24px; }
  .score-card    { padding: 28px 20px; }
}
