/* ======================================================
   ROOT / VARIABLES
====================================================== */
:root {
  --bg-main: #0b0e14;
  --bg-soft: #111522;
  --bg-card: rgba(255, 255, 255, 0.04);

  --text-main: #ffffff;
  --text-muted: rgba(255,255,255,0.7);

  --accent: #6d5dfc;
  --accent-2: #ff4ecd;

  --radius-lg: 24px;
  --radius-md: 18px;

  --transition: 0.35s cubic-bezier(.4,0,.2,1);
}

/* ======================================================
   RESET / BASE
====================================================== */
*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
font-family: 'Lato', sans-serif;
  background: radial-gradient(1200px 600px at 10% -10%, #1a1f3b 0%, transparent 60%),
              var(--bg-main);
  color: var(--text-main);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}h1 span {
  background: linear-gradient(90deg, #6d5dfc, #ff4ecd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1, .hero p {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.animate.show h1, .animate.show p {
  opacity: 1;
  transform: translateY(0);
}

img {
  max-width: 100%;
  display: block;
}

/* ======================================================
   CONTAINER
====================================================== */
.container {
  max-width: 1200px;
  padding: 0 20px;
  margin: 0 auto;
}

/* ======================================================
   HEADER / NAV
====================================================== */
/* HEADER */
.header {
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  background: rgba(15,17,23,0.85);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
}

/* LOGO */
.logo {
  font-size: 24px;
  font-weight: 800;
  color: #fff;
  cursor: pointer;
  background: linear-gradient(90deg, #6d5dfc, #ff4ecd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: transform 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

/* NAV LINKS */
.nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.nav-link {
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  position: relative;
  transition: all 0.3s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, #6d5dfc, #ff4ecd);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* BURGER MENU */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* NAV OPEN (для мобільних) */
.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  right: 20px;
  background: rgba(15,17,23,0.95);
  padding: 60px;
  border-radius: 16px;
  gap: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.5);
}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  .nav-toggle {
    display: flex;
  }
}
.header.scrolled {
  background: rgba(15,17,23,0.95);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ======================================================
   BUTTONS
====================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--transition), box-shadow var(--transition);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #fff;
  box-shadow: 0 10px 30px rgba(109,93,252,0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(109,93,252,0.5);
}

/* ======================================================
   HERO
====================================================== */
.hero {
  padding: 60px 0 80px;
}

.hero-grid {
  display: flex;
  gap: 68px;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.hero-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 720px;
  margin: 0 auto;
  width: 100%;
}

.hero h1 {
  font-size: 40px;
  line-height: 1.15;
  margin-bottom: 18px;
}

.hero h1 span {
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: var(--text-muted);
  margin: 0 auto 24px;
  max-width: 520px;
}

.hero-points {
  list-style: none;
  padding: 0;
  margin-bottom: 32px;
}

.hero-points li {
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-image img {
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
}

/* ======================================================
   SECTIONS
====================================================== */


section h2 {
  font-size: 28px;
  margin-bottom: 48px;
  text-align: center;
}

/* ======================================================
   CARDS
====================================================== */
.card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.06),
    rgba(255,255,255,0.02)
  );
  border-radius: var(--radius-lg);
  padding: 32px;

  border: 1px solid rgba(255,255,255,0.06);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.5);
}

.card h3 {
  margin-top: 0;
  margin-bottom: 12px;
}

.card p {
  color: var(--text-muted);
}

/* ======================================================
   BENEFITS / TOOLS GRID
====================================================== */
.benefits .container,
.tools .cards {
  display: grid;
  gap: 24px;
}

/* ======================================================
   COURSES
====================================================== */
.course {
  margin-bottom: 32px;
}

.course ul {
  list-style: none;
  padding: 0;
}

.course li {
  padding-left: 18px;
  margin-bottom: 10px;
  position: relative;
}

.course li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ======================================================
   CONSULTING
====================================================== */
.consulting {
  background: radial-gradient(600px 300px at 50% 0%, #1a1f3b 0%, transparent 70%);
  text-align: center;
}

.consulting p {
  max-width: 640px;
  margin: 0 auto 28px;
  color: var(--text-muted);
}

/* ======================================================
   FOOTER
====================================================== */
.footer {
  background: #080a10;
  padding: 48px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer p {
  text-align: center;
  font-size: 14px;
  opacity: 0.7;
  margin-bottom: 6px;
}

/* ======================================================
   ANIMATION (JS controlled)
====================================================== */
.animate {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
  padding: 20px ;
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (min-width: 768px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
  }

  section h2 {
    font-size: 34px;
  }

  .benefits .container,
  .tools .cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .nav {
    position: static;
    display: flex !important;
    flex-direction: row;
    background: none;
    padding: 0;
    gap: 28px;
  }

  .nav-toggle {
    display: none;
  }

  .benefits .container,
  .tools .cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero h1 {
    font-size: 48px;
  }
}
/* ======================================================
   TOOLS (PREMIUM BLOCK)
====================================================== */
.tools {
  background: radial-gradient(
    700px 400px at 50% -10%,
    rgba(109,93,252,0.18),
    transparent 70%
  );
  padding: 40px 0;
}

.tools-subtitle {
  max-width: 620px;
  margin: -20px auto 56px;
  text-align: center;
  color: var(--text-muted);
}

.tools-grid {
  display: grid;
  gap: 28px;
}

/* CARD */
.tool-card {
  background: linear-gradient(
    180deg,
    rgba(255,255,255,0.08),
    rgba(255,255,255,0.03)
  );
  border-radius: var(--radius-lg);
  padding: 36px;
  border: 1px solid rgba(255,255,255,0.08);
  transition: transform var(--transition),
              box-shadow var(--transition),
              border-color var(--transition);
  position: relative;
  overflow: hidden;
}

/* glow */
.tool-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    300px 200px at 20% 0%,
    rgba(109,93,252,0.18),
    transparent 60%
  );
  opacity: 0;
  transition: opacity var(--transition);
}

