/* ============================================
   SOLIDSTANCE - SCANDINAVIAN CLEAN DESIGN
   Modern, minimalist, functional
   ============================================ */

/* CSS RESET & BASE */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  line-height: 1.6;
  color: #2C3E50;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

/* TYPOGRAPHY - Scandinavian minimalism */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: #2C3E50;
  margin-bottom: 16px;
}

h1 {
  font-size: 40px;
  letter-spacing: -0.5px;
}

h2 {
  font-size: 32px;
  letter-spacing: -0.3px;
}

h3 {
  font-size: 24px;
}

p {
  margin-bottom: 16px;
  color: #546E7A;
  font-size: 16px;
}

a {
  color: #2C3E50;
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: #E74C3C;
}

ul, ol {
  margin-left: 24px;
  margin-bottom: 16px;
}

li {
  margin-bottom: 8px;
  color: #546E7A;
}

strong {
  font-weight: 600;
  color: #2C3E50;
}

/* CONTAINER - Clean and centered */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* HEADER - Minimal Scandinavian header */
header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #E0E0E0;
  padding: 20px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

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

.logo img {
  height: 45px;
  width: auto;
}

.main-nav {
  display: flex;
  gap: 32px;
  align-items: center;
  flex-wrap: wrap;
}

.main-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 500;
  color: #2C3E50;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.main-nav a:hover {
  color: #E74C3C;
  border-bottom-color: #E74C3C;
}

/* MOBILE MENU TOGGLE */
.mobile-menu-toggle {
  display: none;
  position: fixed;
  top: 20px;
  right: 24px;
  z-index: 200;
  background-color: #2C3E50;
  color: #FFFFFF;
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(44, 62, 80, 0.3);
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: #E74C3C;
  transform: scale(1.05);
}

/* MOBILE MENU OVERLAY */
.mobile-menu {
  display: none;
  position: fixed;
  top: 0;
  right: -100%;
  width: 280px;
  height: 100vh;
  background-color: #FFFFFF;
  box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
  z-index: 300;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 80px 32px 32px;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 32px;
  color: #2C3E50;
  cursor: pointer;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  color: #E74C3C;
  transform: rotate(90deg);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.mobile-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 500;
  color: #2C3E50;
  padding: 16px 0;
  border-bottom: 1px solid #ECF0F1;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  color: #E74C3C;
  padding-left: 12px;
}

/* BUTTONS - Clean Scandinavian style */
.btn {
  display: inline-block;
  padding: 14px 32px;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
}

.btn-primary {
  background-color: #E74C3C;
  color: #FFFFFF;
  border-color: #E74C3C;
}

.btn-primary:hover {
  background-color: #C0392B;
  border-color: #C0392B;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
  background-color: transparent;
  color: #2C3E50;
  border-color: #2C3E50;
}

.btn-secondary:hover {
  background-color: #2C3E50;
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(44, 62, 80, 0.2);
}

.link-secondary {
  display: inline-block;
  margin-top: 16px;
  color: #546E7A;
  text-decoration: underline;
  font-size: 15px;
  transition: color 0.3s ease;
}

.link-secondary:hover {
  color: #E74C3C;
}

