/* styles.css
   Clean, modern cross-page styles for Grand Heylce
   Keep this file shared by all pages
*/

:root{
  --bg:#fbfdff;
  --surface:#ffffff;
  --muted:#64748b;
  --brand:#0b5cff;
  --brand-2:#2ad1ff;
  --radius:12px;
  --glass: rgba(11,92,255,0.06);
  --max-width:1100px;
  --shadow: 0 8px 24px rgba(15,23,42,0.06);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
  color-scheme: light;
  -webkit-font-smoothing:antialiased;
  -moz-osx-font-smoothing:grayscale;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  background:var(--bg);
  color:#0f172a;
  line-height:1.5;
  -webkit-font-smoothing:antialiased;
  font-size:16px;
}

/* Utility */
.container{
  width:clamp(300px, 92%, var(--max-width));
  margin:0 auto;
  padding:48px 0;
}

/* Skip link */
.skip-link{
  position:absolute;
  left:-9999px;
  top:auto;
  width:1px;
  height:1px;
  overflow:hidden;
}
.skip-link:focus{
  left:12px;
  top:12px;
  width:auto;
  height:auto;
  padding:8px 12px;
  background:#fff;
  border-radius:8px;
  box-shadow:var(--shadow);
}

/* Header */
.site-header{
  background:linear-gradient(90deg, rgba(11,92,255,0.03), rgba(42,209,255,0.01));
  position:sticky;
  top:0;
  z-index:60;
  backdrop-filter: blur(4px);
  border-bottom:1px solid rgba(11,92,255,0.04);
}
.header-inner{
  display:flex;
  align-items:center;
  gap:24px;
  padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:12px; text-decoration:none; color:inherit;}
.brand-img{ width:54px; height:54px; object-fit:contain; border-radius:50%; padding:0px; background:white; }
.brand-text{ font-weight:700; font-size:20px; color:var(--brand) }

.nav{ margin-left:auto; }
.nav ul{ display:flex; gap:18px; list-style:none; margin:0; padding:0; align-items:center; }
.nav a{ text-decoration:none; color:var(--muted); padding:10px; border-radius:8px; font-weight:600; }
.nav a:hover, .nav a:focus{ color:var(--brand); background:rgba(11,92,255,0.03) }
.nav a.active{ color:var(--brand); background:rgba(11,92,255,0.03) }

