/* ================================
   Axis 3D Solutions — styles.css
   Professional engineering design system
   ================================ */

:root{
  --primary:#0b3cff;
  --secondary:#00c2ff;
  --dark:#0a0a0a;
  --muted:#667085;
  --light:#f5f7ff;
  --border:#eaecf0;

  --gradient: linear-gradient(135deg,#0b3cff,#00c2ff);

  --radius:16px;
  --radiusLg:22px;

  --max:1160px;

  --shadowSoft: 0 10px 40px rgba(0,0,0,.06);
  --shadow: 0 20px 60px rgba(0,0,0,.10);

  --focus: 0 0 0 4px rgba(11,60,255,0.12);
}

/* ===== Reset / Base ===== */
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background:#fff;
  color:var(--dark);
  overflow-x:hidden;
}
img{max-width:100%;height:auto;display:block}
a{color:inherit}
.container{max-width:var(--max);margin:0 auto}
.section{padding:110px 22px}
.section.tight{padding:70px 22px}
.section.top-pad{padding-top:160px}

.kicker{
  color:var(--primary);
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
  font-size:12px;
  margin-bottom:10px;
}
.h2{
  font-size:42px;
  line-height:1.1;
  margin-bottom:16px;
  letter-spacing:-.01em;
}
.p{
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
  max-width:860px;
}

.hr{height:1px;background:var(--border);margin:26px 0}

/* ===== Buttons ===== */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:14px 18px;
  border-radius:12px;
  background:var(--gradient);
  color:#fff;
  text-decoration:none;
  font-weight:900;
  border:0;
  cursor:pointer;
  box-shadow:0 14px 38px rgba(11,60,255,0.22);
  transition:transform .2s ease, filter .2s ease, box-shadow .2s ease;
}
.btn:hover{transform:translateY(-2px);filter:saturate(1.05)}
.btn:active{transform:translateY(0px)}
.btn.secondary{
  background:#fff;
  color:var(--primary);
  border:2px solid var(--primary);
  box-shadow:none;
}
.btn.full{width:100%}
.btn.small{padding:10px 14px;border-radius:10px}

/* ===== Pills / Badges ===== */
.pill{
  display:inline-flex;
  align-items:center;
  gap:10px;
  border:1px solid var(--border);
  border-radius:999px;
  padding:8px 14px;
  background:#fff;
  color:#111;
  font-weight:900;
  font-size:12px;
}
.pill .dot{
  width:8px;height:8px;border-radius:999px;
  background:var(--gradient);
}

/* ===== Cards + Grid ===== */
.grid{
  display:grid;
  grid-template-columns:repeat(12,1fr);
  gap:22px;
}
.card{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:28px;
  box-shadow:var(--shadowSoft);
  transition:transform .25s ease, box-shadow .25s ease;
}
.card:hover{
  transform:translateY(-6px);
  box-shadow:var(--shadow);
}

/* ===== Sticky Header ===== */
header.site-header{
  position:fixed;
  top:0;left:0;right:0;
  z-index:1000;
  background:rgba(255,255,255,0.92);
  backdrop-filter: blur(10px);
  border-bottom:1px solid var(--border);
}
.header-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:18px 22px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}
.brand img{height:60px;width:auto}
.brand .name{font-weight:900;letter-spacing:.01em}

/* Desktop nav */
nav.desktop{
  display:flex;
  align-items:center;
  gap:12px;
}
nav.desktop a{
  text-decoration:none;
  color:#111;
  font-weight:900;
  font-size:14px;
  padding:10px 10px;
  border-radius:10px;
  transition:background .2s ease, color .2s ease;
}
nav.desktop a:hover{
  background:rgba(11,60,255,0.08);
  color:var(--primary);
}

/* ===== Mobile Menu ===== */
.menu-btn{
  display:none;
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  align-items:center;
  justify-content:center;
}
.menu-btn .bars{display:flex;flex-direction:column;gap:5px}
.menu-btn .bar{width:20px;height:2px;background:#111;border-radius:99px}

.mobile-overlay{
  position:fixed;
  inset:0;
  z-index:1200;
  background:rgba(10,10,10,0.35);
  opacity:0;
  pointer-events:none;
  transition:opacity .25s ease;
}
.mobile-panel{
  position:fixed;
  top:0;right:-420px;
  z-index:1300;
  width:min(86vw,380px);
  height:100vh;
  background:#fff;
  border-left:1px solid var(--border);
  box-shadow:-18px 0 55px rgba(0,0,0,.18);
  padding:18px;
  transition:right .28s ease;
}
.mobile-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom:10px;
}
.mobile-panel .close{
  width:44px;height:44px;
  border-radius:12px;
  border:1px solid var(--border);
  background:#fff;
  cursor:pointer;
  font-weight:900;
}
.mobile-links{
  margin-top:10px;
  display:flex;
  flex-direction:column;
  gap:8px;
}
.mobile-links a{
  text-decoration:none;
  font-weight:900;
  padding:14px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
}
.mobile-links a:hover{
  border-color:rgba(11,60,255,0.35);
  background:rgba(11,60,255,0.06);
}
.mobile-cta{
  margin-top:14px;
  display:flex;
  flex-direction:column;
  gap:10px;
}

