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

:root {
  --bg: #0a1628;
  --bg2: #0f2140;
  --accent: #3b82f6;
  --accent-hover: #2563eb;
  --text: #fff;
  --text2: #94a3b8;
}

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

/* Nav */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 22, 40, 0.9);
  backdrop-filter: blur(10px);
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
}

.logo svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

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

.nav-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--text);
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 80px;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.hero-content {
  flex: 1;
}

.hero h1 {
  font-size: 48px;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text2);
  margin-bottom: 32px;
  max-width: 500px;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 32px;
  background: var(--accent);
  color: var(--text);
  text-decoration: none;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.hero-image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.app-preview {
  width: 400px;
  background: var(--bg2);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.4);
}

.preview-header {
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  display: flex;
  gap: 8px;
}

.preview-header span {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
}

.preview-content {
  display: flex;
  padding: 16px;
  gap: 16px;
  min-height: 300px;
}

.preview-sidebar {
  width: 80px;
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
}

.preview-grid {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.preview-card {
  aspect-ratio: 1;
  background: linear-gradient(135deg, rgba(59,130,246,0.3), rgba(59,130,246,0.1));
  border-radius: 6px;
}

/* Features */
.features {
  padding: 80px 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.features h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 32px;
}

.feature {
  background: var(--bg2);
  padding: 32px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.1);
}

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

.feature h3 {
  font-size: 20px;
  margin-bottom: 12px;
}

.feature p {
  color: var(--text2);
  font-size: 15px;
}

/* How it works */
.how-it-works {
  padding: 80px 24px;
  background: var(--bg2);
}

.how-it-works h2 {
  text-align: center;
  font-size: 36px;
  margin-bottom: 48px;
}

.steps {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
}

.step {
  text-align: center;
  padding: 24px;
}

.step-number {
  width: 48px;
  height: 48px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  margin: 0 auto 16px;
}

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

.step p {
  color: var(--text2);
  font-size: 14px;
}

/* Footer */
footer {
  padding: 48px 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
}

.footer-brand svg {
  width: 24px;
  height: 24px;
  color: var(--accent);
}

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

.footer-links a {
  color: var(--text2);
  text-decoration: none;
  font-size: 14px;
}

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

.copyright {
  color: var(--text2);
  font-size: 13px;
}

/* Mobile */
@media (max-width: 768px) {
  .hero {
    flex-direction: column;
    text-align: center;
    padding-top: 100px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-image {
    width: 100%;
  }

  .app-preview {
    width: 100%;
    max-width: 350px;
  }

  .nav-links {
    display: none;
  }
}
