
* { box-sizing: border-box; margin: 0; padding: 0; }
html,body { height: 100%; }
body {
  font-family: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial;
  color: #0f1724;
  background: linear-gradient(180deg, #0f1724 0%, #0b1220 100%);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

.bg-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
}


.nav {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1100px;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  pointer-events: none; 
}

.logo {
  pointer-events: auto;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 1.1rem;
}
.logo span { color: #8b5cf6; }


.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
  align-items: center;
  pointer-events: auto;
}

.nav-links a {
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 8px;
  font-weight: 600;
  transition: background 0.25s, transform 0.2s, color 0.25s;
}


.nav-links a:hover {
  background: rgba(255,255,255,0.04);
  transform: translateY(-3px);
  color: #f63bed; 
}



.hero {
  position: relative;
  min-height: 86vh;
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 2rem;
  align-items: center;
  z-index: 5;
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 120px auto 40px;
  padding: 60px;
  color: #fff;
}

.hero-inner { max-width: 680px; }
.hero-title {
  font-size: clamp(2.2rem, 4.6vw, 3.6rem);
  line-height: 1.02;
  color: #fff;
  background: linear-gradient(90deg, #fff 0%, #e6e6ff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 14px;
  transform: translateY(12px);
  opacity: 0;
  animation: fadeUp 700ms ease forwards 120ms;
}
.hero-sub {
  color: rgba(255,255,255,0.88);
  margin-bottom: 18px;
  font-size: 1.05rem;
  opacity: 0;
  transform: translateY(10px);
  animation: fadeUp 700ms ease forwards 260ms;
}

.btn {
  display: inline-block;
  border-radius: 12px;
  padding: 10px 18px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: transform 220ms ease, box-shadow 220ms ease;
}
.btn.primary {
  background: linear-gradient(90deg,#7c3aed,#06b6d4);
  color: white;
  box-shadow: 0 8px 30px rgba(99,102,241,0.18);
}
.btn.ghost {
  background: rgba(255,255,255,0.06);
  color: rgba(255,255,255,0.95);
  border: 1px solid rgba(255,255,255,0.06);
}
.btn:hover { transform: translateY(-6px); }


.hero-phone {
  width: 420px;
  align-self: center;
  justify-self: end;
  transform: translateY(20px);
  opacity: 0;
  animation: fadeUp 900ms ease forwards 420ms;
}
.hero-phone img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 30px 80px rgba(2,6,23,0.6);
  display: block;
  border: 1px solid rgba(255,255,255,0.04);
}


.section {
  width: calc(100% - 48px);
  max-width: 1100px;
  margin: 48px auto;
  padding: 24px;
  z-index: 5;
  position: relative;
  color: #e6eef8;
}


.features .grid {
  display: grid;
  grid-template-columns: repeat(auto-fit,minmax(240px,1fr));
  gap: 18px;
  margin-top: 18px;
}
.card {
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,255,255,0.02));
  padding: 22px;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(2,6,23,0.55);
  transform: translateY(26px);
  opacity: 0;
  transition: transform 420ms ease, opacity 420ms ease;
}

.card h3 { color: #c7d2fe; margin-bottom: 8px; }
.card p { color: rgba(230,238,248,0.86); font-size: 0.98rem; }


.about {
  display: grid;
  grid-template-columns: 1fr 480px;
  gap: 24px;
  align-items: center;
}
.about img { width: 100%; border-radius: 12px; box-shadow: 0 18px 60px rgba(2,6,23,0.5); }


.cta {
  text-align: center;
  padding: 40px 20px;
  border-radius: 12px;
  background: linear-gradient(90deg, rgba(124,58,237,0.12), rgba(6,182,212,0.08));
}
.signup-form { margin-top: 18px; display: flex; gap: 12px; justify-content: center; align-items: center; flex-wrap: wrap; }
.signup-form .inputs { display: flex; gap: 10px; flex-wrap: wrap; }
.signup-form input {
  padding: 12px 14px; border-radius: 10px; border: none; min-width: 220px;
  background: rgba(255,255,255,0.05); color: #fff; outline: none;
}
.signup-form input::placeholder { color: rgba(255,255,255,0.6); }
.signup-form button { min-width: 150px; }


.footer {
  color: rgba(255,255,255,0.6);
  padding: 28px 0 80px;
  text-align: center;
  z-index: 5;
}


.reveal { opacity: 0; transform: translateY(24px); transition: opacity 520ms ease, transform 520ms ease; }
.reveal.active { opacity: 1; transform: translateY(0); }


@keyframes fadeUp {
  to { transform: translateY(0); opacity: 1; }
}


@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding: 36px; margin-top: 100px; }
  .hero-phone { justify-self: center; width: 320px; margin-top: 14px; }
  .about { grid-template-columns: 1fr; }
  .nav { left: 24px; transform: none; width: auto; }
}


.section-title { color: #c7d2fe; font-size: 1.4rem; margin-bottom: 12px; }


@keyframes logoFlySpin {
  0%   { transform: perspective(600px) translateY(0)   rotateY(0deg)   scale(1);   }
  30%  { transform: perspective(600px) translateY(-80px) rotateY(180deg) scale(1.3);}
  60%  { transform: perspective(600px) translateY(-150px) rotateY(360deg) scale(1); }
  100% { transform: perspective(600px) translateY(0)   rotateY(720deg) scale(1);   }
}

.logo {
  pointer-events: auto;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: -0.5px;
  font-size: 1.1rem;
  display: inline-block;
  transition: transform 0.3s;
  transform-style: preserve-3d; 
  cursor: pointer;
}

.logo:hover {
  animation: logoFlySpin 1.6s cubic-bezier(.45,.05,.55,.95);

}



.hero-phone img,
.about-right img {
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  cursor: pointer;
}

.hero-phone img:hover,
.about-right img:hover {
  transform: scale(1.05) rotateY(8deg);
  box-shadow: 0 20px 60px rgba(124,58,237,0.4);
}
