/* =========================================================
   Enbit Technosys — site styles
   Brand colours taken from the logo (navy + electric cyan)
   ========================================================= */
:root {
  --navy-950: #050d22;
  --navy-900: #0a1633;
  --navy-800: #0f2048;
  --navy-700: #16295a;
  --cyan: #1ec8ff;
  --blue: #0a8fff;
  --grad: linear-gradient(135deg, #1ec8ff 0%, #0a8fff 100%);
  --text: #e8eefc;
  --muted: #9fb0d4;
  --line: rgba(158, 196, 255, .14);
  --card: rgba(255, 255, 255, .04);
  --card-hover: rgba(255, 255, 255, .07);
  --radius: 18px;
  --shadow: 0 20px 50px -20px rgba(0, 0, 0, .6);
  --container: 1180px;
  --header-h: 76px;
  --font: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--navy-950);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--cyan); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--cyan); color: var(--navy-950); }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--cyan); color: var(--navy-950); padding: 8px 14px; border-radius: 8px; z-index: 1000; }
.skip-link:focus { left: 8px; }
.ml { font-family: "Noto Sans Malayalam", var(--font); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 26px; border-radius: 999px; border: 1px solid transparent;
  font: 600 15px/1 var(--font); cursor: pointer; text-decoration: none !important;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--grad); color: #04122b; box-shadow: 0 10px 30px -10px rgba(30, 200, 255, .7); }
.btn-primary:hover { box-shadow: 0 14px 36px -10px rgba(30, 200, 255, .9); }
.btn-ghost { border-color: var(--line); color: var(--text); background: rgba(255, 255, 255, .03); }
.btn-ghost:hover { border-color: rgba(30, 200, 255, .5); }
.btn-light { background: #fff; color: var(--navy-900); }
.btn-whatsapp { background: #25d366; color: #05301a; margin-top: 8px; }
.btn-sm { padding: 10px 18px; font-size: 14px; }
.btn-block { width: 100%; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--cyan);
  margin-bottom: 14px;
}
.eyebrow .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 0 4px rgba(30, 200, 255, .2); animation: pulse 2s infinite; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 100; height: var(--header-h);
  display: flex; align-items: center;
  transition: background .3s ease, border-color .3s ease, backdrop-filter .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { background: rgba(5, 13, 34, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none !important; }
.brand img { border-radius: 50%; }
.brand-text { font-size: 19px; font-weight: 600; letter-spacing: -.01em; }
.brand-text b { color: var(--cyan); font-weight: 800; }
.nav { display: flex; align-items: center; gap: 28px; }
.nav a:not(.btn) { color: var(--muted); font-weight: 500; font-size: 15px; text-decoration: none; transition: color .2s; }
.nav a:not(.btn):hover, .nav a.active { color: var(--text); }
.nav-toggle { display: none; background: none; border: 0; padding: 10px; cursor: pointer; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); margin: 5px 0; border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero { position: relative; padding: calc(var(--header-h) + 70px) 0 50px; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at top, var(--navy-800), var(--navy-950) 70%); }
.grid-lines {
  position: absolute; inset: 0;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 30%, #000 30%, transparent 75%);
}
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .5; }
.orb-1 { width: 420px; height: 420px; background: #0a8fff; top: -120px; right: -80px; animation: float 14s ease-in-out infinite; }
.orb-2 { width: 320px; height: 320px; background: #1ec8ff; bottom: -100px; left: -100px; opacity: .25; animation: float 18s ease-in-out infinite reverse; }

.hero-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.3rem, 5.2vw, 4rem); font-weight: 800; margin-bottom: .45em; }
.lead { font-size: clamp(1.05rem, 1.6vw, 1.2rem); color: var(--muted); max-width: 560px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 30px 0 28px; }
.hero-points { display: grid; gap: 10px; color: var(--muted); font-size: 15px; }
.hero-points li { display: flex; align-items: center; gap: 10px; }
.hero-points svg { width: 20px; height: 20px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round; padding: 3px; background: rgba(30, 200, 255, .12); border-radius: 50%; }

