/* ===============================
   SysVista Private Limited
   Stylesheet
   =============================== */

:root {
  --navy:      #0b1f3a;
  --navy-2:    #10294c;
  --blue:      #2563eb;
  --blue-2:    #3b82f6;
  --cyan:      #22d3ee;
  --ink:       #0f172a;
  --body:      #475569;
  --muted:     #64748b;
  --line:      #e2e8f0;
  --bg:        #ffffff;
  --bg-alt:    #f6f9fc;
  --white:     #ffffff;
  --radius:    16px;
  --radius-sm: 10px;
  --shadow:    0 10px 30px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.14);
  --maxw:      1140px;
  --font:      'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --display:   'Sora', 'Inter', system-ui, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 84px; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--body);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--display);
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .5em;
  letter-spacing: -0.02em;
}

p { margin: 0 0 1rem; }

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 10px 16px;
  z-index: 200;
  border-radius: 0 0 8px 0;
}
.skip-link:focus { left: 0; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 .6rem;
}

.grad {
  background: linear-gradient(100deg, var(--blue) 0%, var(--cyan) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-weight: 600;
  font-size: .98rem;
  padding: 13px 26px;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(100deg, var(--blue), var(--blue-2));
  color: #fff;
  box-shadow: 0 8px 20px rgba(37, 99, 235, .35);
}
.btn-primary:hover { box-shadow: 0 12px 28px rgba(37, 99, 235, .45); }
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  font-family: var(--display);
  font-weight: 800;
  letter-spacing: .02em;
  box-shadow: var(--shadow);
}
.brand-text {
  display: flex;
  flex-direction: column;
  font-family: var(--display);
  font-size: 1.12rem;
  line-height: 1.1;
}
.brand-sub {
  font-family: var(--font);
  font-size: .68rem;
  font-weight: 500;
  color: var(--muted);
  letter-spacing: .08em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-menu a {
  color: var(--ink);
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 8px;
  transition: background .15s, color .15s;
}
.nav-menu a:hover { background: var(--bg-alt); text-decoration: none; color: var(--blue); }
.nav-menu a.active {
  background: var(--bg-alt);
  color: var(--blue);
  font-weight: 600;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s, opacity .25s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 500px at 80% -10%, rgba(34, 211, 238, .18), transparent 60%),
    radial-gradient(900px 500px at 0% 10%, rgba(37, 99, 235, .12), transparent 55%),
    var(--bg);
  padding: 84px 0 90px;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { font-size: clamp(2.1rem, 4.5vw, 3.35rem); }
.hero-lead {
  font-size: 1.12rem;
  max-width: 34rem;
  color: var(--body);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 26px 0 22px;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: .92rem;
  font-weight: 500;
  color: var(--muted);
}

.hero-visual { position: relative; min-height: 320px; }
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(6px);
  opacity: .8;
}
.orb-1 {
  width: 220px; height: 220px;
  right: 6%; top: 4%;
  background: radial-gradient(circle at 30% 30%, var(--cyan), transparent 70%);
}
.orb-2 {
  width: 260px; height: 260px;
  left: 2%; bottom: 0;
  background: radial-gradient(circle at 60% 40%, var(--blue), transparent 70%);
  opacity: .5;
}
.glass-card {
  position: relative;
  z-index: 2;
  margin: 40px auto 0;
  max-width: 340px;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 22px 24px;
}
.glass-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--body);
  font-size: .95rem;
}
.glass-row:last-child { border-bottom: 0; }
.glass-row strong { margin-left: auto; color: var(--ink); font-family: var(--display); }
.dot { width: 10px; height: 10px; border-radius: 50%; }
.dot.green { background: #22c55e; }
.dot.blue { background: var(--blue); }
.dot.amber { background: #f59e0b; }

/* ---------- Sections ---------- */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-alt); }
.section-head {
  max-width: 640px;
  margin: 0 auto 48px;
  text-align: center;
}
.section-head h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.section-sub { font-size: 1.06rem; color: var(--muted); margin: 0; }

