/* Tokyo Night Theme - Shared Styles */
:root {
  --bg: #1a1b26;
  --bg-dark: #16161e;
  --bg-highlight: #292e42;
  --bg-card: #24283b;
  --fg: #c0caf5;
  --fg-dark: #a9b1d6;
  --blue: #7aa2f7;
  --cyan: #7dcfff;
  --magenta: #bb9af7;
  --purple: #9d7cd8;
  --orange: #ff9e64;
  --yellow: #e0af68;
  --green: #9ece6a;
  --teal: #73daca;
  --red: #f7768e;
  --border: #3b4261;
  --comment: #565f89;
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

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

a { color: var(--blue); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--cyan); }

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, var(--bg-highlight) 0%, transparent 50%),
              radial-gradient(ellipse at bottom, var(--purple) 0%, transparent 30%);
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
}

.hero h1 {
  font-size: clamp(2.5rem, 8vw, 5rem);
  font-weight: 700;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--cyan), var(--blue), var(--magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero .tagline {
  font-size: clamp(1.1rem, 3vw, 1.5rem);
  color: var(--fg-dark);
  margin-bottom: 2.5rem;
  max-width: 600px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--purple));
  color: white;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 40px rgba(122, 162, 247, 0.3);
  color: white;
}

.btn-secondary {
  background: var(--bg-highlight);
  color: var(--fg);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  border-color: var(--blue);
  color: var(--fg);
}

.btn-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

/* Features */
.features {
  padding: 6rem 2rem;
  background: var(--bg-dark);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s;
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: var(--blue);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 1rem;
  color: var(--cyan);
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  color: var(--fg);
}

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

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--fg);
}

.section-header p {
  color: var(--comment);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* CTA Section */
.cta {
  padding: 6rem 2rem;
  text-align: center;
  background: linear-gradient(180deg, var(--bg) 0%, var(--bg-dark) 100%);
}

.cta h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta p {
  color: var(--fg-dark);
  margin-bottom: 2rem;
  font-size: 1.1rem;
}

/* Footer */
footer {
  padding: 3rem 2rem;
  text-align: center;
  border-top: 1px solid var(--border);
  color: var(--comment);
  font-size: 0.9rem;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(26, 27, 38, 0.8);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
}

.logo {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--fg);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-links a {
  color: var(--fg-dark);
  font-size: 0.95rem;
}

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

/* Waitlist Form */
.waitlist-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-row {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.email-input {
  flex: 1;
  padding: 0.875rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 8px;
  color: var(--fg);
  font-size: 1rem;
  transition: all 0.2s;
}

.email-input:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(122, 162, 247, 0.2);
}

.email-input::placeholder {
  color: var(--comment);
}

.form-note {
  font-size: 0.85rem;
  color: var(--comment);
  margin-top: 0.5rem;
}

.success-message {
  background: rgba(158, 206, 106, 0.1);
  border: 1px solid var(--green);
  border-radius: 8px;
  padding: 1.5rem;
  color: var(--green);
}

.success-message p {
  margin: 0;
  color: var(--green);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 { font-size: 2.5rem; }
  .features { padding: 4rem 1rem; }
  .btn-group { flex-direction: column; align-items: center; }
  .navbar { padding: 1rem; }
  .nav-links { display: none; }
  .form-row { flex-direction: column; }
  .email-input { width: 100%; }
}
