:root {
  --bg: #070b14;
  --bg-card: #0d111f;
  --bg-muted: #121929;
  --fg: #e8ecf4;
  --fg-muted: #8b95a8;
  --ice: #5ba3c8;
  --ice-glow: #7dd3fc;
  --ember: #e85d3a;
  --ember-glow: #f7931e;
  --border: rgba(91,163,200,0.15);
  --border-light: rgba(91,163,200,0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

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

/* Container */
.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
@media(min-width:640px){ .container { padding: 0 1.5rem; } }
@media(min-width:1024px){ .container { padding: 0 2rem; } }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(7,11,20,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}

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

.logo {
  display: flex; align-items: center; gap: 0.5rem;
  font-size: 1.125rem; font-weight: 800; letter-spacing: -0.02em;
}

.logo-ice { color: var(--ice); }

.nav-desktop { display: none; }
@media(min-width:768px){
  .nav-desktop { display: flex; align-items: center; gap: 0.25rem; }
}

.nav-link {
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem; font-weight: 500;
  color: var(--fg-muted);
  border-radius: 0.5rem;
  transition: all 0.2s;
}
.nav-link:hover, .nav-link.active {
  color: var(--ice);
  background: rgba(91,163,200,0.08);
}

.mobile-btn {
  display: flex; padding: 0.5rem; border-radius: 0.5rem;
  color: var(--fg-muted); background: none; border: none; cursor: pointer;
}
.mobile-btn:hover { color: var(--fg); background: var(--bg-muted); }
@media(min-width:768px){ .mobile-btn { display: none; } }

.mobile-nav {
  display: none;
  padding-bottom: 1rem;
}
.mobile-nav.open { display: block; }

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  background: rgba(7,11,20,0.6);
  backdrop-filter: blur(8px);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 3rem 0;
}
@media(min-width:768px){
  .footer-grid { grid-template-columns: repeat(3, 1fr); }
}

.footer-title {
  font-size: 0.75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--fg); margin-bottom: 1rem;
}

.footer-link {
  display: block;
  font-size: 0.875rem; color: var(--fg-muted);
  padding: 0.35rem 0;
  transition: color 0.2s;
}
.footer-link:hover { color: var(--ice); }

.footer-bottom {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.75rem;
  padding: 1.5rem 0;
  border-top: 1px solid var(--border);
}
@media(min-width:640px){
  .footer-bottom { flex-direction: row; justify-content: space-between; }
}

/* Cards */
.card {
  background: rgba(13,17,31,0.8);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 0.75rem;
  padding: 1.5rem;
  transition: border-color 0.2s;
}
.card:hover { border-color: rgba(91,163,200,0.3); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem; font-weight: 600;
  border-radius: 0.5rem;
  transition: all 0.2s;
}

.btn-ice {
  background: rgba(91,163,200,0.12);
  border: 1px solid rgba(91,163,200,0.25);
  color: var(--ice);
}
.btn-ice:hover { background: rgba(91,163,200,0.2); }

.btn-muted {
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--fg);
}
.btn-muted:hover { background: rgba(255,255,255,0.08); }

