:root {
  --bg: #050b22;
  --bg-alt: #0a1330;
  --card: #0e1a3e;
  --line: #1e2d5e;
  --text: #e8eefb;
  --muted: #9fb0d4;
  --cyan: #19b6f0; /* NanoSoft sky blue */
  --violet: #1d5fd6; /* NanoSoft royal blue */
  --grad: linear-gradient(135deg, var(--cyan), var(--violet));
  --radius: 16px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  font-family: "Inter", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .logo { font-family: "Space Grotesk", sans-serif; line-height: 1.15; }
a { color: inherit; text-decoration: none; }
.container { width: min(1140px, 100% - 32px); margin-inline: auto; }
.narrow { width: min(760px, 100% - 32px); }

/* Buttons */
.btn {
  display: inline-block; padding: 13px 26px; border-radius: 999px;
  background: var(--grad); color: #fff; font-weight: 600; border: 0; cursor: pointer;
  font: 600 15px "Inter", sans-serif; transition: transform .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px -8px rgba(29, 95, 214, .6); }
.btn-sm { padding: 9px 18px; font-size: 14px; }
.btn-ghost { background: transparent; border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--cyan); box-shadow: none; }

/* Header */
.header {
  position: fixed; inset: 0 0 auto; z-index: 50;
  background: rgba(5, 11, 34, .82); backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: border-color .3s;
}
.header.scrolled { border-color: var(--line); }
.nav { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.logo { display: flex; align-items: center; }
.logo img { height: 48px; width: auto; display: block; }
.menu { display: flex; align-items: center; gap: 28px; font-size: 15px; }
.menu a:not(.btn) { color: var(--muted); transition: color .2s; }
.menu a:not(.btn):hover { color: var(--text); }
.burger { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: .3s; }

/* Hero */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; overflow: hidden; padding: 110px 0 70px; }
#net { position: absolute; inset: 0; width: 100%; height: 100%; opacity: .55; }
.hero::after {
  content: ""; position: absolute; width: 700px; height: 700px; right: -200px; top: -150px;
  background: radial-gradient(circle, rgba(29, 95, 214,.25), transparent 65%); pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero-mark {
  position: absolute; z-index: 0; right: max(2vw, calc(50% - 600px)); top: 50%;
  width: min(36vw, 460px); height: auto; transform: translateY(-50%);
  opacity: .9; filter: drop-shadow(0 30px 60px rgba(25, 182, 240, .25));
  animation: heroFloat 7s ease-in-out infinite; pointer-events: none;
}
@keyframes heroFloat { 50% { transform: translateY(calc(-50% - 14px)); } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; color: var(--cyan);
  font-size: 13px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 12px var(--cyan); animation: pulse 2s infinite; }
@keyframes pulse { 50% { opacity: .35; } }
h1 { font-size: clamp(38px, 6.5vw, 72px); margin-bottom: 22px; letter-spacing: -.02em; }
.grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lead { font-size: clamp(17px, 2vw, 20px); color: var(--muted); max-width: 640px; margin-bottom: 34px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.hero-tags { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li { font-size: 13px; color: var(--muted); border: 1px solid var(--line); padding: 6px 14px; border-radius: 999px; background: rgba(14,26,62,.6); }

/* Sections */
.section { padding: 100px 0; }
.alt { background: var(--bg-alt); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 56px; }
h2 { font-size: clamp(28px, 4vw, 42px); margin-bottom: 16px; letter-spacing: -.01em; }
.section p { color: var(--muted); }
.section-head p { font-size: 17px; }

.grid.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 22px; }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: transform .25s, border-color .25s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(25, 182, 240, .5); }
.icon {
  width: 52px; height: 52px; display: grid; place-items: center; font-size: 24px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(25, 182, 240,.15), rgba(29, 95, 214,.15)); margin-bottom: 18px;
}
.card h3 { font-size: 20px; margin-bottom: 10px; }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split > div > p { margin-bottom: 26px; font-size: 17px; }

.industries { list-style: none; display: grid; gap: 12px; }
.industries li {
  background: var(--card); border: 1px solid var(--line); border-left: 3px solid var(--cyan);
  border-radius: 12px; padding: 16px 20px; display: grid; gap: 2px;
}
.industries li:nth-child(even) { border-left-color: var(--violet); }
.industries span { color: var(--muted); font-size: 14px; }

.steps { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; counter-reset: s; }
.steps li { position: relative; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line); }
.steps span { font: 700 40px "Space Grotesk", sans-serif; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 8px; }
.steps h3 { font-size: 19px; margin-bottom: 8px; }

