/* IssTech — Shared Stylesheet */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;700;900&family=Inter:wght@300;400;500;600&display=swap');

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #080c08;
  --surface:   #0f160f;
  --green:     #4dc840;   /* muted from #39ff14 */
  --green-lo:  rgba(77, 200, 64, 0.11);
  --green-mid: rgba(77, 200, 64, 0.20);
  --border:    rgba(77, 200, 64, 0.24);
  --text:      #edf2ed;
  --muted:     #7a957a;
  --r:         8px;
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg); color: var(--text);
  overflow-x: hidden;
}

.grid-bg {
  background-image:
    linear-gradient(rgba(77, 200, 64, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(77, 200, 64, 0.045) 1px, transparent 1px);
  background-size: 64px 64px;
}

/* ─── NAV ──────────────────────────────────────────── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 3rem; height: 70px;
  background: rgba(8, 12, 8, 0.94);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(77, 200, 64, 0.08);
}

.nav-logo { text-decoration: none; display: flex; align-items: center; }
.nav-logo img { height: 38px; width: auto; }

.nav-links {
  display: flex; gap: 2.2rem; list-style: none; align-items: center;
  position: absolute; left: 50%; transform: translateX(-50%);
}
.nav-links > li { position: relative; }
.nav-links a {
  color: var(--text); text-decoration: none;
  font-size: 0.88rem; display: flex; align-items: center; gap: 0.3rem;
  transition: color 0.18s; white-space: nowrap;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { text-decoration: underline; text-underline-offset: 3px; }
.arr { font-size: 0.6rem; opacity: 0.7; }

.nav-cta {
  color: var(--green); font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.07em; text-decoration: none; transition: opacity 0.18s;
}
.nav-cta:hover { opacity: 0.75; }

.nav-right { display: flex; align-items: center; gap: 1.4rem; }
.nav-social {
  color: var(--muted); transition: color 0.18s;
  display: flex; align-items: center; line-height: 1;
}
.nav-social:hover { color: var(--green); }
.nav-social svg { width: 18px; height: 18px; fill: currentColor; display: block; }

/* Dropdown */
.dd-menu {
  visibility: hidden; opacity: 0;
  position: absolute; top: calc(100% + 8px); left: 50%;
  transform: translateX(-50%);
  background: rgba(10, 16, 10, 0.98);
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 0.5rem 0; min-width: 210px; z-index: 300;
  backdrop-filter: blur(14px);
  transition: opacity 0.15s, visibility 0s linear 0.25s;
}
/* Invisible bridge fills the 8px gap so hover isn't lost when moving to menu */
.dd-menu::before {
  content: ''; position: absolute;
  top: -8px; left: 0; right: 0; height: 8px;
}
.nav-links li:hover .dd-menu {
  visibility: visible; opacity: 1;
  transition: opacity 0.15s, visibility 0s linear 0s;
}
.dd-menu a {
  display: block; padding: 0.65rem 1.2rem;
  color: var(--text); text-decoration: none; font-size: 0.85rem;
  white-space: nowrap; transition: background 0.15s, color 0.15s;
}
.dd-menu a:hover { background: var(--green-lo); color: var(--green); }

/* ─── BUTTONS ──────────────────────────────────────── */
.btn-solid {
  display: inline-block; background: var(--green); color: #000;
  padding: 0.9rem 1.8rem; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-decoration: none; border: none;
  cursor: pointer; border-radius: 8px;
  box-shadow: 0 0 6px rgba(77,200,64,0.7), 0 0 14px rgba(77,200,64,0.25);
  transition: opacity 0.18s, box-shadow 0.22s;
}
.btn-solid:hover {
  opacity: 0.9;
  box-shadow: 0 0 10px rgba(77,200,64,0.85), 0 0 22px rgba(77,200,64,0.4);
}

.btn-ghost {
  display: inline-block; background: transparent; color: var(--green);
  padding: 0.9rem 1.8rem; font-size: 0.8rem; font-weight: 700;
  letter-spacing: 0.1em; text-decoration: none;
  border: 1.5px solid var(--green); cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(77,200,64,0.55), 0 0 14px rgba(77,200,64,0.18);
  transition: background 0.18s, box-shadow 0.22s;
}
.btn-ghost:hover {
  background: var(--green-lo);
  box-shadow: 0 0 10px rgba(77,200,64,0.75), 0 0 22px rgba(77,200,64,0.32);
}

/* Subtle neon glow on all <button> elements, excluding accordion/faq toggles */
button:not(.acc-btn):not(.faq-btn) {
  border-radius: 8px;
  box-shadow: 0 0 6px rgba(77,200,64,0.7), 0 0 14px rgba(77,200,64,0.25);
  transition: box-shadow 0.22s, opacity 0.18s, background 0.18s, color 0.18s;
}
button:not(.acc-btn):not(.faq-btn):hover {
  box-shadow: 0 0 10px rgba(77,200,64,0.85), 0 0 22px rgba(77,200,64,0.4);
}

/* ─── IMAGE FRAMES ─────────────────────────────────── */
.img-frame {
  border-radius: var(--r); border: 1.5px solid var(--border);
  overflow: hidden; background: var(--surface);
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; display: block; }

.img-slot {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; gap: 0.6rem;
  background: var(--surface); border-radius: var(--r);
  border: 1.5px dashed var(--border);
  min-height: 280px; color: var(--muted); font-size: 0.8rem;
  letter-spacing: 0.04em;
}
.img-slot svg { opacity: 0.3; }

/* ─── SECTION COMMON ───────────────────────────────── */
.wrap { max-width: 1180px; margin: 0 auto; }

.section-label {
  color: var(--green); font-size: 0.8rem; font-weight: 600;
  letter-spacing: 0.07em; margin-bottom: 0.9rem;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(1.9rem, 3vw, 2.9rem); font-weight: 700;
  line-height: 1.15; text-wrap: balance; margin-bottom: 1.4rem;
}

.g { color: var(--green); }

/* ─── ACCORDION ────────────────────────────────────── */
.acc-box { border: 1.5px solid var(--green); border-radius: var(--r); padding: 0.5rem 2rem 0; }
.acc-item { border-top: 1px solid rgba(255,255,255,0.1); }
.acc-item:first-child { border-top: none; }
.acc-btn {
  width: 100%; background: none; border: none; color: var(--text);
  text-align: left; display: flex; justify-content: space-between;
  align-items: center; padding: 1.4rem 0;
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(0.82rem, 1.3vw, 1.05rem);
  font-weight: 400; cursor: pointer; transition: color 0.18s; gap: 1rem;
}
.acc-btn:hover { color: var(--green); }
.acc-btn.open { color: var(--text); }
.acc-icon { font-size: 1rem; flex-shrink: 0; transition: transform 0.25s; }
.acc-btn.open .acc-icon { transform: rotate(180deg); color: var(--green); }
.acc-body {
  display: none; padding: 0 0 1.8rem;
  color: var(--muted); font-size: 0.92rem; line-height: 1.75; max-width: 860px;
}
.acc-body.active { display: block; }
.acc-body ul, .acc-body ol { margin: 0.8rem 0 0 1.2rem; }
.acc-body li { margin-bottom: 0.55rem; }
.acc-body strong { color: var(--text); }

/* ─── FAQ ──────────────────────────────────────────── */
.faq-item { border-top: 1px solid rgba(255,255,255,0.1); }
.faq-item:last-child { border-bottom: 1px solid rgba(255,255,255,0.1); }
.faq-btn {
  width: 100%; background: none; border: none; color: var(--text);
  text-align: left; display: flex; justify-content: space-between;
  align-items: flex-start; gap: 1.5rem; padding: 1.3rem 0;
  font-size: 0.94rem; font-family: 'Inter', sans-serif;
  cursor: pointer; line-height: 1.5; transition: color 0.18s;
}
.faq-btn:hover { color: var(--green); }
.fq-icon { flex-shrink: 0; font-size: 1.1rem; margin-top: 0.05rem; }
.faq-ans {
  display: none; padding: 0 0 1.5rem;
  color: var(--muted); font-size: 0.9rem; line-height: 1.75;
}
.faq-ans.active { display: block; }
.faq-ans ul, .faq-ans ol { margin: 0.8rem 0 0 1.2rem; }
.faq-ans li { margin-bottom: 0.55rem; }
.faq-ans strong { color: var(--text); }

/* ─── TESTIMONIALS ─────────────────────────────────── */
.testi-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
.testi-card {
  border: 1px solid var(--border); border-radius: var(--r);
  padding: 2rem; background: var(--surface);
}
.testi-card blockquote {
  font-style: italic; color: var(--muted); line-height: 1.7; margin-bottom: 1rem;
}
.testi-card cite {
  color: var(--text); font-size: 0.85rem; font-style: normal; font-weight: 600;
}
.testi-card cite span { color: var(--muted); font-weight: 400; }

/* ─── NEWSLETTER ───────────────────────────────────── */
.newsletter { padding: 6rem 3rem; }
.nl-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 5rem; align-items: start; max-width: 1180px; margin: 0 auto;
}
.nl-left h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2rem, 3vw, 3rem); font-weight: 700;
  line-height: 1.15; text-wrap: balance; margin-bottom: 1.4rem;
}
.nl-left p { color: var(--muted); line-height: 1.75; font-size: 0.95rem; }
.nl-form { display: flex; flex-direction: column; gap: 1rem; }
.fl { color: var(--green); font-size: 0.82rem; letter-spacing: 0.03em; margin-bottom: 0.45rem; display: block; }
.fl span { color: var(--muted); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
input[type=text], input[type=tel], input[type=email], textarea, select {
  width: 100%; background: transparent; color: var(--text);
  border: 1.5px solid var(--green); padding: 0.75rem 0.95rem;
  font-family: 'Inter', sans-serif; font-size: 0.9rem;
  outline: none; transition: background 0.18s; border-radius: var(--r);
}
input:focus, textarea:focus, select:focus { background: var(--green-lo); }
textarea { resize: vertical; min-height: 120px; }
select { appearance: none; cursor: pointer; }

/* ─── FOOTER ───────────────────────────────────────── */
footer {
  padding: 4rem 3rem 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.07);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 3rem; max-width: 1180px; margin: 0 auto 2.5rem;
}
.f-brand-logo img { height: 38px; width: auto; margin-bottom: 0.9rem; display: block; }
.f-brand p { color: var(--muted); font-size: 0.85rem; line-height: 1.6; }
.f-socials { display: flex; gap: 1rem; margin-top: 1rem; }
.f-socials a {
  color: var(--muted); font-size: 0.82rem; text-decoration: none;
  border: 1px solid rgba(255,255,255,0.12); border-radius: var(--r);
  padding: 0.35rem 0.8rem; transition: border-color 0.18s, color 0.18s;
}
.f-socials a:hover { color: var(--green); border-color: var(--green); }
.f-col h4 { font-size: 0.88rem; font-weight: 600; margin-bottom: 1rem; }
.f-col a, .f-col p {
  display: block; color: var(--muted); font-size: 0.85rem;
  line-height: 1.9; text-decoration: none;
}
.f-col a.gl { color: var(--green); }
.f-col a.gl:hover { text-decoration: underline; }
.footer-bottom {
  display: flex; justify-content: flex-end;
  max-width: 1180px; margin: 0 auto;
  padding-top: 1.8rem; border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-bottom a { color: var(--muted); font-size: 0.8rem; text-decoration: none; }
.footer-bottom a:hover { color: var(--text); }

/* ─── RESPONSIVE ───────────────────────────────────── */
@media (max-width: 960px) {
  nav { padding: 0 1.5rem; }
  .nav-links { display: none; }
  .nav-social { display: none; }
  .nl-inner { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .testi-grid { grid-template-columns: 1fr; }
  .row2 { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .footer-grid { grid-template-columns: 1fr; }
}

/* ─── SHARED JS UTILS ──────────────────────────────── */
