:root {
  --bg-primary: #0a0e17;
  --bg-surface: #121826;
  --bg-card: #1b2234;
  --text-main: #f3f4f6;
  --text-muted: #9ca3af;
  --accent: #2563eb;
  --accent-hover: #1d4ed8;
  --border: #2d3748;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-main);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background-color: rgba(10, 14, 23, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  padding: 1rem 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
}

.logo span {
  color: var(--accent);
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 1rem;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: #fff;
}

.lang-selector .lang-btn {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text-muted);
  padding: 0.3rem 0.6rem;
  border-radius: 4px;
  cursor: pointer;
  font-weight: 600;
  margin-left: 0.2rem;
}

.lang-selector .lang-btn.active,
.lang-selector .lang-btn:hover {
  background-color: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* Hero Section */
.hero {
  padding: 6rem 0 4rem;
  text-align: center;
}

.badge {
  display: inline-block;
  background-color: rgba(37, 99, 235, 0.15);
  color: #60a5fa;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(37, 99, 235, 0.3);
}

.hero h1 {
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.2rem;
  color: var(--text-muted);
  max-width: 700px;
  margin: 0 auto 2rem;
}

.btn {
  display: inline-block;
  padding: 0.8rem 1.8rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-primary {
  background-color: var(--accent);
  color: #fff;
  margin-right: 1rem;
}

.btn-primary:hover {
  background-color: var(--accent-hover);
}

.btn-secondary {
  border: 1px solid var(--border);
  color: var(--text-main);
}

.btn-secondary:hover {
  background-color: var(--bg-surface);
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--text-muted);
}

/* Grid & Cards */
.grid {
  display: grid;
  gap: 2rem;
}

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

.card {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  padding: 2rem;
  border-radius: 8px;
  transition: transform 0.2s;
}

.card:hover {
  transform: translateY(-4px);
}

.card .icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* About */
.about {
  background-color: var(--bg-surface);
}

.about-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.about-text p {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.about-stats {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.stat-box {
  background: var(--bg-card);
  padding: 1.5rem;
  border-radius: 8px;
  border: 1px solid var(--border);
}

.stat-box h3 {
  font-size: 2.2rem;
  color: var(--accent);
}

/* Contact */
.contact-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border);
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.contact-box p {
  margin-bottom: 0.8rem;
}

.contact-box a {
  color: #60a5fa;
  text-decoration: none;
}

/* Terms Page */
.terms-content {
  padding: 4rem 0;
}

.terms-content h1 {
  font-size: 2.4rem;
  margin-bottom: 0.5rem;
}

.terms-content .updated-date {
  color: var(--text-muted);
  margin-bottom: 2.5rem;
}

.terms-content section {
  margin-bottom: 2rem;
}

.terms-content h2 {
  font-size: 1.3rem;
  margin-bottom: 0.8rem;
  color: #fff;
}

.terms-content p {
  color: var(--text-muted);
}

/* Footer */
.footer {
  background-color: #05070c;
  padding: 4rem 0 1rem;
  border-top: 1px solid var(--border);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-col h3, .footer-col h4 {
  margin-bottom: 1rem;
}

.footer-col p, .footer-col li {
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  list-style: none;
}

.footer-col a {
  color: var(--text-muted);
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .about-grid, .footer-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
}
