/* Base Reset & Typography */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --color-primary: #2D5A4A;
  --color-primary-dark: #1E3D32;
  --color-secondary: #F4D03F;
  --color-accent: #E67E22;
  --color-bg: #FAFAF8;
  --color-bg-alt: #F0EDE8;
  --color-bg-dark: #2D5A4A;
  --color-text: #2C3E50;
  --color-text-light: #5D6D7E;
  --color-text-inverse: #FFFFFF;
  --color-border: #D5D8DC;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.12);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.16);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

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

h1, h2, h3, h4, h5, h6 {
  line-height: 1.3;
  color: var(--color-primary-dark);
  font-weight: 600;
}

h1 { font-size: 2.25rem; margin-bottom: 1rem; }
h2 { font-size: 1.875rem; margin-bottom: 0.875rem; }
h3 { font-size: 1.5rem; margin-bottom: 0.75rem; }
h4 { font-size: 1.25rem; margin-bottom: 0.625rem; }

p { margin-bottom: 1rem; }

ul, ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.section {
  padding: 4rem 0;
}

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

.section--dark {
  background: var(--color-bg-dark);
  color: var(--color-text-inverse);
}

.section--dark h2,
.section--dark h3,
.section--dark h4 {
  color: var(--color-text-inverse);
}

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

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

.logo {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  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-text-inverse);
  box-shadow: var(--shadow-md);
  padding: 1rem;
}

.nav__list {
  display: flex;
  flex-direction: column;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0.5rem;
}

.nav__link {
  display: block;
  padding: 0.75rem 1rem;
  color: var(--color-text);
  font-weight: 500;
  border-radius: var(--radius-sm);
  transition: background var(--transition), color var(--transition);
}

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

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