.grid { display: grid; gap: 24px; }

/* ---------- Services ---------- */
.services-grid { grid-template-columns: repeat(3, 1fr); }
.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 26px;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.service-icon {
  width: 56px; height: 56px;
  display: grid; place-items: center;
  font-size: 1.7rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(37,99,235,.12), rgba(34,211,238,.14));
  margin-bottom: 16px;
}
.service h3 { font-size: 1.2rem; }
.service p { margin: 0; color: var(--body); }

/* ---------- About ---------- */
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: center;
}
.about-visual {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.stat-tile {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow);
}
.stat-tile strong {
  display: block;
  font-family: var(--display);
  font-size: 2.1rem;
  color: var(--blue);
  line-height: 1;
  margin-bottom: 6px;
}
.stat-tile span { font-size: .9rem; color: var(--muted); }
.about-content h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.check-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: grid;
  gap: 10px;
}
.check-list li {
  position: relative;
  padding-left: 30px;
  color: var(--ink);
  font-weight: 500;
}
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  width: 20px; height: 20px;
  display: grid; place-items: center;
  background: var(--blue);
  color: #fff;
  border-radius: 50%;
  font-size: .7rem;
  font-weight: 700;
}

/* ---------- Why ---------- */
.why-grid { grid-template-columns: repeat(4, 1fr); }
.why-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 24px;
}
.why-item h3 { font-size: 1.1rem; margin-bottom: .4rem; }
.why-item p { margin: 0; font-size: .95rem; }

/* ---------- Contact ---------- */
.contact-inner {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 48px;
  align-items: start;
}
.contact-info h2 { font-size: clamp(1.7rem, 3.2vw, 2.4rem); }
.contact-details {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 18px;
}
.contact-details li { display: flex; gap: 14px; align-items: flex-start; }
.ci-icon {
  flex: 0 0 auto;
  width: 44px; height: 44px;
  display: grid; place-items: center;
  font-size: 1.2rem;
  border-radius: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.contact-details strong { display: block; color: var(--ink); font-family: var(--display); font-size: .98rem; }
.contact-details a { color: var(--blue); }

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.field { margin-bottom: 18px; display: flex; flex-direction: column; }
.field label {
  font-size: .88rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.field .opt { color: var(--muted); font-weight: 400; }
.field input,
.field textarea {
  font-family: inherit;
  font-size: .98rem;
  color: var(--ink);
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
  transition: border-color .15s, box-shadow .15s, background .15s;
  width: 100%;
}
.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, .15);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note {
  margin: 14px 0 0;
  font-size: .9rem;
  text-align: center;
  min-height: 1.2em;
}
.form-note.success { color: #16a34a; font-weight: 600; }
.form-note.error { color: #dc2626; font-weight: 600; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #cbd5e1; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
  padding: 56px 24px 40px;
  align-items: start;
}
.footer-brand { display: flex; gap: 14px; align-items: flex-start; }
.footer-brand strong { color: #fff; font-family: var(--display); font-size: 1.1rem; }
.footer-brand p { margin: 6px 0 0; font-size: .92rem; max-width: 26rem; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: #cbd5e1; }
.footer-nav a:hover { color: #fff; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; font-size: .95rem; }
.footer-contact a { color: var(--cyan); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 18px 0;
  font-size: .88rem;
}
.footer-bottom p { margin: 0; text-align: center; color: #94a3b8; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { order: -1; min-height: 220px; }
  .glass-card { margin-top: 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 36px; }
  .contact-inner { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }

  .nav-toggle { display: flex; }
  .nav-menu {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 14px 24px 20px;
    gap: 4px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-menu.open { display: flex; }
  .nav-menu li { width: 100%; }
  .nav-menu a { display: block; width: 100%; padding: 13px 16px; }
}

@media (max-width: 560px) {
  .section { padding: 60px 0; }
  .hero { padding: 56px 0 64px; }
  .services-grid,
  .why-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .about-visual { grid-template-columns: 1fr 1fr; }
  .brand-sub { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto; transition: none !important; }
}
