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

:root {
  --primary: #1A1A2E;
  --secondary: #16213E;
  --accent: #0F3460;
  --highlight: #00FF66;
  --text: #E8E8E8;
  --text-muted: #9CA3AF;
  --card-bg: rgba(22, 33, 62, 0.5);
  --radius: 16px;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--primary);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
ul { list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* === Navigation === */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(26, 26, 46, 0.85);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.nav-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 800;
  font-size: 20px;
}

.nav-logo-img { display: block; }

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s;
}

.nav-link:hover { color: white; }

/* === Hero === */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 120px 24px 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-image {
  position: absolute;
  inset: 0;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
  filter: brightness(0.35);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(5, 5, 10, 0.7) 0%, rgba(5, 5, 10, 0.4) 40%, rgba(5, 5, 10, 0.8) 100%);
}

.hero-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, black, transparent);
}

.hero-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  max-width: 100vw;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 255, 102, 0.08) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.6; transform: translateX(-50%) scale(1); }
  50% { opacity: 1; transform: translateX(-50%) scale(1.15); }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 720px;
}

.hero-badge {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  color: var(--highlight);
  background: rgba(233, 69, 96, 0.12);
  border: 1px solid rgba(233, 69, 96, 0.2);
  margin-bottom: 24px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.highlight { color: var(--highlight); }

.hero-sub {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto 32px;
  line-height: 1.7;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  margin-top: 56px;
}

.stat { text-align: center; }
.stat-num { display: block; font-size: 20px; font-weight: 700; color: white; }
.stat-label { font-size: 13px; color: var(--text-muted); }

/* === Buttons === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--highlight);
  color: white;
}

.btn-primary:hover {
  background: #d63d55;
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(233, 69, 96, 0.3);
}

.btn-secondary {
  background: rgba(255,255,255,0.08);
  color: white;
  border: 1px solid rgba(255,255,255,0.12);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.12);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 1px solid rgba(255,255,255,0.2);
  width: 100%;
}

.btn-outline:hover {
  border-color: var(--highlight);
  color: var(--highlight);
}

/* === Sections === */
.section {
  padding: 100px 0;
}

.section-dark {
  background: #0D0D1A;
}

.section-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 17px;
  max-width: 500px;
  margin: 0 auto 56px;
}

/* === Steps === */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  max-width: 900px;
  margin: 48px auto 0;
}

.step {
  text-align: center;
  position: relative;
}

.step-num {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--highlight);
  color: white;
  font-size: 13px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-icon {
  font-size: 48px;
  margin: 24px 0 16px;
}

.step h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === Features Grid === */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.feature-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 28px;
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(233, 69, 96, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

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

.feature-card h3 {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* === Pricing === */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.pricing-card {
  background: var(--card-bg);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius);
  padding: 36px 28px;
  text-align: center;
  position: relative;
}

.pricing-popular {
  border-color: var(--highlight);
  background: rgba(233, 69, 96, 0.06);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--highlight);
  color: white;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 16px;
  border-radius: 20px;
}

.pricing-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 8px;
}

.pricing-price {
  font-size: 42px;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.pricing-period {
  color: var(--text-muted);
  font-size: 14px;
  margin-bottom: 24px;
}

.pricing-features {
  text-align: left;
  margin-bottom: 28px;
}

.pricing-features li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(255,255,255,0.04);
}

.pricing-features li::before {
  content: "✓ ";
  color: #4ade80;
  font-weight: 700;
}

/* === CTA Section === */
.section-cta {
  text-align: center;
  background:
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(233, 69, 96, 0.1) 0%, transparent 60%),
    var(--primary);
}

.section-cta h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 12px;
}

.section-cta p {
  color: var(--text-muted);
  font-size: 17px;
  margin-bottom: 32px;
}

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

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}

.footer-brand {
  margin-bottom: 16px;
}

.footer-brand .logo-text {
  font-weight: 800;
  font-size: 18px;
  margin-left: 8px;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.footer-links {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 20px 0;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color 0.2s;
}

.footer-links a:hover { color: white; }

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

.footer-copy {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.6;
}

.footer-lang {
  display: flex;
  gap: 12px;
}

.footer-lang a {
  font-size: 13px;
  color: var(--text-muted);
  opacity: 0.6;
  transition: opacity 0.2s;
}

.footer-lang a.active {
  color: var(--highlight);
  opacity: 1;
}

.footer-lang a:hover { opacity: 1; }

/* === Legal Pages === */
.legal {
  max-width: 720px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.legal h1 {
  font-size: 2rem;
  font-weight: 800;
  margin-bottom: 32px;
}

.legal h2 {
  font-size: 1.3rem;
  font-weight: 700;
  margin: 32px 0 12px;
  color: var(--highlight);
}

.legal p, .legal li {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal ul { padding-left: 20px; list-style: disc; }

/* === Responsive === */
@media (max-width: 768px) {
  .nav-links { display: none; }

  .hero { padding: 100px 20px 60px; }
  .hero-stats { gap: 24px; flex-wrap: wrap; }

  .steps { grid-template-columns: 1fr; gap: 48px; }
  .features-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; }

  .hero-cta { flex-direction: column; align-items: center; }
  .btn { width: 100%; max-width: 300px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 2rem; }
}