.tool-card:hover::before {
  opacity: 1;
}

.tool-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.6);
  border-color: rgba(109,93,252,0.35);
}

/* ICON */
.tool-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

/* TEXT */
.tool-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.tool-desc {
  color: var(--text-muted);
  margin-bottom: 20px;
}

/* LIST */
.tool-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tool-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 15px;
  opacity: 0.9;
}

.tool-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--accent);
}

/* ======================================================
   RESPONSIVE
====================================================== */
@media (min-width: 768px) {
  .tools-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .tools-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
/* SVG ICONS */
.tool-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(109,93,252,0.12);
  border-radius: 16px;
}

.tool-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--accent);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* hover interaction */
.tool-card:hover .tool-icon {
  background: rgba(109,93,252,0.22);
}

.tool-card:hover svg {
  stroke: var(--accent-2);
}
/* HERO POINTS INTERACTIVE */
.hero-points {
  position: relative;
  list-style: none;
  width: fit-content;
  padding-left: 24px;
  margin: 24px auto 32px;
  text-align: left;
}

.hero-points li {
  position: relative;
  margin-bottom: 20px;
  padding-left: 28px;
  font-size: 17px;
  line-height: 1.5;
  opacity: 0;
  transform: translateX(-20px);
  transition: all 0.6s cubic-bezier(0.22,1,0.36,1);
}

/* bullet point */
.hero-points li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 12px;
  height: 12px;
  background: linear-gradient(90deg, #6d5dfc, #ff4ecd);
  border-radius: 50%;
  transition: all 0.3s ease;
}

/* hover effect */
.hero-points li:hover::before {
  transform: scale(1.4);
  box-shadow: 0 0 12px rgba(109,93,252,0.7);
}

/* line connecting */
.hero-points::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(109,93,252,0.2);
}

/* ANIMATION ON SCROLL */
.animate-list li.show {
  opacity: 1;
  transform: translateX(0);
}
/* ======================================================
   FOOTER
====================================================== */
.footer {
  background: #080a10;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 40px 0;
}

.footer-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
}

.footer-title {
  font-weight: 600;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 24px;
}

.footer-link {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 14px;
  transition: color var(--transition);
}

.footer-link:hover {
  color: var(--accent);
}

/* ======================================================
   MODAL
====================================================== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}

.modal.active {
  display: flex;
}

.modal-content {
  background: var(--bg-soft);
  max-width: 560px;
  width: 90%;
  padding: 36px;
  border-radius: var(--radius-lg);
  position: relative;
}

.modal-content h3 {
  margin-top: 0;
  margin-bottom: 20px;
}

.modal-content p {
  color: var(--text-muted);
  margin-bottom: 14px;
  font-size: 15px;
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}
/* Карточки інструментів / переваг */
.card {
  background: linear-gradient(145deg, #12141b, #1c1f28);
  border-radius: 24px;
  padding: 32px 24px;

  color: #fff;
  box-shadow: 0 4px 16px rgba(109,93,252,0.2), 0 8px 32px rgba(0,0,0,0.3);
  transition: transform 0.4s cubic-bezier(0.22,1,0.36,1), box-shadow 0.4s ease, background 0.4s ease;
  cursor: default;
  position: relative;
  overflow: hidden;
}


/* Glow під час hover */
.card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(109,93,252,0.2) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card:hover::before {
  opacity: 1;
}

/* Заголовки */
.card h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 12px;
}

/* Параграф */
.card p {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.85;
}

/* Анімація появи при скролі */
.animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.22,1,0.36,1);
}

.animate.show {
  opacity: 1;
  transform: translateY(0);
}
.card h3::after {
  content: '';
  display: block;
  width: 0%;
  height: 3px;
  margin-top: 6px;
  background: linear-gradient(90deg, #6d5dfc, #ff4ecd);
  transition: width 0.4s ease;
}

.card:hover h3::after {
  width: 60px; /* або 100% */
}
.card.animate.show h3,
.card.animate.show p {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.6s ease;
}
.card:hover {
  background-position: 20% 0%;
}
