/* Less Engine - Vanilla CSS */
:root {
  --background: hsl(222, 47%, 6%);
  --foreground: hsl(210, 40%, 98%);
  --primary: hsl(195, 95%, 50%);
  --primary-foreground: hsl(222, 47%, 6%);
  --accent: hsl(260, 85%, 60%);
  --accent-foreground: hsl(210, 40%, 98%);
  --muted: hsl(222, 28%, 14%);
  --muted-foreground: hsl(220, 15%, 55%);
  --border: hsl(222, 20%, 20%);
  --gradient-primary: linear-gradient(
    135deg,
    hsl(195, 95%, 50%),
    hsl(260, 85%, 60%)
  );
  --shadow-glow: 0 0 30px hsla(195, 95%, 50%, 0.3);
  --shadow-glow-hover: 0 0 50px hsla(195, 95%, 50%, 0.5);
  --shadow-medium: 0 8px 48px hsla(222, 47%, 3%, 0.5);
  --container-width: 1200px;
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Space Grotesk", system-ui, sans-serif;
  background: var(--background);
  background-image: radial-gradient(
    ellipse at top,
    hsl(222, 35%, 10%),
    hsl(222, 47%, 6%)
  );
  color: var(--foreground);
  line-height: 1.6;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s;
}
ul {
  list-style: none;
}
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
}
@media (min-width: 1024px) {
  .container {
    padding: 0 32px;
  }
}

/* Glass Card */
.glass-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    hsla(222, 35%, 12%, 0.85),
    hsla(222, 35%, 8%, 0.85)
  );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid hsla(222, 20%, 25%, 0.5);
  box-shadow: var(--shadow-medium);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.glass-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at top left,
    hsla(195, 95%, 50%, 0.05),
    transparent 50%
  );
  pointer-events: none;
}
.glass-card:hover {
  border-color: hsla(195, 95%, 50%, 0.4);
  box-shadow: var(--shadow-glow);
  transform: translateY(-4px);
}

