/* ==========================
   Variables & Reset
   ========================== */
:root{
  --blue-1: #6EC1FF;
  --blue-2: #A3D9FF;
  --accent: #2B8CFF;
  --text: #1f2937;
  --muted: #6b7280;
  --radius: 12px;
  --container: 1100px;
}

*{box-sizing:border-box;margin:0;padding:0}
html,body{height:100%}
body{
  font-family:Inter, system-ui, -apple-system, "Helvetica Neue", Arial;
  color:var(--text);
  background:#ffffff;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
  line-height:1.5;
  padding-top:72px; /* reserve place for fixed navbar */
}

/* ==========================
   Layout Helpers
   ========================== */
.container{
  width:90%;
  max-width:var(--container);
  margin:0 auto;
}

/* ==========================
   Navbar
   ========================== */
.navbar{
  position:fixed;
  left:0;right:0;top:0;
  z-index:60;
  color:white;
  transition:all 220ms ease;
  padding:14px 0;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

.nav-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}

.logo{
  text-decoration:none;
  font-weight:700;
  color:inherit;
  font-size:16px;
  letter-spacing:0.2px;
}

/* nav links */
.nav a, .nav-link{
  text-decoration:none;
  color:inherit;
  font-weight:600;
  margin-left:20px;
  padding:6px 8px;
  border-radius:8px;
}

.nav-link:hover{
  background:rgba(255,255,255,0.08);
}

/* scrolled: switch to light bar for readability on white sections */
.navbar.scrolled{
  background: rgba(255,255,255,0.98);
  color:var(--text);
  box-shadow: 0 6px 18px rgba(18, 38, 63, 0.08);
}

/* when nav is scrolled and links are active, make them dark */
.navbar.scrolled .nav-link{
  color:var(--text);
}

/* active link style (script sets .active) */
.nav-link.active{
  background: linear-gradient(90deg,var(--blue-1),var(--blue-2));
  color:white !important;
  box-shadow: 0 6px 18px rgba(43,140,255,0.18);
}

/* ==========================
   Hero (Home)
   ========================== */
.hero{
  min-height:84vh;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:40px 20px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  color:white;
}

.hero-content{
  max-width:900px;
  margin:auto;
}

.hero-title{
  font-size:clamp(24px,4vw,36px);
  line-height:1.08;
  margin-bottom:18px;
  font-weight:700;
}

.hero-sub{
  font-size:clamp(15px,2.2vw,18px);
  color:rgba(255,255,255,0.95);
  margin-bottom:22px;
}

/* CTA button */
.btn{
  display:inline-block;
  background: linear-gradient(90deg,var(--accent), #1ea1ff);
  color:white;
  padding:12px 20px;
  border-radius:10px;
  font-weight:700;
  text-decoration:none;
  box-shadow: 0 8px 30px rgba(43,140,255,0.18);
  transition:transform 160ms ease, box-shadow 160ms ease;
}
.btn:hover{ transform:translateY(-3px); }

/* ==========================
   Content Section
   ========================== */
.content{
  background: #fff;
  padding:48px 20px;
  margin-top:-36px;
  border-radius:18px;
  box-shadow: 0 10px 40px rgba(44, 67, 88, 0.06);
  text-align:center;
}

/* headings + muted text */
h2{font-size:20px;margin-bottom:10px}
.muted{ color:var(--muted) }
.small{ font-size:13px }

/* ==========================
   Apps Page specific
   ========================== */
.apps-hero{
  padding:48px 20px;
  text-align:center;
  background: linear-gradient(135deg, rgba(110,193,255,0.12), rgba(163,217,255,0.08));
}

.apps-title{
  font-size:28px;
  margin-bottom:8px;
  color:var(--text);
}
.apps-lead{ color:var(--muted); margin-bottom:8px }

/* Apps container and card */
.apps-container{ padding:36px 20px 80px 20px; display:flex; justify-content:center; }
.app-card{
  width:100%;
  max-width:980px;
  background:white;
  border-radius:14px;
  padding:28px;
  box-shadow: 0 10px 30px rgba(18,38,63,0.06);
  border:1px solid rgba(12,36,75,0.03);
}

/* card header */
.app-card-head{
  display:flex;
  gap:16px;
  align-items:flex-start;
  justify-content:space-between;
  margin-bottom:18px;
}
.app-card-head h2{ margin:0 }
.app-card-head .muted{ margin-top:4px }

.app-actions{ margin-top:8px }

/* each app section */
.app-section{ margin-top:18px; padding-top:8px; border-top:1px solid rgba(15,36,75,0.03) }
.app-section h3{ margin-bottom:10px; font-size:16px }

/* features grid */
.features-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.feature{
  background: #fbfdff;
  border-radius:10px;
  padding:12px;
  border:1px solid rgba(43,140,255,0.06);
}

/* how list */
.how-list{ margin-left:18px; margin-top:8px }
.how-list li{ margin:8px 0 }

/* tech list */
.tech-list{ margin-left:18px; margin-top:8px }

/* screenshots */
.screens-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:12px;
  margin-top:10px;
}
.screenshot{
  min-height:120px;
  border-radius:8px;
  display:flex;
  align-items:center;
  justify-content:center;
  background: linear-gradient(180deg, #f6fbff, #eef8ff);
  border:1px dashed rgba(43,140,255,0.14);
  color:var(--muted);
  font-weight:600;
}

/* details (FAQ) */
details{ background:#fbfdff; padding:10px 12px; border-radius:8px; margin-top:8px; border:1px solid rgba(12,36,75,0.03) }

/* ==========================
   Footer
   ========================== */
.site-footer{
  padding:20px 0;
  color:var(--muted);
  background: #fff;
  text-align:center;
  border-top:1px solid rgba(12,36,75,0.03);
  margin-top:30px;
}

/* ==========================
   Responsive
   ========================== */
@media (max-width:900px){
  .features-grid{ grid-template-columns:1fr; }
  .screens-grid{ grid-template-columns:repeat(2,1fr); }
  .hero-title{ font-size:24px }
  .nav-inner{ gap:10px }
}

@media (max-width:520px){
  .screens-grid{ grid-template-columns:1fr; }
  .container{ width:94% }
  .nav a{ margin-left:10px; font-size:14px }
  body{ padding-top:78px }
}
