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

:root {
  --primary: #1a365d;
  --primary-light: #2c5282;
  --secondary: #e8b923;
  --secondary-dark: #c9a01e;
  --text: #2d3748;
  --text-light: #4a5568;
  --bg: #ffffff;
  --bg-alt: #f7fafc;
  --bg-dark: #edf2f7;
  --border: #e2e8f0;
  --white: #ffffff;
  --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
  --radius: 8px;
  --radius-lg: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  color: var(--primary);
  line-height: 1.3;
  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;
}

/* Navigation */
.nav-desktop {
  display: none;
}

.nav-desktop ul {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-desktop a {
  font-weight: 500;
  padding: 0.5rem 0;
  position: relative;
}

.nav-desktop a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--secondary);
  transition: width 0.3s ease;
}

.nav-desktop a:hover::after {
  width: 100%;
}

/* Mobile Menu Button */
.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);
  transition: all 0.3s ease;
}

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

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

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

/* Mobile Navigation */
.nav-mobile {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  box-shadow: var(--shadow);
  padding: 1rem;
}

.nav-mobile.active {
  display: block;
}

.nav-mobile ul {
  list-style: none;
}

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

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

.nav-mobile a {
  display: block;
  padding: 1rem;
  font-weight: 500;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

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

.hero h1 {
  color: var(--white);
  font-size: 2rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
}

.hero-decoration {
  position: absolute;
  right: -100px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.1;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.875rem 1.75rem;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  text-align: center;
}

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

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

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

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

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

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

/* Sections */
section {
  padding: 4rem 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-header {
  text-align: center;
  margin-bottom: 3rem;
}

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

/* Cards */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.card {
  flex: 1 1 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

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

/* Feature Blocks */
.feature-block {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  padding: 2rem 0;
}

.feature-block.reverse {
  flex-direction: column;
}

.feature-content {
  flex: 1;
}

.feature-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.feature-image svg {
  max-width: 300px;
  width: 100%;
}

/* Stats */
.stats-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.stat-item {
  flex: 1 1 150px;
  text-align: center;
  padding: 1.5rem;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.testimonial-card {
  flex: 1 1 100%;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  position: relative;
}

.testimonial-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--secondary);
  opacity: 0.3;
  position: absolute;
  top: 10px;
  left: 20px;
  line-height: 1;
}

.testimonial-content {
  padding-top: 1.5rem;
  font-style: italic;
  margin-bottom: 1.5rem;
}

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

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

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

.testimonial-name {
  font-weight: 600;
  color: var(--primary);
}

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

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  margin-bottom: 0.5rem;
}

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

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

.faq-icon {
  width: 24px;
  height: 24px;
  transition: transform 0.3s ease;
}

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

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

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

.faq-answer p {
  padding-bottom: 1.25rem;
  color: var(--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 {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  flex-shrink: 0;
}

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

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

.contact-info {
  flex: 1 1 100%;
}

.contact-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--bg-alt);
  border-radius: var(--radius);
}

.contact-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
}

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

/* Values Grid */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.value-item {
  flex: 1 1 100%;
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-icon {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
}

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

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 3rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.highlight-box h2,
.highlight-box h3 {
  color: var(--white);
}

/* Footer */
footer {
  background: var(--primary);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-col {
  flex: 1 1 100%;
}

.footer-col h4 {
  color: var(--secondary);
  margin-bottom: 1rem;
}

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

.footer-col li {
  margin-bottom: 0.5rem;
}

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

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

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

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

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

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

.cookie-text {
  flex: 1;
}

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

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

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

.cookie-buttons .btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.9rem;
}

/* 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;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.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 {
  padding: 1.5rem;
  border-bottom: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.cookie-modal-close {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

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

.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(--border);
}

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

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

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

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

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

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

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

.cookie-toggle input:checked + .cookie-toggle-slider {
  background: var(--secondary);
}

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

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

.cookie-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
}

/* Thank You Page */
.thank-you-content {
  text-align: center;
  padding: 4rem 0;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
}

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

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

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

.legal-content h2 {
  margin-top: 2rem;
  font-size: 1.5rem;
}

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

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

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

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

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

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

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

/* Icon List */
.icon-list {
  list-style: none;
}

.icon-list li {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.icon-list svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  color: var(--secondary);
}

/* Quote Section */
.quote-section {
  text-align: center;
  padding: 4rem 2rem;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  margin: 2rem 0;
}

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

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

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

.industry-item {
  flex: 1 1 calc(50% - 0.5rem);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.industry-item svg {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

/* Milestones */
.milestones-list {
  position: relative;
  padding-left: 2rem;
}

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

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

.milestone-item::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 0.5rem;
  width: 12px;
  height: 12px;
  background: var(--secondary);
  border-radius: 50%;
  transform: translateX(-5px);
}

.milestone-year {
  font-weight: 700;
  color: var(--secondary-dark);
  margin-bottom: 0.25rem;
}

/* Tips List */
.tips-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.tip-card {
  flex: 1 1 100%;
  background: var(--white);
  border-left: 4px solid var(--secondary);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}

.tip-card h4 {
  margin-bottom: 0.5rem;
}

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

  .nav-desktop {
    display: block;
  }

  .menu-toggle {
    display: none;
  }

  .nav-mobile {
    display: none !important;
  }

  .hero {
    padding: 6rem 0;
  }

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

  .card {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .testimonial-card {
    flex: 1 1 calc(50% - 1rem);
  }

  .feature-block {
    flex-direction: row;
    gap: 4rem;
  }

  .feature-block.reverse {
    flex-direction: row-reverse;
  }

  .value-item {
    flex: 1 1 calc(50% - 0.75rem);
  }

  .footer-col {
    flex: 1 1 calc(25% - 1.5rem);
  }

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

  .cookie-buttons {
    flex-shrink: 0;
  }

  .contact-info {
    flex: 1 1 calc(50% - 1rem);
  }

  .tip-card {
    flex: 1 1 calc(50% - 0.75rem);
  }
}

@media (min-width: 1024px) {
  .card {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .testimonial-card {
    flex: 1 1 calc(33.333% - 1.33rem);
  }

  .industry-item {
    flex: 1 1 calc(25% - 0.75rem);
  }
}

/* Focus styles for accessibility */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

/* Skip link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary);
  color: var(--white);
  padding: 0.5rem 1rem;
  z-index: 10001;
  transition: top 0.3s ease;
}

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

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

  section {
    padding: 1rem 0;
  }
}
