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

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

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: var(--bg);
}

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

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

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

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

/* 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: 15px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

nav {
  display: flex;
  align-items: center;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav a {
  font-weight: 500;
  color: var(--text);
  padding: 8px 0;
  position: relative;
}

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

nav a:hover::after,
nav a.active::after {
  width: 100%;
}

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

.mobile-toggle span {
  width: 25px;
  height: 3px;
  background: var(--primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

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

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

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

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: var(--white);
  padding: 80px 20px;
}

.hero-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 25px;
}

.hero h1 {
  font-size: 2.5rem;
  line-height: 1.2;
  max-width: 700px;
}

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

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
}

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

.btn-primary:hover {
  background: var(--secondary-light);
  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);
}

/* Section Styles */
section {
  padding: 70px 20px;
}

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

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

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

.section-header h2 {
  font-size: 2rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.section-header.light h2 {
  color: var(--white);
}

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

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

/* Cards */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  max-width: 1200px;
  margin: 0 auto;
}

.card {
  flex: 1 1 300px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

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

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

.card h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 12px;
}

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

/* Service Cards */
.service-card {
  flex: 1 1 350px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 35px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--secondary);
}

.service-card h3 {
  font-size: 1.3rem;
  color: var(--primary);
  margin-bottom: 15px;
}

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

.service-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--secondary);
}

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

/* Stats */
.stats-section {
  background: var(--primary);
  padding: 60px 20px;
}

.stats-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.stat-item {
  text-align: center;
  color: var(--white);
  flex: 1 1 200px;
}

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

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

/* Testimonials */
.testimonials-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

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

.testimonial p {
  font-style: italic;
  color: var(--text);
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

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

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

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

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

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

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

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

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

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

.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, padding 0.3s ease;
}

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

.faq-answer p {
  color: var(--text-light);
}

/* Process Steps */
.process-list {
  display: flex;
  flex-direction: column;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

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

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

.step-content h3 {
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

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

/* Features List */
.features-list {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.feature-item {
  flex: 1 1 400px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

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

.feature-icon svg {
  width: 30px;
  height: 30px;
  color: var(--secondary);
}

.feature-content h3 {
  font-size: 1.15rem;
  color: var(--primary);
  margin-bottom: 8px;
}

.feature-content p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Industries */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  justify-content: center;
}

.industry-tag {
  background: var(--white);
  padding: 15px 25px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: var(--shadow);
  font-weight: 500;
  color: var(--primary);
}

.industry-tag svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
}

/* Values */
.values-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  flex: 1 1 280px;
  text-align: center;
  padding: 30px;
}

.value-card .icon-wrapper {
  width: 80px;
  height: 80px;
  background: var(--bg-alt);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.value-card svg {
  width: 40px;
  height: 40px;
  color: var(--secondary);
}

.value-card h3 {
  color: var(--primary);
  margin-bottom: 10px;
}

.value-card p {
  color: var(--text-light);
  font-size: 0.95rem;
}

/* Quote Block */
.quote-block {
  background: var(--bg-alt);
  padding: 60px 20px;
  text-align: center;
}

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

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

.quote-content cite {
  color: var(--text-light);
  font-style: normal;
}

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

.cta-content {
  max-width: 700px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.cta-content p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  opacity: 0.95;
}

/* Contact Info */
.contact-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  flex: 1 1 400px;
}

.contact-item {
  display: flex;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: var(--secondary);
  flex-shrink: 0;
  margin-top: 3px;
}

.contact-item h4 {
  color: var(--primary);
  margin-bottom: 5px;
}

.contact-item p {
  color: var(--text-light);
}

/* Comparison Table */
.comparison-wrapper {
  max-width: 900px;
  margin: 0 auto;
  overflow-x: auto;
}

.comparison-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
  padding: 18px 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:last-child td {
  border-bottom: none;
}

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

.check-icon {
  color: #38a169;
}

/* Timeline */
.timeline {
  max-width: 700px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

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

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -36px;
  top: 5px;
  width: 15px;
  height: 15px;
  background: var(--secondary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.timeline-year {
  font-weight: 700;
  color: var(--secondary);
  margin-bottom: 8px;
}

.timeline-item h3 {
  color: var(--primary);
  margin-bottom: 8px;
}

.timeline-item p {
  color: var(--text-light);
}

/* Legal Pages */
.legal-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 60px 20px;
}

.legal-content h1 {
  color: var(--primary);
  margin-bottom: 30px;
  font-size: 2rem;
}

.legal-content h2 {
  color: var(--primary);
  margin-top: 40px;
  margin-bottom: 15px;
  font-size: 1.4rem;
}

.legal-content h3 {
  color: var(--primary);
  margin-top: 30px;
  margin-bottom: 12px;
  font-size: 1.15rem;
}

.legal-content p {
  margin-bottom: 15px;
  color: var(--text);
}

.legal-content ul {
  margin-bottom: 20px;
  padding-left: 25px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--text);
}

/* Thank You Page */
.thank-you {
  text-align: center;
  padding: 100px 20px;
}

.thank-you-icon {
  width: 100px;
  height: 100px;
  background: #c6f6d5;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 30px;
}

.thank-you-icon svg {
  width: 50px;
  height: 50px;
  color: #38a169;
}

.thank-you h1 {
  color: var(--primary);
  margin-bottom: 20px;
}

.thank-you p {
  color: var(--text-light);
  max-width: 500px;
  margin: 0 auto 30px;
}

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

.footer-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

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

.footer-col h4 {
  color: var(--secondary);
  margin-bottom: 20px;
  font-size: 1.1rem;
}

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

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

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

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 30px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.6);
  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.show {
  display: block;
}

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

