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

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --secondary: #64748b;
  --dark: #0f172a;
  --light: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-300: #cbd5e1;
  --gray-600: #475569;
  --success: #10b981;
  --warning: #f59e0b;
  --radius: 8px;
  --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: var(--dark);
  background: white;
}

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

/* Typography */
h1, h2, h3 {
  line-height: 1.2;
  font-weight: 700;
}

h1 { font-size: clamp(2.5rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; }

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

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

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

.btn-secondary {
  background: var(--gray-100);
  color: var(--dark);
}

.btn-secondary:hover {
  background: var(--gray-200);
}

.btn-full {
  width: 100%;
}

/* Header */
.header {
  padding: 16px 0;
  position: sticky;
  top: 0;
  background: white;
  border-bottom: 1px solid var(--gray-200);
  z-index: 100;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.header nav a {
  text-decoration: none;
  color: var(--secondary);
  font-weight: 500;
}

.header nav a:hover {
  color: var(--dark);
}

/* Hero */
.hero {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(180deg, var(--light) 0%, white 100%);
}

.hero h1 {
  margin-bottom: 16px;
}

.subtitle {
  font-size: 1.25rem;
  color: var(--secondary);
  max-width: 600px;
  margin: 0 auto 40px;
}

.hero-cta {
  max-width: 500px;
  margin: 0 auto;
}

.email-form {
  display: flex;
  gap: 12px;
  margin-bottom: 12px;
}

.email-form input {
  flex: 1;
  padding: 14px 18px;
  font-size: 1rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  outline: none;
}

.email-form input:focus {
  border-color: var(--primary);
}

.form-note {
  font-size: 0.875rem;
  color: var(--secondary);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 48px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid var(--gray-200);
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.875rem;
  color: var(--secondary);
}

/* Problem Section */
.problem {
  padding: 80px 0;
  background: white;
}

.problem h2 {
  text-align: center;
  margin-bottom: 48px;
}

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

.problem-card {
  padding: 32px;
  background: var(--light);
  border-radius: 12px;
  text-align: center;
}

.problem-icon {
  font-size: 3rem;
  display: block;
  margin-bottom: 16px;
}

.problem-card h3 {
  margin-bottom: 12px;
}

.problem-card p {
  color: var(--secondary);
}

/* Solution Section */
.solution {
  padding: 80px 0;
  background: var(--dark);
  color: white;
}

.solution h2 {
  text-align: center;
  margin-bottom: 48px;
}

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

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

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

.step h3 {
  margin-bottom: 12px;
}

.step p {
  color: var(--gray-300);
}

/* Example Alert */
.example {
  padding: 80px 0;
  background: var(--light);
}

.example h2 {
  text-align: center;
  margin-bottom: 40px;
}

.alert-preview {
  max-width: 600px;
  margin: 0 auto;
}

.alert-card {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
}

.alert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.alert-badge {
  background: var(--success);
  color: white;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
}

.alert-time {
  font-size: 0.875rem;
  color: var(--secondary);
}

.alert-card h3 {
  margin-bottom: 16px;
  color: var(--dark);
}

.alert-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 12px;
  font-size: 0.875rem;
}

.alert-details {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: var(--secondary);
}

.alert-link {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

.alert-link:hover {
  text-decoration: underline;
}

/* Pricing */
.pricing {
  padding: 80px 0;
  background: white;
}

.pricing h2 {
  text-align: center;
}

.pricing-subtitle {
  text-align: center;
  color: var(--secondary);
  margin-bottom: 48px;
}

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

.pricing-card {
  background: var(--light);
  border-radius: 12px;
  padding: 32px;
  position: relative;
}

.pricing-card.featured {
  background: var(--dark);
  color: white;
  transform: scale(1.05);
}

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

.pricing-header {
  text-align: center;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

.pricing-card.featured .pricing-header {
  border-bottom-color: var(--gray-600);
}

.price {
  font-size: 3rem;
  font-weight: 700;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--secondary);
}

.pricing-card.featured .price span {
  color: var(--gray-300);
}

.pricing-features {
  list-style: none;
  margin-bottom: 24px;
}

.pricing-features li {
  padding: 8px 0;
}

.pricing-features li.disabled {
  color: var(--secondary);
}

.pricing-card.featured .pricing-features li.disabled {
  color: var(--gray-600);
}

/* Social Proof */
.social-proof {
  padding: 80px 0;
  background: var(--light);
  text-align: center;
}

.social-proof h2 {
  margin-bottom: 16px;
}

.social-proof > .container > p {
  color: var(--secondary);
  max-width: 600px;
  margin: 0 auto 32px;
}

.certifications {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.certifications > span {
  color: var(--secondary);
  font-size: 0.875rem;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.cert-badge {
  background: white;
  border: 2px solid var(--gray-200);
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
}

/* CTA */
.cta {
  padding: 80px 0;
  background: var(--primary);
  color: white;
  text-align: center;
}

.cta h2 {
  margin-bottom: 16px;
}

.cta p {
  margin-bottom: 32px;
  opacity: 0.9;
}

.cta .email-form {
  max-width: 500px;
  margin: 0 auto;
}

.cta .email-form input {
  border-color: transparent;
}

.cta .btn-primary {
  background: var(--dark);
}

.cta .btn-primary:hover {
  background: #1e293b;
}

/* Footer */
.footer {
  padding: 48px 0 24px;
  background: var(--dark);
  color: var(--gray-300);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 32px;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 8px;
}

.footer-brand p {
  font-size: 0.875rem;
}

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

.footer-links a {
  color: var(--gray-300);
  text-decoration: none;
  font-size: 0.875rem;
}

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

.footer-bottom {
  padding-top: 24px;
  border-top: 1px solid var(--gray-600);
  font-size: 0.875rem;
  text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
  .header nav a:not(.btn) {
    display: none;
  }
  
  .hero-stats {
    flex-direction: column;
    gap: 24px;
  }
  
  .email-form {
    flex-direction: column;
  }
  
  .pricing-card.featured {
    transform: none;
  }
  
  .footer-content {
    flex-direction: column;
    gap: 24px;
  }
}
