/* ===== IoTelliGen Limited — Shared Styles ===== */
:root {
  --bg:        #061226;
  --bg2:       #0A1B36;
  --bg3:       #102544;
  --blue:      #0096DC;
  --blue-d:    #1E4696;
  --navy:      #0A2878;
  --orange:    #F09632;
  --white:     #EAF2FB;
  --muted:     #8AA6C8;
  --border:    rgba(0,150,220,0.16);
  --glow:      0 0 32px rgba(0,150,220,0.25);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg); color: var(--white);
  font-family: 'Space Grotesk', sans-serif;
  overflow-x: hidden; line-height: 1.6;
}
body::before {
  content: ''; position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(0,150,220,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,150,220,0.025) 1px, transparent 1px);
  background-size: 64px 64px; pointer-events: none; z-index: 0;
}
a { color: inherit; }
section { position: relative; z-index: 1; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* NAV */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 4rem; background: rgba(6,18,38,0.85);
  backdrop-filter: blur(16px); border-bottom: 1px solid var(--border);
}
.logo img { height: 38px; display: block; }
nav ul { list-style: none; display: flex; gap: 2.4rem; align-items: center; }
nav ul a { color: var(--muted); text-decoration: none; font-size: 0.9rem; font-weight: 500; transition: color 0.2s; }
nav ul a:hover, nav ul a.active { color: var(--blue); }
.nav-cta { background: var(--orange); color: #1a1205 !important; padding: 0.55rem 1.4rem; border-radius: 6px; font-weight: 600 !important; transition: background 0.2s, box-shadow 0.2s !important; }
.nav-cta:hover { background: #ffa847 !important; box-shadow: 0 0 24px rgba(240,150,50,0.3); }
.menu-btn { display: none; background: none; border: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* BUTTONS */
.btn-primary { background: var(--blue); color: #03101f; padding: 0.85rem 2rem; border-radius: 8px; font-weight: 600; font-size: 0.95rem; text-decoration: none; border: none; cursor: pointer; transition: background 0.2s, box-shadow 0.2s; display: inline-block; }
.btn-primary:hover { background: #1aa9ee; box-shadow: var(--glow); }
.btn-ghost { background: transparent; border: 1px solid var(--border); color: var(--white); padding: 0.85rem 2rem; border-radius: 8px; font-weight: 500; font-size: 0.95rem; text-decoration: none; cursor: pointer; transition: border-color 0.2s, color 0.2s; display: inline-block; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

/* SECTION HEADERS */
.eyebrow { font-size: 0.75rem; font-family: 'JetBrains Mono', monospace; color: var(--orange); text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 0.8rem; }
h1 { font-size: clamp(2.3rem, 4.5vw, 3.8rem); font-weight: 700; line-height: 1.1; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
h2 { font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; margin-bottom: 1rem; }
.section-desc { color: var(--muted); max-width: 560px; font-size: 1rem; line-height: 1.7; }
.accent-b { color: var(--blue); } .accent-o { color: var(--orange); }

/* FOOTER */
footer { background: var(--bg); border-top: 1px solid var(--border); padding: 4rem 0 2rem; position: relative; z-index: 1; }
.footer-grid { display: grid; grid-template-columns: 2fr 1.6fr 1fr 1.2fr; gap: 3rem; margin-bottom: 3rem; }
.footer-brand img { height: 36px; margin-bottom: 1rem; }
.footer-brand p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; max-width: 280px; }
.footer-col h4 { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--orange); margin-bottom: 1.2rem; font-family: 'JetBrains Mono', monospace; }
.footer-col ul { list-style: none; }
.footer-col.products ul { display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem; }
.footer-col ul li { margin-bottom: 0.7rem; }
.footer-col ul a { color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color 0.2s; }
.footer-col ul a:hover { color: var(--blue); }
.footer-bottom { border-top: 1px solid var(--border); padding-top: 1.5rem; display: flex; justify-content: space-between; align-items: center; color: var(--muted); font-size: 0.82rem; }

/* REVEAL */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } .flow-dot, .node-pulse, .hero-eyebrow::before { animation: none !important; } }

/* CONTACT ITEMS */
.contact-items { display: flex; gap: 2rem; justify-content: center; flex-wrap: wrap; margin-top: 2.5rem; }
.contact-item { display: flex; align-items: center; gap: 0.7rem; font-size: 0.88rem; color: var(--muted); }
.ci-icon { width: 34px; height: 34px; background: rgba(0,150,220,0.08); border: 1px solid var(--border); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0; }

/* MOBILE NAV */
@media (max-width: 900px) {
  nav { padding: 1rem 1.5rem; }
  nav ul { position: fixed; top: 64px; left: 0; right: 0; flex-direction: column; background: var(--bg2); padding: 1.5rem; gap: 1.2rem; border-bottom: 1px solid var(--border); transform: translateY(-130%); transition: transform 0.3s; }
  nav ul.open { transform: translateY(0); }
  .menu-btn { display: block; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .container { padding: 0 1.5rem; }
}

/* ===== PRODUCT PAGE STYLES ===== */
.prod-hero { padding: 9rem 0 4rem; position: relative; overflow: hidden; }
.prod-hero::before { content: ''; position: absolute; width: 600px; height: 600px; background: radial-gradient(circle, rgba(0,150,220,0.1) 0%, transparent 70%); top: -150px; right: -100px; pointer-events: none; }
.prod-hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.prod-hero-img { border-radius: 16px; overflow: hidden; border: 1px solid var(--border); box-shadow: var(--glow); }
.prod-hero-img img { width: 100%; display: block; }
.breadcrumb { font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; color: var(--muted); margin-bottom: 1.5rem; }
.breadcrumb a { color: var(--blue); text-decoration: none; }
.prod-hero h1 .x { color: var(--orange); }
.prod-tagline { color: var(--blue); font-size: 1.1rem; font-weight: 500; margin-bottom: 1.5rem; }
.prod-hero p.lead { color: var(--muted); font-size: 1.05rem; line-height: 1.8; margin-bottom: 2rem; }

.prod-section { padding: 5rem 0; }
.prod-section.alt { background: var(--bg2); }
.prod-section h2 { margin-bottom: 0.8rem; }

/* problem/solution */
.ps-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; margin-top: 2.5rem; }
.ps-card { border-radius: 16px; padding: 2.5rem; border: 1px solid var(--border); }
.ps-card.problem { background: rgba(240,150,50,0.05); }
.ps-card.solution { background: rgba(0,150,220,0.05); }
.ps-card h3 { font-size: 1.2rem; margin-bottom: 1.2rem; }
.ps-card.problem h3 { color: var(--orange); }
.ps-card.solution h3 { color: var(--blue); }
.ps-list { list-style: none; }
.ps-list li { padding: 0.6rem 0; display: flex; gap: 0.8rem; align-items: flex-start; color: var(--muted); font-size: 0.92rem; line-height: 1.6; border-bottom: 1px solid rgba(255,255,255,0.04); }
.ps-list li:last-child { border-bottom: none; }
.ps-list li strong { color: var(--white); font-weight: 600; }
.ps-list li .mk { flex-shrink: 0; font-weight: 700; }
.ps-card.problem .mk { color: var(--orange); }
.ps-card.solution .mk { color: var(--blue); }

/* how it works */
.how-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem; margin-top: 3rem; position: relative; }
.how-step { background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; text-align: center; }
.how-icon { width: 56px; height: 56px; margin: 0 auto 1.2rem; background: rgba(0,150,220,0.08); border: 1px solid var(--border); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--blue); }
.how-step h3 { font-size: 1rem; margin-bottom: 0.5rem; }
.how-step p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }
.how-arrow { color: var(--orange); font-size: 1.5rem; }

