:root {
  --primary: #0d6e4f;
  --primary-dark: #094d38;
  --secondary: #50c878;
  --accent: #2d8a5e;
  --text: #2c3e50;
  --text-light: #5a6c7d;
  --bg: #ffffff;
  --bg-alt: #f8faf9;
  --bg-dark: #e8f0ec;
  --border: #d1ddd6;
  --white: #ffffff;
  --shadow: 0 2px 8px rgba(13, 110, 79, 0.1);
  --shadow-lg: 0 8px 24px rgba(13, 110, 79, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
}

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

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

a:hover {
  color: var(--secondary);
}

img, svg {
  max-width: 100%;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--text);
  margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p {
  margin-bottom: 1rem;
}

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
}

.logo svg {
  width: 40px;
  height: 40px;
}

.nav {
  display: none;
}

.nav.active {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  padding: 1rem;
}

.nav-list {
  display: flex;
  flex-direction: column;
  list-style: none;
  gap: 0;
}

.nav-list li {
  border-bottom: 1px solid var(--border);
}

.nav-list li:last-child {
  border-bottom: none;
}

.nav-list a {
  display: block;
  padding: 1rem;
  color: var(--text);
  font-weight: 500;
  transition: all var(--transition);
}

.nav-list a:hover,
.nav-list a.active {
  color: var(--primary);
  background: var(--bg-alt);
}

.menu-toggle {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-decoration: none;
}

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

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

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

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

.btn-small {
  padding: 10px 20px;
  font-size: 0.9rem;
}

/* Hero */
.hero {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg-dark) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: var(--primary-dark);
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--text-light);
  margin-bottom: 2rem;
}

.hero-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-graphic svg {
  width: 100%;
  max-width: 400px;
}

/* Sections */
.section {
  padding: 60px 0;
}

.section-alt {
  background: var(--bg-alt);
}

.section-dark {
  background: var(--primary);
  color: var(--white);
}

.section-dark h2,
.section-dark h3 {
  color: var(--white);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.9);
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  margin-bottom: 1rem;
}

.section-header p {
  color: var(--text-light);
  max-width: 700px;
  margin: 0 auto;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.85);
}

/* Cards */
.cards {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: all var(--transition);
}

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

.card-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 20px;
}

.card-icon svg {
  width: 100%;
  height: 100%;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  color: var(--text-light);
  margin-bottom: 0;
}

.card-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 15px;
}

/* Feature blocks */
.features {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: center;
}

.feature-content {
  flex: 1;
}

.feature-graphic {
  flex: 1;
  display: flex;
  justify-content: center;
}

.feature-graphic svg {
  width: 100%;
  max-width: 350px;
}

/* Statistics */
.stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 150px;
  padding: 20px;
}

.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--secondary);
  line-height: 1;
  margin-bottom: 10px;
}

.section-dark .stat-number {
  color: var(--secondary);
}

.stat-label {
  font-size: 1rem;
  color: var(--text-light);
}

