/* ===========================
   LicenseUp — Global Styles
   =========================== */

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

:root {
  --blue-dark: #0B1F4B;
  --blue-mid: #1a3a7a;
  --blue-accent: #2563EB;
  --white: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.75);
  --body-bg: #f9fafb;
  --body-text: #1a1a2e;
  --prose-text: #374151;
  --border: #e5e7eb;
  --radius: 12px;
  --font: 'Inter', Arial, Helvetica, sans-serif;
}

html {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

/* ===== LANDING PAGE ===== */

.landing {
  min-height: 100vh;
  background: linear-gradient(145deg, var(--blue-dark) 0%, var(--blue-accent) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.25rem;
  text-align: center;
  color: var(--white);
}

.landing-logo {
  width: 88px;
  height: 88px;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.75rem;
  font-size: 2.5rem;
}

.landing h1 {
  font-size: clamp(2.25rem, 7vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.5px;
  line-height: 1.1;
  margin-bottom: 0.5rem;
}

.landing .tagline {
  font-size: clamp(1.1rem, 3vw, 1.4rem);
  font-weight: 600;
  margin-bottom: 0.85rem;
  color: var(--white);
}

.landing .subtext {
  font-size: clamp(0.95rem, 2.5vw, 1.1rem);
  color: var(--text-muted);
  max-width: 420px;
  margin: 0 auto 2.25rem;
}

.btn-primary {
  display: inline-block;
  background: var(--white);
  color: var(--blue-dark);
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.875rem 2.25rem;
  border-radius: 50px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  min-height: 48px;
  min-width: 160px;
}

.btn-primary:hover,
.btn-primary:focus {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.35);
  outline: none;
}

.btn-primary:active {
  transform: translateY(0);
}

/* Badge row (optional store badges) */
.badge-hint {
  margin-top: 0.75rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ===== LANDING FOOTER ===== */

.landing-footer {
  margin-top: 3.5rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.landing-footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 1px;
  margin: 0 0.5rem;
  transition: color 0.15s;
}

.landing-footer a:hover {
  color: var(--white);
  border-bottom-color: var(--white);
}

.landing-footer .separator {
  opacity: 0.4;
}

/* ===== PRIVACY / POLICY PAGES ===== */

.policy-page {
  background: var(--body-bg);
  color: var(--body-text);
  min-height: 100vh;
}

.policy-header {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-mid) 100%);
  padding: 1.5rem 1.25rem;
  text-align: center;
}

.policy-header a.home-link {
  display: inline-block;
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
  transition: color 0.15s;
}

.policy-header a.home-link:hover {
  color: var(--white);
}

.policy-header h1 {
  color: var(--white);
  font-size: clamp(1.4rem, 4vw, 1.9rem);
  font-weight: 700;
}

.policy-header p {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.85rem;
  margin-top: 0.35rem;
}

.policy-container {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 4rem;
}

/* Language switcher banner */
.lang-banner {
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
  padding: 0.75rem 1.25rem;
  margin-bottom: 2rem;
  font-size: 0.9rem;
  color: #1e40af;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-banner a {
  color: var(--blue-accent);
  font-weight: 600;
  text-decoration: none;
}

.lang-banner a:hover {
  text-decoration: underline;
}

/* Policy content typography */
.policy-content h2 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--blue-dark);
  margin: 2rem 0 0.6rem;
  padding-top: 0.25rem;
  border-top: 1px solid var(--border);
}

.policy-content h2:first-child {
  border-top: none;
  margin-top: 0;
}

.policy-content p {
  color: var(--prose-text);
  margin-bottom: 0.9rem;
  font-size: 0.975rem;
}

.policy-content ul {
  color: var(--prose-text);
  margin: 0 0 0.9rem 1.4rem;
  font-size: 0.975rem;
}

.policy-content ul li {
  margin-bottom: 0.4rem;
}

.policy-content a {
  color: var(--blue-accent);
  text-decoration: none;
}

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

/* Policy footer */
.policy-footer {
  border-top: 1px solid var(--border);
  margin-top: 3rem;
  padding-top: 1.25rem;
  text-align: center;
  font-size: 0.85rem;
  color: #9ca3af;
}

.policy-footer a {
  color: var(--blue-accent);
  text-decoration: none;
  margin: 0 0.4rem;
}

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

/* ===== RESPONSIVE ===== */

@media (max-width: 480px) {
  .landing {
    padding: 2.5rem 1rem 2rem;
  }

  .btn-primary {
    width: 100%;
    max-width: 320px;
    text-align: center;
  }

  .policy-container {
    padding: 1.75rem 1rem 3rem;
  }
}
