/* style.css */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:Arial, Helvetica, sans-serif;
  background:#08111d;
  color:#ffffff;
  overflow-x:hidden;
}

/* River background */
.river-bg{
  position:fixed;
  inset:0;
  z-index:-1;
  overflow:hidden;
}

.wave{
  position:absolute;
  width:200%;
  height:220px;
  left:-50%;
  border-radius:40%;
  opacity:.18;
  filter:blur(25px);
}

.w1{
  bottom:-40px;
  background:#0ea5e9;
  animation:flow1 18s linear infinite;
}

.w2{
  bottom:90px;
  background:#14b8a6;
  animation:flow2 24s linear infinite;
}

.w3{
  bottom:180px;
  background:#8b5cf6;
  animation:flow1 30s linear infinite;
}

@keyframes flow1{
  from{transform:translateX(0) rotate(0deg);}
  to{transform:translateX(-20%) rotate(360deg);}
}

@keyframes flow2{
  from{transform:translateX(-10%) rotate(0deg);}
  to{transform:translateX(10%) rotate(-360deg);}
}

/* Navbar */
.navbar{
  position:sticky;
  top:0;
  z-index:100;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:18px 28px;
  transition:.35s;
}

.navbar.scrolled{
  backdrop-filter:blur(10px);
  background:rgba(0,0,0,.35);
}

.logo{
  font-weight:700;
  font-size:1.1rem;
}

.nav-links{
  display:flex;
  gap:18px;
}

.nav-links a{
  color:white;
  text-decoration:none;
  opacity:.8;
  transition:.25s;
}

.nav-links a:hover,
.nav-links a.active{
  opacity:1;
  color:#7dd3fc;
}

.menu-btn{
  display:none;
  background:none;
  border:none;
  color:white;
  font-size:1.4rem;
  cursor:pointer;
}

/* Layout */
section{
  width:min(1100px,92%);
  margin:auto;
}

.hero{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:18px;
}

.tag{
  letter-spacing:2px;
  font-size:.8rem;
  color:#7dd3fc;
}

h1{
  font-size:clamp(2.3rem,6vw,5rem);
  line-height:1.05;
  max-width:780px;
}

.hero-text{
  max-width:650px;
  color:#d1d5db;
  line-height:1.7;
}

.typing-line{
  min-height:30px;
  color:#86efac;
  font-weight:700;
}

.cursor{
  animation:blink .8s infinite;
}

@keyframes blink{
  50%{opacity:0;}
}

.hero-buttons{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}

.btn{
  padding:12px 20px;
  border-radius:14px;
  text-decoration:none;
  transition:.25s;
}

.primary{
  background:#38bdf8;
  color:#00111c;
  font-weight:700;
}

.secondary{
  border:1px solid rgba(255,255,255,.2);
  color:white;
}

.btn:hover{
  transform:translateY(-3px);
}

.section{
  padding:70px 0;
}

.section-title{
  margin-bottom:22px;
}

h2{
  font-size:2rem;
}

.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(230px,1fr));
  gap:18px;
}

.card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.08);
  padding:24px;
  border-radius:22px;
  backdrop-filter:blur(10px);
}

.card p{
  color:#d1d5db;
  line-height:1.6;
}

.lift{
  transition:.3s;
}

.lift:hover{
  transform:translateY(-8px);
  border-color:#38bdf8;
}

details{
  margin-top:12px;
}

summary{
  cursor:pointer;
  color:#7dd3fc;
}

li{
  margin:8px 0 0 18px;
  color:#d1d5db;
}

.footer{
  text-align:center;
  padding:30px;
  color:#94a3b8;
}

/* Reveal */
.reveal{
  opacity:0;
  transform:translateY(45px);
  transition:1s ease;
}

.reveal.show{
  opacity:1;
  transform:translateY(0);
}

/* Mobile */
@media(max-width:800px){

  .menu-btn{
    display:block;
  }

  .nav-links{
    position:absolute;
    top:68px;
    left:4%;
    right:4%;
    background:rgba(5,10,20,.95);
    border:1px solid rgba(255,255,255,.08);
    border-radius:18px;
    padding:18px;
    display:none;
    flex-direction:column;
  }

  .nav-links.open{
    display:flex;
  }

  h2{
    font-size:1.6rem;
  }
}