/* ===== Reset & Base ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-bg: #0a0a16;
  --color-bg-alt: #100e22;
  --color-card: #181430;
  --color-primary: #ffd700;
  --color-primary-dark: #e0b800;
  --color-accent: #481677;
  --color-cyan: #0095a0;
  --color-pink: #470b36;
  --color-text: #f4f4fb;
  --color-text-muted: #aaa6c9;
  --color-border: #2c2748;
  --header-height: 72px;
  --fixed-bar-height: 64px;
  --max-width: 1180px;

  --gradient-main: linear-gradient(135deg, var(--color-cyan) 0%, var(--color-accent) 50%, var(--color-pink) 100%);
  --gradient-gold: linear-gradient(135deg, #fff3b0 0%, #ffd700 50%, #ff9d00 100%);
  --gradient-card-border: linear-gradient(135deg, rgba(0, 240, 255, 0.5), rgba(138, 43, 226, 0.5), rgba(255, 46, 196, 0.5));
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Roboto, Arial, sans-serif;
  background-color: var(--color-bg);
  background-image:
    radial-gradient(circle at 15% 0%, rgba(0, 240, 255, 0.10), transparent 40%),
    radial-gradient(circle at 85% 25%, rgba(255, 46, 196, 0.10), transparent 40%),
    radial-gradient(circle at 50% 80%, rgba(138, 43, 226, 0.12), transparent 45%);
  background-attachment: fixed;
  color: var(--color-text);
  line-height: 1.6;
  padding-top: var(--header-height);
  padding-bottom: var(--fixed-bar-height);
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

img {
  max-width: 100%;
  display: block;
}

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

ul {
  list-style: none;
}

/* ===== Header ===== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-height);
  background: rgba(10, 10, 22, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
}

.header::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0.6;
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  font-size: 1.3rem;
  letter-spacing: 1px;
}

.logo__text {
  background: var(--gradient-main);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.logo__icon {
  color: var(--color-cyan);
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.6));
}

.nav__list {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--color-text);
  transition: color 0.2s ease;
}

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

.nav__link--btn {
  padding: 8px 20px;
  border-radius: 6px;
  border: 1px solid var(--color-accent);
  color: var(--color-text) !important;
  transition: all 0.2s ease;
}

.nav__link--btn:hover {
  border-color: var(--color-cyan);
  box-shadow: 0 0 14px rgba(0, 240, 255, 0.35);
}

.nav__link--primary {
  background: var(--gradient-main);
  color: #0a0a16 !important;
  border-color: transparent;
  font-weight: 800;
}

.nav__link--primary:hover {
  box-shadow: 0 0 18px rgba(255, 46, 196, 0.45);
  filter: brightness(1.1);
}

.nav-toggle-checkbox {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
  pointer-events: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 0 auto;
  background: var(--gradient-main);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.nav-toggle-checkbox:checked ~ .nav-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  padding: 60px 0;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 20% 20%, rgba(0, 240, 255, 0.22), transparent 45%),
    radial-gradient(circle at 80% 30%, rgba(255, 46, 196, 0.20), transparent 45%),
    radial-gradient(circle at 50% 90%, rgba(138, 43, 226, 0.25), transparent 50%);
}

.hero__inner {
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero__content {
  flex: 1;
}

.hero__title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__title span {
  background: var(--gradient-main);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradient-shift 6s ease infinite;
}

@keyframes gradient-shift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

.hero__desc {
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 28px;
  max-width: 540px;
}

.hero__actions {
  display: flex;
  gap: 16px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.hero__stats {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
}

.hero__stats li {
  display: flex;
  flex-direction: column;
}

.hero__stats strong {
  font-size: 1.4rem;
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero__stats span {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.hero__media {
  flex-shrink: 0;
  width: 100%;
  max-width: 600px;
  position: relative;
}

.hero__media::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 24px;
  background: var(--gradient-main);
  filter: blur(18px);
  opacity: 0.55;
  z-index: -1;
  animation: glow-pulse 4s ease-in-out infinite;
}

@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; }
  50% { opacity: 0.7; }
}

.hero__img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 20px;
  border: 1px solid var(--color-border);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  object-fit: cover;
  position: relative;
}

.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 2px solid transparent;
}

.btn--primary {
  background: var(--gradient-main);
  background-size: 200% auto;
  color: #0a0a16;
  box-shadow: 0 6px 24px rgba(138, 43, 226, 0.4);
}

.btn--primary:hover {
  transform: translateY(-2px);
  background-position: right center;
  box-shadow: 0 10px 30px rgba(255, 46, 196, 0.45);
}

.btn--outline {
  border-color: var(--color-cyan);
  color: var(--color-cyan);
  background: rgba(0, 240, 255, 0.04);
}

.btn--outline:hover {
  background: rgba(0, 240, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.25);
}

.section-title {
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 800;
  text-align: center;
  margin-bottom: 14px;
  position: relative;
  padding-bottom: 16px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  border-radius: 4px;
  background: var(--gradient-main);
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  max-width: 700px;
  margin: 0 auto 40px;
}

.article {
  padding: 70px 0;
}

.article__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 50px;
}

.card {
  background: linear-gradient(var(--color-card), var(--color-card)) padding-box,
              var(--gradient-card-border) border-box;
  border: 1px solid transparent;
  border-radius: 14px;
  padding: 28px 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(138, 43, 226, 0.25);
}

.card__icon {
  font-size: 2rem;
  margin-bottom: 14px;
  display: inline-block;
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.5));
}

.card__title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.card__text {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.article__cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.10), rgba(138, 43, 226, 0.12), rgba(255, 46, 196, 0.10));
  border: 1px solid var(--color-border);
  border-radius: 18px;
  padding: 50px 24px;
  position: relative;
  overflow: hidden;
}

.article__cta::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 18px;
  border: 1px solid transparent;
  background: var(--gradient-card-border) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.article__cta h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.article__cta p {
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

/* ===== FAQ ===== */
.faq {
  padding: 70px 0;
  background: var(--color-bg-alt);
}