/* parameters grid */
.param-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0.8rem; margin-top: 2.5rem; }
.param-cell { background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 1rem 0.8rem; text-align: center; font-size: 0.85rem; color: var(--white); font-weight: 500; transition: border-color 0.3s, transform 0.3s; }
.param-cell:hover { border-color: var(--blue); transform: translateY(-2px); }
.param-cell span { display: block; font-size: 0.7rem; color: var(--muted); font-family: 'JetBrains Mono', monospace; margin-top: 0.3rem; }

/* benefits / features */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-top: 3rem; }
.feat-card { background: var(--bg3); border: 1px solid var(--border); border-radius: 14px; padding: 2rem; transition: border-color 0.3s; }
.feat-card:hover { border-color: rgba(0,150,220,0.4); }
.feat-icon { width: 46px; height: 46px; background: rgba(240,150,50,0.1); border: 1px solid rgba(240,150,50,0.25); border-radius: 12px; display: flex; align-items: center; justify-content: center; color: var(--orange); margin-bottom: 1.2rem; }
.feat-card h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }
.feat-card p { color: var(--muted); font-size: 0.88rem; line-height: 1.7; }

/* benefit chips */
.benefit-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-top: 2.5rem; }
.benefit-item { display: flex; gap: 1rem; align-items: center; background: var(--bg3); border: 1px solid var(--border); border-radius: 10px; padding: 1.2rem 1.5rem; }
.benefit-check { width: 28px; height: 28px; flex-shrink: 0; background: rgba(0,150,220,0.12); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--blue); }
.benefit-item span { font-size: 0.92rem; color: var(--white); }

/* image strip */
.img-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin-top: 3rem; }
.img-strip img { width: 100%; height: 220px; object-fit: cover; border-radius: 12px; border: 1px solid var(--border); }

/* prod CTA */
.prod-cta { padding: 6rem 0; text-align: center; background: linear-gradient(135deg, var(--bg3), var(--bg)); border-top: 1px solid var(--border); }
.prod-cta h2 { margin-bottom: 1rem; }
.prod-cta p { color: var(--muted); max-width: 480px; margin: 0 auto 2rem; }

/* notice banner (placeholder content) */
.notice { background: rgba(240,150,50,0.08); border: 1px dashed rgba(240,150,50,0.4); border-radius: 10px; padding: 1rem 1.5rem; margin-top: 2rem; color: var(--orange); font-size: 0.85rem; }

@media (max-width: 900px) {
  .prod-hero-grid { grid-template-columns: 1fr; gap: 2rem; }
  .ps-grid, .benefit-list { grid-template-columns: 1fr; }
  .how-grid { grid-template-columns: 1fr 1fr; }
  .param-grid { grid-template-columns: repeat(3, 1fr); }
  .feat-grid, .img-strip { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .how-grid, .param-grid { grid-template-columns: 1fr 1fr; }
}