/* Activated state (script toggles body.menu-open) */
body.menu-open .mobile-overlay{opacity:1;pointer-events:auto}
body.menu-open .mobile-panel{right:0}

/* ===== Logo Intro (Home) ===== */
.logo-intro{
  position:fixed;
  inset:0;
  z-index:2000;
  background:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
}
.logo-intro .wrap{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:14px;
}
.logo-intro img{
  width:320px;
  max-width:95%;
  height:auto;
  background:transparent;
  border:none;
  box-shadow:none;
  filter: drop-shadow(0 0 0 rgba(11,60,255,0));
  animation: logoPop 1.6s ease, logoGlow 1.8s ease;
}
.logo-intro .txt{
  font-weight:900;
  letter-spacing:.02em;
  color:#111;
}
.logo-intro.fade{animation:introFade .8s ease forwards}

@keyframes logoPop{
  from{transform:scale(.4);opacity:0}
  to{transform:scale(1);opacity:1}
}
@keyframes introFade{
  to{opacity:0;visibility:hidden}
}

/* ===== Hero ===== */
.hero{
  padding:170px 22px 90px;
}
.hero-inner{
  max-width:var(--max);
  margin:0 auto;
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:34px;
  align-items:center;
}
.hero h1{
  font-size:56px;
  line-height:1.05;
  letter-spacing:-.02em;
}
.hero .lead{
  margin-top:18px;
  color:var(--muted);
  font-size:18px;
  line-height:1.65;
}
.hero .cta{
  margin-top:26px;
  display:flex;
  gap:12px;
  flex-wrap:wrap;
}
.badge-row{display:flex;gap:10px;flex-wrap:wrap;margin-top:16px}

/* Hero side panel */
.hero .panel{
  border:1px solid var(--border);
  border-radius:var(--radiusLg);
  background:
    radial-gradient(1200px 600px at 20% 20%, rgba(11,60,255,0.14), transparent 60%),
    radial-gradient(900px 500px at 80% 70%, rgba(0,194,255,0.16), transparent 60%),
    #fff;
  box-shadow:var(--shadowSoft);
  padding:26px;
}
.hero .panel .statgrid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:14px;
  margin-top:16px;
}
.stat{
  border:1px solid var(--border);
  border-radius:16px;
  padding:14px;
  background:#fff;
}
.stat .k{
  color:var(--muted);
  font-weight:900;
  font-size:12px;
  text-transform:uppercase;
  letter-spacing:.06em;
}
.stat .v{font-weight:900;font-size:22px;margin-top:6px}

/* ===== Forms ===== */
.form{max-width:760px}
.field{display:flex;flex-direction:column;gap:8px;margin-bottom:14px}
label{font-weight:900}
input, textarea, select{
  border:1px solid var(--border);
  border-radius:12px;
  padding:12px 14px;
  font-size:16px;
  outline:none;
  background:#fff;
}
input:focus, textarea:focus, select:focus{
  border-color:rgba(11,60,255,0.55);
  box-shadow:var(--focus);
}
.help{color:var(--muted);font-size:13px}

/* ===== Footer ===== */
footer{background:#0a0a0a;color:#fff}
.footer-inner{
  max-width:var(--max);
  margin:0 auto;
  padding:70px 22px;
  display:grid;
  grid-template-columns:2fr 1fr 1fr;
  gap:32px;
}
.footer-inner img{height:40px;margin-bottom:12px}
.footer-inner a{
  color:#c7c7c7;
  text-decoration:none;
  display:block;
  margin:10px 0;
}
.footer-inner a:hover{color:#fff}

/* ================================
   MOBILE FIX (IMPORTANT)
   Forces 1-column stacking + clean spacing
   ================================ */
@media (max-width: 980px){

  /* Header */
  nav.desktop{display:none}
  .menu-btn{display:flex}

  /* Layout spacing */
  .section{padding:80px 18px}
  .section.top-pad{padding-top:135px}
  .hero{padding:130px 18px 70px}
  .container{padding:0 6px}

  /* Hero */
  .hero-inner{grid-template-columns:1fr}
  .hero h1{font-size:38px}
  .hero .panel{padding:18px}
  .hero .panel .statgrid{grid-template-columns:1fr}

  /* Grid system: hard force stack */
  .grid{grid-template-columns:1fr !important}
  .card{grid-column:span 1 !important}

  /* Buttons: full width on mobile */
  .hero .cta{flex-direction:column}
  .btn{width:100%}
  .btn.secondary{margin-left:0}

  /* Footer */
  .footer-inner{grid-template-columns:1fr}

}
