/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Fira+Code:wght@400;500;600;700&family=Roboto:wght@400;500;700&display=swap');

:root {
  --primary-color: #e74c3c;
  --secondary-color: #34495e;
  --accent-color: #3498db;
  --light-color: #f5f7fa;
  --dark-color: #2c3e50;
  --text-color: #333;
  --text-light: #666;
  --border-radius: 4px;
  --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  --transition: all 0.3s ease;
  --header-font: 'Fira Code', monospace;
  --body-font: 'Roboto', sans-serif;
}

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

body {
  color: var(--text-color);
  background-color: #fff;
  font-family: var(--body-font);
  line-height: 1.6;
}

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

h1, h2, h3, h4, h5, h6 {
  color: var(--dark-color);
  margin-bottom: 15px;
  font-weight: 600;
  line-height: 1.3;
  font-family: var(--header-font);
}

p {
  margin-bottom: 15px;
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: #217dbb;
}

ul {
  list-style: none;
}

section {
  padding: 80px 0;
}

.btn-primary, .btn-secondary {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius);
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  border: none;
}

.btn-primary:hover {
  background-color: #c0392b;
  color: #fff;
}

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

.btn-secondary:hover {
  background-color: rgba(231, 76, 60, 0.1);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--secondary-color);
  box-shadow: var(--box-shadow);
  padding: 15px 0;
}

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

.logo h1 {
  font-size: 24px;
  margin-bottom: 0;
  color: #fff;
}

nav ul {
  display: flex;
  align-items: center;
}

nav ul li {
  margin-left: 25px;
}

nav ul li a {
  color: #fff;
  font-weight: 500;
}

nav ul li a:hover {
  color: var(--light-color);
}

.hero {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  color: #fff;
  text-align: center;
  padding: 100px 0;
}

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

.hero h1 {
  font-size: 42px;
  color: #fff;
  margin-bottom: 20px;
}

.hero h2 {
  font-size: 24px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 30px;
}

.hero p {
  font-size: 18px;
  margin-bottom: 40px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-buttons .btn-secondary {
  background-color: transparent;
  color: #fff;
  border: 2px solid #fff;
}

.cta-buttons .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.features {
  background-color: #fff;
}

.features h2, .benefits h2, .how-it-works h2, .email-alerts h2, .use-cases h2, .features-comparison h2, .contact h2 {
  font-size: 36px;
  text-align: center;
  margin-bottom: 50px;
}

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

.feature-card {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  text-align: center;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.feature-card .icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(231, 76, 60, 0.1);
  border-radius: 50%;
}

.feature-card .icon img {
  width: 40px;
  height: 40px;
}

.feature-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--secondary-color);
}

.benefits {
  background-color: var(--light-color);
}

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

.benefit-card {
  background-color: #fff;
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.benefit-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.benefit-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.how-it-works {
  background-color: #fff;
}

.workflow {
  max-width: 900px;
  margin: 0 auto;
}

.workflow-step {
  display: flex;
  position: relative;
  margin-bottom: 40px;
}

.workflow-step:last-child {
  margin-bottom: 0;
}

.workflow-step:not(:last-child):after {
  content: "";
  position: absolute;
  top: 60px;
  left: 20px;
  width: 2px;
  height: calc(100% + 20px);
  background-color: var(--primary-color);
}

.step-number {
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  color: #fff;
  border-radius: 50%;
  margin-right: 20px;
  font-weight: bold;
  flex-shrink: 0;
  z-index: 1;
}

.step-content {
  flex-grow: 1;
  background-color: var(--light-color);
  padding: 20px;
  border-radius: var(--border-radius);
}

.step-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--secondary-color);
}

.email-alerts {
  background-color: var(--light-color);
}

.email-alerts-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.email-alerts-text h3 {
  font-size: 24px;
  margin-bottom: 20px;
  color: var(--secondary-color);
}

.email-alerts-text ul {
  margin-bottom: 20px;
}

.email-alerts-text ul li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
}

.email-alerts-text ul li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

