/* Reset and base styles */
:root {
  --primary-color: #dc2626; /* Subtle red accent */
  --primary-hover: #b91c1c;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --bg-main: #ffffff;
  --bg-alt: #f3f4f6; /* Soft gray */
  --border-color: #e5e7eb;
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --font-family: 'Inter', system-ui, -apple-system, sans-serif;
}

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

body {
  font-family: var(--font-family);
  color: var(--text-main);
  background-color: var(--bg-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3, h4 {
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.25rem; }
p { margin-bottom: 1rem; color: var(--text-muted); }

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  font-size: 1rem;
}

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

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

.btn-secondary {
  background-color: transparent;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-alt);
}

/* Navbar */
.navbar {
  border-bottom: 1px solid var(--border-color);
  background: rgba(255, 255, 255, 0.95);
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(10px);
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 72px;
}

.nav-brand {
  display: flex;
  flex-direction: column;
}

.nav-brand .logo {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-main);
}

.nav-brand .brand-note {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
}

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

.nav-login {
  color: var(--primary-color) !important;
  font-weight: 600 !important;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-main);
}

/* Hero Section */
.hero {
  padding: 80px 0;
  text-align: center;
  background-color: var(--bg-main);
}

.hero h1 {
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 2rem;
}

.trust-note {
  font-size: 0.875rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

/* Features */
.features {
  padding: 80px 0;
  background-color: var(--bg-alt);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

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

.feature-card {
  background-color: var(--bg-main);
  padding: 32px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 1px solid var(--border-color);
}

.feature-card h3 {
  margin-bottom: 12px;
  color: var(--text-main);
}

.feature-card p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

/* How It Works (Steps) */
.steps {
  padding: 80px 0;
  background-color: var(--bg-main);
}

.steps-list {
  max-width: 600px;
  margin: 0 auto;
}

.step-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.step-number {
  background-color: var(--primary-color);
  color: white;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  flex-shrink: 0;
}

.step-content h3 {
  margin-bottom: 8px;
}

/* Use Case & Disclaimer */
.info-section {
  padding: 60px 0;
  background-color: var(--bg-alt);
  text-align: center;
}

.info-content {
  max-width: 800px;
  margin: 0 auto;
}

.disclaimer-box {
  margin-top: 40px;
  padding: 24px;
  background-color: var(--bg-main);
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  text-align: left;
  font-size: 0.875rem;
}

.disclaimer-box ul {
  list-style: disc;
  margin-left: 20px;
  margin-top: 12px;
}

.disclaimer-box li {
  color: var(--text-muted);
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background-color: var(--bg-main);
  border-top: 1px solid var(--border-color);
  padding: 40px 0;
  text-align: center;
}

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

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

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

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

/* Legal Pages */
.page-header {
  padding: 60px 0 40px;
  text-align: center;
  background-color: var(--bg-alt);
  border-bottom: 1px solid var(--border-color);
}

.page-content {
  padding: 60px 0;
  max-width: 800px;
  margin: 0 auto;
}

.page-content section {
  margin-bottom: 40px;
}

.page-content h2 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: var(--text-main);
}

.page-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
}

.page-content li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

/* Forms */
.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  font-size: 0.875rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.2s;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(220, 38, 38, 0.1);
}

.error-message {
  color: var(--primary-color);
  font-size: 0.875rem;
  margin-top: 8px;
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero p { font-size: 1rem; }
  
  .hero-ctas {
    flex-direction: column;
  }
  
  .mobile-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    width: 100%;
    background: var(--bg-main);
    border-bottom: 1px solid var(--border-color);
    flex-direction: column;
    padding: 20px;
    gap: 16px;
    box-shadow: var(--shadow);
  }

  .nav-links.active {
    display: flex;
  }
  
  .page-content {
    padding: 40px 24px;
  }
}
