/* ==========================================
   Kopare — Marketing Homepage (Modernized)
   Warm, editorial, trust-forward on navy + coral
   ========================================== */

:root {
  --cream: #F7F3EC;
  --navy: #22424F;
  --navy-alt: #2C5364;
  --navy-deep: #16323D;
  --coral: #F07E6A;
  --coral-light: #FF9B8A;
  --coral-deep: #C15D48;
  --body: #4C5F6B;
  --body-muted: #5A6C7D;
  --caption: #6B7B85;
  --faint: #7A8A94;
  --device: #0E1518;
  --card-bg: #FFFFFF;
  --icon-tile: #EEF3F2;
  --hairline: rgba(34, 66, 79, 0.09);
  --hairline-soft: rgba(34, 66, 79, 0.07);
  --content-width: 1040px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: #1F3540;
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: var(--navy-alt); text-decoration: none; transition: color 0.18s ease; }
a:hover { color: var(--coral); }

img { max-width: 100%; }

.container {
  max-width: var(--content-width);
  margin: 0 auto;
  padding-left: 48px;
  padding-right: 48px;
}

@keyframes kRise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ---------- Nav ---------- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 40;
  background: rgba(247, 243, 236, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--hairline);
}
.site-nav .nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 16px;
  padding-bottom: 16px;
}
.brand { display: flex; align-items: center; gap: 11px; }
.brand img { height: 40px; width: 40px; object-fit: cover; border-radius: 10px; display: block; }
.brand .wordmark {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 23px;
  color: var(--navy);
  letter-spacing: -0.3px;
}
.nav-right { display: flex; align-items: center; gap: 34px; }
.nav-links { display: flex; gap: 30px; font-size: 15px; font-weight: 500; }
.nav-links a { color: var(--body-muted); }
.nav-links a:hover { color: var(--coral); }
.nav-download {
  background: var(--navy);
  color: var(--cream);
  font-weight: 600;
  font-size: 14.5px;
  padding: 11px 20px;
  border-radius: 999px;
}
.nav-download:hover { color: var(--cream); background: var(--navy-deep); }
.nav-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--navy);
  color: var(--cream);
  font-weight: 600;
  font-size: 16px;
  padding: 15px 26px;
  border-radius: 14px;
  transition: transform 0.18s ease, background 0.18s ease;
}
.btn-appstore:hover { color: var(--cream); background: var(--navy-deep); transform: translateY(-1px); }
.btn-appstore svg { width: 19px; height: 19px; }

/* ---------- Hero ---------- */
.hero { position: relative; padding: 82px 0 64px; }
.hero .container {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.hero-copy { animation: kRise 0.7s ease-out both; }
.eyebrow-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 155, 138, 0.18);
  color: var(--coral-deep);
  font-weight: 600;
  font-size: 13px;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 24px;
}
.eyebrow-pill .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--coral); }
.hero h1 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 60px;
  line-height: 1.04;
  letter-spacing: -1px;
  color: var(--navy);
  margin-bottom: 22px;
}
.hero h1 .accent { font-style: italic; color: var(--coral); }
.hero-lead {
  font-size: 19px;
  line-height: 1.6;
  color: var(--body);
  max-width: 440px;
  margin-bottom: 34px;
}
.hero-rating {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  color: var(--faint);
  font-size: 14px;
}
.hero-rating .stars { color: var(--coral); font-size: 15px; letter-spacing: 1px; }

.hero-visual { position: relative; display: flex; justify-content: center; animation: kRise 0.85s ease-out both; }
.hero-visual .glow {
  position: absolute;
  inset: -6% 8% 4% 8%;
  background: radial-gradient(ellipse at 50% 40%, rgba(255, 155, 138, 0.28), rgba(255, 155, 138, 0) 70%);
  z-index: 0;
}
.phone-frame {
  position: relative;
  z-index: 1;
  width: 262px;
  padding: 9px;
  background: var(--device);
  border-radius: 44px;
  box-shadow: 0 30px 70px rgba(20, 35, 42, 0.34);
}
.phone-frame img { width: 100%; display: block; border-radius: 36px; }

/* ---------- Trust strip ---------- */
.trust { padding: 14px 0 70px; }
.trust .rail {
  border-top: 1px solid rgba(34, 66, 79, 0.10);
  border-bottom: 1px solid rgba(34, 66, 79, 0.10);
  padding: 34px 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}
.trust .stat { font-family: 'Newsreader', serif; font-size: 38px; color: var(--navy); font-weight: 500; }
.trust .stat-cap { color: var(--caption); font-size: 14.5px; margin-top: 4px; }
.trust .rail > div:nth-child(2) {
  border-left: 1px solid rgba(34, 66, 79, 0.10);
  border-right: 1px solid rgba(34, 66, 79, 0.10);
}

/* ---------- Section eyebrow / headings ---------- */
.section-eyebrow {
  font-family: 'Manrope', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--coral);
  margin-bottom: 14px;
}

/* ---------- Features ---------- */
.features { padding: 8px 0 90px; }
.features .heading-block { max-width: 600px; margin-bottom: 48px; }
.features .heading-block h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 40px;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--navy);
}
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: var(--card-bg);
  border: 1px solid var(--hairline-soft);
  border-radius: 22px;
  padding: 30px 28px;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.feature-card:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(20, 35, 42, 0.08); }
