/* --------------------------------------------------------
   AquaFlow — Final Production Edition
   Hussain Patanwala | Professional UI Polished Version
--------------------------------------------------------- */

:root {
  --blue-600:#0056b3;
  --blue-500:#0073e6;
  --bg:#f6fafc;
  --card:#fff;
  --muted:#6c7785;
  --maxw:1100px;
  font-family:"Segoe UI",Roboto,system-ui,-apple-system,"Helvetica Neue",Arial;
}

*{box-sizing:border-box;margin:0;padding:0;}
html,body{height:100%;scroll-behavior:smooth;overflow-x:hidden;background:var(--bg);color:#0f2130;-webkit-font-smoothing:antialiased;}

/* Page fade */
.page-fade{opacity:0;transform:translateY(8px);transition:opacity .48s ease,transform .48s ease;}
.page-fade.ready{opacity:1;transform:none;}

/* HEADER */
.header{
  position:sticky;top:0;z-index:60;
  backdrop-filter:blur(8px);
  background:rgba(255,255,255,0.9);
  border-bottom:1px solid rgba(0,0,0,0.04);
  box-shadow:0 4px 12px rgba(3,27,58,0.04);
}
.nav-inner{max-width:var(--maxw);margin:auto;display:flex;align-items:center;justify-content:space-between;padding:14px 20px;gap:12px;}
.brand{display:flex;align-items:center;gap:10px;font-weight:800;color:var(--blue-600);}
.brand .logo{width:38px;height:38px;border-radius:10px;background:linear-gradient(180deg,var(--blue-500),var(--blue-600));display:grid;place-items:center;color:#fff;font-weight:900;box-shadow:0 5px 14px rgba(0,86,179,0.25);}
.nav-links{display:flex;gap:12px;align-items:center;}
.nav-links a{padding:8px 12px;border-radius:8px;font-weight:600;color:#0f2130;transition:all .2s ease;}
.nav-links a:hover{background:rgba(0,115,230,0.08);transform:translateY(-2px);}
.burger{display:none;flex-direction:column;gap:4px;padding:8px;border-radius:8px;cursor:pointer;}
.burger span{width:22px;height:2px;background:#0f2130;border-radius:2px;}

/* HERO */
.hero{
  position:relative;
  overflow:hidden;
  padding:70px 20px 60px;
  max-width:var(--maxw);
  margin-inline:auto;
}
.hero-bg{position:absolute;inset:0;z-index:-1;background:linear-gradient(120deg,rgba(0,86,179,0.08),rgba(0,115,230,0.08));}
.hero-wave{
  position:absolute;left:-20%;right:-20%;top:-60px;height:260px;
  background:radial-gradient(40% 60% at 10% 20%,rgba(0,115,230,0.12),transparent 10%),
             radial-gradient(40% 60% at 90% 80%,rgba(0,86,179,0.12),transparent 10%);
  filter:blur(36px);
  animation:wave 9s linear infinite;
}
@keyframes wave{
  0%{transform:translateX(-10px);}
  50%{transform:translateX(12px);}
  100%{transform:translateX(-10px);}
}
.hero-content{
  background:rgba(255,255,255,0.72);
  backdrop-filter:blur(6px);
  border-radius:14px;
  box-shadow:0 12px 30px rgba(3,27,58,0.06);
  padding:32px;
  text-align:center;
}
.hero h1{font-size:2.4rem;margin-bottom:10px;color:#0d2130;}
.hero p{color:var(--muted);font-size:1rem;max-width:800px;margin-inline:auto;}

/* GRID / CARD SECTIONS */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
  gap:20px;
  max-width:var(--maxw);
  margin:60px auto;
  padding:0 20px;
}
.card{
  background:var(--card);
  border-radius:12px;
  box-shadow:0 10px 30px rgba(3,27,58,0.05);
  padding:20px;
  display:flex;
  gap:12px;
  align-items:flex-start;
  transition:transform .3s cubic-bezier(.22,.8,.24,1),box-shadow .3s;
}
.card:hover{transform:translateY(-10px) scale(1.03);box-shadow:0 22px 54px rgba(3,27,58,0.12);}
.card .ico{width:56px;height:56px;border-radius:12px;background:linear-gradient(135deg,var(--blue-500),var(--blue-600));display:grid;place-items:center;color:#fff;font-weight:700;}
.card h3{margin:4px 0 6px;}
.card p{color:var(--muted);font-size:.95rem;line-height:1.5;}

/* CTA */
.cta{
  max-width:var(--maxw);
  margin:60px auto;
  padding:24px 28px;
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  align-items:center;
  gap:20px;
  border-radius:14px;
  background:linear-gradient(90deg,#eaf6ff,#f8fbff);
  box-shadow:0 8px 24px rgba(3,27,58,0.08);
}
.cta h3{color:var(--blue-600);margin-bottom:4px;}
.cta p{color:var(--muted);margin:0;}
.btn{
  position:relative;
  display:inline-block;
  padding:10px 18px;
  border-radius:10px;
  background:linear-gradient(180deg,var(--blue-600),var(--blue-500));
  color:#fff;
  border:none;
  font-weight:700;
  cursor:pointer;
  overflow:hidden;
  box-shadow:0 10px 28px rgba(0,115,230,0.15);
  transition:transform .18s ease;
}
.btn:active{transform:scale(.97);}
.ripple{position:absolute;border-radius:50%;background:rgba(255,255,255,0.4);transform:scale(0);opacity:0;pointer-events:none;}

/* FOOTER */
.footer{
  background:linear-gradient(90deg,var(--blue-600),var(--blue-500));
  color:#fff;
  padding:28px 20px;
  margin-top:80px;
  border-top:1px solid rgba(255,255,255,0.1);
}
.footer-inner{
  max-width:var(--maxw);
  margin:auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  flex-wrap:wrap;
  gap:16px;
}
.footer-links{display:none;} /* Navbar removed from footer */
.socials{display:flex;gap:12px;}
.socials a{
  display:grid;place-items:center;
  width:38px;height:38px;
  border-radius:8px;
  background:rgba(255,255,255,0.18);
  color:#fff;
  text-decoration:none;
  font-size:18px;
  transition:transform .25s ease,background .25s ease;
}
.socials a:hover{
  transform:scale(1.15);
  background:rgba(255,255,255,0.28);
}
.small{font-size:13px;color:rgba(255,255,255,0.92);}
.footer-left{display:flex;flex-direction:column;gap:6px;}
.footer-right{text-align:right;}

/* Reveal Animations */
.reveal{opacity:0;transform:translateY(20px);transition:opacity .6s ease,transform .6s ease;}
.reveal.show{opacity:1;transform:none;}

/* Responsive */
@media(max-width:760px){
  .nav-links{display:none;}
  .burger{display:flex;}
  .footer-inner{flex-direction:column;align-items:center;text-align:center;}
  .cta{flex-direction:column;align-items:flex-start;}
  .hero{padding:60px 14px;}
  .hero h1{font-size:1.8rem;}
}
