:root {
  --bg: #07111f;
  --bg-soft: #0d1b2e;
  --surface: #10233a;
  --surface-light: #f4f8fb;
  --text: #eef7ff;
  --text-dark: #102033;
  --muted: #9fb3c8;
  --muted-dark: #607086;
  --primary: #27d3c2;
  --primary-dark: #0aa394;
  --accent: #56a8ff;
  --border: rgba(255, 255, 255, 0.11);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.22);
  --radius: 22px;
  --container: min(1160px, calc(100% - 40px));
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Inter", system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { font: inherit; }
.container { width: var(--container); margin-inline: auto; }

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  background: rgba(7, 17, 31, 0.8);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(16px);
  transition: .3s ease;
}
.site-header.scrolled { border-color: var(--border); box-shadow: 0 10px 30px rgba(0,0,0,.18); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: flex; align-items: center; text-decoration: none; min-width: max-content; }
.brand img { width: 142px; height: 62px; object-fit: contain; object-position: left center; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links > a { color: #c4d2e0; text-decoration: none; font-size: .94rem; font-weight: 600; transition: .2s; }
.nav-links > a:hover, .nav-links > a.active { color: white; }
.nav-links .nav-cta { color: #06151c; background: var(--primary); padding: 10px 19px; border-radius: 999px; }
.nav-links .nav-cta:hover { color: #06151c; background: #6ae6da; transform: translateY(-1px); }
.menu-toggle { display: none; color: white; background: transparent; border: 0; width: 42px; height: 42px; cursor: pointer; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: currentColor; margin: 5px auto; transition: .25s; }

.hero { position: relative; min-height: 760px; display: grid; align-items: center; padding: 150px 0 90px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: -2; background: linear-gradient(90deg, rgba(4,12,24,.98) 3%, rgba(4,12,24,.83) 47%, rgba(4,12,24,.3)), url("MAINSCREEN.png") center/cover; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 180px; z-index: -1; background: linear-gradient(transparent, var(--bg)); }
.hero-content { max-width: 760px; }
.eyebrow { display: inline-flex; align-items: center; gap: 10px; color: var(--primary); text-transform: uppercase; letter-spacing: .17em; font-size: .78rem; font-weight: 800; margin-bottom: 20px; }
.eyebrow::before { content: ""; width: 30px; height: 2px; background: var(--primary); }
h1, h2, h3 { font-family: "Manrope", sans-serif; line-height: 1.12; }
.hero h1 { font-size: clamp(3rem, 6.3vw, 5.8rem); letter-spacing: -.055em; max-width: 900px; }
.hero h1 span { color: var(--primary); }
.hero-copy { max-width: 650px; color: #c4d2e0; font-size: clamp(1.05rem, 2vw, 1.22rem); margin: 25px 0 34px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; }
.btn { display: inline-flex; justify-content: center; align-items: center; gap: 9px; min-height: 52px; padding: 0 24px; border-radius: 999px; text-decoration: none; font-weight: 800; font-size: .94rem; transition: .25s ease; }
.btn-primary { color: #06151c; background: var(--primary); box-shadow: 0 12px 30px rgba(39,211,194,.18); }
.btn-primary:hover { background: #6ae6da; transform: translateY(-2px); }
.btn-secondary { color: white; border: 1px solid rgba(255,255,255,.25); background: rgba(255,255,255,.06); }
.btn-secondary:hover { border-color: white; background: rgba(255,255,255,.11); transform: translateY(-2px); }

.trust-bar { position: relative; z-index: 2; margin-top: -40px; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); background: rgba(16,35,58,.96); border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.stat { padding: 26px 28px; border-right: 1px solid var(--border); }
.stat:last-child { border: 0; }
.stat strong { display: block; font-family: "Manrope"; font-size: 1.65rem; color: white; }
.stat span { color: var(--muted); font-size: .85rem; }

.section { padding: 110px 0; }
.section-light { color: var(--text-dark); background: var(--surface-light); }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 40px; margin-bottom: 50px; }
.section-head > div { max-width: 700px; }
.section h2 { font-size: clamp(2.2rem, 4.2vw, 3.6rem); letter-spacing: -.04em; margin-bottom: 18px; }
.lead { color: var(--muted-dark); font-size: 1.08rem; max-width: 700px; }
.section-dark .lead { color: var(--muted); }
.text-link { color: var(--primary-dark); font-weight: 800; text-decoration: none; white-space: nowrap; }
.text-link:hover { text-decoration: underline; }

.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.service-card { position: relative; min-height: 280px; padding: 32px; color: var(--text-dark); background: white; border: 1px solid #e1e9f0; border-radius: var(--radius); transition: .3s ease; overflow: hidden; }
.service-card::after { content: ""; position: absolute; right: -35px; bottom: -35px; width: 105px; height: 105px; border-radius: 50%; background: rgba(39,211,194,.09); transition: .3s; }
.service-card:hover { transform: translateY(-7px); box-shadow: 0 24px 55px rgba(22,50,75,.11); border-color: rgba(10,163,148,.35); }
.service-card:hover::after { transform: scale(1.35); }
.icon-box { display: grid; place-items: center; width: 48px; height: 48px; color: #057d72; background: #dff9f6; border-radius: 13px; font-family: "Manrope"; font-weight: 800; margin-bottom: 42px; }
.service-card h3 { font-size: 1.22rem; margin-bottom: 12px; }
.service-card p { color: var(--muted-dark); font-size: .94rem; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.visual-panel { position: relative; min-height: 520px; border-radius: 30px; overflow: hidden; background: linear-gradient(145deg, #12304d, #091729); box-shadow: var(--shadow); }
.visual-panel::before { content: ""; position: absolute; width: 360px; height: 360px; border-radius: 50%; right: -70px; top: -40px; background: radial-gradient(circle, rgba(39,211,194,.65), transparent 68%); filter: blur(4px); }
.visual-panel::after { content: "HGA"; position: absolute; left: 34px; bottom: 10px; font: 800 8.5rem/1 "Manrope"; letter-spacing: -.08em; color: rgba(255,255,255,.06); }
.code-window { position: absolute; width: 78%; left: 11%; top: 20%; padding: 25px; background: rgba(5,13,25,.83); border: 1px solid rgba(255,255,255,.13); border-radius: 18px; backdrop-filter: blur(12px); }
.window-dots { display: flex; gap: 7px; margin-bottom: 24px; }
.window-dots i { width: 9px; height: 9px; border-radius: 50%; background: var(--primary); opacity: .8; }
.code-line { height: 8px; border-radius: 10px; margin: 13px 0; background: linear-gradient(90deg, var(--accent), rgba(86,168,255,.12)); }
.code-line:nth-child(3) { width: 73%; }.code-line:nth-child(4) { width: 88%; }.code-line:nth-child(5) { width: 55%; }.code-line:nth-child(6) { width: 78%; }
.check-list { list-style: none; margin: 30px 0 36px; }
.check-list li { position: relative; padding: 11px 0 11px 34px; color: #cad7e4; border-bottom: 1px solid var(--border); }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 900; }

.page-hero { padding: 170px 0 90px; background: radial-gradient(circle at 82% 15%, rgba(39,211,194,.14), transparent 26%), linear-gradient(145deg,#07111f,#0c2035); }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { max-width: 850px; font-size: clamp(2.8rem, 5.4vw, 5rem); letter-spacing: -.05em; }
.page-hero p { max-width: 720px; color: var(--muted); font-size: 1.15rem; margin-top: 24px; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; counter-reset: process; }
.process-item { counter-increment: process; padding: 28px; border: 1px solid var(--border); border-radius: 18px; background: rgba(255,255,255,.035); }
.process-item::before { content: "0" counter(process); display: block; color: var(--primary); font-family: "Manrope"; font-weight: 800; margin-bottom: 35px; }
.process-item h3 { margin-bottom: 12px; }.process-item p { color: var(--muted); font-size: .92rem; }
.content-card { padding: 38px; color: var(--text-dark); background: white; border: 1px solid #e1e9f0; border-radius: var(--radius); }
.content-card h3 { margin-bottom: 12px; font-size: 1.25rem; }.content-card p { color: var(--muted-dark); }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 45px; }

.contact-layout { display: grid; grid-template-columns: .85fr 1.15fr; gap: 60px; align-items: start; }
.contact-list { list-style: none; margin-top: 35px; }
.contact-list li { padding: 18px 0; border-bottom: 1px solid var(--border); color: var(--muted); }
.contact-list strong { display: block; color: white; margin-bottom: 4px; }
.contact-list a { color: var(--primary); text-decoration: none; }
.contact-form { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; padding: 38px; color: var(--text-dark); background: white; border-radius: var(--radius); box-shadow: var(--shadow); }
.field { display: grid; gap: 7px; }.field.full { grid-column: 1 / -1; }
.field label { font-size: .85rem; font-weight: 800; }
.field input, .field textarea, .field select { width: 100%; padding: 14px 15px; border: 1px solid #ced9e4; border-radius: 10px; background: #f8fafc; font: inherit; color: var(--text-dark); outline: none; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--primary-dark); box-shadow: 0 0 0 3px rgba(10,163,148,.1); }
.field textarea { min-height: 130px; resize: vertical; }
.form-note { grid-column: 1/-1; color: var(--muted-dark); font-size: .8rem; }

.cta { padding: 80px 0; background: linear-gradient(125deg, #133150, #0b4c54); }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 35px; }
.cta h2 { font-size: clamp(2rem, 4vw, 3.3rem); max-width: 700px; margin: 0; }
.site-footer { padding: 65px 0 28px; background: #040b14; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 70px; padding-bottom: 50px; }
.footer-brand p { max-width: 420px; color: var(--muted); margin-top: 18px; }
.footer-col h3 { font-size: .9rem; text-transform: uppercase; letter-spacing: .12em; color: white; margin-bottom: 18px; }
.footer-col a { display: block; width: fit-content; color: var(--muted); text-decoration: none; margin: 9px 0; }
.footer-col a:hover { color: var(--primary); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 25px; border-top: 1px solid var(--border); color: #71849a; font-size: .82rem; }

@media (max-width: 920px) {
  .menu-toggle { display: block; }
  .nav-links { position: absolute; top: 78px; left: 20px; right: 20px; display: none; flex-direction: column; align-items: stretch; gap: 0; padding: 15px; background: #0c1b2d; border: 1px solid var(--border); border-radius: 16px; box-shadow: var(--shadow); }
  .nav-links.open { display: flex; }
  .nav-links > a { padding: 13px 12px; }
  .nav-links .nav-cta { margin-top: 7px; text-align: center; }
  .services-grid, .values-grid { grid-template-columns: repeat(2,1fr); }
  .split, .contact-layout { grid-template-columns: 1fr; gap: 45px; }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .trust-grid { grid-template-columns: repeat(2,1fr); }
  .stat:nth-child(2) { border-right: 0; }.stat:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .footer-grid { grid-template-columns: 1fr 1fr; }.footer-brand { grid-column: 1/-1; }
}

@media (max-width: 620px) {
  :root { --container: min(100% - 30px, 1160px); }
  .brand img { width: 124px; }
  .hero { min-height: 700px; padding-top: 130px; }
  .hero h1 { font-size: 3.1rem; }
  .section { padding: 78px 0; }
  .section-head { display: block; }.section-head .text-link { display: inline-block; margin-top: 18px; }
  .services-grid, .values-grid, .process-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 250px; }.icon-box { margin-bottom: 30px; }
  .visual-panel { min-height: 390px; }
  .trust-grid { grid-template-columns: 1fr 1fr; }.stat { padding: 20px 18px; }
  .stat strong { font-size: 1.35rem; }
  .contact-form { grid-template-columns: 1fr; padding: 25px; }.field.full { grid-column: auto; }
  .cta-inner { display: block; }.cta .btn { margin-top: 25px; }
  .footer-grid { grid-template-columns: 1fr; gap: 35px; }.footer-brand { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
}

/* Light brand theme */
body { color: #152437; background: #ffffff; }
.site-header { background: rgba(255,255,255,.9); }
.site-header.scrolled { border-color: #e5edf3; box-shadow: 0 8px 28px rgba(18,48,75,.08); }
.nav-links > a { color: #526579; }
.nav-links > a:hover, .nav-links > a.active { color: #087e74; }
.nav-links .nav-cta, .nav-links .nav-cta:hover { color: white; background: #087e74; }
.menu-toggle { color: #152437; }
.hero { color: #152437; background: #f6fbfc; }
.hero::before { background: radial-gradient(circle at 84% 32%, rgba(39,211,194,.17), transparent 23%), radial-gradient(circle at 72% 65%, rgba(86,168,255,.14), transparent 27%), linear-gradient(135deg,#fff,#f2fafb); opacity: 1; }
.hero::after { background: linear-gradient(transparent, #f6fbfc); }
.hero h1 { max-width: 790px; }
.hero-copy { color: #526579; max-width: 610px; }
.btn-secondary { color: #17324a; border-color: #cbd9e4; background: rgba(255,255,255,.78); }
.btn-secondary:hover { color: #087e74; border-color: #087e74; background: white; }
.trust-grid { background: white; border-color: #e1ebf2; box-shadow: 0 20px 55px rgba(22,50,75,.1); }
.stat { border-color: #e1ebf2; }.stat strong { color: #14293d; }.stat span { color: #66788b; }
.section-dark { color: #152437; background: #ffffff; }
.section-dark .lead { color: #607086; }
.section-dark .check-list li { color: #526579; border-color: #e2ebf1; }
.process-item { background: #f6fafc; border-color: #dde8ef; }
.process-item p { color: #607086; }
.page-hero { color: #152437; background: radial-gradient(circle at 82% 15%, rgba(39,211,194,.18), transparent 27%), linear-gradient(145deg,#f8fcfd,#eaf5f7); }
.page-hero p { color: #607086; }
.contact-list li { color: #607086; border-color: #dfe9ef; }
.contact-list strong { color: #152437; }.contact-list a { color: #087e74; }
.contact-form { border: 1px solid #dfe9ef; box-shadow: 0 24px 65px rgba(22,50,75,.11); }
.form-alert { color: #087e74; font-weight: 700; }
.cta { color: #14293d; background: linear-gradient(120deg, #dff8f5, #eaf4ff); }
.site-footer { color: #152437; background: #f6fafc; border-top: 1px solid #e2ebf1; }
.footer-brand p, .footer-col a { color: #607086; }
.footer-col h3 { color: #152437; }
.footer-bottom { color: #71849a; border-color: #dfe9ef; }
.hero-layout { display: grid; grid-template-columns: 1.08fr .92fr; align-items: center; gap: 70px; }
.hero-showcase { position: relative; min-height: 470px; }
.showcase-orbit { position: absolute; border: 1px solid rgba(8,126,116,.18); border-radius: 50%; }
.orbit-one { width: 430px; height: 430px; inset: 20px auto auto 20px; }
.orbit-two { width: 320px; height: 320px; inset: 75px auto auto 75px; border-style: dashed; }
.showcase-card { position: absolute; border: 1px solid rgba(255,255,255,.35); box-shadow: 0 30px 80px rgba(19,71,92,.18); }
.showcase-main { inset: 82px 20px auto 58px; min-height: 295px; padding: 36px; color: white; border-radius: 28px; background: linear-gradient(145deg,#0b8f84,#12689b); transform: rotate(-2deg); }
.showcase-main > span { display: block; font-size: .77rem; letter-spacing: .13em; text-transform: uppercase; opacity: .78; }
.showcase-main strong { display: block; margin-top: 26px; font: 800 2.25rem/1.15 "Manrope"; letter-spacing: -.04em; }
.showcase-bars { display: flex; align-items: end; gap: 10px; height: 70px; margin-top: 24px; }
.showcase-bars i { flex: 1; height: 38%; border-radius: 7px 7px 2px 2px; background: rgba(255,255,255,.28); }
.showcase-bars i:nth-child(2) { height: 60%; }.showcase-bars i:nth-child(3) { height: 78%; }.showcase-bars i:nth-child(4) { height: 100%; background: #6ff1e4; }
.showcase-float { right: -15px; top: 28px; width: 160px; padding: 20px; color: #14293d; border-radius: 18px; background: white; transform: rotate(3deg); }
.showcase-float b { display: block; color: #087e74; font: 800 1.65rem "Manrope"; }.showcase-float span { display: block; margin-top: 2px; color: #687b8d; font-size: .72rem; }
.showcase-pill { position: absolute; left: 6px; bottom: 45px; padding: 12px 18px; border-radius: 999px; color: #075c55; background: #d9f8f4; box-shadow: 0 15px 35px rgba(19,71,92,.13); font-size: .83rem; font-weight: 800; }
.expertise-strip { padding: 50px 0; background: white; border-bottom: 1px solid #e5edf3; }
.expertise-strip p { color: #778899; text-align: center; font-size: .78rem; text-transform: uppercase; letter-spacing: .14em; font-weight: 700; }
.expertise-list { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 22px; margin-top: 26px; }
.expertise-list span { color: #7b8c9c; font: 800 .95rem "Manrope"; letter-spacing: .08em; }
.industries-section { color: #152437; background: #f5f9fc; }
.industry-grid { display: grid; grid-template-columns: repeat(3,1fr); border: 1px solid #dfe9ef; border-radius: 22px; overflow: hidden; background: white; }
.industry-grid article { min-height: 155px; padding: 30px; border-right: 1px solid #dfe9ef; border-bottom: 1px solid #dfe9ef; transition: .25s; }
.industry-grid article:nth-child(3n) { border-right: 0; }.industry-grid article:nth-child(n+4) { border-bottom: 0; }
.industry-grid article:hover { background: #eaf9f7; }
.industry-grid span { color: #0a9a8d; font-size: .75rem; font-weight: 800; }.industry-grid h3 { margin-top: 28px; font-size: 1.08rem; }

@media (max-width: 920px) {
  .nav-links { background: white; border-color: #dfe8ef; }
  .hero-layout { grid-template-columns: 1fr; }.hero-showcase { display: none; }
  .industry-grid { grid-template-columns: repeat(2,1fr); }.industry-grid article, .industry-grid article:nth-child(3n) { border-right: 1px solid #dfe9ef; border-bottom: 1px solid #dfe9ef; }.industry-grid article:nth-child(2n) { border-right: 0; }.industry-grid article:nth-child(n+5) { border-bottom: 0; }
}

@media (max-width: 720px) {
  .hero::before { background: linear-gradient(145deg,#fff,#eef9fa); }
  .expertise-list { justify-content: center; }
  .industry-grid { grid-template-columns: 1fr; }.industry-grid article, .industry-grid article:nth-child(2n), .industry-grid article:nth-child(3n), .industry-grid article:nth-child(n+5) { border-right: 0; border-bottom: 1px solid #dfe9ef; }.industry-grid article:last-child { border-bottom: 0; }
}
