/* Responsive CSS for Atomic Web Systems */

/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  line-height: 1.6;
}

/* Container and Layout */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Responsive */
header {
  padding: 1rem 0;
}

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

.logo {
  max-width: 200px;
  height: auto;
}

/* Navigation */
nav {
  display: flex;
  gap: 2rem;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #007bff;
}

/* Our Approach Section */
.approach-section {
  padding: 4rem 0;
  text-align: center;
}

.approach-section h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.approach-section p {
  font-size: 1.125rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  color: #666;
}

/* Benefits Section */
.benefits-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.benefits-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.benefits-subtitle {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 4rem;
  color: #666;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 3rem;
  margin-bottom: 2rem;
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
  flex-shrink: 0;
  width: 80px;
  height: 80px;
}

.benefit-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.benefit-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
  color: #333;
}

.benefit-content p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* Use Cases Section */
.use-cases-section {
  padding: 4rem 0;
}

.use-cases-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

.use-cases-subtitle {
  text-align: center;
  font-size: 1.25rem;
  margin-bottom: 4rem;
  color: #666;
}

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

.use-case-item {
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.07);
  text-align: center;
  transition: transform 0.3s ease;
}

.use-case-item:hover {
  transform: translateY(-5px);
}

.use-case-item h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.use-case-item p {
  color: #666;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  padding: 4rem 0;
  background-color: #f8f9fa;
}

.faq-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  font-weight: 700;
}

/* Footer Styles */
.footer {
  background-color: #333;
  color: white;
  padding: 3rem 0 2rem;
}

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

.footer-section h3 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  font-weight: 600;
  color: #fff;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-info p {
  margin: 0;
  color: #ccc;
  line-height: 1.6;
}

.contact-info a {
  color: #007bff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #0056b3;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links img {
  width: 32px;
  height: 32px;
  transition: opacity 0.3s ease;
}

.social-links img:hover {
  opacity: 0.7;
}

/* Mobile Styles - Tablet and below (768px) */
@media (max-width: 768px) {
  .container {
    padding: 0 15px;
  }
  
  /* Header Mobile */
  .header-content {
    flex-direction: column;
    gap: 1rem;
  }
  
  nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  /* Approach Section Mobile */
  .approach-section {
    padding: 2rem 0;
  }
  
  .approach-section h1 {
    font-size: 2rem;
  }
  
  .approach-section p {
    font-size: 1rem;
    padding: 0 1rem;
  }
  
  /* Benefits Section Mobile - Vertical Stacking */
  .benefits-section {
    padding: 3rem 0;
  }
  
  .benefits-title {
    font-size: 2rem;
    margin-bottom: 2rem;
  }
  
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .benefit-item {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
    padding: 1.5rem;
  }
  
  .benefit-icon {
    align-self: center;
    width: 60px;
    height: 60px;
  }
  
  .benefit-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
  }
  
  .benefit-content p {
    font-size: 0.9rem;
  }
  
  /* Use Cases Mobile */
  .use-cases-section {
    padding: 3rem 0;
  }
  
  .use-cases-title {
    font-size: 2rem;
  }
  
  .use-cases-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .use-case-item {
    padding: 1.5rem;
  }
  
  /* FAQ Mobile */
  .faq-section {
    padding: 3rem 0;
  }
  
  .faq-title {
    font-size: 2rem;
  }
  
  /* Footer Mobile */
  .footer {
    padding: 2rem 0 1rem;
  }
  
  .footer-content {
    text-align: center;
  }
  
  .contact-info {
    align-items: center;
  }
  
  .social-links {
    justify-content: center;
  }
}

/* Small Mobile Styles (480px and below) */
@media (max-width: 480px) {
  .container {
    padding: 0 10px;
  }
  
  .approach-section h1 {
    font-size: 1.75rem;
  }
  
  .benefits-title,
  .use-cases-title,
  .faq-title {
    font-size: 1.75rem;
  }
  
  .benefit-item,
  .use-case-item {
    padding: 1rem;
  }
  
  .benefit-icon {
    width: 50px;
    height: 50px;
  }
  
  .benefit-content h3 {
    font-size: 1.125rem;
  }
  
  nav {
    gap: 0.75rem;
  }
  
  nav a {
    font-size: 0.9rem;
  }
}

/* Large Desktop Styles (1200px and above) */
@media (min-width: 1200px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .use-cases-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Print Styles */
@media print {
  .footer,
  nav {
    display: none;
  }
  
  .container {
    max-width: none;
    padding: 0;
  }
  
  .benefit-item,
  .use-case-item {
    break-inside: avoid;
  }
}

/* Accessibility Improvements */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Focus states for accessibility */
a:focus,
button:focus {
  outline: 2px solid #007bff;
  outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .benefit-item,
  .use-case-item {
    border: 2px solid #000;
  }
}