/* Базовий CSS reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  height: 100%;
  width: 100%;
  font-family: sans-serif;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  text-rendering: optimizeSpeed;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
}

input, button, textarea, select {
  font: inherit;
  border: none;
  outline: none;
  background: none;
}

ul, ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}
/* ----------- */

:root {
  --color-primary: #3B82F6;
  --color-accent: #10B981;
  --color-bg: #F9FAFB;
  --color-text: #111827;
  --color-muted: #6B7280;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #f9fafb, #e0f2fe);
  color: var(--color-text);
  line-height: 1.6;
  padding: 1rem;
  min-height: 100vh;
  transition: background 0.5s ease;
}

h1, h2, h3, h4 {
  font-family: 'Urbanist', sans-serif;
}

.header {
  width: 100%;
  padding: 1rem 2rem;
  background-color: white;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.header__logo {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  transition: transform 0.3s ease;
}

.header__logo:hover {
  transform: scale(1.05);
}

.header__nav {
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.header__menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.header__link {
  text-decoration: none;
  font-weight: 500;
  color: var(--color-text);
  position: relative;
  transition: color 0.3s;
}

.header__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0%;
  height: 2px;
  background-color: var(--color-accent);
  transition: width 0.3s;
}

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

.header__link:hover::after {
  width: 100%;
}

/* Мобільний адаптив */
@media (max-width: 600px) {
  .header__menu {
    gap: 1rem;
    justify-content: center;
  }

  .header__logo {
    width: 100%;
    text-align: center;
    margin-bottom: 0.5rem;
  }

  .header__container {
    flex-direction: column;
    align-items: center;
  }
}

.hero {
  padding: 4rem 1rem;
  background: linear-gradient(135deg, #e0f2fe 0%, #f9fafb 100%);
  position: relative;
  overflow: hidden;
}

.hero__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero__content {
  flex: 1 1 500px;
  animation: fadeInLeft 1s ease;
}

.hero__title {
  font-family: 'Urbanist', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.hero__subtitle {
  font-size: 1.125rem;
  color: var(--color-muted);
  margin-bottom: 2rem;
}

.hero__btn {
  display: inline-block;
  background-color: var(--color-primary);
  color: white;
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero__btn:hover {
  background-color: var(--color-accent);
  transform: scale(1.05);
}

.hero__image {
  flex: 1 1 400px;
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 1s ease;
}

.hero__image img {
  width: 100%;
  max-width: 400px;
  border-radius: 1.5rem;
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

/* Анімації */
@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Адаптив */
@media (max-width: 768px) {
  .hero__container {
    flex-direction: column;
    text-align: center;
  }

  .hero__title {
    font-size: 2rem;
  }

  .hero__image img {
    max-width: 300px;
    margin-top: 2rem;
  }
}

.about {
  position: relative;
  background-color: #ffffff;
  padding: 5rem 1rem 6rem;
  overflow: hidden;
}

.about__bg-pattern {
  position: absolute;
  top: -50px;
  right: -100px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, #10B98122 10%, transparent 70%);
  z-index: 0;
  animation: floatPattern 10s infinite alternate ease-in-out;
}

.about__container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.about__intro {
  text-align: center;
  margin-bottom: 3rem;
  animation: fadeIn 1s ease forwards;
}

.about__title {
  font-family: 'Urbanist', sans-serif;
  font-size: 2rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
}

.about__text {
  font-size: 1.125rem;
  color: var(--color-muted);
  max-width: 700px;
  margin: 0 auto;
}

.about__features {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.about__feature {
  background-color: #f1f5f9;
  padding: 2rem;
  border-radius: 1.5rem;
  flex: 1 1 280px;
  max-width: 340px;
  text-align: center;
  transition: transform 0.3s ease;
  animation: fadeInUp 0.8s ease forwards;
}

.about__feature:hover {
  transform: translateY(-5px);
}

.about__icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.about__feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.about__feature-text {
  color: var(--color-muted);
  font-size: 1rem;
}

/* Анімації */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes floatPattern {
  from { transform: translateY(0); }
  to { transform: translateY(20px); }
}

/* Адаптив */
@media (max-width: 768px) {
  .about__features {
    flex-direction: column;
    align-items: center;
  }
}

.about__quote {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2rem;
  border-left: 6px solid var(--color-accent);
  background-color: #ecfdf5;
  font-style: italic;
  font-size: 1.125rem;
  color: #065f46;
  position: relative;
  border-radius: 1rem;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.05);
  animation: fadeIn 1.2s ease-in;
}

.about__quote cite {
  display: block;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: #047857;
  font-style: normal;
  font-weight: 500;
}

.about__wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  transform: translateY(100%);
}

.about__wave svg {
  display: block;
  width: 100%;
  height: 100px;
}

.benefits {
  background-color: #f9fafb;
  padding: 5rem 1rem;
}

.benefits__container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.benefits__title {
  font-family: 'Urbanist', sans-serif;
  font-size: 2rem;
  color: var(--color-text);
  margin-bottom: 3rem;
}

.benefits__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 2rem;
}

.benefits__item {
  background-color: white;
  border-radius: 1.25rem;
  padding: 2rem;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.benefits__item:hover {
  transform: translateY(-5px);
}

.benefits__icon {
  font-size: 2rem;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.benefits__subtitle {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.benefits__progress {
  height: 6px;
  background-color: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.benefits__progress div {
  height: 100%;
  background-color: var(--color-primary);
  border-radius: 999px;
  transition: width 1s ease;
}

.benefits__text {
  color: var(--color-muted);
  font-size: 1rem;
}

/* Адаптив */
@media (max-width: 768px) {
  .benefits__title {
    font-size: 1.75rem;
  }
}

.faq {
  background-color: #ecfdf5;
  padding: 5rem 1rem;
}

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

.faq__title {
  font-family: 'Urbanist', sans-serif;
  font-size: 2rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-text);
}

.faq__item {
  margin-bottom: 1.5rem;
  border-radius: 1rem;
  background-color: #ffffff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05);
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.faq__question i {
  transition: transform 0.3s ease;
}

.faq__answer {
  max-height: 0;
  overflow: hidden;
  padding: 0 1.5rem;
  color: var(--color-muted);
  font-size: 1rem;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq__item.active .faq__answer {
  padding: 1rem 1.5rem 1.5rem;
  max-height: 300px;
}

.faq__item.active .faq__question i {
  transform: rotate(180deg);
}

.cta {
  background: linear-gradient(135deg, #3B82F6, #10B981);
  color: white;
  padding: 5rem 1rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta__container {
  max-width: 800px;
  margin: 0 auto;
  animation: fadeIn 1.2s ease-in;
}

.cta__title {
  font-family: 'Urbanist', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.cta__text {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.9);
}

.cta__btn {
  display: inline-block;
  background-color: white;
  color: var(--color-primary);
  padding: 0.75rem 1.75rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}

.cta__btn:hover {
  background-color: var(--color-accent);
  color: white;
}

/* Адаптив */
@media (max-width: 768px) {
  .cta__title {
    font-size: 1.75rem;
  }

  .cta__text {
    font-size: 1rem;
  }
}

.footer {
  background-color: #111827;
  color: #d1d5db;
  padding: 3rem 1rem 2rem;
  font-size: 0.95rem;
}

.footer__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: space-between;
}

.footer__brand {
  flex: 1 1 240px;
}

.footer__logo {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  display: inline-block;
  margin-bottom: 0.5rem;
}

.footer__tagline {
  color: #9ca3af;
  font-size: 0.95rem;
}

.footer__links, .footer__contact {
  flex: 1 1 200px;
}

.footer__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.75rem;
}

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

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

.footer__links a, .footer__contact a {
  color: #d1d5db;
  text-decoration: none;
  transition: color 0.3s;
}

.footer__links a:hover,
.footer__contact a:hover {
  color: var(--color-accent);
}

.footer__bottom {
  text-align: center;
  border-top: 1px solid #374151;
  margin-top: 2rem;
  padding-top: 1rem;
  font-size: 0.875rem;
  color: #6b7280;
}

/* Адаптив */
@media (max-width: 768px) {
  .footer__container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

.modal {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  justify-content: center;
  align-items: center;
}

.modal__overlay {
  position: absolute;
  width: 100%; height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(2px);
}

.modal__content {
  position: relative;
  background-color: white;
  padding: 2rem;
  border-radius: 1rem;
  width: 90%;
  max-width: 500px;
  z-index: 10;
  animation: modalFade 0.3s ease-out;
}

@keyframes modalFade {
  from { transform: translateY(-20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.modal__close {
  background: none;
  border: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  cursor: pointer;
}

.modal__title {
  font-family: 'Urbanist', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.modal__form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal__form input,
.modal__form textarea {
  padding: 0.75rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 0.75rem;
  font-size: 1rem;
  resize: vertical;
}

.modal__form button {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.75rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

.modal__form button:hover {
  background-color: var(--color-accent);
}

.pages {
  padding: 4rem 1rem;
  background-color: #ffffff;
  color: var(--color-text);
  font-family: 'Inter', sans-serif;
  line-height: 1.8;
}

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

.pages h1 {
  font-family: 'Urbanist', sans-serif;
  font-size: 2.25rem;
  font-weight: 700;
  margin-bottom: 2rem;
  color: var(--color-primary);
  text-align: center;
}

.pages h2 {
  font-size: 1.5rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-primary);
  border-left: 4px solid var(--color-accent);
  padding-left: 0.75rem;
}

.pages p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  color: var(--color-muted);
}

.pages ul,
.pages ol {
  padding-left: 1.25rem;
  margin-bottom: 1.25rem;
}

.pages li {
  margin-bottom: 0.5rem;
  font-size: 1rem;
  color: var(--color-text);
}

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

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

/* Адаптив */
@media (max-width: 768px) {
  .pages h1 {
    font-size: 1.75rem;
  }

  .pages h2 {
    font-size: 1.25rem;
  }
}

.cookie-banner {
  position: fixed;
  bottom: 1.5rem;
  left: 1rem;
  right: 1rem;
  max-width: 700px;
  margin: 0 auto;
  background-color: #111827;
  color: #f9fafb;
  padding: 1rem 1.5rem;
  border-radius: 1rem;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  animation: slideUp 0.5s ease;
  font-size: 0.95rem;
  gap: 1rem;
  flex-wrap: wrap;
}

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

.cookie-banner__btn {
  background-color: var(--color-primary);
  color: white;
  border: none;
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s;
}

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

@keyframes slideUp {
  from {
    transform: translateY(50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Мобільний */
@media (max-width: 480px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
  }
}
