/* ============================================================
   Axion Software — shared styles
   Used by: index.html, dojo-monkey.html,
            dojo-monkey-organization.html, contact.html
   ============================================================ */

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

:root {
  --cyan:    #00cfff;
  --blue:    #3b6ff5;
  --purple:  #8b5cf6;
  --violet:  #7c3aed;
  --dark:    #0a0c12;
  --dark2:   #0f1118;
  --dark3:   #161923;
  --dark4:   #1c2030;
  --border:  rgba(255,255,255,0.07);
  --text:    #e8eaf0;
  --muted:   #8892a4;
  --white:   #ffffff;

  /* Dojo Monkey accents */
  --dm-red:        #d11a2a;
  --dm-red-bright: #e8313f;
  --dm-green:      #1f7a3d;
  --dm-green-bright:#27994c;
}

html { scroll-behavior: smooth; }

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

a { color: inherit; }
img { max-width: 100%; display: block; }

/* ── LOGO ── */
.logo-mark { height: 36px; width: auto; flex-shrink: 0; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1; }
.logo-text .name {
  font-family: 'Exo 2', sans-serif;
  font-weight: 700; font-size: 18px;
  letter-spacing: 0.08em; color: var(--white);
}
.logo-text .sub {
  font-family: 'Exo 2', sans-serif;
  font-size: 9px; font-weight: 500; letter-spacing: 0.22em;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; margin-top: 2px;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  display: flex; align-items: center;
  padding: 0 40px; height: 64px;
  background: rgba(10,12,18,0.85);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
}
.nav-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.nav-links {
  display: flex; align-items: center; gap: 2px;
  margin-left: 48px; list-style: none;
}
.nav-links > li { position: relative; }
.nav-links li a {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 14px; font-size: 14px; font-weight: 500;
  color: var(--text); text-decoration: none; border-radius: 6px;
  transition: background 0.2s, color 0.2s; cursor: pointer;
  background: none; border: none; font-family: inherit;
}
.nav-links li a:hover,
.nav-links li a.active { background: rgba(255,255,255,0.06); color: var(--white); }
.nav-links .chevron { width: 12px; height: 12px; opacity: 0.6; transition: transform 0.2s; }

/* dropdown */
.has-dropdown .dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  min-width: 280px;
  background: var(--dark3);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.55);
  padding: 8px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity 0.18s, transform 0.18s, visibility 0.18s;
}
.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown,
.has-dropdown.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.has-dropdown:hover .chevron,
.has-dropdown.open .chevron { transform: rotate(180deg); }
.dropdown a {
  display: flex; flex-direction: column; gap: 2px;
  padding: 10px 12px; border-radius: 8px;
}
.dropdown a:hover { background: rgba(59,111,245,0.12); }
.dropdown a .d-title { font-size: 14px; font-weight: 600; color: var(--white); }
.dropdown a .d-sub { font-size: 12px; color: var(--muted); font-weight: 400; }

.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.btn-ghost {
  padding: 8px 18px; font-size: 14px; font-weight: 500;
  color: var(--text); background: none; border: none;
  cursor: pointer; border-radius: 6px; text-decoration: none;
  transition: background 0.2s, color 0.2s;
}
.btn-ghost:hover { background: rgba(255,255,255,0.06); color: var(--white); }
.btn-primary {
  padding: 9px 20px; font-size: 14px; font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue) 0%, var(--violet) 100%);
  border: none; border-radius: 8px; cursor: pointer; text-decoration: none;
  transition: opacity 0.2s, transform 0.15s; white-space: nowrap;
}
.btn-primary:hover { opacity: 0.92; transform: translateY(-1px); }

/* hamburger */
.nav-toggle {
  display: none; margin-left: auto;
  width: 40px; height: 40px; border: none; background: none;
  cursor: pointer; flex-direction: column; justify-content: center;
  align-items: center; gap: 5px; border-radius: 8px;
}
.nav-toggle span {
  display: block; width: 20px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform 0.25s, opacity 0.2s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SHARED BUTTONS ── */
.btn-hero-primary {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; font-size: 15px; font-weight: 600;
  color: var(--white);
  background: linear-gradient(135deg, var(--blue), var(--violet));
  border: none; border-radius: 10px; cursor: pointer; text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.btn-hero-primary:hover { opacity: 0.92; transform: translateY(-2px); }
.btn-hero-secondary {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 12px 24px; font-size: 15px; font-weight: 500;
  color: var(--text);
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--border);
  border-radius: 10px; cursor: pointer; text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.btn-hero-secondary:hover { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.15); }

/* ── PAGE HEADER (interior pages) ── */
.page-head {
  padding: 132px 40px 56px;
  text-align: center;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--border);
}
.page-head::after {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 60% 70% at 50% 0%, rgba(59,111,245,0.14) 0%, transparent 65%);
}
.page-head .eyebrow {
  position: relative; z-index: 1;
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--cyan); margin-bottom: 16px;
}
.page-head h1 {
  position: relative; z-index: 1;
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(30px, 4vw, 46px); font-weight: 800;
  line-height: 1.12; color: var(--white); margin-bottom: 14px;
}
.page-head p {
  position: relative; z-index: 1;
  font-size: 16px; line-height: 1.7; color: var(--muted);
  max-width: 600px; margin: 0 auto;
}

