@import url("https://fonts.googleapis.com/css2?family=Barlow:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  --bg-main: #190b2d;
  --bg-section: #2c1b74;
  --bg-card: #241347;
  --bg-card-soft: #21103f;
  --accent: #8e85ff;
  --accent-strong: #4d3dc7;
  --text-light: #ffffff;
  --text-muted: #cfcdf6;
  --border-color: rgba(142, 133, 255, 0.35);
  --shadow-main: 0 12px 30px rgba(0, 0, 0, 0.25);
  --radius-md: 12px;
  --radius-lg: 20px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Barlow", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(142, 133, 255, 0.18), transparent 35%),
    radial-gradient(circle at bottom right, rgba(77, 61, 199, 0.2), transparent 30%),
    #190b2d;
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  color: var(--accent);
  transition: 0.3s;
  text-decoration: none;
}

a:hover {
  color: var(--text-light);
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.site-header {
  background-color: rgba(44, 27, 116, 0.92);
  border-bottom: 2px solid #000000;
  padding: 18px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(12px);
}

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

.logo {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-light);
}

.logo span {
  color: var(--accent);
}

.main-nav {
  display: flex;
  align-items: center;
}

.nav-list {
  list-style: none;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;
}

.nav-list a,
#item-auth a {
  color: var(--text-light);
  font-weight: 600;
  padding: 10px 14px;
  border-radius: 999px;
  transition: 0.3s;
}

.nav-list a:hover,
#item-auth a:hover,
.nav-list a.active {
  color: var(--accent);
  background-color: rgba(255, 255, 255, 0.06);
}

.hero {
  padding: 90px 0 70px;
  background:
    radial-gradient(circle at top left, rgba(142, 133, 255, 0.12), transparent 35%),
    radial-gradient(circle at bottom right, rgba(77, 61, 199, 0.18), transparent 30%),
    linear-gradient(rgba(10, 5, 20, 0.86), rgba(10, 5, 20, 0.9));
}

.hero-content {
  max-width: 850px;
}

.section-tag {
  display: inline-block;
  margin-bottom: 16px;
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: 999px;
  color: var(--accent);
  font-size: 0.95rem;
  letter-spacing: 0.5px;
  background-color: rgba(142, 133, 255, 0.08);
}

.hero h1 {
  font-size: 3.1rem;
  margin-bottom: 20px;
  color: var(--text-light);
  font-weight: 800;
  line-height: 1.1;
}

.hero p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 760px;
}

.about-container {
  max-width: 960px;
  margin: 0 auto;
  padding: 70px 40px 80px;
}

.about-section {
  margin-bottom: 32px;
  line-height: 1.8;
  background-color: var(--bg-card-soft);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-main);
  padding: 30px;
}

.about-section h2 {
  font-size: 1.9rem;
  margin-bottom: 16px;
  color: var(--text-light);
}

.about-section p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin: 14px 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.feature-card {
  background-color: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 22px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--accent);
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-main);
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
}

.feature-card h3 {
  margin-top: 0;
  margin-bottom: 10px;
  color: var(--text-light);
}

.feature-card p {
  color: var(--text-muted);
  margin: 0;
}

.site-footer {
  background-color: var(--bg-section);
  border-top: 2px solid #000000;
  padding: 30px 0;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-logo {
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 12px;
}

.footer-logo span {
  color: var(--accent);
}

.footer-content h3 {
  margin-bottom: 12px;
  color: var(--accent);
}

.footer-content p {
  color: var(--text-muted);
  margin-bottom: 8px;
  line-height: 1.6;
}

.reveal {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translate(0, 0);
}

.fade-up {
  transform: translateY(40px);
}

.fade-down {
  transform: translateY(-40px);
}

.fade-left {
  transform: translateX(40px);
}

.fade-right {
  transform: translateX(-40px);
}

.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

@media (max-width: 991.98px) {
  .header-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .nav-list {
    gap: 6px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 767.98px) {
  .about-container {
    padding: 50px 20px 60px;
  }

  .features-grid {
    grid-template-columns: 1fr;
  }

  .footer-content {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2rem;
  }

  .reveal {
    transition-delay: 0s !important;
  }
}