.section-dark .stat-label {
  color: rgba(255, 255, 255, 0.85);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.testimonial {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial::before {
  content: '"';
  font-size: 5rem;
  color: var(--bg-dark);
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
  font-family: Georgia, serif;
}

.testimonial-content {
  position: relative;
  z-index: 1;
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-avatar svg {
  width: 30px;
  height: 30px;
}

.testimonial-info h4 {
  margin-bottom: 0;
  font-size: 1rem;
}

.testimonial-info span {
  font-size: 0.9rem;
  color: var(--text-light);
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  background: none;
  border: none;
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  color: var(--text);
  transition: all var(--transition);
}

.faq-question:hover {
  color: var(--primary);
}

.faq-question svg {
  width: 20px;
  height: 20px;
  transition: transform var(--transition);
  flex-shrink: 0;
}

.faq-item.active .faq-question svg {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--transition);
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-answer-inner {
  padding: 0 20px 20px;
  color: var(--text-light);
}

/* Process steps */
.process {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.process-step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.process-content h3 {
  margin-bottom: 8px;
}

.process-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Values */
.values {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.value {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.value-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.value-icon svg {
  width: 32px;
  height: 32px;
}

.value-content h3 {
  margin-bottom: 8px;
}

.value-content p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Industries */
.industries {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.industry-tag {
  background: var(--white);
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 500;
  color: var(--text);
  box-shadow: var(--shadow);
}

/* Contact */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.contact-item {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.contact-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius);
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg {
  width: 24px;
  height: 24px;
}

.contact-details h3 {
  margin-bottom: 5px;
  font-size: 1.1rem;
}

.contact-details p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Quote block */
.quote-block {
  text-align: center;
  padding: 60px 30px;
  background: var(--bg-dark);
  border-radius: var(--radius-lg);
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--primary-dark);
  margin-bottom: 20px;
  line-height: 1.5;
}

.quote-author {
  font-weight: 600;
  color: var(--text);
}

/* Highlights panel */
.highlights {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.highlight {
  display: flex;
  gap: 15px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.highlight svg {
  width: 24px;
  height: 24px;
  color: var(--primary);
  flex-shrink: 0;
}

.highlight p {
  margin-bottom: 0;
}

/* Comparison */
.comparison {
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  min-width: 500px;
  border-collapse: collapse;
}

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

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

.comparison-table tr:nth-child(even) {
  background: var(--bg-alt);
}

.comparison-table .check {
  color: var(--secondary);
}

/* CTA */
.cta {
  text-align: center;
  padding: 80px 20px;
}

.cta h2 {
  margin-bottom: 1rem;
}

.cta p {
  max-width: 600px;
  margin: 0 auto 2rem;
}

.section-dark .cta p {
  color: rgba(255, 255, 255, 0.9);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  padding: 60px 0 30px;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col h4 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-col p {
  color: rgba(255, 255, 255, 0.8);
}

.footer-col ul {
  list-style: none;
}

.footer-col ul li {
  margin-bottom: 10px;
}

.footer-col ul a {
  color: rgba(255, 255, 255, 0.8);
}

.footer-col ul a:hover {
  color: var(--secondary);
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  padding: 20px;
  z-index: 9999;
  display: none;
}

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

.cookie-content {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-text h4 {
  margin-bottom: 8px;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
  color: var(--text-light);
}

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

.cookie-buttons .btn {
  flex: 1;
  min-width: 120px;
}

/* Cookie modal */
.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

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

.cookie-modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.cookie-modal-header h3 {
  margin-bottom: 0;
}

.cookie-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}

.cookie-modal-close svg {
  width: 24px;
  height: 24px;
}

.cookie-modal-body {
  padding: 20px;
}

.cookie-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}

.cookie-option:last-child {
  border-bottom: none;
}

.cookie-option-info h4 {
  margin-bottom: 5px;
  font-size: 1rem;
}

.cookie-option-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 0;
}

.toggle-switch {
  position: relative;
  width: 50px;
  height: 26px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--border);
  border-radius: 26px;
  transition: var(--transition);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  height: 20px;
  width: 20px;
  left: 3px;
  bottom: 3px;
  background: var(--white);
  border-radius: 50%;
  transition: var(--transition);
}

.toggle-switch input:checked + .toggle-slider {
  background: var(--primary);
}

.toggle-switch input:checked + .toggle-slider::before {
  transform: translateX(24px);
}

.toggle-switch input:disabled + .toggle-slider {
  opacity: 0.6;
  cursor: not-allowed;
}

.cookie-modal-footer {
  display: flex;
  gap: 10px;
  padding: 20px;
  border-top: 1px solid var(--border);
}

.cookie-modal-footer .btn {
  flex: 1;
}

/* Legal pages */
.legal-content {
  padding: 60px 0;
}

.legal-content h1 {
  margin-bottom: 30px;
}

.legal-content h2 {
  margin-top: 40px;
  margin-bottom: 20px;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 30px;
  margin-bottom: 15px;
  font-size: 1.2rem;
}

.legal-content p {
  color: var(--text-light);
}

.legal-content ul {
  margin-bottom: 1rem;
  padding-left: 25px;
  color: var(--text-light);
}

.legal-content li {
  margin-bottom: 8px;
}

/* Thank you page */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 20px;
}

.thank-you-content svg {
  width: 80px;
  height: 80px;
  margin-bottom: 30px;
}

.thank-you-content h1 {
  margin-bottom: 15px;
}

.thank-you-content p {
  color: var(--text-light);
  margin-bottom: 30px;
}

/* About page specific */
.team {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: var(--bg-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.team-avatar svg {
  width: 50px;
  height: 50px;
}

.team-member h3 {
  margin-bottom: 5px;
}

.team-member .role {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 15px;
}

.team-member p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Milestones */
.milestones {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  padding-left: 30px;
}

.milestones::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--border);
}

.milestone {
  position: relative;
}

.milestone::before {
  content: '';
  position: absolute;
  left: -30px;
  top: 5px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--bg-alt);
}

.milestone-year {
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.milestone h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.milestone p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Responsive */
@media (min-width: 768px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.5rem; }

  .nav {
    display: flex;
    position: static;
    background: none;
    box-shadow: none;
    padding: 0;
  }

  .nav-list {
    flex-direction: row;
    gap: 5px;
  }

  .nav-list li {
    border-bottom: none;
  }

  .nav-list a {
    padding: 10px 15px;
    border-radius: var(--radius);
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 100px 0;
  }

  .hero-content {
    flex-direction: row;
    align-items: center;
  }

  .hero-text h1 {
    font-size: 3rem;
  }

  .section {
    padding: 80px 0;
  }

  .cards {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .card {
    flex: 1;
    min-width: 280px;
  }

  .feature {
    flex-direction: row;
  }

  .feature:nth-child(even) {
    flex-direction: row-reverse;
  }

  .testimonials {
    flex-direction: row;
  }

  .testimonial {
    flex: 1;
  }

  .process {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .process-step {
    flex: 1;
    min-width: 250px;
    flex-direction: column;
    text-align: center;
  }

  .process-number {
    margin: 0 auto 15px;
  }

  .values {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .value {
    flex: 1;
    min-width: 300px;
  }

  .contact-grid {
    flex-direction: row;
  }

  .contact-info {
    flex: 1;
  }

  .footer-grid {
    flex-direction: row;
    justify-content: space-between;
  }

  .footer-col {
    flex: 1;
    max-width: 250px;
  }

  .cookie-content {
    flex-direction: row;
    align-items: center;
  }

  .cookie-text {
    flex: 1;
  }

  .cookie-buttons {
    flex-wrap: nowrap;
  }

  .cookie-buttons .btn {
    flex: none;
  }

  .team {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .team-member {
    flex: 1;
    min-width: 250px;
  }

  .highlights {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .highlight {
    flex: 1;
    min-width: 280px;
  }
}

@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3.5rem;
  }

  .cards {
    gap: 30px;
  }

  .card {
    min-width: 320px;
  }
}