/* Utils */
.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.glow-text {
  filter: drop-shadow(0 0 30px hsla(195, 95%, 50%, 0.5));
}
.section-tag {
  display: inline-block;
  padding: 6px 16px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: 9999px;
  background: hsla(195, 95%, 50%, 0.1);
  color: hsl(195, 95%, 60%);
  border: 1px solid hsla(195, 95%, 50%, 0.2);
  margin-bottom: 16px;
}
.section-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto 64px;
}
.section-title {
  font-size: clamp(1.875rem, 4vw, 3rem);
  font-weight: 700;
  margin-bottom: 24px;
  line-height: 1.2;
}
.section-subtitle {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  max-width: 600px;
  margin: 0 auto;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  transition: all 0.3s;
}
.navbar.scrolled {
  background: hsla(222, 47%, 6%, 0.8);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid hsla(222, 20%, 20%, 0.5);
}
.nav-container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
@media (min-width: 768px) {
  .nav-container {
    height: 80px;
    padding: 0 32px;
  }
}
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-image {
  height: 32px;
  width: auto;
  display: block;
}
@media (min-width: 768px) {
  .logo-image {
    height: 40px;
  }
}
.logo-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 18px;
  color: var(--primary-foreground);
  transition: box-shadow 0.3s;
}
.logo:hover .logo-icon {
  box-shadow: 0 0 30px hsla(195, 95%, 50%, 0.4);
}
.logo-text {
  font-size: 20px;
  font-weight: 700;
  display: none;
}
@media (min-width: 640px) {
  .logo-text {
    display: block;
  }
}
.nav-links {
  display: none;
  gap: 32px;
}
@media (min-width: 768px) {
  .nav-links {
    display: flex;
  }
}
.nav-links a {
  color: var(--muted-foreground);
  font-size: 14px;
  font-weight: 500;
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s;
}
.nav-links a:hover {
  color: var(--foreground);
}
.nav-links a:hover::after {
  width: 100%;
}
.mobile-menu-btn {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 5px;
}
@media (min-width: 768px) {
  .mobile-menu-btn {
    display: none;
  }
}
.mobile-menu-btn span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--foreground);
  transition: all 0.3s;
}
.mobile-menu-btn.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.mobile-menu-btn.active span:nth-child(2) {
  opacity: 0;
}
.mobile-menu-btn.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}
@media (max-width: 767px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: hsla(222, 47%, 6%, 0.95);
    backdrop-filter: blur(20px);
    padding: 16px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s;
  }
  .nav-links.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav-links li {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child {
    border-bottom: none;
  }
}

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    var(--background),
    hsla(222, 47%, 6%, 0.8),
    hsla(222, 47%, 6%, 0.4)
  );
}
.hero-overlay-side {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, hsla(222, 47%, 6%, 0.6), transparent);
}
.particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}
.particle {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: hsla(195, 95%, 50%, 0.3);
  bottom: 20%;
  animation: particle-float 4s ease-out infinite;
}
.particle:nth-child(1) {
  left: 20%;
  animation-delay: 0s;
  animation-duration: 4s;
}
.particle:nth-child(2) {
  left: 35%;
  animation-delay: 0.5s;
  animation-duration: 5s;
}
.particle:nth-child(3) {
  left: 50%;
  animation-delay: 1s;
  animation-duration: 6s;
}
.particle:nth-child(4) {
  left: 65%;
  animation-delay: 1.5s;
  animation-duration: 7s;
}
.particle:nth-child(5) {
  left: 80%;
  animation-delay: 2s;
  animation-duration: 8s;
}
.particle:nth-child(6) {
  left: 95%;
  animation-delay: 2.5s;
  animation-duration: 9s;
}
@keyframes particle-float {
  0% {
    transform: translateY(0);
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    transform: translateY(-200px);
    opacity: 0;
  }
}
.ambient-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 600px;
  background: hsla(195, 95%, 50%, 0.05);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 80px 16px 0;
  max-width: 1024px;
  margin: 0 auto;
}
@media (min-width: 1024px) {
  .hero-content {
    padding: 80px 32px 0;
  }
}
.hero-inner {
  max-width: 896px;
  margin: 0 auto;
}
.hero-title {
  font-size: clamp(2.25rem, 6vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
}
.hero-title .gradient-text {
  display: block;
  margin-top: 8px;
}
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: var(--muted-foreground);
  max-width: 672px;
  margin: 0 auto 40px;
}
.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  justify-content: center;
}
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 16px 32px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}
.btn-primary {
  background: var(--gradient-primary);
  color: var(--primary-foreground);
  box-shadow: var(--shadow-glow);
}
.btn-primary:hover {
  box-shadow: var(--shadow-glow-hover);
  transform: translateY(-4px);
}
.btn-primary .arrow-icon {
  transition: transform 0.3s;
}
.btn-primary:hover .arrow-icon {
  transform: translateX(4px);
}
.btn-secondary {
  background: transparent;
  color: var(--foreground);
  border: 1px solid var(--border);
}
.btn-secondary:hover:not(.disabled) {
  border-color: hsla(195, 95%, 50%, 0.5);
  background: hsla(195, 95%, 50%, 0.05);
  transform: translateY(-4px);
}
.btn-secondary.disabled {
  opacity: 0.7;
  cursor: not-allowed;
  color: var(--muted-foreground);
  border-color: hsla(222, 20%, 20%, 0.5);
}
.btn-full {
  width: 100%;
}
.btn-wrapper {
  position: relative;
}
.coming-soon-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  padding: 2px 8px;
  background: var(--accent);
  color: var(--accent-foreground);
  font-size: 12px;
  font-weight: 700;
  border-radius: 9999px;
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
}
.mouse {
  width: 24px;
  height: 40px;
  border: 2px solid hsla(220, 15%, 55%, 0.3);
  border-radius: 9999px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.wheel {
  width: 6px;
  height: 12px;
  background: var(--primary);
  border-radius: 3px;
  animation: scroll 2s ease-in-out infinite;
}
@keyframes scroll {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  animation: fadeIn 0.8s ease forwards;
}
.fade-in-delay-1 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease 0.2s forwards;
}
.fade-in-delay-2 {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeIn 0.8s ease 0.4s forwards;
}
.fade-in-delay-3 {
  opacity: 0;
  animation: fadeIn 1s ease 1s forwards;
}
@keyframes fadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Features */
.features {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .features {
    padding: 128px 0;
  }
}
.features-glow-left {
  position: absolute;
  top: 0;
  left: 25%;
  width: 600px;
  height: 400px;
  background: hsla(195, 95%, 50%, 0.05);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.features-glow-right {
  position: absolute;
  bottom: 0;
  right: 25%;
  width: 500px;
  height: 400px;
  background: hsla(260, 85%, 60%, 0.05);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.features-grid {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1024px) {
  .features-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.feature-card {
  padding: 32px;
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.5s,
    transform 0.5s;
}
.feature-card.visible {
  opacity: 1;
  transform: translateY(0);
}
.feature-card:nth-child(1) {
  transition-delay: 0s;
}
.feature-card:nth-child(2) {
  transition-delay: 0.1s;
}
.feature-card:nth-child(3) {
  transition-delay: 0.2s;
}
.feature-card:nth-child(4) {
  transition-delay: 0.3s;
}
.feature-card:nth-child(5) {
  transition-delay: 0.4s;
}
.feature-card:nth-child(6) {
  transition-delay: 0.5s;
}
.feature-icon {
  width: 56px;
  height: 56px;
  background: hsla(195, 95%, 50%, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  color: var(--primary);
  transition: background 0.3s;
}
.feature-card:hover .feature-icon {
  background: hsla(195, 95%, 50%, 0.2);
}
.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.feature-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}

/* How It Works */
.how-it-works {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .how-it-works {
    padding: 128px 0;
  }
}
.hiw-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 700px;
  height: 700px;
  background: hsla(260, 85%, 60%, 0.05);
  border-radius: 50%;
  filter: blur(150px);
  pointer-events: none;
}
.timeline {
  position: relative;
  max-width: 896px;
  margin: 0 auto;
}
.timeline-line {
  display: none;
}
@media (min-width: 768px) {
  .timeline-line {
    display: block;
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 1px;
    background: linear-gradient(
      to bottom,
      hsla(195, 95%, 50%, 0.5),
      hsla(195, 95%, 50%, 0.3),
      transparent
    );
  }
}
.timeline-item {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 48px;
  opacity: 0;
  transform: translateX(-30px);
  transition:
    opacity 0.6s,
    transform 0.6s;
}
.timeline-item.right {
  transform: translateX(30px);
}
.timeline-item.visible {
  opacity: 1;
  transform: translateX(0);
}
.timeline-item:nth-child(2) {
  transition-delay: 0.15s;
}
.timeline-item:nth-child(3) {
  transition-delay: 0.3s;
}
.timeline-item:nth-child(4) {
  transition-delay: 0.45s;
}
.timeline-item:nth-child(5) {
  transition-delay: 0.6s;
}
@media (min-width: 768px) {
  .timeline-item {
    flex-direction: row;
    align-items: center;
    margin-bottom: 96px;
  }
  .timeline-item.left .timeline-card {
    margin-right: auto;
    width: calc(50% - 40px);
  }
  .timeline-item.right {
    flex-direction: row-reverse;
  }
  .timeline-item.right .timeline-card {
    margin-left: auto;
    width: calc(50% - 40px);
    text-align: right;
  }
}
.timeline-card {
  padding: 28px;
}
.timeline-card-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.timeline-card-header.reverse {
  flex-direction: row-reverse;
}
.timeline-icon {
  width: 48px;
  height: 48px;
  background: hsla(195, 95%, 50%, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
}
.timeline-number {
  font-size: 2rem;
  font-weight: 700;
  color: hsla(195, 95%, 50%, 0.5);
}
.timeline-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 12px;
}
.timeline-card p {
  color: var(--muted-foreground);
  line-height: 1.7;
}
.timeline-dot {
  display: none;
}
@media (min-width: 768px) {
  .timeline-dot {
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 16px;
    height: 16px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 20px hsla(195, 95%, 50%, 0.5);
    z-index: 10;
  }
}

/* Contact */
.contact {
  position: relative;
  padding: 96px 0;
  overflow: hidden;
}
@media (min-width: 768px) {
  .contact {
    padding: 128px 0;
  }
}
.contact-glow {
  position: absolute;
  bottom: 0;
  left: 33%;
  width: 600px;
  height: 400px;
  background: hsla(195, 95%, 50%, 0.05);
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
}
.contact-wrapper {
  display: grid;
  gap: 48px;
}
@media (min-width: 1024px) {
  .contact-wrapper {
    grid-template-columns: 1fr 1fr;
    gap: 64px;
  }
}
.contact-info .section-title {
  text-align: left;
}
.contact-desc {
  font-size: 1.125rem;
  color: var(--muted-foreground);
  margin-bottom: 40px;
  line-height: 1.7;
}
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-icon {
  width: 48px;
  height: 48px;
  background: hsla(195, 95%, 50%, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--primary);
  transition: background 0.3s;
}
.contact-item:hover .contact-icon {
  background: hsla(195, 95%, 50%, 0.2);
}
.contact-item h4 {
  font-weight: 600;
  margin-bottom: 4px;
}
.contact-item span {
  color: var(--muted-foreground);
  transition: color 0.3s;
}
a.contact-item:hover span {
  color: var(--primary);
}
.contact-form-card {
  padding: 32px;
}
@media (min-width: 768px) {
  .contact-form-card {
    padding: 40px;
  }
}
.contact-form-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 24px;
}
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.form-row {
  display: grid;
  gap: 16px;
}
@media (min-width: 640px) {
  .form-row {
    grid-template-columns: 1fr 1fr;
  }
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.form-group label {
  font-size: 14px;
  font-weight: 500;
}
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  background: hsla(222, 47%, 6%, 0.5);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 16px;
  color: var(--foreground);
  transition: border-color 0.3s;
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--muted-foreground);
}
.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
}
.form-group textarea {
  resize: none;
  min-height: 120px;
}

