/* AI Mailbox Agent - Sales Site Styles */

:root {
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --primary-light: #dbeafe;
  --slate-50: #f8fafc;
  --slate-100: #f1f5f9;
  --slate-200: #e2e8f0;
  --slate-600: #475569;
  --slate-800: #1e293b;
  --slate-900: #0f172a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--slate-800);
  background: #ffffff;
  line-height: 1.6;
}

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--slate-200);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--slate-900);
  text-decoration: none;
}

.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

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

.nav-links a {
  color: var(--slate-600);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.15s;
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  border-radius: 0.5rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.btn-secondary {
  background: white;
  color: var(--slate-800);
  border: 1px solid var(--slate-200);
}

.btn-secondary:hover {
  background: var(--slate-50);
  border-color: var(--slate-300);
}

.btn-large {
  padding: 1rem 2rem;
  font-size: 1.1rem;
}

/* Hero */
.hero {
  padding: 5rem 0 4rem;
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
  text-align: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: var(--primary-light);
  color: var(--primary-dark);
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  font-weight: 800;
  color: var(--slate-900);
  margin: 0 0 1.5rem;
}

.hero h1 span {
  color: var(--primary);
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--slate-600);
  max-width: 720px;
  margin: 0 auto 2.5rem;
}

.hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.hero-image {
  border-radius: 1rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.12);
  border: 1px solid var(--slate-200);
  max-width: 100%;
  height: auto;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.5rem;
}

.section-title h2 {
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 0.75rem;
}

.section-title p {
  font-size: 1.125rem;
  color: var(--slate-600);
  max-width: 640px;
  margin: 0 auto;
}

.bg-slate {
  background: var(--slate-50);
}

/* Feature grid */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.feature-card {
  background: white;
  border: 1px solid var(--slate-200);
  border-radius: 1rem;
  padding: 1.75rem;
  transition: all 0.15s;
}

.feature-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  border-color: var(--primary-light);
  transform: translateY(-2px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.feature-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 0.5rem;
}

.feature-card p {
  color: var(--slate-600);
  margin: 0;
  font-size: 0.95rem;
}

/* Screenshot sections */
.screenshot-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.screenshot-row.reverse {
  direction: rtl;
}

.screenshot-row.reverse > * {
  direction: ltr;
}

.screenshot-row:last-child {
  margin-bottom: 0;
}

.screenshot-content h3 {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--slate-900);
  margin: 0 0 1rem;
}

.screenshot-content p {
  color: var(--slate-600);
  margin: 0 0 1rem;
}

.screenshot-content ul {
  padding-left: 1.25rem;
  color: var(--slate-600);
}

.screenshot-content li {
  margin-bottom: 0.5rem;
}

.screenshot-img {
  border-radius: 1rem;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--slate-200);
  max-width: 100%;
  height: auto;
}

/* Pricing */
.pricing-card {
  background: white;
  border: 2px solid var(--primary);
  border-radius: 1.25rem;
  padding: 2.5rem;
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
  box-shadow: 0 10px 40px rgba(37, 99, 235, 0.1);
}

.pricing-card .price {
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--slate-900);
  margin: 1rem 0;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--slate-600);
}

.pricing-features {
  text-align: left;
  list-style: none;
  padding: 0;
  margin: 1.5rem 0 2rem;
}

.pricing-features li {
  padding: 0.6rem 0;
  border-bottom: 1px solid var(--slate-100);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pricing-features li:last-child {
  border-bottom: none;
}

/* FAQ */
.faq-item {
  border-bottom: 1px solid var(--slate-200);
  padding: 1.5rem 0;
}

.faq-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--slate-900);
  margin: 0 0 0.5rem;
}

.faq-item p {
  color: var(--slate-600);
  margin: 0;
}

/* CTA section */
.cta-section {
  background: var(--slate-900);
  color: white;
  text-align: center;
  padding: 5rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin: 0 0 1rem;
}

.cta-section p {
  color: #cbd5e1;
  font-size: 1.125rem;
  max-width: 600px;
  margin: 0 auto 2rem;
}

/* Footer */
.site-footer {
  background: var(--slate-50);
  border-top: 1px solid var(--slate-200);
  padding: 3rem 0;
}

.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.site-footer p {
  color: var(--slate-600);
  margin: 0;
  font-size: 0.9rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: var(--slate-600);
  text-decoration: none;
  font-size: 0.9rem;
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero h1 {
    font-size: 2.25rem;
  }

  .screenshot-row,
  .screenshot-row.reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 2rem;
  }

  .screenshot-row.reverse > * {
    direction: ltr;
  }

  .hero-cta {
    flex-direction: column;
  }
}
