:root{
  --bg: #f7f9fd;
  --panel: rgba(255,255,255,.78);
  --card: rgba(255,255,255,.86);
  --text: #0b1220;
  --muted: #4b5b75;
  --line: rgba(207, 221, 245, .75);
  --primary: #1957d6;
  --primary2: #2f85ff;
  --shadow: 0 20px 55px rgba(12, 28, 60, .12);
  --shadow2: 0 10px 28px rgba(12, 28, 60, .10);
  --radius: 18px;
  --radius2: 14px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }
body{
  margin: 0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans";
  color: var(--text);
  background:
    radial-gradient(1200px 720px at 12% 10%, rgba(47,133,255,.16), transparent 60%),
    radial-gradient(1100px 620px at 86% 12%, rgba(25,87,214,.10), transparent 60%),
    radial-gradient(900px 660px at 50% 95%, rgba(47,133,255,.10), transparent 55%),
    var(--bg);
  line-height: 1.55;
}

a{ color: inherit; text-decoration: none; }

/* Wider container so page uses more screen */
.container{
  width: min(1480px, calc(100% - 56px));
  margin: 0 auto;
}
@media (min-width: 1600px){
  .container{
    width: min(1640px, calc(100% - 96px));
  }
}

/* ===== Nav ===== */
.nav{
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247,249,253,.70);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(207,221,245,.55);
  transition: box-shadow .25s ease, background .25s ease;
}
.nav.scrolled{
  background: rgba(247,249,253,.92);
  box-shadow: 0 14px 36px rgba(12,28,60,.10);
}
.nav-inner{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}

/* Brand now has name + tagline */
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight: 900;
  letter-spacing: .2px;
}
.brand-dot{
  width: 12px; height: 12px; border-radius: 50%;
  background: linear-gradient(135deg, var(--primary2), var(--primary));
  box-shadow: 0 0 0 7px rgba(47,133,255,.13);
  flex: 0 0 auto;
}
.brand-text{
  display:flex;
  flex-direction: column;
  line-height: 1.05;
}
.brand-name{
  font-size: 18px;
  letter-spacing: .2px;
}
.brand-tag{
  font-size: 12px;
  font-weight: 800;
  color: rgba(75,91,117,.92);
  margin-top: 3px;
}
@media (min-width: 980px){
  .brand-name{ font-size: 20px; }
  .brand-tag{ font-size: 12.5px; }
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 10px;
}
.nav-links a{
  padding: 8px 10px;
  border-radius: 12px;
  color: rgba(11,18,32,.82);
  transition: background .18s ease, transform .18s ease;
}
.nav-links a:hover{
  background: rgba(47,133,255,.10);
  transform: translateY(-1px);
}
.nav-actions{
  display:flex;
  align-items:center;
  gap: 10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 14px;
  border: 1px solid rgba(25,87,214,.22);
  background: rgba(255,255,255,.75);
  color: rgba(25,87,214,1);
  font-weight: 800;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 10px 22px rgba(25,87,214,.16);
  border-color: rgba(25,87,214,.34);
}
.btn.primary{
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  border-color: rgba(25,87,214,.55);
  box-shadow: 0 12px 26px rgba(25,87,214,.20);
}
.btn.primary:hover{
  box-shadow: 0 18px 38px rgba(25,87,214,.26);
}

/* Mobile menu */
.menu-btn{
  display:none;
  width: 42px; height: 42px;
  border-radius: 14px;
  border: 1px solid rgba(25,87,214,.18);
  background: rgba(255,255,255,.78);
  cursor: pointer;
}
.menu-btn svg{ width: 18px; height: 18px; }
.mobile-panel{
  display:none;
  padding: 10px 0 16px;
}
.mobile-panel a{
  display:block;
  padding: 10px 12px;
  border-radius: 14px;
  border: 1px solid rgba(207,221,245,.65);
  background: rgba(255,255,255,.70);
  margin-top: 10px;
}
.mobile-panel .btn{
  width: 100%;
  margin-top: 10px;
}

