/* styles.css */
:root{
  --bg:#0b0b12;
  --text:#eef0ff;
  --muted:#b8bddb;
  --line:rgba(255,255,255,.10);
  --shadow: 0 20px 60px rgba(0,0,0,.35);
  --radius: 18px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 800px at 20% 10%, rgba(167,78,255,.22), transparent 60%),
              radial-gradient(900px 700px at 85% 20%, rgba(74,189,255,.18), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.6;
}

a{color:inherit; text-decoration:none}
a:hover{opacity:.9; text-decoration:underline}
.container{max-width:1100px; margin:0 auto; padding:0 18px}

/* ===== HEADER (IMPROVED LAYOUT) ===== */
.site-header{
  position: sticky;
  top: 0;
  z-index: 50;
  height: 96px;
  background: linear-gradient(90deg, #4b1d73 0%, #1e2f5f 100%);
  border-bottom: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(12px);
}

.header-inner{
  height: 100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
}

.brand{
  display:flex;
  align-items:center;
  height: 100%;
  flex: 1 1 auto;
  min-width: 340px;
}

.brand img{
  height: 62px;
  width: 100%;
  max-width: 640px;
  object-fit: contain;
  display:block;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,.35));
}

.nav{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap: 30px;
  flex: 0 0 auto;
  white-space: nowrap;
}

.nav a{
  color:#ffffff;
  font-weight:700;
  font-size:16px;
  text-decoration:none;
  position:relative;
  padding: 10px 6px;
  border-radius: 10px;
  transition: background .2s ease, transform .2s ease;
}

.nav a:hover{
  background: rgba(255,255,255,.08);
  text-decoration:none;
  transform: translateY(-1px);
}

/* ===== HERO (BETTER BALANCE) ===== */
.hero{
  padding: 44px 0 24px;
}

.hero-inner{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:18px;
  align-items:stretch;
}

.hero-copy,
.hero-card{
  min-height: 360px;
}

.hero-copy{
  padding:28px;
  border:1px solid var(--line);
  background: rgba(17,17,36,.7);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy h1{
  margin:0 0 10px;
  font-size:44px;
  line-height:1.08;
  letter-spacing:-.5px;
}

.subhead{margin:0 0 18px; color:var(--muted); font-size:18px}

.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin:18px 0 18px;
}

.button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.06);
  cursor:pointer;
  font-weight:600;
}

.button.primary{
  border:none;
  background: linear-gradient(135deg, rgba(167,78,255,.95), rgba(74,189,255,.9));
  color:#0b0b12;
}

.button.ghost{background:transparent}

.badge{
  display:inline-block;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  margin:6px 6px 0 0;
  background:rgba(255,255,255,.04);
  font-size:13px;
}

/* ===== SECTIONS (BETTER RHYTHM) ===== */
.section{
  padding:56px 0;
}

.section.alt{
  background: rgba(255,255,255,.03);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}

.section-head{
  margin-bottom:22px;
}

.section-head h2{
  margin:0 0 6px;
  font-size:30px;
}

.muted{color:var(--muted)}
.small{font-size:13px}

.grid{display:grid; gap:14px}
.grid.two{grid-template-columns: repeat(2, minmax(0,1fr))}
.grid.three{grid-template-columns: repeat(3, minmax(0,1fr))}

.card{
  border:1px solid var(--line);
  background: rgba(17,17,36,.65);
  border-radius: var(--radius);
  padding:22px;
  box-shadow: var(--shadow);
}

.card h3{margin:0 0 8px}
.list{margin:0; padding-left:18px}
.link{display:inline-block; margin-top:10px}

.stack{display:grid; gap:14px}

.contact-row{
  display:grid;
  grid-template-columns:90px 1fr;
  gap:12px;
  padding:8px 0;
  border-bottom:1px dashed rgba(255,255,255,.12)
}
.contact-row:last-child{border-bottom:none}
.label{color:var(--muted); font-weight:600}

.form{display:grid; gap:10px}

input, textarea{
  width:100%;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.22);
  color:var(--text);
}
input:focus, textarea:focus{
  outline: 2px solid rgba(74,189,255,.45);
  border-color:transparent
}

.social{display:flex; gap:12px; flex-wrap:wrap; margin-top:10px}

.site-footer{padding:18px 0}
.footer-inner{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  border-top:1px solid var(--line);
  padding-top:14px;
  color:var(--muted);
}

/* ===== HERO RIGHT PANEL ===== */
.hero-card{
  border-radius: var(--radius);
  border:1px solid var(--line);
  box-shadow: var(--shadow);
  background: rgba(17,17,36,.7);
  padding:18px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  gap:14px;
  overflow:hidden;
  position:relative;
}

.hero-card:before{
  content:"";
  position:absolute;
  inset:-40px;
  background:
    radial-gradient(420px 360px at 20% 20%, rgba(167,78,255,.55), transparent 60%),
    radial-gradient(420px 360px at 80% 30%, rgba(74,189,255,.45), transparent 62%),
    radial-gradient(520px 420px at 60% 90%, rgba(255,89,203,.22), transparent 60%);
  filter: blur(2px);
  opacity:.95;
}

.hero-card > *{position:relative}

.hero-card-top h3{
  margin:0 0 4px;
  font-size:18px;
  letter-spacing:.2px;
}

.stats{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:10px;
}

.stat{
  border:1px solid rgba(255,255,255,.14);
  background: rgba(0,0,0,.18);
  border-radius:16px;
  padding:12px;
}

.stat-num{
  font-size:20px;
  font-weight:800;
  margin-bottom:4px;
}

.stat-label{
  color:var(--muted);
  font-size:13px;
}

.hero-card-cta{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.mini-contact{
  display:flex;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
  color:rgba(255,255,255,.85);
  font-size:13px;
  border-top:1px solid rgba(255,255,255,.12);
  padding-top:10px;
}

.dot{opacity:.7}

/* Social pills */
.pill{
  display:inline-block;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.05);
  color:var(--muted);
  font-size:13px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1000px){
  .site-header{ height: 84px; }
  .brand{ min-width: 260px; }
  .brand img{ height: 52px; max-width: 420px; }
  .nav{ gap: 18px; }
  .nav a{ font-size: 15px; padding: 8px 4px; }
}

@media (max-width: 900px){
  .hero-inner{grid-template-columns: 1fr}
  .grid.two,.grid.three{grid-template-columns:1fr}
  .hero-copy h1{font-size:34px}
}

@media (max-width: 760px){
  .nav{ gap: 12px; }
  .nav a{ font-size: 14px; }
}
