/* ===== Reset & Base ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --bg: #0a0a0f;
  --bg-card: #12121a;
  --bg-card-hover: #1a1a28;
  --text: #e0e0e8;
  --text-muted: #8888a0;
  --accent-green: #00e676;
  --accent-purple: #7c4dff;
  --gradient: linear-gradient(135deg, var(--accent-green), var(--accent-purple));
  --radius: 12px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: var(--accent-green);
  text-decoration: none;
  transition: opacity 0.2s;
}

a:hover {
  opacity: 0.8;
}

/* ===== Layout ===== */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== Header ===== */
.header {
  padding: 20px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  color: var(--text);
}

.logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo {
  width: 38px;
  height: 38px;
  mix-blend-mode: lighten;
}

.header-btn {
  padding: 8px 20px;
  border: 1px solid var(--accent-green);
  border-radius: 8px;
  color: var(--accent-green);
  font-size: 0.85rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s;
}

.header-btn:hover {
  background: var(--accent-green);
  color: var(--bg);
  opacity: 1;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 100px 0 80px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(124, 77, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-logo {
  font-size: 2.2rem;
  font-weight: 700;
  letter-spacing: 0.4em;
  margin-bottom: 24px;
  position: relative;
}

.hero-logo span {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.3rem;
  color: var(--text-muted);
  margin-bottom: 16px;
  font-weight: 300;
}

.hero-sub {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 40px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.btn-primary {
  display: inline-block;
  padding: 14px 40px;
  background: var(--gradient);
  color: var(--bg);
  font-size: 1rem;
  font-weight: 600;
  border-radius: 10px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 230, 118, 0.2);
  opacity: 1;
}

/* ===== Features ===== */
.features {
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 48px;
}

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(0, 230, 118, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0, 230, 118, 0.08);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 16px;
}

.feature-card h3 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Steps ===== */
.steps {
  padding: 60px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  counter-reset: step;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  position: relative;
  counter-increment: step;
  transition: transform 0.3s, background 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.step-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(124, 77, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(124, 77, 255, 0.08);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gradient);
  color: var(--bg);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.step-card h3 {
  font-size: 1.05rem;
  margin-bottom: 10px;
  font-weight: 600;
}

.step-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ===== Footer ===== */
.footer {
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  margin-top: 40px;
}

.footer .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--accent-green);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.8rem;
}

/* ===== Legal Pages ===== */
.legal {
  padding: 60px 0 80px;
}

.legal h1 {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.legal .legal-date {
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 40px;
}

.legal h2 {
  font-size: 1.2rem;
  margin-top: 36px;
  margin-bottom: 12px;
  color: var(--text);
}

.legal p,
.legal li {
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-bottom: 10px;
}

.legal ul {
  padding-left: 24px;
  margin-bottom: 10px;
}

.legal li {
  margin-bottom: 6px;
}

/* ===== Responsive ===== */
@media (max-width: 768px) {
  .features-grid,
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero {
    padding: 60px 0 50px;
  }

  .hero-logo {
    font-size: 1.6rem;
  }

  .hero-tagline {
    font-size: 1.1rem;
  }

  .footer .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .header .container {
    flex-direction: column;
    gap: 12px;
  }

  .hero-logo {
    font-size: 1.3rem;
    letter-spacing: 0.25em;
  }

  .btn-primary {
    padding: 12px 32px;
    font-size: 0.95rem;
  }
}
