/* DreamFaceReveal - modern clean theme */
:root {
  --bg: #0b0f18;
  --bg-soft: #111726;
  --card: #151d2e;
  --text: #e9f0ff;
  --muted: #b4c0dd;
  --accent: #5bf0e4;
  --accent-2: #7b6cff;
  --accent-3: #ff9bd5;
  --border: #24304a;
  --shadow: 0 20px 60px rgba(10, 15, 30, 0.35);
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
  background: radial-gradient(1200px 800px at 10% -20%, rgba(91, 240, 228, 0.12), transparent),
    radial-gradient(1000px 700px at 90% -10%, rgba(123, 108, 255, 0.14), transparent),
    var(--bg);
  color: var(--text);
  line-height: 1.6;
}

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  letter-spacing: 0.2px;
}

.logo-badge {
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: var(--shadow);
}

.nav-links {
  display: flex;
  gap: 18px;
  align-items: center;
}

.nav-links a {
  color: var(--muted);
  font-weight: 500;
  transition: color 0.2s ease;
}

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

.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 8px 12px;
  border-radius: 10px;
}

.hero {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  align-items: center;
  padding: 40px 0 20px;
}

.hero h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  line-height: 1.1;
  margin: 0 0 16px;
}

.hero p {
  color: var(--muted);
  margin: 0 0 24px;
  font-size: 1.05rem;
}

.cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #0c0f18;
  box-shadow: var(--shadow);
}

.btn-secondary {
  border-color: var(--border);
  color: var(--text);
  background: rgba(255,255,255,0.02);
}

.btn:hover { transform: translateY(-2px); }

.media-frame {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--card);
  box-shadow: var(--shadow);
}

.media-frame.square { aspect-ratio: 1 / 1; }

.media-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.section {
  padding: 60px 0;
}

.section h2 {
  margin: 0 0 20px;
  font-size: clamp(1.6rem, 3vw, 2.4rem);
}

.grid {
  display: grid;
  gap: 24px;
}

.grid.three { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.grid.two { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 20px;
}

.card h3 { margin-top: 0; }
.card p { color: var(--muted); }

.stat {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

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

.footer {
  border-top: 1px solid var(--border);
  padding: 30px 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(91, 240, 228, 0.12);
  color: var(--accent);
  font-weight: 600;
}

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

.blog-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.blog-card .content { padding: 16px; }
.blog-card h3 { margin: 0 0 8px; }
.blog-card p { color: var(--muted); margin: 0; }

.modal {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 14, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  z-index: 40;
}

.modal.open { display: flex; }

.modal-content {
  background: #0f1524;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 24px;
  width: min(820px, 95%);
  max-height: 85vh;
  overflow: auto;
  box-shadow: var(--shadow);
}

.modal-close {
  float: right;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  padding: 6px 12px;
  border-radius: 8px;
}

.pill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.pill {
  background: rgba(123, 108, 255, 0.12);
  border: 1px solid rgba(123, 108, 255, 0.3);
  color: #c8c3ff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.85rem;
}

.notice {
  background: rgba(255, 155, 213, 0.1);
  border: 1px solid rgba(255, 155, 213, 0.2);
  padding: 16px;
  border-radius: 16px;
  color: #ffd6ee;
}

@media (max-width: 880px) {
  .nav-links {
    position: absolute;
    right: 0;
    top: 64px;
    background: #0e1424;
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
    display: none;
    flex-direction: column;
    gap: 12px;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: inline-flex; }
}