.menu-toggle__bar {
  width: 24px;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

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

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

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

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

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__title {
  font-size: 2rem;
  color: var(--color-text-inverse);
  margin-bottom: 1.25rem;
}

.hero__subtitle {
  font-size: 1.125rem;
  opacity: 0.9;
  margin-bottom: 2rem;
  max-width: 600px;
}

.hero__decoration {
  position: absolute;
  right: -50px;
  bottom: -50px;
  width: 300px;
  height: 300px;
  opacity: 0.1;
}

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

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

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

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

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

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

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

/* Cards */
.card {
  background: var(--color-text-inverse);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.card__icon {
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.card__title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

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

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

/* Cards Grid using Flexbox */
.cards-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.cards-grid .card {
  flex: 1 1 100%;
}

/* Feature Blocks */
.feature {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 3rem;
}

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

.feature__content {
  flex: 1;
}

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

.feature__visual svg {
  max-width: 280px;
  width: 100%;
}

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

.stat {
  text-align: center;
  padding: 1.5rem;
  flex: 1 1 140px;
  max-width: 200px;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-secondary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat__label {
  font-size: 0.9375rem;
  opacity: 0.9;
}

/* Testimonials */
.testimonial {
  background: var(--color-text-inverse);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.testimonial__quote {
  font-size: 1.125rem;
  font-style: italic;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 4px solid var(--color-secondary);
}

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

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

.testimonials-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* FAQ */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-item {
  background: var(--color-text-inverse);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

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

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--color-primary);
  transition: transform var(--transition);
}

.faq-item--active .faq-question::after {
  transform: rotate(45deg);
}

.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;
}

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

/* Process Steps */
.process {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  counter-reset: step;
}

.process__step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
}

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

.process__content h4 {
  margin-bottom: 0.375rem;
}

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

/* Highlighted Panel */
.panel {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: var(--color-text-inverse);
  border-radius: var(--radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
}

.panel h3 {
  color: var(--color-text-inverse);
  margin-bottom: 1rem;
}

.panel p {
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto 1.5rem;
}

/* Values / Benefits List */
.values-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

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

.value-item__icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: var(--color-secondary);
}

.value-item h4 {
  margin-bottom: 0.25rem;
}

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

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

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

.contact-item__icon {
  width: 32px;
  height: 32px;
  color: var(--color-primary);
  flex-shrink: 0;
}

.contact-item__label {
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

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

/* Industries / Tags */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.tag {
  padding: 0.5rem 1rem;
  background: var(--color-bg-alt);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-text);
}

.section--dark .tag {
  background: rgba(255,255,255,0.15);
  color: var(--color-text-inverse);
}

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

.comparison table {
  width: 100%;
  border-collapse: collapse;
  background: var(--color-text-inverse);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

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

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

.comparison tr:last-child td {
  border-bottom: none;
}

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

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

.quote-block__text {
  font-size: 1.5rem;
  font-style: italic;
  color: var(--color-primary);
  margin-bottom: 1rem;
  line-height: 1.5;
}

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

/* Milestones */
.milestones {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  position: relative;
  padding-left: 2rem;
}

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

.milestone {
  position: relative;
}

.milestone::before {
  content: '';
  position: absolute;
  left: -2rem;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--color-primary);
  border-radius: 50%;
  border: 3px solid var(--color-bg);
  box-shadow: 0 0 0 2px var(--color-primary);
}

.milestone__year {
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: 0.25rem;
}

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

/* Footer */
.footer {
  background: var(--color-primary-dark);
  color: var(--color-text-inverse);
  padding: 3rem 0 1.5rem;
}

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

.footer__col {
  flex: 1 1 100%;
}

.footer__title {
  font-size: 1.125rem;
  color: var(--color-text-inverse);
  margin-bottom: 1rem;
}

.footer__links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer__links li {
  margin-bottom: 0.5rem;
}

.footer__links a {
  color: rgba(255,255,255,0.8);
  transition: color var(--transition);
}

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

.footer__bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  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(--color-text-inverse);
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
  padding: 1.25rem;
  z-index: 9999;
  display: none;
}

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

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

.cookie-banner__text {
  text-align: center;
  font-size: 0.9375rem;
  color: var(--color-text);
}

.cookie-banner__text a {
  color: var(--color-primary);
  text-decoration: underline;
}

.cookie-banner__buttons {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cookie-banner__btn {
  padding: 0.625rem 1.25rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.cookie-banner__btn--accept {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.cookie-banner__btn--accept:hover {
  background: var(--color-primary-dark);
}

.cookie-banner__btn--reject {
  background: var(--color-bg-alt);
  color: var(--color-text);
}

.cookie-banner__btn--reject:hover {
  background: var(--color-border);
}

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

.cookie-banner__btn--settings:hover {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

/* 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--visible {
  display: flex;
}

.cookie-modal__content {
  background: var(--color-text-inverse);
  border-radius: var(--radius-md);
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
}

.cookie-modal__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.cookie-modal__title {
  font-size: 1.375rem;
  margin-bottom: 0;
}

.cookie-modal__close {
  width: 32px;
  height: 32px;
  background: var(--color-bg-alt);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.25rem;
  color: var(--color-text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.cookie-modal__close:hover {
  background: var(--color-border);
}

.cookie-option {
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-border);
}

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

.cookie-option__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.cookie-option__title {
  font-weight: 600;
  color: var(--color-text);
}

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

/* Toggle Switch */
.toggle {
  position: relative;
  width: 48px;
  height: 26px;
}

.toggle 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: background var(--transition);
}

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

.toggle input:checked + .toggle__slider {
  background: var(--color-primary);
}

.toggle input:checked + .toggle__slider::before {
  transform: translateX(22px);
}

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

.cookie-modal__actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

.cookie-modal__btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  min-width: 120px;
}

.cookie-modal__btn--save {
  background: var(--color-primary);
  color: var(--color-text-inverse);
}

.cookie-modal__btn--save:hover {
  background: var(--color-primary-dark);
}

.cookie-modal__btn--all {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
}

.cookie-modal__btn--all:hover {
  background: #E5C235;
}

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

.thank-you__icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 2rem;
  color: var(--color-primary);
}

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

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

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

/* Section Header */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem;
}

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

/* Two Column Layout */
.two-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.two-col__col {
  flex: 1;
}

/* Icon Row */
.icon-row {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.icon-item {
  text-align: center;
  flex: 1 1 140px;
  max-width: 180px;
}

.icon-item__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  color: var(--color-primary);
}

.icon-item__title {
  font-weight: 600;
  margin-bottom: 0.375rem;
}

.icon-item__text {
  font-size: 0.875rem;
  color: var(--color-text-light);
  margin-bottom: 0;
}

/* Responsive */
@media (min-width: 640px) {
  h1 { font-size: 2.75rem; }
  h2 { font-size: 2.25rem; }

  .hero { padding: 5rem 0; }
  .hero__title { font-size: 2.5rem; }

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

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

  .cookie-banner__inner {
    flex-direction: row;
    justify-content: space-between;
  }

  .cookie-banner__text {
    text-align: left;
  }
}

@media (min-width: 768px) {
  .nav {
    display: flex;
  }

  .nav__list {
    flex-direction: row;
    gap: 0.25rem;
  }

  .nav__link {
    padding: 0.5rem 0.875rem;
  }

  .menu-toggle {
    display: none;
  }

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

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

  .testimonials-list {
    flex-direction: row;
    gap: 1.5rem;
  }

  .testimonials-list .testimonial {
    flex: 1;
  }

  .two-col {
    flex-direction: row;
  }
}

@media (min-width: 1024px) {
  .section { padding: 5rem 0; }

  h1 { font-size: 3rem; }

  .hero { padding: 6rem 0; }
  .hero__title { font-size: 3rem; }

  .cards-grid .card {
    flex: 1 1 calc(33.333% - 1rem);
  }

  .footer__col {
    flex: 1 1 auto;
  }

  .stats {
    justify-content: space-between;
  }
}

/* Accessibility */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

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

/* Skip Link */
.skip-link {
  position: absolute;
  top: -100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--color-primary);
  color: var(--color-text-inverse);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition);
}

.skip-link:focus {
  top: 1rem;
}
