@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --red: #e63946;
  --red-dark: #c81d2e;
  --bg: #ffffff;
  --surface: #f8f9fa;
  --surface-2: #ffffff;
  --text: #141414;
  --muted: #5f6368;
  --border: #ececec;
}

html[data-theme="dark"] {
  --bg: #0f0f12;
  --surface: #17171c;
  --surface-2: #111116;
  --text: #f4f4f4;
  --muted: #b9bdc7;
  --border: #2b2b33;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  text-decoration: none;
  color: var(--red);
  font-weight: 800;
  font-size: 28px;
  letter-spacing: 0.4px;
}

.site-header .brand:hover,
.site-header .brand:focus,
.site-header .brand:active {
  color: var(--red);
  text-decoration: none;
}

.site-nav {
  display: flex;
  gap: 24px;
}

.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  opacity: 0.9;
}

.site-nav a:hover {
  color: var(--red);
}

.theme-toggle {
  width: 42px;
  height: 42px;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 110px;
  height: 42px;
  border-radius: 999px;
  background: var(--red);
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.nav-pill:hover {
  background: var(--red-dark);
  color: #fff;
}

.hero {
  padding: 90px 0 70px;
  background: linear-gradient(120deg, var(--surface), var(--bg));
}

.center-hero {
  text-align: center;
  padding-top: 84px;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background: color-mix(in srgb, var(--red) 15%, transparent);
  color: var(--red);
  border: 1px solid color-mix(in srgb, var(--red) 35%, transparent);
  border-radius: 999px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 16px;
}

h1 {
  font-size: clamp(32px, 6vw, 54px);
  margin: 0 0 16px;
  line-height: 1.1;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.center-actions {
  justify-content: center;
}

.btn-red,
.btn-ghost {
  text-decoration: none;
  border-radius: 12px;
  font-weight: 700;
  padding: 12px 20px;
  transition: transform 0.2s ease;
}

.btn-red {
  background: var(--red);
  color: #fff;
}

.btn-red:hover {
  background: var(--red-dark);
  color: #fff;
  transform: translateY(-2px);
}

.btn-ghost {
  border: 1px solid var(--border);
  color: var(--text);
  background: var(--surface-2);
}

.btn-ghost:hover {
  border-color: var(--red);
  color: var(--red);
  transform: translateY(-2px);
}

.store-frame {
  min-width: 220px;
  height: 68px;
  border: 2px solid color-mix(in srgb, var(--text) 80%, var(--border));
  border-radius: 16px;
  text-decoration: none;
  color: var(--text);
  background: var(--surface-2);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-weight: 700;
}

.store-frame i {
  font-size: 22px;
}

.store-frame:hover {
  color: var(--red);
  border-color: var(--red);
}

.hero-preview,
.placeholder-panel {
  border: 1px dashed color-mix(in srgb, var(--red) 55%, var(--border));
  background: var(--surface-2);
  border-radius: 18px;
  min-height: 320px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 28px;
}

.showcase-strip {
  padding: 30px 0 70px;
  background: var(--surface);
}

.phones-row {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
  align-items: end;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.phone-card {
  border-radius: 38px;
  border: 2px solid color-mix(in srgb, var(--text) 30%, var(--border));
  background: linear-gradient(180deg, #fefefe 10%, #f1f1f4 100%);
  color: #7d7d86;
  display: grid;
  place-items: center;
  font-weight: 700;
  overflow: hidden;
}

.phone-card.small {
  height: 260px;
}

.phone-card.medium {
  height: 320px;
}

.phone-card.large {
  height: 420px;
}

.main-phone {
  background: linear-gradient(180deg, color-mix(in srgb, var(--red) 10%, #fff), #fff);
  color: var(--red);
}

.phone-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.placeholder-card i {
  font-size: 42px;
  color: var(--red);
}

.placeholder-card h4 {
  margin: 14px 0 8px;
}

.placeholder-card p,
.placeholder-panel span {
  color: var(--muted);
}

.panel-shot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.section {
  padding: 82px 0;
}

.section-alt {
  background: var(--surface);
}

.section-title {
  text-align: center;
  margin-bottom: 12px;
  font-size: clamp(28px, 5vw, 42px);
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 34px;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.feature-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.feature-card i {
  color: var(--red);
  font-size: 26px;
  margin-bottom: 10px;
}

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

.feature-card p {
  margin: 0;
  color: var(--muted);
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

.audience-intro {
  max-width: 860px;
  margin: 0 auto 30px;
}

.audience-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.audience-copy {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 28px;
}

.audience-copy h3 {
  margin-bottom: 12px;
  font-size: 30px;
}

.audience-copy p {
  color: var(--muted);
  margin-bottom: 16px;
}

.audience-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.audience-badges span {
  border: 1px solid color-mix(in srgb, var(--red) 25%, var(--border));
  background: color-mix(in srgb, var(--red) 8%, var(--surface-2));
  color: var(--red);
  font-size: 12px;
  font-weight: 700;
  border-radius: 999px;
  padding: 6px 10px;
}

.audience-list {
  margin-bottom: 18px;
}

.audience-list li {
  margin-bottom: 10px;
}

.audience-list strong {
  color: var(--text);
  font-weight: 700;
}

.audience-cta {
  display: inline-block;
  margin-top: 8px;
}

.bullet-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bullet-list li {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-left: 4px solid var(--red);
  border-radius: 12px;
  padding: 14px 14px 14px 16px;
  margin-bottom: 12px;
  font-weight: 500;
}

.plain-bullets li {
  background: transparent;
  border: none;
  border-radius: 0;
  border-left: none;
  padding: 0 0 0 22px;
  margin-bottom: 12px;
  position: relative;
  color: var(--muted);
}

.plain-bullets li::before {
  content: "\2022";
  color: var(--red);
  font-size: 24px;
  line-height: 1;
  position: absolute;
  left: 0;
  top: -2px;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.step-card {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.cta-block {
  background: var(--surface);
}

.download-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.left-buttons {
  justify-content: flex-start;
}

.cta-panel {
  background: color-mix(in srgb, var(--red) 8%, var(--surface-2));
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-items: center;
}

.cta-copy h2 {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.1;
  margin-bottom: 14px;
}

.cta-copy p {
  color: var(--muted);
  margin-bottom: 24px;
}

.cta-phones {
  position: relative;
  min-height: 420px;
  display: grid;
  place-items: center;
}

.cta-phones .phone-card.large {
  width: 230px;
}

.cta-phones .phone-card.medium {
  width: 190px;
}

.cta-phones .overlap {
  position: absolute;
  right: 70px;
  bottom: 25px;
}

.site-footer {
  border-top: 1px solid var(--border);
  padding: 48px 0;
}

.dark-footer {
  background: #141433;
  color: #f6f6fb;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 26px;
}

.dark-footer .brand {
  color: #fff;
}

.dark-footer p {
  color: rgba(255, 255, 255, 0.75);
  margin: 8px 0;
}

.footer-grid h5 {
  margin-bottom: 12px;
  font-weight: 700;
}

.footer-grid a {
  display: block;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
  font-weight: 500;
}

.footer-grid a:hover {
  color: #fff;
}

.socials {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}

.socials a {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: grid;
  place-items: center;
  color: #fff;
  margin-bottom: 0;
}

.footer-store-buttons {
  display: grid;
  gap: 10px;
}

.small-store {
  min-width: 170px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: #141433;
  border-color: #fff;
}

.dark-footer .footer-store-buttons .store-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  background: #fff;
  border-color: #fff;
  color: #141433;
}

.dark-footer .footer-store-buttons .store-frame i,
.dark-footer .footer-store-buttons .store-frame span {
  color: #141433;
}

.dark-footer .footer-store-buttons .store-frame:hover {
  border-color: var(--red);
  color: var(--red);
}

.dark-footer .footer-store-buttons .store-frame:hover i,
.dark-footer .footer-store-buttons .store-frame:hover span {
  color: var(--red);
}

/* Force clear visibility for footer store buttons */
.dark-footer .footer-store-buttons a.store-frame.small-store {
  background: #ffffff !important;
  border: 2px solid #ffffff !important;
  color: #141433 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  padding: 0 14px !important;
  min-width: 190px !important;
  height: 50px !important;
}

.dark-footer .footer-store-buttons a.store-frame.small-store i,
.dark-footer .footer-store-buttons a.store-frame.small-store span {
  color: #141433 !important;
  opacity: 1 !important;
}

.dark-footer .footer-store-buttons a.store-frame.small-store span {
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
}

html[data-theme="dark"] .phone-card {
  background: linear-gradient(180deg, #2a2a35 10%, #20202a 100%);
  color: #d9d9e0;
  border-color: #3a3a49;
}

html[data-theme="dark"] .main-phone {
  background: linear-gradient(180deg, color-mix(in srgb, var(--red) 24%, #1a1a22), #1f1f2a);
}

html[data-theme="dark"] .dark-footer {
  background: #0d0d18;
}

.legal-page {
  padding: 72px 0;
}

.legal-header {
  margin-bottom: 24px;
}

.legal-header h1 {
  font-size: clamp(30px, 5vw, 44px);
  margin-bottom: 10px;
}

.legal-header p {
  color: var(--muted);
  margin: 0;
}

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

.legal-card h2 {
  font-size: 22px;
  margin: 22px 0 10px;
}

.legal-card h2:first-of-type {
  margin-top: 0;
}

.legal-card p,
.legal-card li {
  color: var(--muted);
  line-height: 1.7;
}

.legal-card ul {
  padding-left: 20px;
  margin: 0 0 12px;
}
