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

:root {
  --color-primary: #1a365d;
  --color-secondary: #2c5282;
  --color-accent: #4fd1c5;
  --color-warm: #f6ad55;
  --color-text: #2d3748;
  --color-text-light: #718096;
  --color-bg: #ffffff;
  --color-bg-alt: #f7fafc;
  --color-bg-dark: #edf2f7;
  --color-border: #e2e8f0;
  --font-main: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.12);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-main);
  font-size: 16px;
  line-height: 1.7;
  color: var(--color-text);
  background: var(--color-bg);
}

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

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

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

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

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

h1 { font-size: 2.25rem; }
h2 { font-size: 1.875rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }

p { margin-bottom: 1rem; }

/* Header & Navigation */
.header {
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  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.375rem;
  font-weight: 700;
  color: var(--color-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(--color-bg);
  border-bottom: 1px solid var(--color-border);
  padding: 1rem 20px;
  box-shadow: var(--shadow-md);
}

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

.nav-link {
  display: block;
  padding: 0.75rem 0;
  color: var(--color-text);
  font-weight: 500;
  border-bottom: 1px solid var(--color-border);
}

.nav-link:hover {
  color: var(--color-accent);
}

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

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-primary);
  transition: var(--transition);
}

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

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

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

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

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

.btn-primary:hover {
  background: #38b2ac;
  color: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary:hover {
  background: var(--color-secondary);
  color: white;
  transform: translateY(-2px);
}

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

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

/* Hero Section */
.hero {
  padding: 4rem 0;
  background: linear-gradient(135deg, var(--color-bg-alt) 0%, var(--color-bg) 100%);
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.hero-text {
  max-width: 600px;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

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

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.hero-visual {
  display: flex;
  justify-content: center;
}

.hero-visual svg {
  width: 100%;
  max-width: 400px;
  height: auto;
}

/* Sections */
.section {
  padding: 4rem 0;
}

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

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

.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: white;
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 3rem;
}

.section-header p {
  color: var(--color-text-light);
  font-size: 1.1rem;
}

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

/* Cards */
.card-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}

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

.card-icon {
  width: 56px;
  height: 56px;
  background: var(--color-bg-alt);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.card-icon svg {
  width: 28px;
  height: 28px;
  color: var(--color-accent);
}

.card h3 {
  margin-bottom: 0.75rem;
}

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

/* Service Cards */
.service-card {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  background: var(--color-bg);
}

.service-card:hover {
  border-color: var(--color-accent);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-accent);
  margin-top: 1rem;
}

.service-price span {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--color-text-light);
}

/* Stats Section */
.stats {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  text-align: center;
}

.stat-item {
  padding: 1.5rem;
}

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

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

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

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

/* Testimonials */
.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.testimonial {
  background: var(--color-bg);
  border-radius: var(--radius-lg);
  padding: 2rem;
  border-left: 4px solid var(--color-accent);
}

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

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

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

.testimonial-avatar svg {
  width: 24px;
  height: 24px;
  color: var(--color-primary);
}

.testimonial-info strong {
  display: block;
  color: var(--color-primary);
}

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

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

.faq-item {
  background: var(--color-bg);
  border-radius: var(--radius);
  border: 1px solid var(--color-border);
  overflow: hidden;
}

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

.faq-question:hover {
  background: var(--color-bg-alt);
}

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform var(--transition);
}

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

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

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

.faq-answer-inner {
  padding: 0 1.5rem 1.25rem;
  color: var(--color-text-light);
}

/* Process Steps */
.process-steps {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.process-step {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

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

.step-content h3 {
  margin-bottom: 0.5rem;
}

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

/* Features List */
.features-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.feature-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.feature-check {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-check svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* Industries */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.industry-tag {
  padding: 0.75rem 1.5rem;
  background: var(--color-bg-alt);
  border-radius: 50px;
  font-weight: 500;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
}

/* Values */
.values-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.value-item {
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.value-icon {
  flex-shrink: 0;
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--color-accent), var(--color-secondary));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

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

/* CTA Section */
.cta-section {
  text-align: center;
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: white;
}

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

.cta-section p {
  color: rgba(255,255,255,0.9);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.1rem;
}

/* Alternating Content */
.alt-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.alt-content-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
  padding: 3rem;
}

.alt-content-visual svg {
  width: 100%;
  max-width: 300px;
  height: auto;
}

/* Quote Block */
.quote-block {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-lg);
}

.quote-text {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-primary);
  max-width: 800px;
  margin: 0 auto 1.5rem;
  line-height: 1.6;
}

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

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

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-bg);
  border-radius: var(--radius);
  overflow: hidden;
}

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

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

