/* Mahanet skin — makes this product page match the main mahanetco.ir theme (mahanet-3d):
   navy + teal + orange, pill buttons, navy header with the Mahanet logo, animated network mesh in the hero.
   Loaded after style.css / extra.css; shared by mahanvoip and mahancrm. */
:root {
  --accent: #0ea5ab;
  --accent-2: #19c3c8;
  --accent-soft: #e3f6f7;
  --navy: #0d2b3e;
  --navy-2: #081d2b;
  --bg: #f6fafb;
  --surface-2: #eef5f7;
  --line: #e3edf1;
  --ink: #0f1e2a;
  --ink-2: #44566a;
  --ink-3: #6f8190;
  --orange: #f7821b;
  --radius: 22px;
  --shadow-lg: 0 30px 60px -25px rgb(13 43 62 / .38), 0 8px 24px rgb(13 43 62 / .1);
  --header-bg: rgb(13 43 62 / .9);
  --mn-teal: #19c3c8; --mn-orange: #f7821b; --mn-orange-2: #e56f08;
}
:root[data-theme="dark"] {
  --accent: #19c3c8;
  --accent-2: #19c3c8;
  --accent-soft: #123a45;
  --navy: #0d2b3e;
  --navy-2: #06141e;
  --bg: #08151f;
  --surface: #0e2130;
  --surface-2: #132a3b;
  --line: #1d3a4d;
  --ink: #e8f3f6;
  --ink-2: #a9bfca;
  --ink-3: #7f97a4;
  --header-bg: rgb(8 21 31 / .9);
}

/* buttons: pill shape, orange main action, teal outline — like the main site */
.btn { border-radius: 999px; font-weight: 700; border-width: 2px; }
.btn-sm { border-radius: 999px; }
.btn-primary { background: linear-gradient(135deg, var(--mn-orange), var(--mn-orange-2)); box-shadow: 0 12px 25px -10px rgb(247 130 27 / .8); }
.btn-primary:hover { box-shadow: 0 18px 30px -10px rgb(247 130 27 / .9); }
.btn-ghost:hover { border-color: var(--mn-teal); color: var(--mn-teal); }
.btn-outline { border-color: var(--mn-teal); color: var(--accent); }
.btn-outline:hover { background: var(--mn-teal); border-color: var(--mn-teal); color: #fff; }
.cta-box .btn-primary { background: linear-gradient(135deg, var(--mn-orange), var(--mn-orange-2)); color: #fff; }

/* header: navy glass when scrolled (the main site never turns white) */
.site-header.scrolled { background: var(--header-bg); border-color: transparent; box-shadow: 0 10px 30px -15px rgb(0 0 0 / .5); }
.scrolled .brand { color: #fff; }
.scrolled .nav-links a { color: rgb(255 255 255 / .85); }
.scrolled .nav-links a:hover { color: var(--mn-teal); background: rgb(25 195 200 / .14); }
.nav-links a { border-radius: 999px; }
.nav-links a:hover { color: var(--mn-teal); background: rgb(25 195 200 / .14); }
.scrolled .icon-btn { background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .2); color: #fff; }
.brand-mark { background: linear-gradient(135deg, var(--mn-teal), #0e7f9e); border-radius: 50%; }
.mn-home { display: flex; align-items: center; flex: none; padding-inline-end: 14px; margin-inline-end: 2px; border-inline-end: 1px solid rgb(255 255 255 / .18); }
.mn-home img { height: 36px; width: auto; background: #fff; border-radius: 10px; padding: 3px 7px; transition: transform .2s; }
.mn-home:hover img { transform: translateY(-2px); }
@media (max-width: 1200px) {
  .nav-links { background: var(--navy); border-color: rgb(255 255 255 / .1); }
  .nav-links a, .scrolled .nav-links a { color: #e6f4f6; }
}
@media (max-width: 640px) {
  .brand small { display: none; }
  .mn-home { padding-inline-end: 10px; }
  .mn-home img { height: 30px; }
}

/* hero: main-site navy with teal / orange glow and the moving network mesh */
.hero {
  background:
    radial-gradient(900px 500px at 15% 5%, rgb(25 195 200 / .22), transparent 60%),
    radial-gradient(700px 420px at 90% 25%, rgb(247 130 27 / .14), transparent 60%),
    linear-gradient(180deg, #081d2b, var(--navy) 55%, #123a52);
}
.hero::before { opacity: .18; }
.hero > canvas.mn-mesh { position: absolute; inset: auto 0 0 0; width: 100%; height: 70%; pointer-events: none; opacity: .9;
  mask-image: linear-gradient(180deg, transparent, #000 35%); -webkit-mask-image: linear-gradient(180deg, transparent, #000 35%); }
.hero-inner, .hero-shot { z-index: 1; }
.grad { background: linear-gradient(90deg, #19c3c8, #7fe6e9 55%, #ffb36b); -webkit-background-clip: text; background-clip: text; }
.pill b { background: var(--mn-orange); color: #fff; }
.chip { border-color: rgb(25 195 200 / .25); }

/* sections, cards and accents in teal */
.eyebrow { color: var(--accent); background: var(--accent-soft); border-radius: 999px; }
.head h2 em, .split h2 em { color: var(--mn-teal); font-style: normal; }
.card, .stat, .role, .step, .phone-card, .faq details, .ivr-points div, .sp-feat, .demo-box { border-radius: var(--radius); }
.card:hover { box-shadow: var(--shadow-lg); }
.stat b { color: var(--accent); }
.tab { border-radius: 999px; }
.tab[aria-selected="true"] { background: var(--accent); border-color: var(--accent); box-shadow: 0 10px 22px -10px rgb(14 165 171 / .8); }
.faq details[open] { border-color: var(--mn-teal); }
.faq summary::after { color: var(--mn-teal); }
.frame { border-radius: 18px; }
.band, .cta-box {
  background:
    radial-gradient(700px 360px at 85% 0%, rgb(25 195 200 / .22), transparent 60%),
    radial-gradient(600px 320px at 10% 100%, rgb(247 130 27 / .14), transparent 60%),
    linear-gradient(160deg, #081d2b, var(--navy) 60%, #123a52);
}
.band .eyebrow { background: rgb(25 195 200 / .14); color: #9ff1f3; }
.cta-box { border-radius: 30px; }
.demo-form input:focus, .demo-form select:focus, .demo-form textarea:focus { border-color: var(--mn-teal); box-shadow: 0 0 0 3px rgb(25 195 200 / .2); }
.demo-form input, .demo-form select, .demo-form textarea { border-radius: 14px; }

/* footer: navy like the main site */
footer { background: var(--navy); color: #a9c3cf; border-top: 0; }
footer .brand { color: #fff; }
footer a { color: #cfe6ec; }
footer a:hover { color: var(--mn-teal); }
.mn-foot-home { display: inline-flex; align-items: center; gap: 8px; }
.mn-foot-home img { height: 28px; width: auto; background: #fff; border-radius: 8px; padding: 2px 6px; }

/* demo viewer page (demo.php): light header keeps its dark text readable */
body.demo { --header-bg: rgb(255 255 255 / .88); }
[data-theme="dark"] body.demo { --header-bg: rgb(8 21 31 / .9); }
.d-nav button { border-radius: 999px; }
.d-nav button.on { background: linear-gradient(135deg, #0ea5ab, #19c3c8); }