/* ===== Hero ===== */
.hero{
  padding: 52px 0 22px;
}
.kicker{
  display:inline-flex;
  align-items:center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(207,221,245,.75);
  background: rgba(255,255,255,.75);
  box-shadow: 0 10px 22px rgba(12,28,60,.06);
  color: rgba(11,18,32,.72);
  font-weight: 800;
  font-size: 13px;
}
.kicker .pulse{
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--primary2);
  box-shadow: 0 0 0 0 rgba(47,133,255,.45);
  animation: pulse 1.8s infinite;
}
@keyframes pulse{
  0%{ box-shadow: 0 0 0 0 rgba(47,133,255,.40); }
  70%{ box-shadow: 0 0 0 12px rgba(47,133,255,0); }
  100%{ box-shadow: 0 0 0 0 rgba(47,133,255,0); }
}
.h1{
  margin: 14px 0 10px;
  font-size: clamp(32px, 3.5vw, 54px);
  line-height: 1.08;
  letter-spacing: -0.8px;
}
.sub{
  margin: 0;
  color: rgba(75,91,117,.98);
  max-width: 90ch; /* wider text block */
  font-size: 16px;
}
.hero-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

/* ===== Layout ===== */
.grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 20px;
  margin: 26px 0 44px;
}
@media (max-width: 980px){
  .grid{ grid-template-columns: 1fr; }
}

/* Cards */
.card{
  background: var(--card);
  border: 1px solid rgba(207,221,245,.75);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(12,28,60,.06);
  padding: 20px;
  position: relative;
  overflow: hidden;
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.card:hover{
  transform: translateY(-3px);
  box-shadow: var(--shadow2);
  border-color: rgba(25,87,214,.20);
}
.card h2, .card h3{ margin: 0 0 10px; letter-spacing: -.2px; }
.muted{ color: var(--muted); }

/* List blocks */
.split{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
@media (max-width: 980px){
  .split{ grid-template-columns: 1fr; }
}

.badge{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(207,221,245,.75);
  background: rgba(255,255,255,.72);
  font-weight: 900;
  font-size: 12px;
  color: rgba(11,18,32,.78);
}

.feature{
  padding: 12px;
  border-radius: var(--radius2);
  border: 1px solid rgba(207,221,245,.75);
  background: rgba(255,255,255,.66);
}
.feature b{ display:block; margin-bottom: 6px; letter-spacing: -.15px; }

/* Forms */
.form{ display:grid; gap: 12px; }
.field label{
  display:block;
  font-size: 12.5px;
  color: rgba(75,91,117,.98);
  font-weight: 900;
  margin: 2px 0 6px;
}
.field input, .field select, .field textarea{
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(207,221,245,.85);
  background: rgba(255,255,255,.92);
  outline: none;
  transition: border-color .18s ease, box-shadow .18s ease;
  font-size: 14px;
}
.field textarea{ min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus{
  border-color: rgba(47,133,255,.55);
  box-shadow: 0 0 0 6px rgba(47,133,255,.12);
}
.helper{ font-size: 13px; color: rgba(75,91,117,.96); margin-top: 8px; }

.alert{
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid rgba(255, 205, 205, 1);
  background: rgba(255, 238, 238, .75);
  color: rgba(120, 34, 34, 1);
  font-weight: 800;
  font-size: 13px;
}
.alert.ok{
  border-color: rgba(186, 245, 209, 1);
  background: rgba(232, 255, 242, .85);
  color: rgba(14, 94, 44, 1);
}

/* Footer */
.footer{
  margin-top: 52px;
  padding: 28px 0 36px;
  border-top: 1px solid rgba(207,221,245,.75);
  color: rgba(75,91,117,.96);
}
.footer-inner{
  display:flex;
  gap: 18px;
  align-items:flex-start;
  justify-content:space-between;
  flex-wrap: wrap;
}
.footer a:hover{ text-decoration: underline; }

/* ===== Animations (safe + subtle) ===== */
[data-animate]{
  opacity: 0;
  transform: translateY(14px);
  filter: blur(6px);
  transition:
    opacity .55s ease,
    transform .55s cubic-bezier(.2,.8,.2,1),
    filter .55s ease;
  will-change: opacity, transform, filter;
}
[data-animate].in{
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}
[data-delay="1"]{ transition-delay: .06s; }
[data-delay="2"]{ transition-delay: .12s; }
[data-delay="3"]{ transition-delay: .18s; }
[data-delay="4"]{ transition-delay: .24s; }
[data-delay="5"]{ transition-delay: .30s; }

@media (prefers-reduced-motion: reduce){
  *{ animation: none !important; transition: none !important; }
  [data-animate]{ opacity: 1; transform: none; filter: none; }
}

/* Responsive nav */
@media (max-width: 880px){
  .nav-links{ display:none; }
  .nav-actions{ display:none; }
  .menu-btn{ display:inline-flex; align-items:center; justify-content:center; }
  .mobile-panel.open{ display:block; }
  .brand-tag{ display:none; } /* mobile me clutter nahi */
}