.hero-visual { position: relative; }
.dash-card {
  background: linear-gradient(180deg, rgba(22, 41, 90, .85), rgba(10, 22, 51, .9));
  border: 1px solid var(--line); border-radius: 24px; padding: 24px; box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
}
.dash-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.dash-title { font-weight: 600; color: var(--muted); font-size: 14px; }
.pill { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; padding: 6px 12px; border-radius: 999px; }
.pill.live { background: rgba(37, 211, 102, .12); color: #4ade80; }
.pill.live i { width: 7px; height: 7px; border-radius: 50%; background: #4ade80; animation: pulse 1.6s infinite; }
.dash-chart { height: 150px; margin: 0 -6px 18px; }
.dash-chart svg { width: 100%; height: 100%; }
.dash-chart .line { stroke-dasharray: 600; stroke-dashoffset: 600; animation: draw 2.4s .3s ease forwards; }
.dash-chart .area { opacity: 0; animation: fadeIn 1.2s 1.6s ease forwards; }
.dash-steps { display: grid; gap: 12px; }
.dash-steps div { display: grid; grid-template-columns: 80px 1fr; align-items: center; gap: 12px; font-size: 13px; color: var(--muted); }
.bar { height: 8px; border-radius: 99px; background: rgba(255, 255, 255, .07); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; background: var(--grad); border-radius: inherit; animation: grow 1.4s 1s ease forwards; }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 8px;
  padding: 10px 16px; border-radius: 14px; font-size: 13px; font-weight: 600;
  background: rgba(10, 22, 51, .92); border: 1px solid var(--line); box-shadow: var(--shadow);
  animation: float 6s ease-in-out infinite;
}
.float-chip svg { width: 18px; height: 18px; fill: none; stroke: var(--cyan); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.chip-1 { top: -18px; left: -30px; }
.chip-2 { bottom: -18px; right: -20px; animation-delay: -3s; }

.platforms { display: flex; align-items: center; gap: 26px; margin-top: 80px; padding-top: 28px; border-top: 1px solid var(--line); flex-wrap: wrap; }
.platforms > span { font-size: 13px; text-transform: uppercase; letter-spacing: .12em; color: var(--muted); }
.platforms ul { display: flex; flex-wrap: wrap; gap: 10px 30px; }
.platforms li { font-weight: 700; color: rgba(232, 238, 252, .55); font-size: 16px; }

/* ---------- Sections ---------- */
.section { padding: 110px 0; position: relative; }
.section-alt { background: linear-gradient(180deg, var(--navy-900), var(--navy-950)); border-block: 1px solid var(--line); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 60px; }
.section-head.left { text-align: left; margin: 0; }
.section-head h2, .why-copy h2, .contact-info h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); font-weight: 800; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.cards { display: grid; gap: 24px; }
.services-grid { grid-template-columns: repeat(3, 1fr); }
.service { padding: 32px 28px; transition: transform .3s ease, background .3s ease, border-color .3s ease; position: relative; overflow: hidden; }
.service::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 1px;
  background: var(--grad); opacity: 0; transition: opacity .3s;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.service:hover { transform: translateY(-6px); background: var(--card-hover); }
.service:hover::before { opacity: 1; }
.service h3 { font-size: 1.25rem; }
.service p { color: var(--muted); font-size: 15px; }
.icon {
  width: 54px; height: 54px; display: grid; place-items: center; border-radius: 14px;
  background: linear-gradient(135deg, rgba(30, 200, 255, .2), rgba(10, 143, 255, .08));
  border: 1px solid rgba(30, 200, 255, .25); margin-bottom: 22px; flex: none;
}
.icon svg { width: 26px; height: 26px; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.icon.sm { width: 44px; height: 44px; border-radius: 12px; margin-bottom: 14px; }
.icon.sm svg { width: 22px; height: 22px; }
.ticks { display: grid; gap: 8px; margin-top: 18px; font-size: 14px; }
.ticks li { position: relative; padding-left: 24px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: .45em; width: 14px; height: 8px;
  border-left: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan); transform: rotate(-45deg) scale(.8);
}

/* Process */
.process { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: step; }
.process li { padding: 30px 28px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); position: relative; }
.process .num { display: block; font-size: 2.6rem; font-weight: 800; line-height: 1; margin-bottom: 18px; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; opacity: .9; }
.process h3 { font-size: 1.2rem; }
.process p { color: var(--muted); font-size: 15px; margin: 0; }

