/* Responsive styles for RiskSim */

/* Mobile First Approach */

/* Small devices (phones, up to 640px) */
@media (max-width: 640px) {
  /* Typography adjustments */
  h1 {
    font-size: var(--font-size-3xl);
  }
  
  h2 {
    font-size: var(--font-size-2xl);
  }
  
  /* Container padding */
  .container {
    padding: 0 var(--space-4);
  }
  
  /* Header adjustments */
  .header {
    padding: var(--space-3) 0;
  }
  
  .logo {
    height: 40px;
  }
  
  .brand-name {
    font-size: var(--font-size-xl);
  }
  
  /* Spacing adjustments */
  section {
    padding: var(--space-8) 0;
  }
  
  .section-header {
    margin-bottom: var(--space-6);
  }
  
  /* Hero section */
  .hero {
    padding-top: var(--space-12);
    padding-bottom: var(--space-12);
  }
  
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: var(--space-8);
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  /* Features grid */
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  /* Process steps */
  .step:not(:last-child)::after {
    display: none;
  }
  
  /* Product grid */
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  /* Testimonial grid */
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  /* Contact section */
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  /* About section */
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    order: -1;
    margin-bottom: var(--space-6);
  }
}

/* Medium devices (tablets, 641px to 768px) */
@media (min-width: 641px) and (max-width: 768px) {
  /* Header adjustments */
  .header {
    padding: var(--space-3) 0;
  }
  
  .logo {
    height: 44px;
  }
  
  .brand-name {
    font-size: var(--font-size-2xl);
  }
  
  /* Hero section */
  .hero .container {
    flex-direction: column;
  }
  
  .hero-content {
    text-align: center;
    margin-bottom: var(--space-8);
  }
  
  .hero-cta {
    justify-content: center;
  }
  
  /* Features grid */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Product grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Contact section */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  /* About section */
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .about-image {
    margin-top: var(--space-6);
  }
}

/* Large devices (laptops/desktops, 769px to 1024px) */
@media (min-width: 769px) and (max-width: 1024px) {
  /* Container padding */
  .container {
    padding: 0 var(--space-6);
  }
  
  /* Features grid */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  /* Process steps */
  .process-steps {
    padding: 0 var(--space-4);
  }
  
  /* Product grid */
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Extra-large devices (large desktops, 1025px and up) */
@media (min-width: 1025px) {
  /* Container max-width */
  .container {
    max-width: 1200px;
  }
  
  /* Features grid */
  .features-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  
  /* Process steps can be displayed in a horizontal layout for large screens if desired */
}

/* Print styles */
@media print {
  body {
    font-size: 12pt;
    color: #000;
    background: #fff;
  }
  
  .header, .footer, .hero-cta, .contact-form-container {
    display: none;
  }
  
  a {
    color: #000;
    text-decoration: underline;
  }
  
  .container {
    max-width: 100%;
    padding: 0;
  }
  
  section {
    page-break-inside: avoid;
    margin-bottom: 1cm;
  }
  
  .image-placeholder {
    display: none;
  }
  
  .feature-card, .product-card, .testimonial-card {
    break-inside: avoid;
    border: 1px solid #ccc;
    box-shadow: none;
  }
}