/* Posiqo shared theme — matches Flutter AppTheme exactly
   Primary:   #1B5EA6  (royal blue)
   Secondary: #F97316  (orange accent)
   Tertiary:  #0EA5C9  (teal)
   Dark bg:   #0D1B2A
   Dark surf: #162132
   Text:      #F0F6FF / #94A3B8 muted
   Font:      Inter (Google Fonts)
*/
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

:root {
  --primary: #1B5EA6;
  --primary-light: #3B82F6;
  --primary-dark: #134480;
  --secondary: #F97316;
  --tertiary: #0EA5C9;
  --bg: #0D1B2A;
  --bg-surface: #162132;
  --bg-card: #1E3A5F;
  --text: #F0F6FF;
  --text-muted: #94A3B8;
  --border: rgba(27, 94, 166, 0.25);
  --green: #22C55E;
  --red: #F87171;
  --radius-card: 16px;
  --radius-btn: 12px;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── Nav ──────────────────────────────────────────────────── */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary-light);
  text-decoration: none;
  letter-spacing: -0.3px;
}

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

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

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

/* ── Footer ───────────────────────────────────────────────── */
footer {
  border-top: 1px solid var(--border);
  padding: 2rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-top: 4rem;
}

footer a {
  color: var(--primary-light);
  text-decoration: none;
}

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

.footer-links {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-btn);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.15s, opacity 0.15s;
  text-decoration: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27, 94, 166, 0.4);
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  color: var(--primary-light);
  border: 2px solid var(--primary);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

/* ── Cards ────────────────────────────────────────────────── */
.card {
  background: var(--bg-surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 2rem;
}

/* ── Inputs ───────────────────────────────────────────────── */
input[type="email"],
input[type="password"],
input[type="text"] {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-btn);
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-family: inherit;
  transition: border-color 0.2s;
}

input:focus {
  outline: none;
  border-color: var(--primary);
}

/* ── Loading spinner ──────────────────────────────────────── */
.loading-spinner {
  display: inline-block;
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  vertical-align: middle;
  margin-right: 0.5rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ── Utility ──────────────────────────────────────────────── */
.text-muted {
  color: var(--text-muted);
}

.text-primary {
  color: var(--primary-light);
}

.text-secondary {
  color: var(--secondary);
}

@media (max-width: 600px) {
  nav {
    padding: 1rem 1.25rem;
  }

  .nav-links {
    gap: 1rem;
  }
}

/* ── Store Download Buttons ──────────────────────────── */
.store-download-group {
  margin-top: 2rem;
}

.store-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: #1a1a2e;
  border: 1.5px solid rgba(59, 130, 246, 0.35);
  border-radius: 14px;
  padding: 12px 22px;
  color: #fff;
  text-decoration: none;
  font-family: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  cursor: pointer;
}

.store-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(59, 130, 246, 0.3);
  border-color: rgba(59, 130, 246, 0.65);
  background: #1e2540;
}

.store-btn svg {
  flex-shrink: 0;
  color: #fff;
  opacity: 0.9;
}

.store-btn span {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.store-btn-sub {
  font-size: 0.68rem;
  font-weight: 500;
  opacity: 0.65;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.store-btn-main {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.2px;
}

/* Light variant — used on dark gradient CTA banners */
.google-play-btn--light {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.google-play-btn--light:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 10px 32px rgba(0, 0, 0, 0.35);
}

.store-availability-note {
  font-size: 0.72rem;
  color: var(--text-muted);
  margin-top: 0.6rem;
  letter-spacing: 0.3px;
}

@media (max-width: 900px) {
  .store-download-group {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}

@keyframes pulse {

  0%,
  100% {
    transform: scale(1)
  }

  50% {
    transform: scale(1.08)
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
/* Privacy and Terms */
.content { max-width: 800px; margin: 0 auto; padding: 3rem 2rem 4rem; }
.content h1 { font-size: 2.2rem; margin-bottom: 0.5rem; }
.last-updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 2.5rem; }
.content h2 { font-size: 1.3rem; margin-top: 2.5rem; margin-bottom: 0.75rem; color: var(--primary-light); }
.content p, .content li { color: var(--text-muted); margin-bottom: 1rem; font-size: 0.95rem; }
.content ul { padding-left: 1.5rem; margin-bottom: 2rem; }

/* About Us */
.about-header { padding: 8rem 2rem 4rem; text-align: center; background: linear-gradient(135deg, rgba(107, 70, 193, 0.1), rgba(59, 130, 246, 0.05)); border-bottom: 1px solid var(--border); }
.about-header h1 { font-size: 3rem; font-weight: 900; margin-bottom: 1rem; background: linear-gradient(135deg, var(--primary-light), var(--tertiary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.about-content { max-width: 800px; margin: 0 auto; padding: 4rem 2rem; font-size: 1.05rem; line-height: 1.8; color: var(--text-muted); }
.about-content h2 { font-size: 2rem; color: #fff; margin-top: 3rem; margin-bottom: 1rem; font-weight: 800; }
.bluf-box { background: rgba(107, 70, 193, 0.1); border: 1px solid rgba(107, 70, 193, 0.3); border-radius: 12px; padding: 1.5rem; margin-bottom: 2.5rem; color: #fff; font-weight: 500; }
.about-content ul { margin-left: 1.5rem; margin-bottom: 1.5rem; }
.about-content li { margin-bottom: 0.5rem; }

