/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Montserrat', 'Segoe UI', system-ui, sans-serif;
  background: #1a1f2e;
  color: #cdd6f4;
  line-height: 1.7;
}
a { color: inherit; text-decoration: none; }

/* ── Layout helpers ── */
.container { max-width: 960px; margin: 0 auto; padding: 0 1.5rem; }
.section    { padding: 5rem 0; }

/* ── HERO ── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #1a1f2e 0%, #0f1623 60%, #162032 100%);
  padding: 3rem 1.5rem;
}
.hero-icon {
  width: 90px; height: 90px;
  background: #4696e5;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.4rem;
  margin: 0 auto 1.5rem;
  box-shadow: 0 0 40px rgba(70,150,229,.45);
}
#hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
  margin-bottom: .6rem;
}
#hero p.tagline {
  font-size: 1.15rem;
  color: #8fa3c0;
  max-width: 520px;
  margin: 0 auto 2.2rem;
}
.btn-group { display: flex; gap: .9rem; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block;
  padding: .75rem 2rem;
  border-radius: 6px;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,0,0,.35); }
.btn-primary { background: #4696e5; color: #fff; }
.btn-outline  { border: 2px solid #4696e5; color: #4696e5; }
.btn-google-play {
  background: #000;
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0.5rem 1.2rem;
  border-radius: 8px;
}
.btn-google-play img {
  height: 24px;
}
.btn-google-play .btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.btn-google-play .btn-text .small {
  font-size: 0.65rem;
  font-weight: 400;
  text-transform: uppercase;
}
.btn-google-play .btn-text .large {
  font-size: 1.1rem;
  font-weight: 600;
}

/* ── FEATURES ── */
#features { background: #141929; }
#features h2 {
  text-align: center;
  font-size: 1.9rem;
  color: #fff;
  margin-bottom: .5rem;
}
#features .subtitle {
  text-align: center;
  color: #8fa3c0;
  margin-bottom: 3rem;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.8rem;
}
.feature-card {
  background: #1e2640;
  border-radius: 10px;
  padding: 2rem 1.5rem;
  text-align: center;
  border: 1px solid #2a3350;
  transition: transform .2s, border-color .2s;
}
.feature-card:hover { transform: translateY(-4px); border-color: #4696e5; }
.feature-icon {
  margin-bottom: 1rem;
  display: block;
}
.feature-icon svg {
  width: 2rem;
  height: 2rem;
  fill: currentColor;
}
.feature-card h3 { color: #fff; font-size: 1.05rem; margin-bottom: .5rem; }
.feature-card p  { font-size: .9rem; color: #8fa3c0; }

/* ── STATS ── */
#stats { background: #4696e5; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.5rem;
  text-align: center;
}
.stat-item h3 { font-size: 2.4rem; font-weight: 700; color: #fff; }
.stat-item p  { font-size: .9rem; color: rgba(255,255,255,.8); }

/* ── ABOUT / DESCRIPTION ── */
#about { background: #1a1f2e; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}
@media (max-width: 640px) { .about-inner { grid-template-columns: 1fr; } }
#about h2 { font-size: 1.9rem; color: #fff; margin-bottom: 1rem; }
#about p  { color: #8fa3c0; margin-bottom: 1rem; }
.about-visual {
  background: #1e2640;
  border-radius: 12px;
  border: 1px solid #2a3350;
  height: 260px;
  display: flex; align-items: center; justify-content: center;
  font-size: 5rem;
  color: #4696e5;
}

/* ── CTA ── */
#cta {
  background: linear-gradient(135deg, #162032, #0f1623);
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
}
#cta h2 { font-size: 2rem; color: #fff; margin-bottom: .8rem; }
#cta p  { color: #8fa3c0; margin-bottom: 2rem; }
.penguin-divider {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin-top: 3rem;
  border-bottom: 0px solid #1e2640;
}
.penguin-divider img {
  width: 120px;
  height: auto;
  margin-bottom: -2px; /* Pull down to sit exactly on the line */
  filter: drop-shadow(0 -5px 15px rgba(70,150,229,0.2));
}

/* ── FOOTER ── */
footer {
  background: #0f1623;
  text-align: center;
  padding: 2rem 1.5rem;
  font-size: .85rem;
  color: #4a5568;
  border-top: 2px solid #1e2640;
}
footer a { color: #4696e5; }
footer a:hover { text-decoration: underline; }

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(15,22,35,.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid #1e2640;
  padding: .9rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-brand { font-weight: 700; color: #fff; font-size: 1.1rem; }
.nav-brand span { color: #4696e5; }
.nav-right { display: flex; align-items: center; gap: 1rem; }
.nav-links { display: flex; gap: 1.5rem; font-size: .9rem; color: #8fa3c0; align-items: center; }
.nav-links a:hover { color: #fff; }
@media (max-width: 480px) { .nav-links { display: none; } }

/* ── LANGUAGE SELECT ── */
.lang-select {
  position: relative;
  display: inline-block;
}
.lang-btn, .nav-btn {
  background: transparent;
  border: 1px solid #2a3350;
  color: #8fa3c0;
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lang-btn:hover, .nav-btn:hover {
  border-color: #4696e5;
  color: #fff;
}
.flag-icon {
  font-size: 1.1rem;
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  right: 0;
  background: #1e2640;
  border: 1px solid #2a3350;
  border-top: none;
  border-radius: 0 0 4px 4px;
  min-width: 120px;
  z-index: 1000;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}
.lang-select:hover .lang-dropdown {
  display: block;
}
.lang-dropdown a {
  display: block;
  padding: 0.6rem 1rem;
  font-size: 0.85rem;
  color: #8fa3c0;
  border-bottom: 1px solid #2a3350;
  transition: background 0.2s, color 0.2s;
}
.lang-dropdown a:last-child {
  border-bottom: none;
}
.lang-dropdown a:hover {
  background: #2a3350;
  color: #fff;
}

/* ── CONTENT AREA (Policy/Terms) ── */
.content-area {
  background: #1e2640;
  padding: 3rem;
  border-radius: 12px;
  border: 1px solid #2a3350;
  margin-bottom: 4rem;
}
.content-area h1 { color: #fff; margin-bottom: 0.5rem; font-size: 2.5rem; }
.last-updated { color: #8fa3c0; margin-bottom: 2.5rem; font-style: italic; }
.content-area h2 { color: #fff; margin: 2rem 0 1rem; font-size: 1.5rem; border-bottom: 1px solid #2a3350; padding-bottom: 0.5rem; }
.content-area h3 { color: #4696e5; margin: 1.5rem 0 0.8rem; font-size: 1.1rem; }
.content-area p { margin-bottom: 1.2rem; }
.content-area ul { margin-bottom: 1.2rem; padding-left: 1.5rem; }
.content-area li { margin-bottom: 0.5rem; }
.content-area strong { color: #fff; }

@media (max-width: 640px) {
  .content-area { padding: 1.5rem; }
  .content-area h1 { font-size: 2rem; }
}