/* Footer */
.footer {
  padding: 64px 0 40px;
  border-top: 1px solid hsla(222, 20%, 20%, 0.3);
}
.footer-top {
  display: grid;
  gap: 48px;
  margin-bottom: 40px;
}
@media (min-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr 2fr;
    gap: 60px;
  }
}
.footer-brand p {
  color: var(--muted-foreground);
  font-size: 14px;
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 280px;
  line-height: 1.7;
}
.social-links {
  display: flex;
  gap: 12px;
}
.social-links a {
  width: 40px;
  height: 40px;
  background: var(--muted);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--muted-foreground);
  transition: all 0.3s;
}
.social-links a:hover {
  background: hsla(195, 95%, 50%, 0.1);
  color: var(--primary);
}
.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
@media (min-width: 768px) {
  .footer-links {
    grid-template-columns: repeat(4, 1fr);
  }
}
.footer-column h4 {
  font-weight: 600;
  margin-bottom: 16px;
}
.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-column a {
  color: var(--muted-foreground);
  font-size: 14px;
  transition: color 0.3s;
}
.footer-column a:hover {
  color: var(--foreground);
}
.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-top: 32px;
  border-top: 1px solid hsla(222, 20%, 20%, 0.3);
  font-size: 14px;
  color: var(--muted-foreground);
}
@media (min-width: 768px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
}
