/* ============================================
   AEGIS REPLAY WEBSITE - styles.css
   Purple gradient theme (#667eea → #764ba2)
   ============================================ */

:root {
  --primary: #667eea;
  --primary-dark: #764ba2;
  --success: #48bb78;
  --warning: #f6ad55;
  --danger: #f56565;
  --dark: #1a202c;
  --light: #f7fafc;
  --gray: #718096;
  --border: #e2e8f0;
  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  color: var(--dark);
  line-height: 1.6;
  background: var(--light);
}

/* ===== NAVIGATION ===== */
.navbar {
  background: white;
  padding: 1rem 2rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
}

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

.nav-links a {
  color: var(--dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

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

.nav-cta {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white !important;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
}

/* ===== HERO SECTION ===== */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: white;
  padding: 6rem 2rem;
  text-align: center;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

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

.trust-badges {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.badge {
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(102, 126, 234, 0.3);
}

.btn-secondary {
  background: white;
  color: var(--primary);
  border: 2px solid white;
}

.btn-secondary:hover {
  background: transparent;
  color: white;
}

.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

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

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

/* ===== SECTIONS ===== */
.section {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

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

/* ===== PRICING CARDS ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.pricing-card {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 2px solid var(--border);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}

.pricing-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.pricing-card.featured {
  border-color: var(--primary);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-5px);
}

.featured-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
}

.pricing-tier {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.pricing-price {
  font-size: 3rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

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

.pricing-desc {
  color: var(--gray);
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.5rem 0;
  color: var(--dark);
}

.pricing-features li::before {
  content: '✓ ';
  color: var(--success);
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
  text-align: center;
}

/* ===== FEATURES GRID ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border: 1px solid var(--border);
  transition: transform 0.2s;
}

.feature-card:hover {
  transform: translateY(-3px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

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

.feature-card p {
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.feature-usecase {
  color: var(--primary);
  font-weight: 600;
  font-size: 0.875rem;
}

/* ===== COMPARISON TABLE ===== */
.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.comparison-table th,
.comparison-table td {
  padding: 1rem 1.5rem;
  text-align: left;
  border-bottom: 1px solid var(--border);
}

.comparison-table th {
  background: var(--dark);
  color: white;
  font-weight: 600;
}

.comparison-table tr:hover {
  background: var(--light);
}

.comparison-table .check {
  color: var(--success);
  font-weight: bold;
}

.comparison-table .cross {
  color: var(--danger);
}

.comparison-table .highlight {
  background: linear-gradient(135deg, rgba(102,126,234,0.1), rgba(118,75,162,0.1));
}

/* ===== CASE STUDIES ===== */
.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.case-study-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.2s;
}

.case-study-card:hover {
  transform: translateY(-5px);
}

.case-study-header {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1.5rem;
}

.case-study-header h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.case-study-content {
  padding: 1.5rem;
}

.case-study-stat {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

/* ===== FAQ ===== */
.faq-section {
  max-width: 800px;
  margin: 0 auto;
}

.faq-category {
  margin-bottom: 2rem;
}

.faq-category h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.faq-item {
  background: white;
  border-radius: 8px;
  margin-bottom: 1rem;
  border: 1px solid var(--border);
  overflow: hidden;
}

.faq-question {
  padding: 1.25rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-question:hover {
  background: var(--light);
}

.faq-answer {
  padding: 0 1.25rem 1.25rem;
  color: var(--gray);
  border-top: 1px solid var(--border);
}

/* ===== TESTIMONIALS ===== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
  border-left: 4px solid var(--primary);
}

.testimonial-text {
  font-style: italic;
  color: var(--dark);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.testimonial-author {
  font-weight: 600;
  color: var(--dark);
}

.testimonial-role {
  color: var(--gray);
  font-size: 0.875rem;
}

/* ===== ROI CALCULATOR ===== */
.roi-calculator {
  background: white;
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  max-width: 600px;
  margin: 0 auto;
}

.roi-input {
  margin-bottom: 1.5rem;
}

.roi-input label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.roi-input input {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--border);
  border-radius: 8px;
  font-size: 1rem;
}

.roi-result {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  text-align: center;
}

.roi-result h3 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--dark);
  color: white;
  padding: 4rem 2rem 2rem;
}

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

.footer-col h4 {
  font-size: 1.125rem;
  margin-bottom: 1rem;
  color: white;
}

.footer-col a {
  display: block;
  color: #a0aec0;
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.2s;
}

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

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid #2d3748;
  text-align: center;
  color: #a0aec0;
}

/* ===== LANDING PAGES ===== */
.lp-hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lp-content {
  max-width: 700px;
  text-align: center;
}

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

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

  .hero p {
    font-size: 1rem;
  }

  .section {
    padding: 3rem 1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

  .pricing-card.featured {
    transform: none;
  }

  .pricing-card.featured:hover {
    transform: translateY(-5px);
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .trust-badges {
    gap: 1rem;
  }
}

/* ===== UTILITIES ===== */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-gray { color: var(--gray); }
.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.bg-light { background: var(--light); }
.bg-white { background: white; }

/* ===== REGULATED WORKFLOWS BLOCK ===== */
.regulated-workflows-block {
  background: white;
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 2px solid var(--border);
}

.regulated-workflows-block .section-header {
  margin-bottom: 2.5rem;
}

.regulated-workflows-block .section-header h2 {
  color: var(--dark);
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.regulated-workflows-block .section-header p {
  max-width: 700px;
}

.role-callout {
  display: inline-block;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  padding: 0.375rem 1rem;
  border-radius: 20px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.regulated-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.regulated-feature-card {
  background: var(--light);
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid var(--border);
}

.regulated-feature-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.regulated-feature-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.regulated-feature-card ul {
  list-style: none;
  color: var(--gray);
  font-size: 0.9375rem;
}

.regulated-feature-card ul li {
  padding: 0.25rem 0;
  padding-left: 1.25rem;
  position: relative;
}

.regulated-feature-card ul li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: var(--primary);
}

.regulated-cta {
  text-align: center;
  margin-bottom: 1.5rem;
}

.regulated-disclaimer {
  text-align: center;
  font-size: 0.8125rem;
  color: var(--gray);
  max-width: 600px;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .regulated-workflows-block {
    padding: 2rem 1.5rem;
  }

  .regulated-features-grid {
    grid-template-columns: 1fr;
  }
}