/* ── GENERIC SECTION ── */
.wrap { max-width: 1140px; margin: 0 auto; padding: 0 40px; }
.section { padding: 72px 0; }
.section-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 14px;
}
.section-title {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(24px, 3vw, 34px); font-weight: 800;
  color: var(--white); line-height: 1.2; margin-bottom: 14px;
}
.section-sub { font-size: 15.5px; color: var(--muted); line-height: 1.7; max-width: 620px; }

/* ── FOOTER ── */
footer {
  background: var(--dark2);
  border-top: 1px solid var(--border);
  padding: 56px 40px 36px;
}
.footer-inner {
  max-width: 1140px; margin: 0 auto;
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px;
}
.footer-brand .logo-text .name { font-size: 17px; }
.footer-brand p { font-size: 13.5px; color: var(--muted); line-height: 1.7; margin-top: 16px; max-width: 280px; }
.footer-col h4 {
  font-family: 'Exo 2', sans-serif;
  font-size: 12px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text); margin-bottom: 16px;
}
.footer-col a, .footer-col span {
  display: block; font-size: 13.5px; color: var(--muted);
  text-decoration: none; margin-bottom: 11px; transition: color 0.18s;
}
.footer-col a:hover { color: var(--cyan); }
.footer-bottom {
  max-width: 1140px; margin: 40px auto 0; padding-top: 24px;
  border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 14px;
  font-size: 12.5px; color: var(--muted);
}
.footer-bottom .axion-mark { height: 26px; width: auto; opacity: 0.85; }

/* ============================================================
   HOMEPAGE
   ============================================================ */
