@import url('https://fonts.googleapis.com/css2?family=Kanit:wght@300;400;500;600;700;800&family=Rajdhani:wght@400;500;600;700&display=swap');

:root {
  --bg:           #080808;
  --surface:      #111111;
  --surface-2:    #181818;
  --surface-3:    #222222;
  --border:       #2a2a2a;
  --border-light: #333333;
  --accent:       #00d4b8;
  --accent-dim:   rgba(0,212,184,0.12);
  --accent-glow:  rgba(0,212,184,0.35);
  --amber:        #f97316;
  --amber-dim:    rgba(249,115,22,0.12);
  --text:         #f0f0f0;
  --text-mid:     #a0a0a0;
  --text-muted:   #555555;
  --font:         'Kanit', sans-serif;
  --font-b:       'Rajdhani', sans-serif;
  --radius:       6px;
  --radius-lg:    12px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  font-weight: 400;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* ── NAV ── */
.site-nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: 64px;
  background: rgba(8,8,8,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  padding: 0 40px;
  gap: 0;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-right: auto;
}
.nav-logo img { height: 32px; }
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  display: block;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-mid);
  border-radius: var(--radius);
  transition: color 0.2s, background 0.2s;
}
.nav-links a:hover,
.nav-links a.active { color: var(--accent); background: var(--accent-dim); }

.nav-cta {
  margin-left: 20px;
  display: flex;
  gap: 8px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--border-light);
  color: var(--text-mid);
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

.btn-primary {
  background: var(--accent);
  color: #080808;
}
.btn-primary:hover { background: #00f5d4; box-shadow: 0 0 16px var(--accent-glow); }

.btn-amber {
  background: var(--amber);
  color: #fff;
}
.btn-amber:hover { background: #fb923c; box-shadow: 0 0 16px rgba(249,115,22,0.4); }

.btn-ghost {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 12px;
  padding: 6px 14px;
}
.btn-ghost:hover { border-color: var(--border-light); color: var(--text-mid); }

/* ── TAGS ── */
.tag {
  display: inline-block;
  padding: 2px 8px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 3px;
}
.tag-free { background: rgba(0,212,184,0.15); color: var(--accent); border: 1px solid rgba(0,212,184,0.3); }
.tag-paid { background: rgba(249,115,22,0.15); color: var(--amber); border: 1px solid rgba(249,115,22,0.3); }
.tag-new  { background: rgba(168,85,247,0.15); color: #a855f7; border: 1px solid rgba(168,85,247,0.3); }

/* ── SECTION HEADERS ── */
.section-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.01em;
}
.section-sub {
  color: var(--text-mid);
  font-size: 16px;
  font-weight: 300;
  margin-top: 10px;
  max-width: 540px;
}

/* ── CARDS ── */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: border-color 0.2s, transform 0.2s;
}
.card:hover { border-color: var(--border-light); transform: translateY(-2px); }

/* ── DIVIDER ── */
.divider {
  width: 40px;
  height: 2px;
  background: var(--accent);
  margin: 16px 0;
}

/* ── FOOTER ── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 40px 24px;
  margin-top: 80px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}
.footer-brand p { color: var(--text-muted); font-size: 14px; margin-top: 12px; line-height: 1.7; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-mid);
  margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { color: var(--text-muted); font-size: 14px; transition: color 0.2s; }
.footer-col ul li a:hover { color: var(--accent); }
.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: var(--text-muted);
}

/* ── UTILITIES ── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 40px; }
.pt-nav { padding-top: 64px; }

/* ── MOBILE ── */
@media (max-width: 768px) {
  .site-nav { padding: 0 20px; }
  .nav-links { display: none; }
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
