:root {
  --primary: #6366f1;
  --accent: #a855f7;
  --bg-dark: #0f172a;
  --text-light: #f8fafc;
  --text-dim: #94a3b8;
  --glass: rgba(255, 255, 255, 0.03);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-light);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

h1,
h2,
h3,
.header__logo-text {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 1.5rem 0;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass);
}

.header__container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: white;
}

.header__logo-img {
  width: 40px;
  height: 40px;
}

.header__logo-text {
  font-size: 1.25rem;
  letter-spacing: -0.5px;
}

.header__menu {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

.header__link {
  text-decoration: none;
  color: var(--text-dim);
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition);
}

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

.header__btn {
  background: var(--primary);
  padding: 0.8rem 1.5rem;
  border-radius: 50px;
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition);
  box-shadow: 0 10px 20px rgba(99, 102, 241, 0.2);
}

.header__btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.4);
}

/* Footer Styles */
.footer {
  background: #0a0f1d;
  padding: 100px 0 40px;
  border-top: 1px solid var(--glass);
  margin-top: 100px;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 4rem;
}

.footer__title {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: white;
}

.footer__list {
  list-style: none;
}

.footer__list li {
  margin-bottom: 0.75rem;
}

.footer__list a {
  color: var(--text-dim);
  text-decoration: none;
  transition: var(--transition);
}

.footer__list a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.footer__contacts {
  list-style: none;
}

.footer__contacts li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-dim);
  margin-bottom: 1rem;
}

.footer__contacts svg {
  width: 18px;
  color: var(--primary);
}

.footer__bottom {
  margin-top: 80px;
  padding-top: 30px;
  border-top: 1px solid var(--glass);
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Burger Menu */
.header__burger {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.header__burger span {
  width: 25px;
  height: 2px;
  background: white;
  transition: var(--transition);
}

@media (max-width: 992px) {
  .footer__grid {
    grid-template-columns: 1fr 1fr;
  }
  .header__menu {
    display: none;
  }
  .header__burger {
    display: flex;
  }
}

@media (max-width: 600px) {
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* Hero Styles */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: 80px;
  overflow: hidden;
  background: #0f172a;
}

.hero__canvas-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  opacity: 0.6;
  filter: blur(60px);
}

#aurora-canvas {
  width: 100%;
  height: 100%;
}

.hero__container {
  position: relative;
  z-index: 2;
}

.hero__content {
  max-width: 850px;
}

.hero__subtitle {
  display: inline-block;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
}

.hero__title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  line-height: 1.1;
  margin-bottom: 2rem;
}

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

.hero__description {
  font-size: 1.25rem;
  color: var(--text-dim);
  margin-bottom: 3rem;
  max-width: 600px;
}

.hero__actions {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.btn {
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: var(--transition);
  display: inline-block;
}

.btn--primary {
  background: var(--primary);
  color: white;
  box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.btn--primary:hover {
  transform: scale(1.05);
  background: var(--accent);
}

.btn--outline {
  border: 2px solid var(--glass);
  color: white;
}

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

.hero__info {
  display: flex;
  gap: 2rem;
  color: var(--text-dim);
  font-size: 0.85rem;
}

.hero__info p {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hero__info svg {
  width: 16px;
  color: var(--primary);
}

.hero__wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  line-height: 0;
}

@media (max-width: 768px) {
  .hero__actions {
    flex-direction: column;
  }
  .hero__info {
    flex-direction: column;
    gap: 1rem;
  }
}

/* Solutions Section Styles */
.section {
  padding: 120px 0;
}

.section__header {
  text-align: center;
  margin-bottom: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section__title {
  font-size: 3.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.section__title span {
  color: var(--primary);
}

.section__subtitle {
  font-size: 1.1rem;
  color: var(--text-dim);
}

.solutions__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 280px;
  gap: 1.5rem;
}

.solutions__card {
  background: var(--glass);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 32px;
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}

.solutions__card:hover {
  border-color: var(--primary);
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
}

.solutions__card--main {
  grid-column: span 2;
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.1),
    rgba(168, 85, 247, 0.1)
  );
}

.solutions__card--wide {
  grid-column: span 3;
}

.solutions__card-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background: var(--primary);
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.solutions__card h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.solutions__card p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
}