.email-alerts-image img {
  display: block;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

.code-example {
  background-color: var(--dark-color);
  padding: 20px;
  border-radius: var(--border-radius);
  overflow: auto;
  margin-top: 30px;
}

.code-example pre {
  margin: 0;
}

.code-example code {
  font-family: var(--header-font);
  font-size: 14px;
  line-height: 1.5;
  color: #e6e6e6;
}

.use-cases {
  background-color: #fff;
}

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

.use-case {
  background-color: var(--light-color);
  padding: 30px;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
}

.use-case h3 {
  font-size: 20px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.features-comparison {
  background-color: var(--light-color);
}

.table-container {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  margin: 0 auto;
  overflow: hidden;
}

.comparison-table th, .comparison-table td {
  padding: 15px;
  text-align: center;
  border-bottom: 1px solid #eee;
}

.comparison-table th {
  background-color: var(--secondary-color);
  color: #fff;
  font-weight: 600;
}

.comparison-table th:first-child, .comparison-table td:first-child {
  text-align: left;
}

.comparison-table tr:last-child td {
  border-bottom: none;
}

.comparison-table tr:hover {
  background-color: rgba(231, 76, 60, 0.05);
}

.check {
  color: var(--primary-color);
  font-weight: bold;
}

.cross {
  color: var(--text-light);
}

.contact {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--dark-color) 100%);
  color: #fff;
  text-align: center;
}

.contact h2, .contact p {
  color: #fff;
}

.contact p {
  font-size: 18px;
  max-width: 700px;
  margin: 0 auto 30px;
}

.contact-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.contact .btn-secondary {
  color: #fff;
  border-color: #fff;
}

.contact .btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

footer {
  background-color: var(--secondary-color);
  color: #fff;
  padding: 60px 0 20px;
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-logo h2 {
  font-size: 24px;
  color: #2c3e50;
  margin-bottom: 10px;
}

.footer-logo p {
  color: rgba(255, 255, 255, 0.7);
}

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

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.link-group h3 {
  font-size: 18px;
  color: #fff;
  margin-bottom: 20px;
}

.link-group ul li {
  margin-bottom: 10px;
}

.link-group ul li a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.link-group ul li a:hover {
  color: #fff;
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
}

/* Social links */
.social-links a svg path {
  fill: #2c3e50;
}

/* Footer X icon fix */
.footer-bottom svg path {
  fill: #2c3e50;
}

@media (max-width: 992px) {
  .email-alerts-content, .footer-content {
    grid-template-columns: 1fr;
  }
  
  .email-alerts-image {
    order: -1;
  }
}

@media (max-width: 768px) {
  header .container {
    flex-direction: column;
  }
  
  nav ul {
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
  }
  
  nav ul li {
    margin: 5px 10px;
  }
  
  .hero h1 {
    font-size: 32px;
  }
  
  .hero h2 {
    font-size: 20px;
  }
  
  section {
    padding: 60px 0;
  }
  
  .features h2, .benefits h2, .how-it-works h2, .email-alerts h2, .use-cases h2, .features-comparison h2, .contact h2 {
    font-size: 28px;
  }
  
  .cta-buttons, .contact-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .workflow-step {
    flex-direction: column;
  }
  
  .workflow-step:not(:last-child):after {
    display: none;
  }
  
  .step-number {
    margin: 0 auto 15px;
  }
  
  /* Mobile menu styles */
  .mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 21px;
    cursor: pointer;
    z-index: 100;
  }
  
  .mobile-menu-toggle span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
    transition: all 0.3s ease;
  }
  
  header .container {
    position: relative;
  }
  
  nav {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: var(--secondary-color);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease;
    z-index: 99;
  }
  
  nav.active {
    max-height: 500px;
    padding: 15px 0;
  }
  
  nav ul {
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  
  nav ul li {
    margin: 10px 20px;
    width: calc(100% - 40px);
  }
  
  nav ul li a.btn-primary {
    display: block;
    text-align: center;
    margin-top: 10px;
  }
}

@media (max-width: 576px) {
  .feature-card, .benefit-card, .use-case {
    padding: 20px;
  }
  
  .comparison-table th, .comparison-table td {
    padding: 10px;
    font-size: 14px;
  }
}