.hero {
  min-height: 100vh; padding-top: 64px;
  display: flex; align-items: center;
  position: relative; overflow: hidden; background: var(--dark);
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.hero-bg svg { position: absolute; bottom: -40px; left: 0; width: 100%; opacity: 0.35; }
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 65% 50%, rgba(59,111,245,0.12) 0%, transparent 70%),
              radial-gradient(ellipse 40% 40% at 20% 30%, rgba(0,207,255,0.06) 0%, transparent 60%);
}
.hero-inner {
  position: relative; z-index: 1; width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 80px 40px 60px;
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center;
}
.hero-copy h1 {
  font-family: 'Exo 2', sans-serif;
  font-size: clamp(36px, 4vw, 52px); font-weight: 800;
  line-height: 1.15; color: var(--white); margin-bottom: 8px;
}
.hero-copy h1 .accent {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.hero-copy p { font-size: 15px; line-height: 1.7; color: var(--muted); max-width: 440px; margin: 20px 0 36px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.play-icon {
  width: 28px; height: 28px; border: 2px solid rgba(255,255,255,0.4);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
}
.play-icon::after {
  content: ''; border-style: solid; border-width: 5px 0 5px 9px;
  border-color: transparent transparent transparent rgba(255,255,255,0.8); margin-left: 2px;
}

/* dashboard mockup */
.hero-visual { position: relative; }
.dashboard-frame {
  background: var(--dark3); border: 1px solid rgba(255,255,255,0.1);
  border-radius: 14px; overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6), 0 0 0 1px rgba(59,111,245,0.15);
  animation: floatUp 6s ease-in-out infinite;
}
@keyframes floatUp { 0%,100%{transform:translateY(0);} 50%{transform:translateY(-10px);} }
.db-topbar { display:flex; align-items:center; justify-content:space-between; padding:12px 18px; background:var(--dark4); border-bottom:1px solid var(--border); }
.db-brand { display:flex; align-items:center; gap:8px; }
.db-brand .mini-logo { height:22px; width:auto; }
.db-brand span { font-family:'Exo 2',sans-serif; font-weight:700; font-size:13px; color:var(--white); letter-spacing:0.05em; }
.db-topbar-right { display:flex; align-items:center; gap:14px; }
.db-icon { width:18px; height:18px; opacity:0.5; }
.db-avatar { width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,var(--blue),var(--purple)); }
.db-body { display:flex; }
.db-sidebar { width:130px; flex-shrink:0; padding:14px 0; border-right:1px solid var(--border); background:var(--dark4); }
.db-sidebar-item { display:flex; align-items:center; gap:8px; padding:7px 14px; font-size:11px; color:var(--muted); cursor:pointer; transition:background 0.15s,color 0.15s; }
.db-sidebar-item:hover { background:rgba(255,255,255,0.04); color:var(--text); }
.db-sidebar-item.active { background:rgba(59,111,245,0.15); color:var(--white); border-right:2px solid var(--blue); }
.db-sidebar-item svg { width:13px; height:13px; opacity:0.7; flex-shrink:0; }
.db-main { flex:1; padding:16px; min-width:0; }
.db-section-title { font-size:13px; font-weight:600; color:var(--white); margin-bottom:10px; }
.db-stats { display:grid; grid-template-columns:repeat(4,1fr); gap:8px; margin-bottom:12px; }
.db-stat { background:var(--dark4); border:1px solid var(--border); border-radius:8px; padding:10px; }
.db-stat-label { font-size:9px; color:var(--muted); margin-bottom:3px; }
.db-stat-value { font-size:17px; font-weight:700; color:var(--white); line-height:1; }
.db-stat-delta { font-size:8px; color:#22c55e; margin-top:3px; }
.db-stat-sparkline { margin-top:6px; height:20px; }
.db-lower { display:grid; grid-template-columns:1.6fr 1fr; gap:8px; }
.db-card { background:var(--dark4); border:1px solid var(--border); border-radius:8px; padding:10px; }
.db-card-title { font-size:10px; font-weight:600; color:var(--text); margin-bottom:8px; }
.db-chart-area { height:70px; position:relative; overflow:hidden; }
.db-chart-label { position:absolute; top:4px; right:4px; background:var(--blue); color:white; font-size:9px; font-weight:700; padding:2px 5px; border-radius:4px; }
.activity-item { display:flex; align-items:center; gap:6px; padding:4px 0; border-bottom:1px solid rgba(255,255,255,0.04); font-size:9px; }
.activity-item:last-child { border-bottom:none; }
.activity-dot { width:6px; height:6px; border-radius:1px; flex-shrink:0; background:var(--blue); }
.activity-text { color:var(--text); flex:1; }
.activity-time { color:var(--muted); }
.view-all { color:var(--blue); font-size:9px; display:flex; align-items:center; gap:3px; margin-top:6px; cursor:pointer; }
.sparkline { width:100%; height:100%; }

/* products row on homepage */
.home-products { background: var(--dark2); padding: 80px 0; border-top: 1px solid var(--border); }
.home-products .wrap { text-align: center; }
.prod-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 44px; text-align: left; }
.prod-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--dark3); border: 1px solid var(--border);
  border-radius: 16px; padding: 30px; overflow: hidden;
  transition: transform 0.2s, border-color 0.2s;
  text-decoration: none;
}
.prod-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.16); }
.prod-card .badge {
  align-self: flex-start; font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 20px; margin-bottom: 18px;
}
.prod-card.studio .badge { background: rgba(209,26,42,0.18); color: #ff6b78; }
.prod-card.org .badge { background: rgba(31,122,61,0.2); color: #4ecb76; }
.prod-card .logo-badge { width: 60px; height: 60px; margin-bottom: 16px; }
.prod-card h3 { font-family: 'Exo 2', sans-serif; font-size: 22px; font-weight: 800; color: var(--white); margin-bottom: 8px; }
.prod-card p { font-size: 14px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; flex: 1; }
.prod-card .go { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 600; color: var(--cyan); }
.prod-card.studio:hover { box-shadow: 0 24px 60px rgba(209,26,42,0.12); }
.prod-card.org:hover { box-shadow: 0 24px 60px rgba(31,122,61,0.14); }

/* features (light band, reused on home) */
.features { background:#f8f9fb; padding:80px 40px; color:#1a1f2e; }
.features-inner { max-width:1200px; margin:0 auto; }
.features .section-eyebrow { text-align:center; color:var(--blue); }
.features-title { text-align:center; font-family:'Exo 2',sans-serif; font-size:clamp(26px,3vw,38px); font-weight:800; color:#111827; margin-bottom:12px; line-height:1.2; }
.features-sub { text-align:center; font-size:15px; color:#6b7280; max-width:520px; margin:0 auto 56px; line-height:1.7; }
.features-grid { display:grid; grid-template-columns:repeat(4,1fr); gap:32px; }
.feature-item { text-align:left; }
.feature-icon { width:48px; height:48px; border-radius:12px; background:linear-gradient(135deg,var(--blue),var(--violet)); display:flex; align-items:center; justify-content:center; margin-bottom:16px; }
.feature-icon svg { width:22px; height:22px; }
.feature-name { font-size:15px; font-weight:700; color:#111827; margin-bottom:8px; }
.feature-desc { font-size:13.5px; color:#6b7280; line-height:1.65; }

/* CTA band */
.cta-band { background: var(--dark); padding: 80px 40px; text-align: center; border-top: 1px solid var(--border); }
.cta-band h2 { font-family:'Exo 2',sans-serif; font-size: clamp(26px,3vw,38px); font-weight:800; color:var(--white); margin-bottom:14px; }
.cta-band p { font-size:15.5px; color:var(--muted); max-width:520px; margin:0 auto 32px; line-height:1.7; }
.cta-actions { display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

/* ============================================================
   TESTIMONIALS  (marquee — populated from testimonials.json)
   ============================================================ */
.testimonials { display:none; background: var(--dark); padding: 80px 0; border-top:1px solid var(--border); overflow:hidden; }
.testimonials.is-ready { display:block; }
.tm-head { text-align:center; max-width:640px; }
.tm-head .section-sub { margin:0 auto; }

.marquee { position:relative; margin-top:40px;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%);
          mask-image: linear-gradient(90deg, transparent 0, #000 7%, #000 93%, transparent 100%); }
.marquee.no-anim { overflow-x:auto; -webkit-overflow-scrolling:touch; padding-bottom:6px; }
.marquee-track { display:flex; gap:20px; width:max-content; will-change:transform; padding:0 20px; }

.tm-card { flex:0 0 auto; width:340px; text-align:left;
  background: linear-gradient(180deg, var(--dark3), var(--dark2));
  border:1px solid var(--border); border-radius:16px; padding:24px 26px;
  display:flex; flex-direction:column; gap:15px; }
.tm-quote { font-size:14.5px; line-height:1.65; color:var(--text); margin:0; flex:1; }
.tm-person { display:flex; align-items:center; gap:12px; }
.tm-avatar { width:42px; height:42px; border-radius:50%; flex-shrink:0;
  display:flex; align-items:center; justify-content:center;
  font-family:'Exo 2',sans-serif; font-weight:700; font-size:14.5px; color:#fff;
  letter-spacing:0.02em; background: linear-gradient(135deg, var(--cyan), var(--purple)); }
.tm-name { font-weight:700; color:var(--white); font-size:14.5px; line-height:1.2; }
.tm-role { font-size:12.5px; color:var(--muted); margin-top:3px; }

.stars { position:relative; display:inline-block; line-height:0; height:18px; }
.stars-bg, .stars-fg { display:flex; }
.stars-bg { color: rgba(255,255,255,0.16); }
.stars-fg { color:#fbbf24; position:absolute; top:0; left:0; overflow:hidden; white-space:nowrap; width:0; }
.stars svg { width:18px; height:18px; display:block; fill:currentColor; }

@media (max-width:600px){ .tm-card { width:280px; } }

/* ============================================================
   PRODUCT PAGES
   ============================================================ */
.product-hero { padding: 120px 0 60px; position: relative; overflow: hidden; }
.product-hero::after {
  content:''; position:absolute; inset:0; pointer-events:none;
}
.product-hero.studio::after { background: radial-gradient(ellipse 55% 60% at 80% 10%, rgba(209,26,42,0.16) 0%, transparent 60%); }
.product-hero.org::after { background: radial-gradient(ellipse 55% 60% at 80% 10%, rgba(31,122,61,0.18) 0%, transparent 60%); }
.product-hero .wrap { position: relative; z-index: 1; display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 50px; align-items: center; }
.product-hero .ph-badge {
  display:inline-block; font-size:11px; font-weight:700; letter-spacing:0.1em;
  text-transform:uppercase; padding:5px 12px; border-radius:20px; margin-bottom:20px;
}
.product-hero.studio .ph-badge { background:rgba(209,26,42,0.18); color:#ff6b78; }
.product-hero.org .ph-badge { background:rgba(31,122,61,0.2); color:#4ecb76; }
.product-hero h1 { font-family:'Exo 2',sans-serif; font-size:clamp(32px,4.2vw,50px); font-weight:800; line-height:1.1; color:var(--white); margin-bottom:18px; }
.product-hero.studio h1 .accent { color: var(--dm-red-bright); }
.product-hero.org h1 .accent { color: var(--dm-green-bright); }
.product-hero .lead { font-size:16.5px; line-height:1.7; color:var(--muted); max-width:480px; margin-bottom:30px; }
.product-hero .ph-actions { display:flex; gap:14px; flex-wrap:wrap; }
.ph-visual { display:flex; justify-content:center; }
.ph-logo {
  width: 280px; max-width: 80%; filter: drop-shadow(0 20px 50px rgba(0,0,0,0.6));
  animation: floatUp 7s ease-in-out infinite;
}

.btn-dm {
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 28px; font-size:15px; font-weight:600; color:var(--white);
  border:none; border-radius:10px; cursor:pointer; text-decoration:none;
  transition:opacity 0.2s, transform 0.15s;
}
.btn-dm.studio { background:linear-gradient(135deg,var(--dm-red),#a01320); }
.btn-dm.org { background:linear-gradient(135deg,var(--dm-green),#155c2d); }
.btn-dm:hover { opacity:0.93; transform:translateY(-2px); }

/* feature blocks on product pages */
.feature-band { padding: 70px 0; }
.feature-band.alt { background: var(--dark2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.fgrid { display:grid; grid-template-columns:repeat(3,1fr); gap:22px; margin-top:44px; }
.fcard {
  background: var(--dark3); border:1px solid var(--border);
  border-radius:14px; padding:26px; transition:border-color 0.2s, transform 0.2s;
}
.fcard:hover { transform:translateY(-3px); }
.product-hero.studio ~ * .fcard:hover,
.studio-scope .fcard:hover { border-color: rgba(209,26,42,0.35); }
.org-scope .fcard:hover { border-color: rgba(31,122,61,0.4); }
.fcard .ic {
  width:46px; height:46px; border-radius:11px; display:flex;
  align-items:center; justify-content:center; margin-bottom:16px;
}
.studio-scope .fcard .ic { background:linear-gradient(135deg,var(--dm-red),#8f111e); }
.org-scope .fcard .ic { background:linear-gradient(135deg,var(--dm-green),#124c26); }
.fcard .ic svg { width:22px; height:22px; }
.fcard h3 { font-size:16px; font-weight:700; color:var(--white); margin-bottom:8px; }
.fcard p { font-size:14px; color:var(--muted); line-height:1.65; }

/* spec list (detailed capabilities) */
.spec-list { display:grid; grid-template-columns:1fr 1fr; gap:14px 40px; margin-top:36px; }
.spec-item { display:flex; gap:12px; align-items:flex-start; }
.spec-item .chk {
  flex-shrink:0; width:22px; height:22px; border-radius:6px;
  display:flex; align-items:center; justify-content:center; margin-top:1px;
}
.studio-scope .spec-item .chk { background:rgba(209,26,42,0.16); }
.org-scope .spec-item .chk { background:rgba(31,122,61,0.18); }
.spec-item .chk svg { width:13px; height:13px; }
.spec-item .txt strong { display:block; font-size:14.5px; color:var(--white); font-weight:600; margin-bottom:3px; }
.spec-item .txt span { font-size:13.5px; color:var(--muted); line-height:1.55; }

/* integrated website highlight */
.highlight-band { padding: 70px 0; }
.highlight-grid { display:grid; grid-template-columns:1fr 1fr; gap:50px; align-items:center; }
.hl-points { list-style:none; margin-top:24px; }
.hl-points li { display:flex; align-items:center; gap:10px; padding:9px 0; font-size:15px; color:var(--text); }
.hl-points li svg { width:18px; height:18px; flex-shrink:0; }
.hl-visual {
  background: var(--dark3); border:1px solid var(--border); border-radius:16px;
  padding: 30px; box-shadow: 0 24px 60px rgba(0,0,0,0.4);
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-wrap { max-width: 1080px; margin: 0 auto; padding: 56px 40px 90px; }
.contact-grid { display:grid; grid-template-columns: 1fr 0.85fr; gap: 56px; align-items: start; }
.contact-form { background: var(--dark3); border:1px solid var(--border); border-radius:16px; padding:34px; }
.field { margin-bottom: 18px; }
.field label { display:block; font-size:13px; font-weight:600; color:var(--text); margin-bottom:7px; }
.field label .req { color: var(--dm-red-bright); }
.field input, .field textarea, .field select {
  width:100%; padding:12px 14px; font-size:14px; font-family:inherit;
  color:var(--text); background:var(--dark); border:1px solid var(--border);
  border-radius:9px; transition:border-color 0.18s, box-shadow 0.18s;
}
.field input:focus, .field textarea:focus, .field select:focus {
  outline:none; border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(59,111,245,0.18);
}
.field textarea { resize: vertical; min-height: 130px; }
.form-row { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.form-note { font-size:12.5px; color:var(--muted); margin-top:4px; line-height:1.6; }
.form-status { display:none; margin-top:16px; padding:13px 16px; border-radius:9px; font-size:14px; line-height:1.55; }
.form-status.show { display:block; }
.form-status.ok { background:rgba(34,197,94,0.12); border:1px solid rgba(34,197,94,0.3); color:#7ee2a4; }
.form-status.err { background:rgba(232,49,63,0.12); border:1px solid rgba(232,49,63,0.3); color:#ff9aa3; }
.btn-submit {
  width:100%; padding:14px; font-size:15px; font-weight:600; font-family:inherit;
  color:var(--white); background:linear-gradient(135deg,var(--blue),var(--violet));
  border:none; border-radius:10px; cursor:pointer; margin-top:6px;
  transition:opacity 0.2s, transform 0.15s;
}
.btn-submit:hover { opacity:0.93; transform:translateY(-1px); }
.btn-submit:disabled { opacity:0.55; cursor:not-allowed; transform:none; }

/* ============================================================
   TENANT LOGIN  (nav button + modal)
   ============================================================ */
.btn-login {
  display:inline-flex; align-items:center; height:36px; padding:0 18px;
  font-size:14px; font-weight:600; font-family:inherit; white-space:nowrap;
  color:#e8eaf0; background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.15); border-radius:8px; cursor:pointer;
  transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}
.btn-login:hover { background:rgba(255,255,255,0.1); border-color:rgba(255,255,255,0.28); color:#fff; box-shadow:0 0 0 3px rgba(255,255,255,0.04); }

.auth-overlay {
  position: fixed; inset: 0; z-index: 1000; padding: 20px;
  display: none; align-items: center; justify-content: center;
  background: rgba(6,8,13,0.72);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.2s ease;
}
.auth-overlay.open { display: flex; opacity: 1; }
body.auth-lock { overflow: hidden; }

.auth-card {
  position: relative; width: 100%; max-width: 400px;
  background: linear-gradient(180deg, var(--dark3), var(--dark2));
  border: 1px solid var(--border); border-radius: 18px;
  padding: 34px 30px 30px; box-shadow: 0 24px 70px rgba(0,0,0,0.55);
  transform: translateY(10px) scale(0.985); transition: transform 0.22s ease;
}
.auth-overlay.open .auth-card { transform: none; }

.auth-close {
  position: absolute; top: 14px; right: 14px; width: 34px; height: 34px;
  display:flex; align-items:center; justify-content:center;
  background: transparent; border: none; border-radius: 8px; cursor: pointer;
  color: var(--muted); transition: background 0.15s, color 0.15s;
}
.auth-close:hover { background: rgba(255,255,255,0.07); color: #fff; }

.auth-head { text-align:center; margin-bottom: 24px; }
.auth-head img { height: 40px; width:auto; display:block; margin: 0 auto 14px; }
.auth-head h2 { font-family:'Exo 2',sans-serif; font-size:21px; font-weight:800; color:var(--white); margin:0 0 5px; }
.auth-head p { font-size: 13px; color: var(--muted); margin: 0; }

.auth-view { display:none; }
.auth-view.active { display:block; }

.auth-label-row { display:flex; justify-content:space-between; align-items:baseline; margin-bottom:7px; }
.auth-label-row label { display:block; font-size:13px; font-weight:600; color:var(--text); margin:0; }
.auth-forgot { font-size:12px; font-weight:500; color: var(--blue); background:none; border:none; cursor:pointer; padding:0; }
.auth-forgot:hover { text-decoration: underline; }

.auth-pw-wrap { position: relative; }
.auth-pw-wrap input { padding-right: 44px; }
.auth-pw-toggle {
  position:absolute; top:0; right:0; height:100%; width:44px;
  display:flex; align-items:center; justify-content:center;
  background:none; border:none; padding:0; cursor:pointer; color:var(--muted);
}
.auth-pw-toggle:hover { color: var(--text); }

.auth-alert { display:none; margin-bottom:18px; padding:11px 14px; border-radius:9px; font-size:13.5px; line-height:1.5; }
.auth-alert.show { display:block; }
.auth-alert.err { background:rgba(232,49,63,0.12); border:1px solid rgba(232,49,63,0.3); color:#ff9aa3; }
.auth-alert.ok  { background:rgba(34,197,94,0.12); border:1px solid rgba(34,197,94,0.3); color:#7ee2a4; }

.auth-back { display:block; width:100%; text-align:center; margin-top:16px; font-size:13px; color:var(--muted); background:none; border:none; cursor:pointer; }
.auth-back:hover { color: var(--text); }
.auth-foot { text-align:center; margin-top:20px; font-size:11px; color:var(--muted); }

@media (max-width: 820px) {
  .btn-login-mobile { display:flex; width:100%; height:auto; padding:12px; justify-content:center; }
}

/* signed-out toast (returned from as-login logout) */
.site-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 1200;
  transform: translateX(-50%) translateY(12px);
  display:flex; align-items:center; gap:10px;
  padding: 13px 18px; border-radius: 11px;
  background: rgba(22,25,35,0.96); border:1px solid var(--border); color: var(--text);
  font-size: 14px; box-shadow: 0 16px 44px rgba(0,0,0,0.5);
  -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
  opacity: 0; transition: opacity 0.25s ease, transform 0.25s ease;
}
.site-toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
.site-toast svg { color: #7ee2a4; flex-shrink: 0; }

.contact-aside h2 { font-family:'Exo 2',sans-serif; font-size:24px; font-weight:800; color:var(--white); margin-bottom:14px; }
.contact-aside p { font-size:15px; color:var(--muted); line-height:1.7; margin-bottom:28px; }
.info-block { display:flex; gap:14px; align-items:flex-start; margin-bottom:22px; }
.info-block .ic { flex-shrink:0; width:42px; height:42px; border-radius:11px; background:var(--dark4); border:1px solid var(--border); display:flex; align-items:center; justify-content:center; }
.info-block .ic svg { width:19px; height:19px; opacity:0.85; }
.info-block .meta .k { font-size:12px; font-weight:700; letter-spacing:0.08em; text-transform:uppercase; color:var(--muted); margin-bottom:4px; }
.info-block .meta .v { font-size:15px; color:var(--white); }
.info-block .meta a { color:var(--cyan); text-decoration:none; }
.info-block .meta a:hover { text-decoration:underline; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 36px; }
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .product-hero .wrap { grid-template-columns: 1fr; text-align: center; }
  .product-hero .lead { margin-left:auto; margin-right:auto; }
  .product-hero .ph-actions { justify-content: center; }
  .ph-visual { order: -1; margin-bottom: 12px; }
  .highlight-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 820px) {
  nav { padding: 0 20px; }
  .nav-links, .nav-right { display: none; }
  .nav-toggle { display: flex; }

  /* mobile menu panel */
  .mobile-menu {
    position: fixed; top: 64px; left: 0; right: 0; z-index: 190;
    background: var(--dark2); border-bottom: 1px solid var(--border);
    padding: 14px 20px 22px;
    transform: translateY(-120%); transition: transform 0.28s ease;
    max-height: calc(100vh - 64px); overflow-y: auto;
  }
  .mobile-menu.open { transform: translateY(0); }
  .mobile-menu a {
    display:block; padding:13px 6px; font-size:16px; color:var(--text);
    text-decoration:none; border-bottom:1px solid var(--border);
  }
  .mobile-menu a.sub { padding-left:22px; font-size:14.5px; color:var(--muted); }
  .mobile-menu .m-group-label {
    font-size:11px; font-weight:700; letter-spacing:0.12em; text-transform:uppercase;
    color:var(--muted); padding:16px 6px 6px;
  }
  .mobile-menu .m-cta { margin-top:18px; }
  .mobile-menu .m-cta .btn-primary { display:block; text-align:center; }

  .fgrid { grid-template-columns: 1fr; }
  .features-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .prod-cards { grid-template-columns: 1fr; }
  .spec-list { grid-template-columns: 1fr; }
  .features { padding: 64px 24px; }
  .wrap { padding: 0 24px; }
  .page-head, .cta-band { padding-left: 24px; padding-right: 24px; }
  .contact-wrap { padding: 44px 24px 70px; }
  .form-row { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .features-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 24px; }
}

/* desktop-only mobile menu hidden */
.mobile-menu { display: none; }
@media (max-width: 820px) { .mobile-menu { display: block; } }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  .dashboard-frame, .ph-logo { animation: none; }
  * { scroll-behavior: auto; }
}
/* ============================================================
   PRODUCTS OVERVIEW / CUSTOM SAAS / TECHNOLOGY / LEGAL
   ============================================================ */

/* products overview -- responsive 3-up grid + SaaS accent */
.prod-cards.trio { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.prod-card.saas .badge { background: rgba(59,111,245,0.18); color: #9db4ff; }
.prod-card.saas:hover { box-shadow: 0 24px 60px rgba(59,111,245,0.16); }
.prod-icon {
  width: 60px; height: 60px; margin-bottom: 16px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}
.prod-icon svg { width: 30px; height: 30px; }

/* axion-branded product hero (blue/purple accent) */
.product-hero.saas::after { background: radial-gradient(ellipse 55% 60% at 80% 10%, rgba(59,111,245,0.16) 0%, transparent 60%); }
.product-hero.saas .ph-badge { background: rgba(59,111,245,0.18); color: #9db4ff; }
.product-hero.saas h1 .accent { color: var(--cyan); }
.axion-scope .fcard:hover { border-color: rgba(59,111,245,0.35); }
.axion-scope .fcard .ic { background: linear-gradient(135deg, var(--blue), var(--purple)); }
.axion-scope .spec-item .chk { background: rgba(59,111,245,0.16); }

/* stack visual (custom saas) */
.stack-vis { display:flex; flex-direction:column; gap:12px; width:100%; max-width:360px; margin-left:auto; }
.stack-vis.compact { max-width:300px; }
.stack-layer {
  border:1px solid var(--border); border-radius:12px; padding:16px 18px;
  display:flex; align-items:center; justify-content:space-between; background: var(--dark3);
}
.stack-layer span { font-weight:700; color:var(--white); font-size:15px; }
.stack-layer small { color:var(--muted); font-size:12px; }
.stack-layer.l1 { background: linear-gradient(135deg, rgba(0,207,255,0.16), rgba(0,207,255,0.05)); border-color: rgba(0,207,255,0.28); }
.stack-layer.l2 { background: linear-gradient(135deg, rgba(59,111,245,0.16), rgba(59,111,245,0.05)); border-color: rgba(59,111,245,0.28); }
.stack-layer.l3 { background: linear-gradient(135deg, rgba(139,92,246,0.16), rgba(139,92,246,0.05)); border-color: rgba(139,92,246,0.28); }
.stack-layer.l4 { background: linear-gradient(135deg, rgba(124,58,237,0.16), rgba(124,58,237,0.05)); border-color: rgba(124,58,237,0.28); }

/* how-it-works steps */
.steps { display:grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap:24px; margin-top:40px; }
.step .num {
  width:38px; height:38px; border-radius:11px; display:flex; align-items:center; justify-content:center;
  font-family:'Exo 2',sans-serif; font-weight:800; font-size:16px; color:#fff;
  background: linear-gradient(135deg, var(--blue), var(--purple)); margin-bottom:14px;
}
.step h3 { font-size:16px; font-weight:700; color:var(--white); margin-bottom:6px; }
.step p { font-size:13.5px; color:var(--muted); line-height:1.65; }

/* technology page */
.tech-grid { display:grid; grid-template-columns: repeat(auto-fit, minmax(300px,1fr)); gap:24px; margin-top:16px; }
.tech-card {
  background: linear-gradient(180deg, var(--dark3), var(--dark2));
  border:1px solid var(--border); border-radius:16px; padding:26px;
  transition: transform 0.2s, border-color 0.2s;
}
.tech-card:hover { transform: translateY(-4px); border-color: rgba(255,255,255,0.16); }
.tech-emblem { width:64px; height:64px; border-radius:16px; margin-bottom:18px; display:flex; align-items:center; justify-content:center; }
.tech-emblem svg { width:36px; height:36px; }
.tech-emblem.deb { background: linear-gradient(135deg, #d1004f, #8a0d3d); }
.tech-emblem.mar { background: linear-gradient(135deg, #0891b2, #0e6b7a); }
.tech-emblem.py  { background: linear-gradient(135deg, #3b6ff5, #6d5cf0); }
.tech-emblem.apa { background: linear-gradient(135deg, #7c3aed, #c026d3); }
.tech-emblem.htm { background: linear-gradient(135deg, #f97316, #e11d48); }
.tech-card h3 { font-family:'Exo 2',sans-serif; font-size:20px; font-weight:800; color:var(--white); margin-bottom:2px; }
.tech-cat { display:block; font-size:11.5px; font-weight:700; letter-spacing:0.1em; text-transform:uppercase; color:var(--cyan); margin-bottom:14px; }
.tech-card p { font-size:14px; color:var(--muted); line-height:1.7; margin-bottom:16px; }
.tech-strengths { list-style:none; display:flex; flex-direction:column; gap:8px; }
.tech-strengths li { display:flex; gap:9px; align-items:flex-start; font-size:13.5px; color:var(--text); line-height:1.5; }
.tech-strengths li svg { width:16px; height:16px; flex-shrink:0; margin-top:2px; color:#7ee2a4; }

/* legal / privacy */
.legal { max-width:820px; margin:0 auto; padding:8px 40px 80px; }
.legal .updated { font-size:13px; color:var(--muted); margin-bottom:22px; }
.legal h2 { font-family:'Exo 2',sans-serif; font-size:22px; font-weight:800; color:var(--white); margin:34px 0 12px; }
.legal h3 { font-size:15.5px; font-weight:700; color:var(--text); margin:20px 0 8px; }
.legal p { font-size:15px; color:var(--muted); line-height:1.75; margin-bottom:14px; }
.legal ul { margin:0 0 16px; padding-left:20px; }
.legal li { font-size:15px; color:var(--muted); line-height:1.7; margin-bottom:8px; }
.legal strong { color:var(--text); font-weight:600; }
.legal a { color: var(--cyan); text-decoration: none; }
.legal a:hover { text-decoration: underline; }

/* footer privacy link */
.footer-bottom a { color: var(--muted); text-decoration: none; }
.footer-bottom a:hover { color: var(--cyan); }

@media (max-width: 640px) {
  .legal { padding-left:24px; padding-right:24px; }
  .stack-vis { margin-left:0; }
}

/* FAQ (product pages) */
.faq { display:grid; grid-template-columns:1fr 1fr; gap:20px 40px; margin-top:36px; text-align:left; }
.faq-item h3 { font-size:16px; font-weight:700; color:var(--white); margin-bottom:7px; }
.faq-item p { font-size:14px; color:var(--muted); line-height:1.65; }
@media (max-width:640px){ .faq { grid-template-columns:1fr; } }