.solutions__icon {
  width: 60px;
  height: 60px;
  background: var(--glass);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.solutions__icon svg {
  color: var(--accent);
}

.icon-big {
  width: 100px;
  height: 100px;
  opacity: 0.1;
  color: var(--primary);
}

/* Blob Decoration */
.blob-shape {
  position: absolute;
  right: -50px;
  top: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
  opacity: 0.2;
  filter: blur(40px);
  animation: blobFloat 10s infinite alternate;
}

@keyframes blobFloat {
  from {
    transform: translate(0, 0);
  }
  to {
    transform: translate(-40px, 40px);
  }
}

@media (max-width: 992px) {
  .solutions__grid {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: auto;
  }
  .solutions__card--main,
  .solutions__card--wide {
    grid-column: span 2;
  }
}

@media (max-width: 600px) {
  .solutions__grid {
    grid-template-columns: 1fr;
  }
  .solutions__card--main,
  .solutions__card--wide {
    grid-column: span 1;
  }
  .section__title {
    font-size: 2.5rem;
  }
}

/* Process Section Styles */
.process {
  position: relative;
}

.process__timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

/* Центральна лінія */
.process__timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--primary),
    var(--accent),
    transparent
  );
  transform: translateX(-50%);
}

.process__item {
  display: flex;
  justify-content: flex-end;
  padding-right: 50%;
  position: relative;
  margin-bottom: 60px;
  width: 100%;
}

.process__item:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 50%;
}

.process__number {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 50px;
  height: 50px;
  background: var(--bg-dark);
  border: 2px solid var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--primary);
  z-index: 5;
  box-shadow: 0 0 20px rgba(99, 102, 241, 0.4);
}

.process__content {
  background: var(--glass);
  padding: 2.5rem;
  border-radius: 24px;
  width: 85%;
  margin-right: 40px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.process__item:nth-child(even) .process__content {
  margin-right: 0;
  margin-left: 40px;
}

.process__content:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--accent);
}

.process__content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: white;
}

.process__content p {
  color: var(--text-dim);
  font-size: 0.95rem;
}

.process__cta {
  text-align: center;
  margin-top: 60px;
}

.process__cta p {
  margin-bottom: 20px;
  font-size: 1.2rem;
  color: var(--text-light);
}

@media (max-width: 768px) {
  .process__timeline::before {
    left: 20px;
    transform: none;
  }
  .process__number {
    left: 20px;
    transform: none;
    width: 40px;
    height: 40px;
  }
  .process__item {
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }
  .process__item:nth-child(even) {
    padding-left: 60px;
  }
  .process__item:nth-child(even) .process__content {
    margin-left: 0;
  }
  .process__content {
    width: 100%;
    margin-right: 0;
  }
}

/* Capabilities Section */
.capabilities__wrapper {
  display: flex;
  align-items: center;
  gap: 4rem;
}

.capabilities__text {
  flex: 1;
}
.capabilities__visual {
  flex: 1;
  display: flex;
  justify-content: center;
}

.capabilities__list {
  list-style: none;
  margin-top: 2rem;
}

.capabilities__list li {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.capabilities__list i {
  color: var(--primary);
  background: var(--glass);
  padding: 10px;
  border-radius: 50%;
}

.glass-circle {
  width: 350px;
  height: 350px;
  background: linear-gradient(
    135deg,
    rgba(99, 102, 241, 0.2),
    rgba(168, 85, 247, 0.2)
  );
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(20px);
  border: 1px solid var(--glass);
  animation: morph 8s ease-in-out infinite;
}

.floating-icon {
  width: 100px;
  height: 100px;
  color: white;
  filter: drop-shadow(0 0 20px var(--primary));
}

@keyframes morph {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
  50% {
    border-radius: 60% 40% 30% 70% / 50% 60% 40% 60%;
  }
  100% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }
}

/* Blog Section */
.blog__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.blog__card {
  background: var(--glass);
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
}

.blog__card:hover {
  transform: translateY(-10px);
  border-color: var(--primary);
}

.blog__image {
  position: relative;
  height: 220px;
}