.comparison-table tr:hover {
  background: var(--color-bg-alt);
}

/* Timeline */
.timeline {
  position: relative;
  padding-left: 30px;
}

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

.timeline-item {
  position: relative;
  padding-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -34px;
  top: 4px;
  width: 12px;
  height: 12px;
  background: var(--color-accent);
  border-radius: 50%;
}

.timeline-year {
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.5rem;
}

/* Contact Info */
.contact-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-card {
  background: var(--color-bg);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

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

.contact-icon svg {
  width: 22px;
  height: 22px;
  color: var(--color-accent);
}

/* Footer */
.footer {
  background: var(--color-primary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  color: white;
  margin-bottom: 1rem;
}

.footer-brand p {
  color: rgba(255,255,255,0.7);
  max-width: 300px;
}

.footer h4 {
  color: white;
  margin-bottom: 1.25rem;
  font-size: 1.1rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--color-accent);
}

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

/* Legal Pages */
.legal-content {
  padding: 4rem 0;
}

.legal-content h1 {
  margin-bottom: 2rem;
}

.legal-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.legal-content h3 {
  margin-top: 2rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

/* Thank You Page */
.thank-you {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 0;
}

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

.thank-you-icon {
  width: 80px;
  height: 80px;
  background: var(--color-accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.thank-you-icon svg {
  width: 40px;
  height: 40px;
  color: var(--color-primary);
}

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

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

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

.cookie-text {
  flex: 1;
}

.cookie-text h4 {
  color: white;
  margin-bottom: 0.5rem;
}

.cookie-text p {
  color: rgba(255,255,255,0.8);
  margin: 0;
  font-size: 0.9rem;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.cookie-btn {
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  border: none;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.cookie-accept {
  background: var(--color-accent);
  color: var(--color-primary);
}

.cookie-accept:hover {
  background: #38b2ac;
}

.cookie-reject {
  background: transparent;
  border: 1px solid rgba(255,255,255,0.3);
  color: white;
}

.cookie-reject:hover {
  background: rgba(255,255,255,0.1);
}

.cookie-settings {
  background: transparent;
  color: var(--color-accent);
  text-decoration: underline;
}

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

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

.cookie-modal-content {
  background: var(--color-bg);
  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: 1.5rem;
  border-bottom: 1px solid var(--color-border);
}

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

.cookie-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--color-text-light);
}

.cookie-modal-close:hover {
  color: var(--color-text);
}

.cookie-modal-body {
  padding: 1.5rem;
}

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

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

.cookie-option-info h4 {
  margin: 0 0 0.25rem;
  font-size: 1rem;
}

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

.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(--color-border);
  border-radius: 26px;
  transition: var(--transition);
}

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

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

.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 {
  padding: 1.5rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
}

/* Highlighted Panel */
.highlight-panel {
  background: linear-gradient(135deg, var(--color-accent) 0%, #38b2ac 100%);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  color: var(--color-primary);
}

.highlight-panel h3 {
  color: var(--color-primary);
}

/* Insight Cards */
.insight-card {
  border-left: 4px solid var(--color-warm);
  padding-left: 1.5rem;
  margin-bottom: 2rem;
}

.insight-card h4 {
  color: var(--color-warm);
}

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

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

  .nav-list {
    flex-direction: row;
    gap: 2rem;
  }

  .nav-link {
    padding: 0.5rem 0;
    border: none;
  }

  .menu-toggle {
    display: none;
  }

  .hero {
    padding: 6rem 0;
  }

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

  .hero h1 {
    font-size: 3.25rem;
  }

  .section {
    padding: 6rem 0;
  }

  .card-grid {
    flex-direction: row;
    flex-wrap: wrap;
  }

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

  .stats {
    flex-direction: row;
    justify-content: space-around;
  }

  .stat-item {
    flex: 1;
  }

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

  .testimonial {
    flex: 1;
  }

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

  .alt-content-visual {
    flex: 1;
  }

  .alt-content-text {
    flex: 1;
  }

  .alt-content.reverse {
    flex-direction: row-reverse;
  }

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

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

  .contact-card {
    flex: 1;
  }

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

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

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

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

  .card-grid .card {
    min-width: 300px;
  }
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  background: var(--color-primary);
  color: white;
  padding: 1rem;
  z-index: 9999;
}

.skip-link:focus {
  top: 0;
}

/* Focus States */
*:focus {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

*:focus:not(:focus-visible) {
  outline: none;
}

*:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .header,
  .footer,
  .cookie-banner,
  .cookie-modal {
    display: none !important;
  }

  body {
    font-size: 12pt;
    color: black;
  }
}