.cookie-content p {
  flex: 1;
  margin: 0;
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  cursor: pointer;
  font-size: 0.9rem;
  border: none;
}

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

.cookie-btn.decline {
  background: var(--bg-alt);
  color: var(--text);
}

.cookie-btn.preferences {
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
}

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

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

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

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-header h3 {
  color: var(--primary);
}

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

.modal-close svg {
  width: 24px;
  height: 24px;
  color: var(--text-light);
}

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

.cookie-option:last-of-type {
  border-bottom: none;
  margin-bottom: 20px;
}

.cookie-option-info h4 {
  color: var(--primary);
  font-size: 1rem;
  margin-bottom: 5px;
}

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

.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: 0.3s;
}

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

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

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

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

.modal-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* Page Header */
.page-header {
  background: var(--primary);
  color: var(--white);
  padding: 60px 20px;
  text-align: center;
}

.page-header h1 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.page-header p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
}

/* Text Content */
.text-section {
  max-width: 800px;
  margin: 0 auto;
}

.text-section h2 {
  color: var(--primary);
  margin-bottom: 20px;
  font-size: 1.6rem;
}

.text-section p {
  margin-bottom: 15px;
}

/* Alternating Blocks */
.alt-block {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.alt-block:last-child {
  margin-bottom: 0;
}

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

.alt-block-content {
  flex: 1 1 400px;
}

.alt-block-visual {
  flex: 1 1 300px;
  display: flex;
  justify-content: center;
}

.alt-block h3 {
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.alt-block p {
  color: var(--text-light);
  margin-bottom: 15px;
}

.visual-box {
  width: 250px;
  height: 200px;
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-box svg {
  width: 100px;
  height: 100px;
  color: var(--secondary);
}

/* Responsive */
@media (max-width: 768px) {
  .mobile-toggle {
    display: flex;
  }

  nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--white);
    box-shadow: var(--shadow);
    padding: 20px;
    display: none;
  }

  nav.active {
    display: block;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
  }

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

  .section-header h2 {
    font-size: 1.6rem;
  }

  .stat-number {
    font-size: 2.2rem;
  }

  .cards-grid,
  .testimonials-grid {
    flex-direction: column;
  }

  .card,
  .service-card,
  .testimonial {
    flex: 1 1 100%;
  }

  .cookie-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-grid {
    flex-direction: column;
    gap: 30px;
  }

  .alt-block,
  .alt-block.reverse {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 50px 15px;
  }

  section {
    padding: 50px 15px;
  }

  .btn {
    padding: 12px 22px;
    font-size: 0.95rem;
  }

  .cookie-buttons {
    flex-direction: column;
    width: 100%;
  }

  .cookie-btn {
    width: 100%;
  }
}