.feature-icon {
  width: 46px; height: 46px;
  border-radius: 13px;
  background: var(--icon-tile);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
}
.feature-card h3 {
  font-family: 'Newsreader', serif;
  font-weight: 600;
  font-size: 21px;
  color: var(--navy);
  margin-bottom: 9px;
}
.feature-card p { color: var(--body-muted); font-size: 15px; line-height: 1.6; }

/* ---------- Screenshots showcase ---------- */
.showcase { padding: 0 0 96px; }
.showcase .panel {
  background: var(--navy);
  border-radius: 30px;
  padding: 60px 48px;
  overflow: hidden;
}
.showcase .heading-block { text-align: center; max-width: 560px; margin: 0 auto 46px; }
.showcase .section-eyebrow { color: var(--coral-light); }
.showcase h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 36px;
  line-height: 1.15;
  color: var(--cream);
}
.showcase .phones { display: flex; justify-content: center; gap: 26px; flex-wrap: wrap; }
.showcase .phone { text-align: center; }
.showcase .phone.raised { margin-top: -4px; }
.showcase .phone .device {
  width: 196px;
  padding: 7px;
  background: var(--device);
  border-radius: 34px;
  box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}
.showcase .phone .device img { width: 100%; display: block; border-radius: 28px; }
.showcase .phone .caption { color: #C4D2D8; font-size: 14px; margin-top: 16px; font-weight: 500; }

/* ---------- Apple Watch ---------- */
.watch { padding: 0 0 96px; }
.watch .container {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.watch h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 38px;
  line-height: 1.12;
  letter-spacing: -0.5px;
  color: var(--navy);
  margin-bottom: 18px;
}
.watch-lead { font-size: 17px; line-height: 1.65; color: var(--body); margin-bottom: 24px; }
.watch-checks { display: flex; flex-direction: column; gap: 12px; }
.watch-checks .row {
  display: flex; align-items: center; gap: 11px;
  color: #3A4D57; font-size: 15.5px;
}
.watch-checks .tick {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: rgba(255, 155, 138, 0.22);
  color: var(--coral-deep);
  display: flex; align-items: center; justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}
.watch-visual { display: flex; justify-content: center; gap: 18px; }
.watch-frame {
  width: 150px;
  padding: 8px;
  background: var(--device);
  border-radius: 34px;
  box-shadow: 0 20px 44px rgba(20, 35, 42, 0.26);
}
.watch-frame.dropped { margin-top: 26px; }
.watch-frame img { width: 100%; display: block; border-radius: 28px; background: #000; }

/* ---------- CTA ---------- */
.cta { padding: 0 0 90px; }
.cta .panel {
  background: linear-gradient(135deg, #FF9B8A 0%, #F07E6A 100%);
  border-radius: 30px;
  padding: 72px 48px;
  text-align: center;
}
.cta h2 {
  font-family: 'Newsreader', serif;
  font-weight: 500;
  font-size: 42px;
  line-height: 1.1;
  color: #3A1E17;
  margin-bottom: 16px;
}
.cta p { font-size: 18px; color: #5A2E24; max-width: 460px; margin: 0 auto 32px; line-height: 1.55; }
.cta .btn-appstore { padding: 16px 30px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); padding: 44px 0; }
.site-footer .footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.site-footer .footer-brand { display: flex; align-items: center; gap: 10px; }
.site-footer .footer-brand img { height: 30px; width: 30px; object-fit: cover; border-radius: 8px; display: block; }
.site-footer .footer-brand .wordmark {
  font-family: 'Newsreader', serif; font-weight: 600; font-size: 18px; color: var(--cream);
}
.site-footer .footer-links { display: flex; gap: 26px; font-size: 14px; }
.site-footer .footer-links a { color: #AEC0C8; }
.site-footer .footer-links a:hover { color: var(--coral-light); }
.site-footer .copyright { color: #7F929B; font-size: 13.5px; }

/* ==========================================
   Responsive
   ========================================== */
@media (max-width: 900px) {
  .container { padding-left: 32px; padding-right: 32px; }
  .hero { padding: 56px 0 48px; }
  .hero .container { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .hero h1 { font-size: 48px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .watch .container { grid-template-columns: 1fr; gap: 40px; }
  .watch-frame.dropped { margin-top: 0; }
}

@media (max-width: 600px) {
  .container { padding-left: 24px; padding-right: 24px; }
  .nav-links { display: none; }
  .hero h1 { font-size: 40px; }
  .hero-lead { font-size: 17px; }
  .features .heading-block h2 { font-size: 30px; }
  .feature-grid { grid-template-columns: 1fr; }
  .trust .rail { grid-template-columns: 1fr; gap: 24px; }
  .trust .rail > div:nth-child(2) { border: none; padding: 0; }
  .showcase .panel { padding: 44px 24px; }
  .showcase h2 { font-size: 30px; }
  .watch h2 { font-size: 30px; }
  .cta .panel { padding: 52px 24px; }
  .cta h2 { font-size: 32px; }
  .site-footer .footer-inner { flex-direction: column; text-align: center; }
}
