:root {
  --bg-dark: #0f172a;
  --panel-bg: rgba(30, 41, 59, 0.7);
  --accent: #6366f1;
  --accent-hover: #4f46e5;
  --text-main: #f8fafc;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
}

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
}

.navbar {
  position: sticky;
  top: 0;
  width: 100%;
  background: var(--panel-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.8rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo-badge {
  background: var(--accent);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 6px;
  text-transform: uppercase;
}

.nav-links {
  display: flex;
  gap: 1.5rem;
}

.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--text-main);
}

.nav-actions {
  display: flex;
  gap: 0.75rem;
}

.btn {
  padding: 0.5rem 1rem;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
}

.btn-primary {
  background: var(--accent);
  color: #fff;
}

.btn-primary:hover {
  background: var(--accent-hover);
}

.welcome-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.remember-option {
  font-size: 0.85rem;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  cursor: pointer;
  user-select: none;
}

.remember-option input[type="checkbox"] {
  accent-color: #6366f1;
  cursor: pointer;
}

.hero-container {
  max-width: 1200px;
  margin: 3rem auto;
  padding: 0 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
  text-align: center;
}

.hero-main {
  max-width: 750px;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.text-gradient {
  background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.ip-box {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  background: rgba(30, 41, 59, 0.8);
  border: 1px solid var(--border-color);
  padding: 0.6rem 0.6rem 0.6rem 1.2rem;
  border-radius: 12px;
  cursor: pointer;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.ip-box:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
}

.ip-text {
  font-family: monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: #38bdf8;
}

.ip-btn {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.feature-card {
  background: var(--panel-bg);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 16px;
  text-align: left;
  transition:
    transform 0.2s,
    border-color 0.2s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(99, 102, 241, 0.4);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

html {
  scroll-behavior: smooth;
}

.section-block {
  width: 100%;
  margin-top: 2rem;
  padding-top: 2rem;
}

.section-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
  text-align: center;
}

.features-detail-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}

.detail-card {
  background: var(--panel-bg);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 12px;
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  text-align: left;
}

.detail-icon {
  font-size: 2rem;
  background: rgba(255, 255, 255, 0.05);
  padding: 0.6rem;
  border-radius: 10px;
  border: 1px solid var(--border-color);
}

.detail-card h4 {
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.detail-card p {
  color: var(--text-muted);
  font-size: 0.9rem;
  line-height: 1.4;
}

.community-box {
  background: linear-gradient(
    135deg,
    rgba(30, 41, 59, 0.9) 0%,
    rgba(15, 23, 42, 0.9) 100%
  );
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 2.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  text-align: left;
}

.community-info h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.community-info p {
  color: var(--text-muted);
  max-width: 550px;
  margin-bottom: 1.5rem;
}

.community-stats {
  display: flex;
  gap: 2rem;
}

.stat-value {
  display: block;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
}

.stat-label {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-large {
  padding: 0.8rem 1.8rem;
  font-size: 1rem;
}

@media (max-width: 768px) {
  .community-box {
    flex-direction: column;
    text-align: center;
  }
  .community-stats {
    justify-content: center;
  }
}