.faq__list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq__item {
  background: linear-gradient(var(--color-card), var(--color-card)) padding-box,
              var(--gradient-card-border) border-box;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 4px 20px;
  transition: box-shadow 0.25s ease;
}

.faq__item:hover {
  box-shadow: 0 8px 24px rgba(0, 240, 255, 0.12);
}

.faq__question {
  cursor: pointer;
  font-weight: 700;
  padding: 16px 0;
  list-style: none;
  position: relative;
}

.faq__question::-webkit-details-marker {
  display: none;
}

.faq__question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.4rem;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  transition: transform 0.2s ease;
}

.faq__item[open] .faq__question::after {
  content: '−';
}

.faq__answer p {
  color: var(--color-text-muted);
  padding-bottom: 18px;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-bg-alt);
  border-top: 1px solid var(--color-border);
  padding-top: 50px;
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0.5;
}

.footer__inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 36px;
  padding-bottom: 30px;
}

.footer__brand p {
  color: var(--color-text-muted);
  margin-top: 12px;
  font-size: 0.9rem;
}

.footer__nav h4,
.footer__contact h4 {
  margin-bottom: 14px;
  font-size: 1rem;
}

.footer__nav ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer__nav a {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: color 0.2s ease;
}

.footer__nav a:hover {
  color: var(--color-cyan);
}

.footer__contact p {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.footer__social {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.footer__social a {
  color: var(--color-text-muted);
  font-size: 0.85rem;
  border: 1px solid var(--color-border);
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.footer__social a:hover {
  color: var(--color-cyan);
  border-color: var(--color-cyan);
  box-shadow: 0 0 12px rgba(0, 240, 255, 0.3);
}

.footer__bottom {
  border-top: 1px solid var(--color-border);
  padding: 18px 0;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 0.85rem;
}

/* ===== Fixed Bottom Bar ===== */
.fixed-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: var(--fixed-bar-height);
  background: rgba(10, 10, 22, 0.92);
  border-top: 1px solid var(--color-border);
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.fixed-bar::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-main);
  opacity: 0.6;
}

.fixed-bar__item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--color-text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.fixed-bar__icon {
  font-size: 1.3rem;
}

.fixed-bar__item:hover {
  color: var(--color-cyan);
}

.fixed-bar__item--primary {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.fixed-bar__item--primary .fixed-bar__icon {
  filter: drop-shadow(0 0 6px rgba(255, 46, 196, 0.6));
}

/* ===== Responsive ===== */
@media (max-width: 860px) {
  .hero__inner {
    flex-direction: column-reverse;
    text-align: center;
  }

  .hero__desc {
    margin-left: auto;
    margin-right: auto;
  }

  .hero__actions,
  .hero__stats {
    justify-content: center;
  }

  .hero__media {
    max-width: 420px;
    margin: 0 auto;
  }
}

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

  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: rgba(16, 14, 34, 0.97);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-toggle-checkbox:checked ~ .nav {
    max-height: 320px;
  }

  .nav__list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 20px 20px;
  }

  .nav__list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--color-border);
  }

  .nav__list li:last-child {
    border-bottom: none;
  }

  .nav__link--btn,
  .nav__link--primary {
    text-align: center;
    display: block;
  }
}