.cta{ background:linear-gradient(90deg,var(--brand), var(--brand-2)); color:#fff; padding:8px 12px; border-radius:10px; }

.nav-toggle{
  display:none;
  margin-left:12px;
  background:none;
  border:0;
  padding:8px;
}
.hamburger{ width:26px; height:2px; display:block; background:var(--brand); position:relative; }
.hamburger::before,.hamburger::after{ content:""; position:absolute; left:0; width:100%; height:2px; background:var(--brand); }
.hamburger::before{ top:-8px } .hamburger::after{ top:8px }

/* Hero */
.hero{ padding:48px 0 28px; }
.hero-grid{ display:grid; grid-template-columns: 1fr 460px; gap:28px; align-items:center; }
.hero-content h1{ font-size: clamp(28px, 4.2vw, 44px); margin:0 0 8px;}
.lede{ color:var(--muted); margin:0 0 20px; max-width:52ch; }
.hero-actions{ display:flex; gap:12px; margin-bottom:18px; }
.btn{
  border:0; cursor:pointer; display:inline-flex; align-items:center; gap:8px; text-decoration:none;
  padding:10px 14px; border-radius:10px; font-weight:700;
  background:#fff;
  color:var(--brand);
  box-shadow: 0 4px 12px rgba(11,92,255,0.06);
}
.btn:hover{ transform:translateY(-2px) }
.btn.primary{ background:linear-gradient(90deg,var(--brand), var(--brand-2)); color:white; box-shadow:none }
.btn.ghost{ background:transparent; border:1px solid rgba(11,92,255,0.08); color:var(--brand) }
.btn.small{ padding:8px 10px; font-size:14px; border-radius:8px; }

/* trust */
.trust{ display:flex; gap:8px; align-items:center; margin-top:8px; }
.badge{ background:linear-gradient(90deg,#eef6ff,#f7fdff); color:var(--brand); padding:6px 8px; border-radius:8px; font-weight:700; font-size:13px; box-shadow:var(--shadow) }
.chip{ background:#fff; color:var(--muted); border-radius:999px; padding:6px 10px; font-size:13px; border:1px solid rgba(11,92,255,0.03) }

/* mid section / cards */
.mid h2{ margin-top:0 }
.center{ text-align:center }
.muted{ color:var(--muted) }

.cards-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin-top:18px; }
.card{
  background:var(--surface); border-radius:12px; padding:18px; box-shadow:var(--shadow);
}
.card h3{ margin:0 0 8px; color:var(--brand) }

/* product grid */
.product-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:18px; margin-top:18px; }
.product{ background:linear-gradient(180deg,#fff,#fbfdff); padding:18px; border-radius:12px; box-shadow:var(--shadow) }
.product-tag{ color:var(--brand); font-weight:700; margin:6px 0; }
.product-features{ padding-left:18px; color:var(--muted); }

/* detail grid for product pages */
.detail-grid{ display:grid; grid-template-columns: 1fr 380px; gap:20px; align-items:start; margin:18px 0 28px;}
.doc-figure{ border-radius:12px; padding:18px; background:#fff; box-shadow:var(--shadow); }

/* team */
.team-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap:18px; margin-top:18px; }
.team-card{ background:var(--surface); border-radius:12px; padding:18px; box-shadow:var(--shadow); display:flex; gap:12px; align-items:flex-start; }
.avatar{ width:64px; height:64px; border-radius:12px; overflow:hidden; display:flex; align-items:center; justify-content:center; }
.avatar-illustration{ width:100%; height:100% }

/* jobs */
.jobs-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:12px; margin-top:12px; }
.job{ background:var(--surface); padding:16px; border-radius:12px; box-shadow:var(--shadow) }

/* contact */
.contact-grid{ display:grid; grid-template-columns: 1fr 320px; gap:24px; align-items:start; margin-top:18px; }
.form{ background:var(--surface); padding:18px; border-radius:12px; box-shadow:var(--shadow) }
.form-row{ margin-bottom:12px; display:flex; flex-direction:column; }
label{ font-weight:700; margin-bottom:6px; }
input, textarea{
  padding:10px 12px; border-radius:10px; border:1px solid rgba(11,92,255,0.08); font-size:15px;
  background:transparent;
}
.field-error{ color:#dc2626; font-size:13px; min-height:18px; margin-top:6px; }
.form-actions{ display:flex; gap:10px; align-items:center; }
.form-status{ margin-top:12px; font-weight:700; color:var(--brand) }

/* legal content */
.legal{ background:var(--surface); padding:20px; border-radius:12px; box-shadow:var(--shadow); margin:18px 0; }
.legal h2{ color:var(--brand) }

/* footer */
.site-footer{ border-top:1px solid rgba(11,92,255,0.04); background:transparent; padding:22px 0; }
.footer-grid{ display:flex; justify-content:space-between; align-items:center; gap:12px; }

/* small screens */
@media (max-width:980px){
  .hero-grid{ grid-template-columns: 1fr; }
  .product-grid, .team-grid{ grid-template-columns: repeat(2,1fr) }
  .cards-grid{ grid-template-columns: repeat(2,1fr) }
  .nav{ display:none }
  .nav-toggle{ display:block }
  .container{ padding:28px 16px; }
  .contact-grid{ grid-template-columns:1fr; }
  .jobs-grid{ grid-template-columns:1fr }
  .detail-grid{ grid-template-columns: 1fr; }
}

/* tiny screens */
@media (max-width:560px){
  .product-grid, .team-grid, .cards-grid{ grid-template-columns: 1fr }
  .brand-img{ display:block; width:40px; height:40px; }
  .brand-text{ font-size:16px }
}

/* Mobile nav panel */
.nav-mobile{
  background:var(--surface);
  padding:12px;
  border-bottom-left-radius:12px;
  border-bottom-right-radius:12px;
  box-shadow:var(--shadow);
}
.nav-mobile ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:8px; }
.nav-mobile a{ padding:10px; display:block; border-radius:8px; text-decoration:none; color:var(--brand) }

/* Links */
a.link{ color:var(--brand); text-decoration:none; font-weight:700 }
a.link:hover{text-decoration:underline}