/* Why */
.why-wrap { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.why-copy { position: sticky; top: calc(var(--header-h) + 30px); }
.why-copy p { color: var(--muted); font-size: 1.08rem; margin-bottom: 28px; }
.why-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.why-item { padding: 26px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--card); transition: background .3s; }
.why-item:hover { background: var(--card-hover); }
.why-item h3 { font-size: 1.08rem; }
.why-item p { color: var(--muted); font-size: 14.5px; margin: 0; }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.industries li {
  display: flex; align-items: center; gap: 14px; padding: 20px 22px; border-radius: 14px;
  border: 1px solid var(--line); background: var(--card); font-weight: 600; transition: border-color .3s, transform .3s;
}
.industries li:hover { border-color: rgba(30, 200, 255, .5); transform: translateY(-3px); }
.industries svg { width: 26px; height: 26px; flex: none; fill: none; stroke: var(--cyan); stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }

/* CTA band */
.cta-band { padding: 80px 0; }
.cta-inner {
  display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap;
  padding: 50px 56px; border-radius: 28px; background: var(--grad); color: #04122b; position: relative; overflow: hidden;
}
.cta-inner::after { content: ""; position: absolute; right: -60px; top: -60px; width: 240px; height: 240px; border-radius: 50%; border: 40px solid rgba(255, 255, 255, .15); }
.cta-inner h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: .3em; }
.cta-inner p { margin: 0; max-width: 560px; font-weight: 500; opacity: .85; }
.cta-inner .btn { position: relative; z-index: 1; }

/* FAQ */
.faq-wrap { display: grid; grid-template-columns: .8fr 1.2fr; gap: 60px; align-items: start; }
.faq { display: grid; gap: 14px; }
.faq details { border: 1px solid var(--line); border-radius: 14px; background: var(--card); transition: border-color .3s, background .3s; }
.faq details[open] { border-color: rgba(30, 200, 255, .4); background: var(--card-hover); }
.faq summary { cursor: pointer; list-style: none; padding: 20px 56px 20px 24px; font-weight: 600; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: ""; position: absolute; right: 24px; top: 50%; width: 10px; height: 10px;
  border-right: 2px solid var(--cyan); border-bottom: 2px solid var(--cyan);
  transform: translateY(-70%) rotate(45deg); transition: transform .3s;
}
.faq details[open] summary::after { transform: translateY(-30%) rotate(-135deg); }
.faq details p { padding: 0 24px 20px; margin: 0; color: var(--muted); }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.contact-info > p { color: var(--muted); font-size: 1.08rem; }
.contact-list { display: grid; gap: 18px; margin: 30px 0; }
.contact-list li { display: flex; align-items: center; gap: 14px; }
.contact-list .icon { margin: 0; }
.contact-list small { display: block; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .1em; }
.contact-list a, .contact-list span:not(.icon) { color: var(--text); font-weight: 600; }

