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

:root {
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-secondary: #7c3aed;
  --color-accent: #06b6d4;
  --color-text: #1f2937;
  --color-text-light: #6b7280;
  --color-bg: #ffffff;
  --color-bg-alt: #f9fafb;
  --color-border: #e5e7eb;
  --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --transition: 0.3s ease;
}

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-bg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

a:hover {
  color: var(--color-primary-dark);
}

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

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

/* Header */
.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: 15px 0;
}

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

.logo__icon {
  width: 40px;
  height: 40px;
}

.logo:hover {
  color: var(--color-primary);
}

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

.nav__list {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav__link {
  color: var(--color-text);
  font-weight: 500;
  padding: 10px 0;
  position: relative;
}

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

.nav__link:hover::after,
.nav__link--active::after {
  width: 100%;
}

.nav__link:hover {
  color: var(--color-primary);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.menu-toggle__bar {
  width: 100%;
  height: 3px;
  background: var(--color-text);
  border-radius: 2px;
  transition: var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* Mobile Navigation */
.mobile-nav {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
  box-shadow: var(--shadow-md);
}

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

.mobile-nav__list {
  list-style: none;
  padding: 20px;
}

.mobile-nav__item {
  border-bottom: 1px solid var(--color-border);
}

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

.mobile-nav__link {
  display: block;
  padding: 15px 0;
  color: var(--color-text);
  font-weight: 500;
}

.mobile-nav__link:hover {
  color: var(--color-primary);
}

/* Main Content */
main {
  flex: 1;
}

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

.hero__content {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.hero__title {
  font-size: 2rem;
  font-weight: 800;
  line-height: 1.2;
  color: var(--color-text);
}

.hero__title span {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__text {
  font-size: 1.1rem;
  color: var(--color-text-light);
  max-width: 600px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
}

.hero__visual {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.hero__icon {
  width: 200px;
  height: 200px;
}

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

.btn--primary {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: #ffffff;
}

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

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

/* Sections */
.section {
  padding: 60px 0;
}

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

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

.section__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 15px;
}

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

/* Features */
.features {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.feature {
  background: var(--color-bg);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

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

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

.feature__title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 10px;
}

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

/* Services */
.services-list {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.service-card {
  background: var(--color-bg);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  transition: all var(--transition);
}

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

.service-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 15px;
  flex-wrap: wrap;
  gap: 10px;
}

.service-card__title {
  font-size: 1.25rem;
  font-weight: 600;
}

.service-card__price {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.service-card__text {
  color: var(--color-text-light);
}

/* Testimonials */
.testimonials {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonial {
  background: var(--color-bg);
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  position: relative;
}

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

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

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

.testimonial__avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 600;
}

.testimonial__info {
  display: flex;
  flex-direction: column;
}

.testimonial__name {
  font-weight: 600;
}

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

/* About */
.about-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.stat {
  text-align: center;
  flex: 1;
  min-width: 120px;
}

.stat__number {
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

/* Team */
.team {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.team-member {
  background: var(--color-bg);
  padding: 25px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.team-member__avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 1.5rem;
  font-weight: 600;
}

.team-member__name {
  font-weight: 600;
  font-size: 1.1rem;
}

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

/* Contact */
.contact-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

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

.contact-item__icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: var(--color-bg-alt);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-item__icon svg {
  width: 24px;
  height: 24px;
}

.contact-item__content {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.contact-item__label {
  font-weight: 600;
}

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

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

.thank-you__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
}

.thank-you__icon {
  width: 100px;
  height: 100px;
}

.thank-you__title {
  font-size: 2rem;
  font-weight: 700;
}

.thank-you__text {
  color: var(--color-text-light);
  max-width: 500px;
}

/* Legal Pages */
.legal {
  padding: 60px 0;
}

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

.legal__title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.legal__updated {
  color: var(--color-text-light);
  font-size: 0.875rem;
  margin-bottom: 30px;
}

.legal__section {
  margin-bottom: 30px;
}

.legal__section h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.legal__section p,
.legal__section ul {
  color: var(--color-text-light);
  margin-bottom: 15px;
}

.legal__section ul {
  padding-left: 25px;
}

.legal__section li {
  margin-bottom: 8px;
}

/* Footer */
.footer {
  background: var(--color-text);
  color: #ffffff;
  padding: 50px 0 25px;
  margin-top: auto;
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer__main {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
  font-size: 1.25rem;
  font-weight: 700;
}

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

.footer__logo svg {
  width: 35px;
  height: 35px;
}

.footer__tagline {
  color: #9ca3af;
  font-size: 0.9rem;
  max-width: 300px;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.footer__column h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.footer__column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__column a {
  color: #9ca3af;
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer__column a:hover {
  color: #ffffff;
}

.footer__bottom {
  border-top: 1px solid #374151;
  padding-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  text-align: center;
}

.footer__copyright {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer__legal {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.footer__legal a {
  color: #9ca3af;
  font-size: 0.875rem;
}

.footer__legal a:hover {
  color: #ffffff;
}

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

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

.cookie-banner__inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cookie-banner__text {
  font-size: 0.9rem;
  color: #d1d5db;
}

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

.cookie-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.cookie-banner__btn--accept {
  background: var(--color-primary);
  color: #ffffff;
}

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

.cookie-banner__btn--settings {
  background: transparent;
  color: #ffffff;
  border: 1px solid #6b7280;
}

.cookie-banner__btn--settings:hover {
  border-color: #ffffff;
}

.cookie-banner__btn--decline {
  background: transparent;
  color: #9ca3af;
}

.cookie-banner__btn--decline:hover {
  color: #ffffff;
}

/* 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: 20px;
}

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

.cookie-modal__title {
  font-size: 1.25rem;
  font-weight: 600;
}

.cookie-modal__close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-light);
  padding: 0;
  line-height: 1;
}

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

.cookie-modal__body {
  padding: 25px;
}

.cookie-modal__intro {
  color: var(--color-text-light);
  margin-bottom: 25px;
  font-size: 0.9rem;
}

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

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

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

.cookie-option__title {
  font-weight: 600;
}

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

/* Toggle Switch */
.toggle {
  position: relative;
  width: 50px;
  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: var(--transition);
}

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

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

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

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

.cookie-modal__footer {
  padding: 25px;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

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

.cookie-modal__btn--save {
  background: var(--color-primary);
  color: #ffffff;
}

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

.cookie-modal__btn--all {
  background: var(--color-bg-alt);
  color: var(--color-text);
  border: 1px solid var(--color-border);
}

.cookie-modal__btn--all:hover {
  border-color: var(--color-primary);
}

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

.process__step {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.process__number {
  width: 50px;
  height: 50px;
  min-width: 50px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-weight: 700;
  font-size: 1.25rem;
}

.process__content {
  flex: 1;
}

.process__title {
  font-weight: 600;
  margin-bottom: 5px;
}

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

/* CTA Section */
.cta {
  background: linear-gradient(135deg, var(--color-primary), var(--color-secondary));
  color: #ffffff;
  padding: 60px 0;
  text-align: center;
}

.cta__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta__text {
  opacity: 0.9;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta .btn--primary {
  background: #ffffff;
  color: var(--color-primary);
}

.cta .btn--primary:hover {
  background: var(--color-bg-alt);
}

/* Skip Link */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--color-primary);
  color: #ffffff;
  padding: 10px 20px;
  z-index: 10001;
  transition: top var(--transition);
}

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

/* Media Queries */
@media (min-width: 640px) {
  .hero__title {
    font-size: 2.5rem;
  }

  .features {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .feature {
    flex: 1 1 calc(50% - 15px);
  }

  .services-list {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .service-card {
    flex: 1 1 calc(50% - 12.5px);
  }

  .testimonials {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .testimonial {
    flex: 1 1 calc(50% - 12.5px);
  }

  .team {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .team-member {
    flex: 1 1 calc(50% - 12.5px);
  }

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

  .footer__bottom {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

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

  .menu-toggle {
    display: none;
  }

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

  .hero {
    padding: 100px 0;
  }

  .hero__content {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .hero__visual {
    margin-top: 0;
  }

  .hero__icon {
    width: 300px;
    height: 300px;
  }

  .hero__title {
    font-size: 3rem;
  }

  .section {
    padding: 80px 0;
  }

  .section__title {
    font-size: 2.25rem;
  }

  .feature {
    flex: 1 1 calc(33.333% - 20px);
  }

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

  .contact-info {
    flex: 1;
  }

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

  .cookie-banner__text {
    flex: 1;
  }

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

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

  .service-card {
    flex: 1 1 calc(33.333% - 17px);
  }

  .team-member {
    flex: 1 1 calc(25% - 19px);
  }
}
