/* ===== Reset & Base ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --primary: #4D0011;
  --primary-dark: #260009;
  --primary-light: #A67F88;
  --primary-lighter: #EDE5E7;
  --accent: #4D0011;
  --bg: #faf7f8;
  --bg-card: #ffffff;
  --text: #1a0005;
  --text-muted: #6b4a52;
  --border: #e0cfd2;
  --radius: 16px;
  --shadow: 0 8px 32px rgba(77, 0, 17, 0.12);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
}

/* ===== Header ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 247, 248, 0.9);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text);
}

.header-brand img {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--primary-lighter);
  padding: 2px;
}

.footer-brand img {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--primary-lighter);
  padding: 2px;
}

.header-brand span {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 8px 14px;
  border-radius: 8px;
  transition: color 0.2s, background 0.2s;
}

.header-nav a:hover {
  color: var(--text);
  background: var(--bg-card);
}

.btn-download {
  background: var(--primary);
  color: #fff !important;
  border-radius: 8px;
  padding: 8px 18px !important;
  font-weight: 600;
  transition: background 0.2s !important;
}

.btn-download:hover {
  background: var(--primary-dark) !important;
}

/* ===== Hero ===== */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px 24px 60px;
  background: radial-gradient(ellipse 80% 60% at 50% -10%, rgba(77, 0, 17, 0.08) 0%, transparent 70%);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(77, 0, 17, 0.08);
  border: 1px solid rgba(77, 0, 17, 0.25);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 100px;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  max-width: 700px;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

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

.hero p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 520px;
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 72px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--primary);
  color: #fff;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 700;
  font-size: 1rem;
  transition: background 0.2s, transform 0.15s;
}

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  padding: 14px 28px;
  border-radius: 10px;
  font-weight: 600;
  font-size: 1rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
}

.btn-secondary:hover {
  border-color: var(--primary);
  background: rgba(77, 0, 17, 0.06);
  transform: translateY(-1px);
}

/* ===== Screenshots ===== */
.screenshots-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 32px;
}

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

.screenshot-frame {
  border: 1px solid var(--border);
  border-radius: 36px;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  flex-shrink: 0;
}

.screenshot-frame:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(77, 0, 17, 0.2);
}

.screenshot-frame.main {
  width: 220px;
}

.screenshot-frame.side {
  width: 190px;
  opacity: 0.85;
}

.screenshot-frame .notch {
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 72px;
  height: 20px;
  background: #000;
  border-radius: 100px;
  z-index: 2;
}

.screenshot-frame img {
  display: block;
  width: 100%;
  height: auto;
}

/* Mock app screen styles */
.mock-screen {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  background: var(--primary-lighter);
  padding: 40px 14px 16px;
  gap: 8px;
}

.mock-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.mock-topbar-title {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary-dark);
}

.mock-live-badge {
  background: var(--primary);
  color: white;
  font-size: 0.55rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.mock-match {
  background: #fff;
  border: 1px solid var(--primary-lighter);
  border-radius: 10px;
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-match-league {
  font-size: 0.5rem;
  color: var(--primary-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.mock-match-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mock-team {
  font-size: 0.62rem;
  font-weight: 600;
  color: var(--primary-dark);
  flex: 1;
}

.mock-team.right {
  text-align: right;
}

.mock-score {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--primary);
  min-width: 36px;
  text-align: center;
}

.mock-match-time {
  font-size: 0.5rem;
  color: var(--primary);
  font-weight: 600;
  text-align: center;
}

/* ===== Features Section ===== */
.features {
  padding: 80px 24px;
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 56px;
}

.section-header h2 {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

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

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

.feature-card:hover {
  border-color: var(--primary);
  transform: translateY(-3px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-lighter);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 24px;
  text-align: center;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(77, 0, 17, 0.06) 0%, transparent 70%);
  border-top: 1px solid var(--border);
}

.cta-section h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  margin-bottom: 14px;
}

.cta-section p {
  color: var(--text-muted);
  margin-bottom: 36px;
  font-size: 1rem;
}

/* ===== Footer ===== */
footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 32px 24px;
}

.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

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



.footer-brand span {
  font-weight: 700;
  font-size: 0.95rem;
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.82rem;
}

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

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

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

/* ===== Privacy Policy Page ===== */
.policy-page {
  flex: 1;
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 24px;
  width: 100%;
}

.policy-page h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.policy-meta {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}

.policy-page h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--text);
}

.policy-page p,
.policy-page li {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-bottom: 12px;
}

.policy-page ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.policy-page a {
  color: var(--primary);
  text-decoration: none;
}

.policy-page a:hover {
  text-decoration: underline;
}

/* ===== Responsive ===== */
@media (max-width: 640px) {
  .screenshot-frame.side {
    display: none;
  }

  .header-nav .btn-download {
    display: none;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}
