/* ===== VokabelNinja Landing Page – Dark Theme ===== */

:root {
  --bg-top: #0B1220;
  --bg-bottom: #0F172A;
  --surface: #101827;
  --card: #111C2E;
  --border: #1F2937;
  --primary: #2DD4BF;
  --secondary: #F97316;
  --success: #22C55E;
  --sky: #38BDF8;
  --violet: #A78BFA;
  --ink: #E2E8F0;
  --muted: #94A3B8;
  --on-primary: #0B1220;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(180deg, var(--bg-top) 0%, var(--bg-bottom) 100%);
  color: var(--ink);
  line-height: 1.6;
  min-height: 100vh;
}

a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: #5eead4; }

img { max-width: 100%; height: auto; display: block; }

/* ===== Utility ===== */
.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.text-muted { color: var(--muted); }
.text-primary { color: var(--primary); }
.text-secondary { color: var(--secondary); }
.text-center { text-align: center; }

/* ===== Navigation ===== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(11, 18, 32, .85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
}

.navbar__brand span.ninja { color: var(--primary); }

.navbar__links { display: flex; gap: 28px; list-style: none; }
.navbar__links a { color: var(--muted); font-size: .95rem; font-weight: 500; }
.navbar__links a:hover { color: var(--ink); }

.lang-switch {
  background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .25);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: .8rem;
  font-weight: 700;
  color: var(--primary) !important;
  letter-spacing: .5px;
}

.lang-switch:hover { background: rgba(45, 212, 191, .2); }

.navbar__toggle {
  display: none;
  background: none;
  border: none;
  color: var(--ink);
  font-size: 1.5rem;
  cursor: pointer;
}

/* ===== Hero ===== */
.hero {
  padding: 100px 0 80px;
  text-align: center;
}

.hero__badge {
  display: inline-block;
  background: rgba(45, 212, 191, .1);
  border: 1px solid rgba(45, 212, 191, .25);
  color: var(--primary);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
}

.hero h1 .highlight {
  background: linear-gradient(135deg, var(--primary), var(--sky));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__subtitle {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto 40px;
}

.hero__cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  color: var(--on-primary);
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  transition: transform .2s, box-shadow .2s;
}

.hero__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 212, 191, .3);
  color: var(--on-primary);
}

/* ===== Screenshots Carousel ===== */
.screenshots {
  padding: 60px 0 80px;
}

.screenshots h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 48px;
}

.screenshots__grid {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.screenshot-slot {
  width: 220px;
  height: 440px;
  background: var(--card);
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  font-size: .85rem;
  text-align: center;
  padding: 16px;
  position: relative;
  overflow: hidden;
  transition: border-color .3s;
}

.screenshot-slot:hover {
  border-color: var(--primary);
}

.screenshot-slot img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: var(--radius);
}

.screenshot-slot .placeholder-label {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.screenshot-slot .placeholder-label svg {
  width: 32px;
  height: 32px;
  opacity: .4;
}

/* ===== Features ===== */
.features {
  padding: 80px 0;
}

.features h2 {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 48px;
}

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

.feature-card {
  background: linear-gradient(180deg, var(--card) 0%, var(--bg-bottom) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: border-color .3s, transform .3s;
}

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

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

.feature-card__icon--teal    { background: rgba(45, 212, 191, .12); color: var(--primary); }
.feature-card__icon--orange  { background: rgba(249, 115, 22, .12); color: var(--secondary); }
.feature-card__icon--green   { background: rgba(34, 197, 94, .12); color: var(--success); }
.feature-card__icon--sky     { background: rgba(56, 189, 248, .12); color: var(--sky); }
.feature-card__icon--violet  { background: rgba(167, 139, 250, .12); color: var(--violet); }

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

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

/* ===== CTA Section ===== */
.cta-section {
  padding: 80px 0;
  text-align: center;
}

.cta-box {
  background: linear-gradient(135deg, rgba(45, 212, 191, .08), rgba(56, 189, 248, .08));
  border: 1px solid rgba(45, 212, 191, .2);
  border-radius: 24px;
  padding: 60px 40px;
}

.cta-box h2 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 16px;
}

.cta-box p {
  color: var(--muted);
  margin-bottom: 32px;
  font-size: 1.05rem;
}

.store-badges {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: .95rem;
  transition: border-color .3s;
}

.store-badge:hover {
  border-color: var(--primary);
  color: var(--ink);
}

.store-badge svg { width: 24px; height: 24px; }

/* ===== Footer ===== */
.footer {
  border-top: 1px solid var(--border);
  padding: 40px 0;
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer__links { display: flex; gap: 24px; list-style: none; }
.footer__links a { color: var(--muted); font-size: .9rem; }
.footer__links a:hover { color: var(--ink); }
.footer__copy { color: var(--muted); font-size: .85rem; }

/* ===== Legal / Info Pages ===== */
.page-header {
  padding: 80px 0 40px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-header p {
  color: var(--muted);
  font-size: 1.05rem;
}

.page-content {
  padding: 0 0 80px;
}

.page-content .container {
  max-width: 780px;
}

.page-content h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 36px 0 12px;
  color: var(--primary);
}

.page-content h3 {
  font-size: 1.1rem;
  font-weight: 600;
  margin: 24px 0 8px;
}

.page-content p, .page-content li {
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.7;
  margin-bottom: 12px;
}

.page-content ul {
  padding-left: 24px;
  margin-bottom: 16px;
}

.page-content a { color: var(--primary); }

/* ===== Contact Form ===== */
.contact-form {
  max-width: 540px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: .9rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--ink);
  font-size: .95rem;
  font-family: inherit;
  transition: border-color .2s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--primary);
}

.form-group textarea { resize: vertical; min-height: 140px; }

.btn-submit {
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform .2s, box-shadow .2s;
  width: 100%;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(45, 212, 191, .3);
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .navbar__links { display: none; }
  .navbar__toggle { display: block; }

  .navbar__links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--bg-top);
    border-bottom: 1px solid var(--border);
    padding: 20px 24px;
    gap: 16px;
  }

  .hero { padding: 60px 0 40px; }

  .screenshot-slot {
    width: 160px;
    height: 320px;
  }

  .cta-box { padding: 40px 24px; }

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