/* HERO SECTION - Minimalist and spacious */
.hero {
  background: linear-gradient(135deg, #ECF0F1 0%, #FFFFFF 100%);
  padding: 80px 0;
  margin-bottom: 60px;
  border-bottom: 1px solid #E0E0E0;
}

.hero-content {
  max-width: 700px;
  text-align: center;
  margin: 0 auto;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 24px;
  color: #2C3E50;
}

.hero-subheadline {
  font-size: 20px;
  color: #546E7A;
  margin-bottom: 32px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.trust-badge {
  display: inline-block;
  padding: 12px 24px;
  background-color: #FFFFFF;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #2C3E50;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  margin-top: 16px;
}

/* PAGE HERO - For internal pages */
.page-hero {
  background-color: #ECF0F1;
  padding: 60px 0 40px;
  margin-bottom: 60px;
  border-bottom: 1px solid #E0E0E0;
}

.page-hero h1 {
  font-size: 40px;
  margin-bottom: 16px;
}

.breadcrumbs {
  font-size: 14px;
  color: #546E7A;
  margin-bottom: 16px;
}

.breadcrumbs a {
  color: #546E7A;
  transition: color 0.3s ease;
}

.breadcrumbs a:hover {
  color: #E74C3C;
}

/* SECTIONS - Clean spacing */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 16px;
}

.section-subheadline {
  text-align: center;
  font-size: 18px;
  color: #546E7A;
  margin-bottom: 48px;
}

/* VALUE PROPOSITION */
.value-proposition {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.benefits-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  margin-bottom: 40px;
  justify-content: center;
}

.benefit-item {
  flex: 1 1 calc(25% - 32px);
  min-width: 200px;
  max-width: 280px;
  text-align: center;
  padding: 24px;
  background-color: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  transition: all 0.3s ease;
}

.benefit-item:hover {
  border-color: #E74C3C;
  box-shadow: 0 4px 16px rgba(231, 76, 60, 0.1);
  transform: translateY(-4px);
}

.benefit-item h3 {
  font-size: 20px;
  margin-bottom: 12px;
  color: #2C3E50;
}

.benefit-item p {
  font-size: 15px;
  color: #546E7A;
  margin-bottom: 0;
}

.stats-box {
  text-align: center;
  padding: 24px;
  background-color: #ECF0F1;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
  margin-top: 32px;
}

/* SERVICES GRID */
.services {
  padding: 60px 0;
  background-color: #FAFAFA;
}

.services-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.service-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.service-card:hover {
  border-color: #E74C3C;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.service-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #2C3E50;
}

.service-card p {
  color: #546E7A;
  font-size: 15px;
  flex-grow: 1;
}

.service-card .price {
  font-size: 28px;
  font-weight: 700;
  color: #E74C3C;
  margin: 16px 0;
}

/* PRODUCTS GRID */
.product-grid-section {
  padding: 60px 0;
}

.products-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 40px;
}

.product-card {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 280px;
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.product-card:hover {
  border-color: #E74C3C;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.product-card .badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background-color: #E74C3C;
  color: #FFFFFF;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: 22px;
  margin-bottom: 12px;
  color: #2C3E50;
}

.product-features {
  list-style: none;
  margin-left: 0;
  margin-bottom: 16px;
}

.product-features li {
  padding: 8px 0;
  padding-left: 24px;
  position: relative;
  color: #546E7A;
  font-size: 14px;
}

.product-features li:before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #E74C3C;
  font-weight: 700;
}

.product-card .price {
  font-size: 28px;
  font-weight: 700;
  color: #E74C3C;
  margin: 16px 0;
}

/* FEATURES */
.features {
  padding: 60px 0;
  background-color: #FAFAFA;
}

.features-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
}

.feature-item {
  flex: 1 1 calc(25% - 32px);
  min-width: 220px;
  max-width: 280px;
  padding: 24px;
  background-color: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  transition: all 0.3s ease;
}

.feature-item:hover {
  border-color: #E74C3C;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.feature-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  color: #546E7A;
  margin-bottom: 0;
}

/* TESTIMONIALS - High contrast for readability */
.testimonials {
  padding: 60px 0;
  background-color: #ECF0F1;
}

.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}

.testimonial-card {
  flex: 1 1 calc(50% - 24px);
  min-width: 280px;
  background-color: #FFFFFF;
  padding: 32px;
  border-radius: 8px;
  border-left: 4px solid #E74C3C;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.testimonial-card p {
  color: #2C3E50;
  font-size: 16px;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 16px;
}

.testimonial-card .author {
  font-size: 14px;
  font-weight: 600;
  color: #546E7A;
  margin-bottom: 8px;
  font-style: normal;
}

.testimonial-card .rating {
  color: #E74C3C;
  font-size: 18px;
  margin-bottom: 0;
}

.testimonials .rating {
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: #2C3E50;
}

/* GUARANTEE */
.guarantee {
  padding: 60px 0;
  background-color: #FFFFFF;
}

