/* Base Reset & Variables */
:root {
  --color-primary: #1a3a5c;
  --color-secondary: #2d5a87;
  --color-accent: #c9a227;
  --color-light: #f8f9fa;
  --color-dark: #1a1a2e;
  --color-text: #333;
  --color-text-light: #666;
  --color-white: #fff;
  --color-border: #e0e0e0;
  --color-success: #2e7d32;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.15);
  --transition: 0.3s ease;
  --container-width: 1200px;
}

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

html {
  scroll-behavior: smooth;
}

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

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

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

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

ul {
  list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
  color: var(--color-dark);
  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;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 500;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  font-size: 1rem;
}

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

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

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

.btn-secondary:hover {
  background-color: #b8921f;
  color: var(--color-dark);
}

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

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

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

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  max-width: var(--container-width);
  margin: 0 auto;
}

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

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

.nav-menu {
  display: flex;
  gap: 30px;
  align-items: center;
}

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

.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-accent);
  transition: width var(--transition);
}

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

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.mobile-menu-btn svg {
  width: 28px;
  height: 28px;
  fill: var(--color-primary);
}

/* Mobile Navigation */
@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-menu {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background-color: var(--color-white);
    flex-direction: column;
    padding: 20px;
    gap: 0;
    box-shadow: var(--shadow-md);
    transform: translateY(-150%);
    transition: transform var(--transition);
    z-index: 999;
  }

  .nav-menu.active {
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 15px 0;
    border-bottom: 1px solid var(--color-border);
    width: 100%;
    text-align: center;
  }

  .nav-menu a:last-child {
    border-bottom: none;
  }
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: var(--color-white);
  padding: 80px 20px;
  min-height: 500px;
  display: flex;
  align-items: center;
}

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

.hero h1 {
  color: var(--color-white);
  font-size: 2.8rem;
  max-width: 700px;
}

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

.hero .btn-secondary {
  margin-top: 10px;
}

/* Sections */
section {
  padding: 70px 20px;
}

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

.section-header h2 {
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--color-accent);
}

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

/* Background Variants */
.bg-light {
  background-color: var(--color-light);
}

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

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

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

.bg-primary h2, .bg-primary h3 {
  color: var(--color-white);
}

/* Cards */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 30px;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
  flex: 1 1 300px;
  max-width: 380px;
}

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

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

.card-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--color-primary);
}

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

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

/* Service Cards */
.service-card {
  background-color: var(--color-white);
  border-radius: 8px;
  padding: 35px;
  box-shadow: var(--shadow-sm);
  border-left: 4px solid var(--color-accent);
  transition: all var(--transition);
  flex: 1 1 350px;
  max-width: 500px;
}

.service-card:hover {
  box-shadow: var(--shadow-md);
}

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

.service-card p {
  margin-bottom: 15px;
}

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

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

/* Stats Section */
.stats-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.stat-item {
  text-align: center;
  flex: 1 1 200px;
  max-width: 250px;
}

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

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

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

/* Testimonials */
.testimonial-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.testimonial {
  background-color: var(--color-white);
  padding: 35px;
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
  flex: 1 1 320px;
  max-width: 400px;
  position: relative;
}

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

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

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

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

/* Process Steps */
.process-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.process-step {
  text-align: center;
  flex: 1 1 220px;
  max-width: 280px;
  position: relative;
}

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

.process-step h4 {
  margin-bottom: 10px;
}

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

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

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

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  padding: 10px 0;
}

.faq-question h4 {
  margin-bottom: 0;
  font-weight: 500;
  transition: color var(--transition);
}

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

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

.faq-toggle svg {
  width: 100%;
  height: 100%;
  fill: var(--color-primary);
}

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

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

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

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

/* Values/Features Grid */
.values-container {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.value-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  flex: 1 1 400px;
  max-width: 550px;
  padding: 25px;
  background-color: var(--color-white);
  border-radius: 8px;
  box-shadow: var(--shadow-sm);
}

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

.value-icon svg {
  width: 100%;
  height: 100%;
  fill: var(--color-accent);
}

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

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

/* Two Column Layout */
.two-column {
  display: flex;
  flex-wrap: wrap;
  gap: 50px;
  align-items: center;
  max-width: var(--container-width);
  margin: 0 auto;
}

.two-column .column {
  flex: 1 1 400px;
}

.two-column .column-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.two-column .column-image svg {
  max-width: 100%;
  height: auto;
}

/* Quote Section */
.quote-section {
  text-align: center;
  padding: 80px 20px;
}