.about-visual { display: grid; place-items: center; aspect-ratio: 1; max-width: 480px; margin: auto; width: 100%; position: relative; }
.about-visual::before { content: ""; position: absolute; inset: 8%; border-radius: 50%; background: radial-gradient(circle, rgba(25, 182, 240,.25), transparent 70%); }
.about-visual img { width: 100%; height: auto; position: relative; animation: float 6s ease-in-out infinite; filter: drop-shadow(0 20px 40px rgba(29, 95, 214,.4)); }
@keyframes float { 50% { transform: translateY(-14px) rotate(3deg); } }
.checks { list-style: none; display: grid; gap: 12px; }
.checks li { padding-left: 32px; position: relative; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%; background: var(--grad); display: grid; place-items: center; font-size: 12px; font-weight: 700; }

details { border: 1px solid var(--line); border-radius: 12px; background: var(--card); margin-bottom: 12px; }
summary { cursor: pointer; padding: 18px 22px; font-weight: 600; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
summary::-webkit-details-marker { display: none; }
summary::after { content: "+"; color: var(--cyan); font-size: 22px; line-height: 1; transition: transform .2s; }
details[open] summary::after { transform: rotate(45deg); }
details p { padding: 0 22px 20px; }

.contact { background: radial-gradient(ellipse at top left, rgba(25, 182, 240,.08), transparent 50%), var(--bg-alt); }
.contact-list { list-style: none; display: grid; gap: 10px; }
.contact-list a { color: var(--text); border-bottom: 1px dashed var(--line); }
.contact-list a:hover { color: var(--cyan); }
.form { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px; display: grid; gap: 16px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form label { display: grid; gap: 6px; font-size: 14px; color: var(--muted); font-weight: 500; }
.form input, .form select, .form textarea {
  font: inherit; color: var(--text); background: var(--bg); border: 1px solid var(--line);
  border-radius: 10px; padding: 12px 14px; outline: none; transition: border-color .2s; width: 100%;
}
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--cyan); }
.form .btn { justify-self: start; }
.form-note { font-size: 14px; min-height: 1em; }

.footer { border-top: 1px solid var(--line); padding: 40px 0; background: #030818; }
.foot { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; font-size: 14px; color: var(--muted); }
.foot-brand img { width: 300px; max-width: 100%; height: auto; display: block; }
.foot-info { display: grid; gap: 6px; text-align: right; }
.foot-info a:hover { color: var(--cyan); }

/* NanoSoft ERP product section */
.product {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(25, 182, 240,.10), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(29, 95, 214,.10), transparent 45%),
    var(--bg-alt);
  border-block: 1px solid var(--line);
}
.product-intro { display: grid; grid-template-columns: 5fr 6fr; gap: 56px; align-items: center; margin-bottom: 90px; }
.product-intro > div > p { font-size: 17px; margin-bottom: 22px; }
.product-points { list-style: none; display: grid; gap: 10px; margin-bottom: 30px; }
.product-points li { padding-left: 28px; position: relative; color: var(--text); font-size: 15px; }
.product-points li::before { content: ""; position: absolute; left: 4px; top: 8px; width: 10px; height: 10px; border-radius: 3px; background: var(--grad); }
.product .hero-cta { margin-bottom: 0; }

