:root {
  /* Default Dark Mode (from GtgColors.Dark) */
  --bg: #101A1C;
  --surface: #18262A;
  --raised: #213338;
  --divider: #2C4146;
  --outline: #3C5459;
  --text: #EEF2EF;
  --muted: #A3B3B2;
  --apricot: #F4B860;
  --on-apricot: #2B1A04;
  --apricot-ink: #F4B860;
  --mint: #7ED9B5;
  --on-mint: #0B2A20;
  --coral: #FF9F8C;
  --nav-bg: rgba(16, 26, 28, 0.85);
  --legal-body: #D3DEDC;
}

[data-theme="light"] {
  /* Light Mode (from GtgColors.Light) */
  --bg: #F5F2EA;
  --surface: #FFFFFF;
  --raised: #EEEADF;
  --divider: #E4DED0;
  --outline: #CFC8B6;
  --text: #142022;
  --muted: #56625F;
  --apricot: #F4B860;
  --on-apricot: #2B1A04;
  --apricot-ink: #8F530A;
  --mint: #1E7356;
  --on-mint: #FFFFFF;
  --coral: #D94F3D;
  --nav-bg: rgba(245, 242, 234, 0.88);
  --legal-body: #2C383A;
}

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

body {
  background-color: var(--bg);
  color: var(--text);
  font-family: 'Figtree', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Header */
.site-header {
  border-bottom: 1px solid var(--divider);
  padding: 1.1rem 0;
  background-color: var(--nav-bg);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--text);
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo-mark {
  color: var(--apricot);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--apricot-ink);
}

.theme-toggle {
  background: var(--raised);
  border: 1px solid var(--outline);
  color: var(--text);
  border-radius: 50%;
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.theme-toggle:hover {
  background: var(--surface);
  transform: scale(1.05);
}

/* Hero */
.hero-section {
  padding: 5rem 0 3.5rem;
  text-align: center;
}

.hero-tag {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  background: var(--surface);
  border: 1px solid var(--outline);
  color: var(--mint);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 600px;
  margin: 0 auto 2.5rem;
}

.hero-cta-group {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Official Google Play Badge */
.play-badge-link {
  display: inline-block;
  transition: transform 0.15s ease, filter 0.2s ease;
}

.play-badge-link:hover {
  transform: translateY(-2px);
  filter: brightness(1.08);
}

.play-badge-img {
  height: 60px;
  width: auto;
  display: block;
}

/* Sections */
.section {
  padding: 4.5rem 0;
}

.bg-surface {
  background-color: var(--surface);
  border-top: 1px solid var(--divider);
  border-bottom: 1px solid var(--divider);
}

.section-title {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.text-center {
  text-align: center;
}

/* Grids & Cards */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.card {
  background-color: var(--surface);
  border: 1px solid var(--divider);
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.card:hover {
  border-color: var(--outline);
}

.card-num {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--apricot-ink);
  margin-bottom: 1rem;
}

.card h3, .feature-item h3 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.card p, .feature-item p {
  color: var(--muted);
  font-size: 0.95rem;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

.feature-icon {
  font-size: 1.75rem;
  background: var(--raised);
  border: 1px solid var(--divider);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  flex-shrink: 0;
}

/* Legal Pages */
.legal-content {
  padding: 4rem 0;
  max-width: 760px;
}

.legal-content h1 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 2.75rem;
  margin-bottom: 0.5rem;
}

.legal-date {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.legal-content h2 {
  font-family: 'Bricolage Grotesque', sans-serif;
  font-size: 1.5rem;
  margin: 2rem 0 0.75rem;
  color: var(--apricot-ink);
}

.legal-content p, .legal-content li {
  color: var(--legal-body);
  font-size: 1rem;
  margin-bottom: 1rem;
}

.legal-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

/* Footer */
.site-footer {
  border-top: 1px solid var(--divider);
  padding: 3rem 0 2rem;
  margin-top: 4rem;
  background-color: var(--surface);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.footer-desc {
  color: var(--muted);
  font-size: 0.9rem;
  margin-top: 0.35rem;
}

.footer-right {
  display: flex;
  gap: 1.5rem;
}

.footer-right a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
}

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

.footer-bottom {
  border-top: 1px solid var(--divider);
  padding-top: 1.5rem;
  color: var(--muted);
  font-size: 0.85rem;
  text-align: center;
}