.contact-form { padding: 34px; display: grid; gap: 18px; background: rgba(15, 32, 72, .6); }
.contact-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form label { display: grid; gap: 8px; font-size: 14px; font-weight: 600; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea {
  width: 100%; font: 500 15px/1.4 var(--font); color: var(--text);
  background: rgba(5, 13, 34, .6); border: 1px solid var(--line); border-radius: 12px; padding: 13px 15px;
  transition: border-color .2s, box-shadow .2s;
}
.contact-form select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--cyan) 50%), linear-gradient(135deg, var(--cyan) 50%, transparent 50%); background-position: calc(100% - 20px) 55%, calc(100% - 15px) 55%; background-size: 5px 5px; background-repeat: no-repeat; padding-right: 40px; }
.contact-form select option { background: var(--navy-900); }
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 4px rgba(30, 200, 255, .15); }
.contact-form .invalid { border-color: #f87171 !important; }
.contact-form .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 13.5px; }
.contact-form .consent input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--cyan); flex: none; }
.hp { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; font-size: 14px; font-weight: 600; min-height: 1.4em; }
.form-status.ok { color: #4ade80; }
.form-status.err { color: #f87171; }
.spinner { display: none; width: 18px; height: 18px; border: 2px solid rgba(4, 18, 43, .3); border-top-color: #04122b; border-radius: 50%; animation: spin .8s linear infinite; }
.loading .spinner { display: inline-block; }
.loading .btn-label { opacity: .7; }

/* Footer */
.site-footer { padding: 70px 0 30px; border-top: 1px solid var(--line); background: var(--navy-950); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-brand p { color: var(--muted); font-size: 14.5px; margin-top: 16px; max-width: 320px; }
.site-footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: .1em; color: var(--text); margin-bottom: 16px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer ul a { color: var(--muted); font-size: 14.5px; }
.site-footer ul a:hover { color: var(--cyan); text-decoration: none; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; margin-top: 50px; padding-top: 24px; border-top: 1px solid var(--line); color: var(--muted); font-size: 14px; }
.footer-bottom p { margin: 0; }
.to-top { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--line); color: var(--text); }
.to-top:hover { border-color: var(--cyan); color: var(--cyan); }

.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 90; width: 58px; height: 58px; border-radius: 50%;
  display: grid; place-items: center; background: #25d366; color: #fff; box-shadow: 0 10px 30px -6px rgba(37, 211, 102, .6);
  transition: transform .25s;
}
.wa-float:hover { transform: scale(1.08); }

/* Legal / simple pages */
.page { padding: calc(var(--header-h) + 60px) 0 90px; }
.page .container { max-width: 820px; }
.page h1 { font-size: clamp(2rem, 4vw, 2.8rem); font-weight: 800; }
.page h2 { font-size: 1.35rem; margin-top: 2em; }
.page p, .page li { color: var(--muted); }
.page ul { list-style: disc; padding-left: 1.3em; display: grid; gap: 6px; margin-bottom: 1em; }
.page .updated { font-size: 14px; }
.center-page { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px 20px; }
.center-page .big { font-size: clamp(5rem, 16vw, 9rem); font-weight: 800; line-height: 1; margin-bottom: 10px; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* Animations */
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@keyframes float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes draw { to { stroke-dashoffset: 0; } }
@keyframes fadeIn { to { opacity: 1; } }
@keyframes grow { to { width: var(--w); } }
@keyframes spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .services-grid, .process { grid-template-columns: repeat(2, 1fr); }
  .industries { grid-template-columns: repeat(2, 1fr); }
  .why-wrap, .faq-wrap { grid-template-columns: 1fr; gap: 40px; }
  .why-copy { position: static; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: fixed; top: var(--header-h); left: 0; right: 0; bottom: 0;
    flex-direction: column; align-items: stretch; gap: 0; padding: 20px;
    background: rgba(5, 13, 34, .98); backdrop-filter: blur(14px);
    transform: translateX(100%); transition: transform .35s ease; overflow-y: auto;
  }
  .nav.open { transform: none; }
  .nav a:not(.btn) { padding: 16px 4px; font-size: 18px; border-bottom: 1px solid var(--line); }
  .nav-cta { margin-top: 24px; padding: 16px; font-size: 16px; }
  .site-header.menu-open { background: rgba(5, 13, 34, .98); }
  .hero-inner { grid-template-columns: 1fr; gap: 70px; }
  .hero-visual { max-width: 460px; margin: 0 auto; width: 100%; }
  .contact-wrap { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 640px) {
  .container { padding: 0 16px; }
  .section { padding: 80px 0; }
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .services-grid, .process, .why-grid, .industries { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
  .chip-1 { left: 0; top: -24px; }
  .chip-2 { right: 0; }
  .platforms { margin-top: 60px; gap: 14px; }
  .cta-inner { padding: 36px 26px; }
  .cta-inner .btn { width: 100%; }
  .contact-form { padding: 24px 18px; }
  .contact-form .row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .brand-text { font-size: 17px; }
}