.blog__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog__tag {
  position: absolute;
  top: 20px;
  left: 20px;
  background: var(--primary);
  padding: 5px 15px;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 700;
}

.blog__body {
  padding: 2rem;
}
.blog__body h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}
.blog__body p {
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.blog__link {
  color: var(--primary);
  text-decoration: none;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 5px;
}

@media (max-width: 992px) {
  .capabilities__wrapper {
    flex-direction: column;
    text-align: center;
  }
  .capabilities__list li {
    justify-content: center;
  }
  .blog__grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .blog__grid {
    grid-template-columns: 1fr;
  }
  .glass-circle {
    width: 280px;
    height: 280px;
  }
}

/* Contact Section Styles */
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.contact__methods {
  margin-top: 2.5rem;
}

.contact__method {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
  color: var(--text-dim);
}

.contact__method i {
  color: var(--primary);
}

/* Form Styles */
.contact__form-wrapper {
  background: var(--glass);
  padding: 3rem;
  border-radius: 32px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
}

.form__group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form__group input {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.2rem;
  border-radius: 12px;
  color: white;
  font-family: inherit;
  transition: var(--transition);
}

.form__group input:focus {
  outline: none;
  border-color: var(--primary);
  background: rgba(255, 255, 255, 0.07);
}

.form__error {
  color: #ff4d4d;
  font-size: 0.75rem;
  display: none;
  margin-top: 5px;
}

/* Captcha Styling */
.form__captcha {
  background: rgba(255, 255, 255, 0.02);
  padding: 1rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.captcha__container {
  display: flex;
  align-items: center;
  cursor: pointer;
  gap: 12px;
}

.captcha__container input {
  display: none;
}

.captcha__checkmark {
  width: 24px;
  height: 24px;
  border: 2px solid var(--text-dim);
  border-radius: 4px;
  position: relative;
}

.captcha__container input:checked + .captcha__checkmark {
  background: var(--primary);
  border-color: var(--primary);
}

.captcha__container input:checked + .captcha__checkmark::after {
  content: "✓";
  position: absolute;
  color: white;
  font-size: 16px;
  left: 4px;
  top: -2px;
}

.captcha__logo {
  text-align: right;
  font-size: 0.7rem;
  color: var(--text-dim);
  opacity: 0.6;
}

.form__policy {
  margin-bottom: 2rem;
  font-size: 0.8rem;
  color: var(--text-dim);
}

.policy__container {
  display: flex;
  gap: 10px;
  cursor: pointer;
}

.btn--full {
  width: 100%;
  cursor: pointer;
  border: none;
}

/* Success Message */
.form__message {
  display: none;
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: 12px;
  text-align: center;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.form__message--success {
  background: rgba(34, 197, 94, 0.1);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

@media (max-width: 992px) {
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

/* Cookie Popup */
.cookie-popup {
  position: fixed;
  bottom: -100%;
  left: 20px;
  right: 20px;
  max-width: 500px;
  background: #1e293b;
  padding: 1.5rem;
  border-radius: 20px;
  border: 1px solid var(--primary);
  z-index: 2000;
  transition: var(--transition);
}

.cookie-popup--active {
  bottom: 20px;
}

.cookie-popup__content {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.cookie-popup p {
  font-size: 0.85rem;
  color: var(--text-dim);
}
.cookie-popup a {
  color: var(--primary);
}

/* Pages Styling */
.pages {
  padding: 150px 0 100px;
  min-height: 80vh;
}

.pages h1 {
  font-size: 3rem;
  margin-bottom: 2rem;
  color: var(--primary);
}
.pages h2 {
  font-size: 1.8rem;
  margin: 2rem 0 1rem;
  color: white;
}
.pages p {
  margin-bottom: 1.2rem;
  color: var(--text-dim);
  font-size: 1.1rem;
  line-height: 1.8;
}
.pages ul {
  margin-bottom: 1.5rem;
  padding-left: 20px;
}
.pages li {
  margin-bottom: 0.8rem;
  color: var(--text-dim);
}
.pages strong {
  color: white;
}
.pages a {
  color: var(--accent);
  text-decoration: none;
}