.guarantee-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.guarantee-item {
  flex: 1 1 calc(25% - 24px);
  min-width: 220px;
  text-align: center;
  padding: 24px;
  background-color: #ECF0F1;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.guarantee-item:hover {
  background-color: #E0E0E0;
  transform: translateY(-2px);
}

.guarantee-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.guarantee-item p {
  font-size: 14px;
  margin-bottom: 0;
}

/* CTA BANNER */
.cta-banner {
  padding: 80px 0;
  background-color: #2C3E50;
  text-align: center;
  color: #FFFFFF;
}

.cta-banner h2 {
  color: #FFFFFF;
  font-size: 36px;
  margin-bottom: 16px;
}

.cta-banner p {
  color: #ECF0F1;
  font-size: 18px;
  margin-bottom: 32px;
}

.cta-banner .btn-primary {
  background-color: #E74C3C;
  border-color: #E74C3C;
}

.cta-banner .link-secondary {
  color: #ECF0F1;
  display: block;
  margin-top: 16px;
}

/* STATS GRID */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
  justify-content: center;
  margin-top: 40px;
}

.stat-item {
  text-align: center;
  flex: 1 1 calc(33.333% - 32px);
  min-width: 180px;
  max-width: 250px;
}

.stat-item strong {
  display: block;
  font-size: 48px;
  font-weight: 700;
  color: #E74C3C;
  margin-bottom: 8px;
}

.stat-item p {
  font-size: 16px;
  color: #546E7A;
  margin-bottom: 0;
}

/* LEGAL CONTENT */
.legal-hero {
  background-color: #ECF0F1;
  padding: 60px 0 40px;
  margin-bottom: 60px;
}

.legal-hero h1 {
  font-size: 36px;
  margin-bottom: 16px;
}

.last-updated {
  font-size: 14px;
  color: #546E7A;
  font-style: italic;
  margin-bottom: 16px;
}

.legal-content {
  padding: 40px 0;
}

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

.content-wrapper h2 {
  font-size: 28px;
  margin-top: 40px;
  margin-bottom: 16px;
  text-align: left;
}

.content-wrapper h3 {
  font-size: 20px;
  margin-top: 24px;
  margin-bottom: 12px;
}

.content-wrapper p {
  margin-bottom: 16px;
  line-height: 1.8;
}

.content-wrapper ul {
  margin-bottom: 24px;
}

/* THANK YOU PAGE */
.thank-you-hero {
  padding: 80px 0;
  background: linear-gradient(135deg, #ECF0F1 0%, #FFFFFF 100%);
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  margin: 0 auto;
}

.thank-you-content .icon {
  width: 80px;
  height: 80px;
  background-color: #E74C3C;
  color: #FFFFFF;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  margin: 0 auto 24px;
}

.confirmation {
  font-size: 20px;
  font-weight: 600;
  color: #2C3E50;
  margin-bottom: 16px;
}

/* STEPS */
.steps-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 40px;
}

.step-item {
  flex: 1 1 calc(33.333% - 24px);
  min-width: 200px;
  padding: 24px;
  background-color: #FFFFFF;
  border-radius: 8px;
  border: 1px solid #E0E0E0;
  position: relative;
  text-align: center;
}

.step-number {
  display: block;
  width: 48px;
  height: 48px;
  background-color: #E74C3C;
  color: #FFFFFF;
  border-radius: 50%;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.step-item h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

/* FOOTER - Clean and minimal */
footer {
  background-color: #2C3E50;
  color: #ECF0F1;
  padding: 60px 0 20px;
  margin-top: 80px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand,
.footer-contact,
.footer-nav,
.footer-legal {
  flex: 1 1 calc(25% - 40px);
  min-width: 200px;
}

.footer-brand .tagline {
  color: #95A5A6;
  font-size: 14px;
  margin-top: 16px;
}

footer h3 {
  color: #FFFFFF;
  font-size: 18px;
  margin-bottom: 16px;
}

footer p {
  color: #95A5A6;
  font-size: 14px;
  line-height: 1.8;
}

footer a {
  color: #95A5A6;
  font-size: 14px;
  display: block;
  margin-bottom: 8px;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #E74C3C;
}

.footer-bottom {
  border-top: 1px solid #34495E;
  padding-top: 20px;
  text-align: center;
}

.footer-bottom p {
  color: #95A5A6;
  font-size: 14px;
  margin-bottom: 0;
}

/* COOKIE CONSENT BANNER */
.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #FFFFFF;
  border-top: 2px solid #E0E0E0;
  padding: 20px;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.1);
  z-index: 500;
  display: none;
}