/* Typography */
.text-gradient-ice {
  background: linear-gradient(135deg, var(--ice), var(--ice-glow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-ember {
  background: linear-gradient(135deg, var(--ember), var(--ember-glow));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Utilities */
.flex { display: flex; }
.items-center { align-items: center; }
.gap-1 { gap: 0.25rem; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }

.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-5 { margin-bottom: 1.25rem; }
.mb-6 { margin-bottom: 1.5rem; }

.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-base { font-size: 1rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-extrabold { font-weight: 800; }

.tracking-tight { letter-spacing: -0.02em; }

.text-muted { color: var(--fg-muted); }
.text-ice { color: var(--ice); }
.text-ember { color: var(--ember); }

.py-8 { padding-top: 2rem; padding-bottom: 2rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-16 { padding-top: 4rem; padding-bottom: 4rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }

.px-3 { padding-left: 0.75rem; padding-right: 0.75rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.py-1 { padding-top: 0.25rem; padding-bottom: 0.25rem; }
.py-1-5 { padding-top: 0.375rem; padding-bottom: 0.375rem; }
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.p-3 { padding: 0.75rem; }
.p-5 { padding: 1.25rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }

.space-y-1 > * + * { margin-top: 0.25rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-3 > * + * { margin-top: 0.75rem; }
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-5 > * + * { margin-top: 1.25rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }
.space-y-8 > * + * { margin-top: 2rem; }
.space-y-10 > * + * { margin-top: 2.5rem; }

.grid { display: grid; }
.grid-cols-1 { grid-template-columns: 1fr; }
@media(min-width:640px){
  .sm\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .sm\:flex-row { flex-direction: row; }
}
@media(min-width:1024px){
  .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
  .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
  .lg\:grid-cols-4 { grid-template-columns: repeat(4, 1fr); }
  .lg\:flex-row { flex-direction: row; }
}

.gap-4 { gap: 1rem; }
.gap-5 { gap: 1.25rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-10 { gap: 2.5rem; }

.rounded-full { border-radius: 9999px; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-xl { border-radius: 0.75rem; }
.rounded-2xl { border-radius: 1rem; }

.border { border: 1px solid var(--border); }
.border-y { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.border-b { border-bottom: 1px solid var(--border); }
.border-t { border-top: 1px solid var(--border); }

.border-ice { border-color: rgba(91,163,200,0.2); }
.border-ember { border-color: rgba(232,93,58,0.2); }

.bg-card { background: rgba(13,17,31,0.6); }
.bg-muted { background: rgba(18,25,41,0.6); }
.bg-ice-10 { background: rgba(91,163,200,0.08); }
.bg-ember-10 { background: rgba(232,93,58,0.08); }

.leading-relaxed { line-height: 1.7; }

.max-w-2xl { max-width: 42rem; }
.max-w-3xl { max-width: 48rem; }
.max-w-5xl { max-width: 64rem; }

.mx-auto { margin-left: auto; margin-right: auto; }

.text-center { text-align: center; }

.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.shrink-0 { flex-shrink: 0; }

.w-full { width: 100%; }
.h-full { height: 100%; }

.object-cover { object-fit: cover; }

.relative { position: relative; }
.absolute { position: absolute; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }

.overflow-hidden { overflow: hidden; }

.opacity-25 { opacity: 0.25; }
.opacity-40 { opacity: 0.4; }

/* Hero gradient overlay */
.hero-gradient {
  background: linear-gradient(to top, var(--bg), rgba(7,11,20,0.85) 50%, rgba(7,11,20,0.5));
}
.hero-gradient-side {
  background: linear-gradient(to right, rgba(7,11,20,0.7), transparent 40%, transparent 60%, rgba(7,11,20,0.7));
}

/* Tag pills */
.tag {
  display: inline-flex; align-items: center;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 500;
  border-radius: 9999px; border: 1px solid;
}

/* Rating bar */
.rating-bar-bg {
  height: 0.5rem; border-radius: 9999px;
  background: var(--bg-muted); overflow: hidden;
}
.rating-bar-fill {
  height: 100%; border-radius: 9999px;
  background: linear-gradient(90deg, var(--ice), var(--ice-glow));
}

/* Form */
input, textarea, select {
  width: 100%;
  padding: 0.625rem 0.875rem;
  font-size: 0.875rem;
  background: rgba(7,11,20,0.5);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  color: var(--fg);
  outline: none;
}
input:focus, textarea:focus, select:focus {
  border-color: rgba(91,163,200,0.4);
  box-shadow: 0 0 0 3px rgba(91,163,200,0.1);
}
input::placeholder, textarea::placeholder {
  color: var(--fg-muted);
}

/* Details/summary FAQ */
details { border: 1px solid var(--border); border-radius: 0.75rem; }
details[open] { border-color: rgba(91,163,200,0.25); }
summary {
  display: flex; align-items: flex-start; gap: 0.75rem;
  padding: 1.25rem; cursor: pointer; list-style: none;
  font-size: 0.875rem; font-weight: 600; color: var(--fg);
}
summary::-webkit-details-marker { display: none; }
.summary-toggle {
  margin-left: auto; color: var(--fg-muted);
  font-size: 1.25rem; line-height: 1;
}
details[open] .summary-toggle-open { display: none; }
details:not([open]) .summary-toggle-close { display: none; }
.details-content {
  padding: 0 1.25rem 1.25rem 2.75rem;
  font-size: 0.875rem; color: var(--fg-muted); line-height: 1.7;
}