/* TenPin Privacy Page Styles - match Flutter AppTheme */

:root {
  --primary-red: #dc2626; /* AppTheme.primaryRed */
  --primary-red-dark: #b91c1c; /* AppTheme.primaryRedDark */
  --accent-blue: #2563eb; /* AppTheme.accentBlue */
  --accent-green: #16a34a; /* AppTheme.accentGreen */
  --accent-orange: #f97316; /* AppTheme.accentOrange */

  --white: #ffffff; /* AppTheme.pureWhite */
  --off-white: #fafafa; /* AppTheme.offWhite */
  --light-gray: #f5f5f5; /* AppTheme.lightGray */
  --card-white: #ffffff; /* AppTheme.cardWhite */

  --text-dark: #111827; /* AppTheme.textDark */
  --text-medium: #374151; /* AppTheme.textMedium */
  --text-light: #6b7280; /* AppTheme.textLight */
  --text-muted: #9ca3af; /* AppTheme.textMuted */

  --dark-bg: #0f172a; /* AppTheme.darkBackground */
  --dark-surface: #1e293b; /* AppTheme.darkSurface */
  --dark-card: #334155; /* AppTheme.darkCard */
  --dark-text: #f8fafc; /* AppTheme.darkText */
  --dark-text-secondary: #cbd5e1; /* AppTheme.darkTextSecondary */
  --dark-border: #475569; /* AppTheme.darkBorder */

  --radius-sm: 8px;
  --radius-md: 12px;
  --shadow-none: 0 0 0 rgba(0, 0, 0, 0);
  --border-light: 1px solid #e5e7eb; /* divider light */
  --border-dark: 1px solid var(--dark-border);
}

html, body {
  height: 100%;
}

body {
  margin: 0;
  background: var(--off-white);
  color: var(--text-dark);
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  line-height: 1.6;
}

.container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: var(--white);
  border-bottom: var(--border-light);
}
.header-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.brand-icon {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  display: block;
}
.brand-mark {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--primary-red), var(--primary-red-dark));
  box-shadow: 0 4px 14px rgba(220, 38, 38, 0.35);
}
.brand-name {
  font-family: 'Orbitron', ui-sans-serif;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.2px;
  color: var(--text-dark);
}
.site-nav .nav-link {
  color: var(--primary-red);
  font-weight: 600;
  text-decoration: none;
}
.site-nav .nav-link:hover { text-decoration: underline; }

/* Hero */
.hero { padding: 40px 0 8px; }
.hero h1 {
  margin: 0 0 8px;
  font-family: 'Orbitron', ui-sans-serif;
  font-size: clamp(28px, 6vw, 36px);
  font-weight: 700;
  letter-spacing: -0.5px;
}
.subtitle {
  margin: 0;
  color: var(--text-light);
  font-size: 14px;
}

/* Content */
.content { padding: 0 0 56px; }

.card {
  background: var(--card-white);
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-md);
  padding: 20px 20px;
  margin: 16px 0;
}
.section-title {
  margin: 0 0 10px;
  font-family: 'Orbitron', ui-sans-serif;
  font-size: 18px;
  letter-spacing: 0px;
}
.list {
  padding-left: 18px;
  margin: 0;
}
.list li { margin-bottom: 8px; }
.link { color: var(--accent-blue); text-decoration: none; }
.link:hover { text-decoration: underline; }

.grid {
  display: grid;
  gap: 16px;
  grid-template-columns: 1fr;
}
@media (min-width: 860px) {
  .grid { grid-template-columns: 1fr 1fr; }
}

/* Footer */
.site-footer {
  border-top: var(--border-light);
  background: var(--white);
}
.footer-inner {
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.footer-links { display: inline-flex; gap: 8px; align-items: center; }
.sep { color: var(--text-muted); }

/* Dark mode (match AppTheme.dark) */
@media (prefers-color-scheme: dark) {
  body { background: var(--dark-bg); color: var(--dark-text); }
  .site-header { background: var(--dark-surface); border-bottom: var(--border-dark); }
  .brand-name { color: var(--dark-text); }
  .site-nav .nav-link { color: var(--primary-red); }
  .card { background: var(--dark-card); border: var(--border-dark); }
  .subtitle { color: var(--dark-text-secondary); }
  .site-footer { background: var(--dark-surface); border-top: var(--border-dark); }
  .sep { color: var(--dark-text-secondary); }
}
