/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* Layout Container */
header, main, footer {
  max-width: 900px;
  margin: 0 auto;
  padding: 20px;
}

/* Header */
header {
  text-align: center;
  padding: 60px 20px 40px;
  border-bottom: 3px solid #6366f1;
}

header h1 {
  font-size: 3.5em;
  color: #6366f1;
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -1px;
}

.tagline {
  font-size: 1.3em;
  color: #64748b;
  font-style: italic;
  font-weight: 300;
}

.tagline a {
  color: #6366f1;
  text-decoration: none;
}

.tagline a:hover {
  text-decoration: underline;
}

/* Main Content */
main {
  padding: 60px 20px;
}

section {
  margin-bottom: 60px;
}

h2 {
  color: #6366f1;
  font-size: 2.2em;
  margin-bottom: 20px;
  font-weight: 600;
}

h3 {
  color: #1e293b;
  font-size: 1.6em;
  margin-bottom: 15px;
  font-weight: 600;
}

h4 {
  color: #334155;
  font-size: 1.2em;
  margin-bottom: 10px;
  font-weight: 600;
}

p {
  margin-bottom: 15px;
  color: #475569;
  font-size: 1.05em;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, #f0f4ff 0%, #f8faff 100%);
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(99, 102, 241, 0.1);
}

.hero p {
  font-size: 1.2em;
  color: #475569;
  max-width: 700px;
  margin: 0 auto;
}

/* Beta Signup Section */
.beta-signup {
  background: #ffffff;
  padding: 50px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 12px rgba(99, 102, 241, 0.15);
  border: 2px solid #e0e7ff;
}

.beta-signup h3 {
  color: #6366f1;
  font-size: 2em;
  margin-bottom: 15px;
}

.beta-signup p {
  font-size: 1.1em;
  color: #64748b;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.beta-signup iframe {
  border-radius: 8px;
  max-width: 600px;
  margin: 0 auto;
}

/* Feature Grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 30px;
}

.feature {
  background: #f8fafc;
  padding: 30px;
  border-radius: 8px;
  border-left: 4px solid #6366f1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.15);
}

.feature h4 {
  margin-bottom: 15px;
  color: #6366f1;
}

.feature p {
  color: #64748b;
  font-size: 0.95em;
}

/* Privacy Section */
.privacy-section {
  background: #fefce8;
  padding: 40px;
  border-radius: 8px;
  border: 1px solid #fde047;
}

.legal-links {
  font-weight: 600;
  margin-top: 20px;
}

/* Contact Section */
.contact {
  text-align: center;
  padding: 40px;
  background: #f8fafc;
  border-radius: 8px;
}

.coming-soon {
  margin-top: 20px;
  font-style: italic;
  color: #64748b;
}

/* Links */
a {
  color: #6366f1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

a:hover {
  color: #4f46e5;
  text-decoration: underline;
}

/* Footer */
footer {
  text-align: center;
  padding: 40px 20px;
  border-top: 1px solid #e2e8f0;
  color: #94a3b8;
  font-size: 0.9em;
}

/* Legal Pages */
.legal-page {
  max-width: 800px;
  margin: 0 auto;
}

.legal-page h1 {
  color: #1e293b;
  font-size: 2.5em;
  margin-bottom: 10px;
  border-bottom: 3px solid #6366f1;
  padding-bottom: 15px;
}

.legal-page h2 {
  color: #334155;
  font-size: 1.8em;
  margin-top: 40px;
  margin-bottom: 15px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 10px;
}

.legal-page h3 {
  color: #475569;
  font-size: 1.3em;
  margin-top: 25px;
  margin-bottom: 12px;
}

.legal-page ul {
  margin-left: 30px;
  margin-bottom: 20px;
}

.legal-page li {
  margin-bottom: 10px;
  color: #475569;
}

.legal-page code {
  background: #f1f5f9;
  padding: 2px 6px;
  border-radius: 4px;
  font-family: 'Courier New', monospace;
  font-size: 0.9em;
  color: #6366f1;
}

.legal-page strong {
  color: #1e293b;
  font-weight: 600;
}

/* Responsive Design */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.5em;
  }

  .tagline {
    font-size: 1.1em;
  }

  h2 {
    font-size: 1.8em;
  }

  .hero {
    padding: 30px 20px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
  }

  .privacy-section,
  .contact {
    padding: 25px;
  }

  .legal-page h1 {
    font-size: 2em;
  }
}