.shot {
  border-radius: 14px; overflow: hidden; background: #fff; border: 1px solid var(--line);
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.6), 0 0 0 1px rgba(255,255,255,.04);
}
.product-intro .shot { transform: perspective(1400px) rotateY(-6deg); transition: transform .5s; }
.product-intro .shot:hover { transform: none; }
.shot img { display: block; width: 100%; height: auto; }
.shot-bar { display: flex; align-items: center; gap: 6px; padding: 10px 14px; background: #e9edf3; border-bottom: 1px solid #d5dbe5; }
.shot-bar i { width: 10px; height: 10px; border-radius: 50%; background: #f87171; }
.shot-bar i:nth-child(2) { background: #fbbf24; }
.shot-bar i:nth-child(3) { background: #34d399; }
.shot-bar span { margin-left: 10px; font-size: 12px; color: #475569; font-weight: 500; }

.product-head { margin-bottom: 36px; }
.product-head h3 { font-size: clamp(22px, 3vw, 30px); }
.feat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; margin-bottom: 90px; }
.feat { background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 22px; transition: border-color .25s, transform .25s; }
.feat:hover { border-color: rgba(25, 182, 240,.5); transform: translateY(-3px); }
.feat .icon { width: 42px; height: 42px; font-size: 20px; border-radius: 11px; margin-bottom: 14px; }
.feat h4 { font: 600 17px "Space Grotesk", sans-serif; margin-bottom: 6px; }
.feat p { font-size: 14px; }

.tour-tabs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin-bottom: 24px; }
.tour-tabs button {
  font: 500 14px "Inter", sans-serif; color: var(--muted); background: var(--card);
  border: 1px solid var(--line); border-radius: 999px; padding: 8px 16px; cursor: pointer; transition: .2s;
}
.tour-tabs button:hover { color: var(--text); border-color: var(--cyan); }
.tour-tabs button[aria-selected="true"] { color: #fff; background: var(--grad); border-color: transparent; }
.tour-shot { max-width: 980px; margin: 0 auto; transition: max-width .3s; }
.tour-shot.mobile { max-width: 380px; }
.tour-zoom { display: block; width: 100%; border: 0; padding: 0; background: #fff; cursor: zoom-in; }
.tour-zoom img { transition: opacity .25s; }
.tour-zoom img.fade { opacity: 0; }
.tour-shot figcaption { background: var(--card); color: var(--text); text-align: center; padding: 14px; font-weight: 500; border-top: 1px solid var(--line); }
.disclaimer { text-align: center; font-size: 13px; margin-top: 16px; font-style: italic; }

.lightbox { border: 0; padding: 0; background: transparent; max-width: 96vw; max-height: 94vh; margin: auto; }
.lightbox::backdrop { background: rgba(2,6,20,.9); backdrop-filter: blur(4px); }
.lightbox img { display: block; max-width: 96vw; max-height: 94vh; border-radius: 10px; }
.lb-close {
  position: fixed; top: 14px; right: 18px; width: 44px; height: 44px; border-radius: 50%;
  border: 1px solid var(--line); background: var(--card); color: var(--text); font-size: 26px; cursor: pointer;
}

/* Products overview */
.prod-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.prod-card {
  display: flex; flex-direction: column; background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px; transition: transform .25s, border-color .25s, box-shadow .25s;
}
.prod-card:hover { transform: translateY(-5px); border-color: rgba(25, 182, 240, .55); box-shadow: 0 20px 40px -20px rgba(25, 182, 240, .35); }
.prod-card img { height: 64px; width: auto; align-self: flex-start; margin-bottom: 18px; object-fit: contain; }
.prod-card h3 { font-size: 22px; margin-bottom: 4px; }
.prod-for { color: var(--cyan) !important; font-size: 14px; font-weight: 600; margin-bottom: 10px; }
.prod-card p { font-size: 15px; }
.prod-link { margin-top: auto; padding-top: 18px; font-weight: 600; font-size: 15px; color: var(--text); }
.prod-card:hover .prod-link { color: var(--cyan); }

/* Per-product accent glows */
.product-synex {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(132, 194, 74, .10), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(26, 110, 150, .14), transparent 45%),
    var(--bg);
}
.product-asms {
  background:
    radial-gradient(ellipse at 85% 10%, rgba(99, 102, 241, .14), transparent 45%),
    radial-gradient(ellipse at 10% 90%, rgba(251, 191, 36, .06), transparent 45%),
    var(--bg-alt);
}

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .5s ease, transform .5s ease; }
.reveal.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .about-visual img, .hero-mark, .dot { animation: none; }
}

/* Responsive */
@media (max-width: 960px) {
  .steps { grid-template-columns: 1fr 1fr; }
  .split, .product-intro { grid-template-columns: 1fr; gap: 40px; }
  .prod-cards { grid-template-columns: 1fr; max-width: 560px; margin: 0 auto; }
  .product-intro .shot { transform: none; }
  .about-visual { max-width: 380px; aspect-ratio: auto; padding: 20px 0; }
  .hero-mark { opacity: .18; width: 70vw; right: -12vw; }
}
@media (max-width: 820px) {
  .burger { display: block; }
  .menu {
    position: fixed; top: 68px; left: 0; right: 0; flex-direction: column; gap: 0;
    background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 20px;
    transform: translateY(-120%); transition: transform .3s; z-index: -1;
  }
  .menu.open { transform: none; }
  .menu a:not(.btn) { padding: 14px 4px; width: 100%; border-bottom: 1px solid var(--line); }
  .menu .btn { margin-top: 16px; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
}
@media (max-width: 560px) {
  .section { padding: 72px 0; }
  .steps, .form .row { grid-template-columns: 1fr; }
  .grid.cards { grid-template-columns: 1fr; }
  .tour-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; scrollbar-width: none; }
  .tour-tabs button { flex: none; }
  .product-intro, .feat-grid { margin-bottom: 64px; }
  .foot { justify-content: center; text-align: center; }
  .foot-info { text-align: center; }
  .logo img { height: 40px; }
}
