@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --space-dark: #0a0a12;
  --space-deep: #050508;
  --purple-neon: #a855f7;
  --purple-bright: #c084fc;
  --purple-glow: #8b5cf6;
  --aqua-neon: #06b6d4;
  --aqua-bright: #22d3ee;
  --white-clean: #f8fafc;
  --white-dim: #cbd5e1;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Outfit', sans-serif;
  background-color: var(--space-dark);
  color: var(--white-dim);
  overflow-x: hidden;
}

canvas#particles {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(ellipse at top, #1a0b2e 0%, #0a0a12 40%, #050508 100%);
  pointer-events: none;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 15px 60px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  backdrop-filter: blur(20px) saturate(180%);
  background: rgba(10, 10, 18, 0.7);
  border-bottom: 1px solid rgba(168, 85, 247, 0.1);
  z-index: 100;
  transition: all 0.3s ease;
}

header.scrolled {
  background: rgba(10, 10, 18, 0.9);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.4);
}

.logo img {
  height: 50px;
  width: auto;
  filter: brightness(1.1);
  transition: 0.3s;
}

.logo img:hover {
  filter: brightness(1.4) drop-shadow(0 0 12px rgba(168, 85, 247, 0.5));
}

nav a {
  margin-left: 25px;
  color: var(--white-clean);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s;
}

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--purple-neon), var(--aqua-neon));
  transition: width 0.3s ease;
}

nav a:hover {
  color: var(--aqua-bright);
}

nav a:hover::after {
  width: 100%;
}

main {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  margin-top: 40px;
}

.content-box {
  background: rgba(15, 15, 25, 0.4);
  backdrop-filter: blur(20px) saturate(150%);
  border: 1px solid rgba(168, 85, 247, 0.2);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 40px rgba(168, 85, 247, 0.1);
  border-radius: 24px;
  padding: 45px 60px;
  width: 85%;
  max-width: 1100px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.content-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.text {
  flex: 1;
  max-width: 620px;
}

.image {
  flex: 1;
  display: flex;
  justify-content: center;
}

.image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 400px;
  filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.3));
}

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
}

.menu-toggle .hamburger {
  display: block;
  width: 22px;
  height: 2px;
  background: #fff;
  position: relative;
  transition: transform 0.25s ease-in-out;
}

.menu-toggle .hamburger::before,
.menu-toggle .hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 100%;
  height: 2px;
  background: #fff;
  transition: transform 0.25s ease-in-out;
}

.menu-toggle .hamburger::before {
  top: -7px;
}

.menu-toggle .hamburger::after {
  bottom: -7px;
}

.nav-links {
  display: flex;
  gap: 20px;
  align-items: center;
}

header.nav-open .menu-toggle .hamburger {
  background: transparent;
}

header.nav-open .menu-toggle .hamburger::before {
  transform: translateY(7px) rotate(45deg);
}

header.nav-open .menu-toggle .hamburger::after {
  transform: translateY(-7px) rotate(-45deg);
}

@media (max-width: 900px) {
  .menu-toggle {
    display: flex;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 260px;
    background: rgba(8, 8, 12, 0.96);
    flex-direction: column;
    padding: 80px 20px;
    transform: translateX(110%);
    transition: transform 300ms ease-in-out;
    box-shadow: -6px 0 30px rgba(0, 0, 0, 0.5);
    z-index: 30;
  }

  header.nav-open .nav-links {
    transform: translateX(0);
  }

  .nav-links a {
    margin: 18px 0;
    font-size: 1.05rem;
  }

  header {
    padding: 12px 20px;
  }

  .content-box {
    width: 94%;
    padding: 28px;
  }
}

@media (max-width: 600px) {
  .content-inner {
    flex-direction: column-reverse;
    gap: 18px;
  }

  h1 {
    font-size: clamp(1.4rem, 6vw, 1.9rem);
    line-height: 1.08;
  }

  .image img {
    max-width: 320px;
  }

  .content-box {
    padding: 22px;
  }

  .logo img {
    height: 44px;
  }

  .text {
    max-width: 92%;
    margin: 0 auto;
    text-align: center;
  }

  .btn {
    display: inline-block;
    margin: 14px auto;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    animation: none !important;
  }
}

h1 {
  font-size: 2.2rem;
  font-family: 'Outfit', sans-serif;
  background: linear-gradient(135deg, var(--white-clean), var(--purple-bright));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1rem;
  letter-spacing: -0.3px;
}

h2,
h3 {
  color: var(--purple-bright);
  margin: 1rem 0 0.5rem;
  font-family: 'Outfit', sans-serif;
}

p {
  line-height: 1.6;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: var(--white-dim);
}

.btn {
  display: inline-block;
  background: linear-gradient(135deg, var(--purple-neon), var(--purple-glow));
  color: var(--white-clean);
  padding: 12px 28px;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 4px 15px rgba(168, 85, 247, 0.4);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(168, 85, 247, 0.6);
}

footer {
  text-align: center;
  padding: 25px 0;
  color: var(--white-dim);
  font-size: 0.9rem;
  position: relative;
  z-index: 2;
}

@media (max-width: 480px) {
  .content-box {
    padding: 16px;
    width: 96%;
  }

  .content-inner {
    gap: 12px;
  }

  .text p {
    font-size: 0.95rem;
    line-height: 1.45;
  }

  h1 {
    font-size: clamp(1.3rem, 5vw, 1.8rem);
  }

  .image img {
    max-width: 280px;
  }

  .btn {
    padding: 10px 20px;
  }
}