.quote-text {
  font-size: 1.8rem;
  font-style: italic;
  max-width: 900px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

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

/* Contact Info */
.contact-info-container {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  justify-content: center;
}

.contact-block {
  flex: 1 1 300px;
  max-width: 400px;
}

.contact-block h3 {
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--color-accent);
}

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

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

.contact-item p {
  margin-bottom: 0;
}

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

.legal-content h1 {
  margin-bottom: 30px;
  padding-bottom: 15px;
  border-bottom: 2px solid var(--color-accent);
}

.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 ul {
  margin-left: 25px;
  margin-bottom: 20px;
}

.legal-content ul li {
  list-style: disc;
  margin-bottom: 8px;
  color: var(--color-text-light);
}

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

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

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

.thank-you-content svg {
  width: 100px;
  height: 100px;
  fill: var(--color-success);
  margin-bottom: 30px;
}

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

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

/* Footer */
footer {
  background-color: var(--color-dark);
  color: rgba(255,255,255,0.8);
  padding: 60px 20px 30px;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  max-width: var(--container-width);
  margin: 0 auto;
  justify-content: space-between;
}

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

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

.footer-section p {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

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

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

.footer-section ul li a:hover {
  color: var(--color-accent);
}

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

.footer-logo {
  color: var(--color-white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: block;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--color-dark);
  color: var(--color-white);
  padding: 20px;
  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: var(--container-width);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.cookie-text {
  flex: 1 1 400px;
}

.cookie-text p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--color-accent);
}

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

.cookie-buttons button {
  padding: 10px 20px;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
}

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

.btn-accept:hover {
  background-color: #b8921f;
}

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

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

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

.btn-settings:hover {
  color: var(--color-accent);
}

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

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

.cookie-modal {
  background-color: var(--color-white);
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.cookie-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid var(--color-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;
  fill: var(--color-text);
}

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

.cookie-category {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--color-border);
}

.cookie-category:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category-header h4 {
  margin-bottom: 0;
}

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

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

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

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

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

.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-category p {
  font-size: 0.9rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

.cookie-modal-footer {
  padding: 20px 25px;
  border-top: 1px solid var(--color-border);
  display: flex;
  gap: 12px;
  justify-content: flex-end;
}

.cookie-modal-footer button {
  padding: 10px 24px;
  border-radius: 4px;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-save-preferences {
  background-color: var(--color-primary);
  color: var(--color-white);
  border: none;
}

.btn-save-preferences:hover {
  background-color: var(--color-secondary);
}

.btn-accept-all {
  background-color: var(--color-accent);
  color: var(--color-dark);
  border: none;
}

.btn-accept-all:hover {
  background-color: #b8921f;
}

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

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

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

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

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

.comparison-table tr:hover {
  background-color: rgba(201, 162, 39, 0.1);
}

/* Timeline */
.timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

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

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

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

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

.timeline-item .timeline-date {
  font-size: 0.9rem;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 10px;
}

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

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

.industry-tag {
  background-color: var(--color-light);
  padding: 12px 24px;
  border-radius: 30px;
  font-weight: 500;
  color: var(--color-primary);
  transition: all var(--transition);
}

.industry-tag:hover {
  background-color: var(--color-primary);
  color: var(--color-white);
}

/* Highlight Box */
.highlight-box {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  padding: 40px;
  border-radius: 8px;
  color: var(--color-white);
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
}

.highlight-box h3 {
  color: var(--color-white);
  margin-bottom: 15px;
}

.highlight-box p {
  opacity: 0.95;
  margin-bottom: 25px;
}

/* Responsive */
@media (max-width: 992px) {
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }

  .hero {
    padding: 60px 20px;
    min-height: auto;
  }

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

@media (max-width: 768px) {
  h1 { font-size: 1.9rem; }
  h2 { font-size: 1.6rem; }

  section {
    padding: 50px 20px;
  }

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

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

  .quote-text {
    font-size: 1.4rem;
  }

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

  .cookie-buttons {
    justify-content: center;
  }

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

  .timeline::before {
    left: 10px;
  }

  .timeline-item {
    padding-left: 45px;
  }

  .timeline-item::before {
    left: 4px;
    width: 14px;
    height: 14px;
  }
}

@media (max-width: 480px) {
  .btn {
    width: 100%;
  }

  .cookie-modal-footer {
    flex-direction: column;
  }

  .cookie-modal-footer button {
    width: 100%;
  }
}