.cookie-consent.active {
  display: block;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1 1 auto;
  min-width: 250px;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 14px;
  color: #546E7A;
}

.cookie-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.cookie-buttons .btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* COOKIE MODAL */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 62, 80, 0.9);
  z-index: 600;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-modal.active {
  display: flex;
}

.modal-content {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 40px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-content h2 {
  margin-bottom: 24px;
}

.cookie-category {
  padding: 16px;
  background-color: #ECF0F1;
  border-radius: 8px;
  margin-bottom: 16px;
}

.cookie-category h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.cookie-category p {
  font-size: 14px;
  margin-bottom: 0;
}

/* RESPONSIVE DESIGN - Mobile First */
@media (max-width: 768px) {
  /* Typography */
  h1 { font-size: 32px; }
  h2 { font-size: 28px; }
  h3 { font-size: 20px; }
  
  /* Container */
  .container {
    padding: 0 16px;
  }
  
  /* Header */
  .main-nav {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .mobile-menu {
    display: block;
  }
  
  /* Hero */
  .hero {
    padding: 60px 0;
  }
  
  .hero h1 {
    font-size: 36px;
  }
  
  .hero-subheadline {
    font-size: 18px;
  }
  
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cta-buttons .btn {
    width: 100%;
  }
  
  /* Grids - Stack on mobile */
  .benefits-grid,
  .services-grid,
  .products-grid,
  .features-grid,
  .testimonials-grid,
  .guarantee-grid,
  .stats-grid,
  .steps-grid {
    flex-direction: column;
  }
  
  .benefit-item,
  .service-card,
  .product-card,
  .feature-item,
  .testimonial-card,
  .guarantee-item,
  .stat-item,
  .step-item {
    flex: 1 1 100%;
    max-width: 100%;
  }
  
  /* Footer */
  .footer-content {
    flex-direction: column;
  }
  
  .footer-brand,
  .footer-contact,
  .footer-nav,
  .footer-legal {
    flex: 1 1 100%;
  }
  
  /* Cookie Consent */
  .cookie-content {
    flex-direction: column;
    align-items: stretch;
  }
  
  .cookie-buttons {
    flex-direction: column;
  }
  
  .cookie-buttons .btn {
    width: 100%;
  }
  
  /* Stats */
  .stat-item strong {
    font-size: 36px;
  }
}

/* TABLET ADJUSTMENTS */
@media (min-width: 769px) and (max-width: 1024px) {
  .benefit-item,
  .guarantee-item,
  .stat-item {
    flex: 1 1 calc(50% - 32px);
  }
  
  .service-card,
  .product-card {
    flex: 1 1 calc(50% - 24px);
  }
  
  .feature-item {
    flex: 1 1 calc(33.333% - 32px);
  }
}

/* ACCESSIBILITY */
:focus {
  outline: 2px solid #E74C3C;
  outline-offset: 2px;
}

button:focus,
a:focus {
  outline: 2px solid #E74C3C;
  outline-offset: 2px;
}

/* UTILITY CLASSES */
.text-center { text-align: center; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mt-4 { margin-top: 32px; }
.mb-1 { margin-bottom: 8px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }
.mb-4 { margin-bottom: 32px; }

/* ANIMATIONS */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeIn 0.6s ease-out;
}

/* SMOOTH SCROLLING */
html {
  scroll-behavior: smooth;
}

/* LOADING STATE */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

/* PRINT STYLES */
@media print {
  header,
  footer,
  .mobile-menu-toggle,
  .mobile-menu,
  .cookie-consent,
  .cta-banner {
    display: none;
  }
  
  body {
    color: #000;
  }
  
  a {
    text-decoration: underline;
  }
}