/* =====================================
   contact.css — CarlLeger.github.io
   Premium contact page (separated CSS)
   ===================================== */

:root{
  --bg-1:#0b1220;
  --bg-2:#070d17;

  --panel-1:rgba(255,255,255,.08);
  --panel-2:rgba(255,255,255,.04);
  --stroke:rgba(255,255,255,.10);

  --text:#e7ecff;
  --muted:#a8b3d6;

  --accent:#38bdf8;
  --accent-2:#a78bfa;

  --shadow:0 22px 70px rgba(0,0,0,.42);
  --radius-sm:12px;
  --radius-md:16px;
  --radius-lg:22px;
  --radius-xl:28px;

  --max:1060px;
  --gutter:20px;

  --glow-a: rgba(56,189,248,.42);
  --glow-b: rgba(167,139,250,.34);

  --btn-stroke: rgba(255,255,255,.14);
  --btn-stroke-hover: rgba(255,255,255,.22);
}

*{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }

body{
  margin:0;
  color:var(--text);
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  line-height:1.65;
  -webkit-font-smoothing: antialiased;
  background:
    radial-gradient(1000px 520px at 14% 10%, rgba(56,189,248,.20), transparent 60%),
    radial-gradient(1000px 520px at 86% 12%, rgba(167,139,250,.18), transparent 60%),
    radial-gradient(900px 480px at 50% -10%, rgba(255,255,255,.07), transparent 55%),
    linear-gradient(180deg, var(--bg-1), var(--bg-2));
}

img{ max-width:100%; height:auto; display:block; }
a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; text-underline-offset:3px; }

:focus-visible{
  outline:3px solid rgba(56,189,248,.55);
  outline-offset:3px;
  border-radius:12px;
}

.container{
  max-width:var(--max);
  margin:0 auto;
  padding:0 var(--gutter);
}

.skip{
  position:absolute;
  left:-999px;
  top:12px;
  background:rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  padding:10px 12px;
  border-radius:14px;
  z-index:9999;
}
.skip:focus{ left:12px; }

.section{ padding:22px 0 56px; }

/* Header */
.siteHeader{
  position:sticky;
  top:0;
  z-index:60;
  backdrop-filter:saturate(140%) blur(14px);
  -webkit-backdrop-filter:saturate(140%) blur(14px);
  background:
    radial-gradient(900px 360px at 20% 0%, rgba(56,189,248,.10), transparent 60%),
    radial-gradient(900px 360px at 80% 0%, rgba(167,139,250,.10), transparent 60%),
    linear-gradient(180deg, rgba(10,16,26,.86), rgba(10,16,26,.58));
  border-bottom:1px solid rgba(255,255,255,.10);
}

.headerInner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  min-width:0;
}
.brand:hover{ text-decoration:none; }

.brandMark{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  display:inline-flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 18px 60px rgba(0,0,0,.35);
}
.brandMark img{ width:22px; height:22px; }

.brandMeta{ min-width:0; display:flex; flex-direction:column; gap:2px; }
.brandName{
  font-weight:950;
  letter-spacing:.2px;
  line-height:1.1;
  font-size:14px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:44ch;
}
.brandTag{
  color:rgba(168,179,214,.92);
  font-size:12.5px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
  max-width:58ch;
}

.nav{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  justify-content:flex-end;
  align-items:center;
}

.nav a{
  padding:9px 10px;
  border-radius:12px;
  font-size:13px;
  font-weight:900;
  letter-spacing:.12px;
  color:rgba(231,236,255,.88);
  border:1px solid transparent;
  background:transparent;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.nav a:hover{
  text-decoration:none;
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.10);
  transform:translateY(-1px);
}
.nav a[aria-current="page"]{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.12);
}
.nav a.navCta{
  background:
    radial-gradient(120px 80px at 20% 10%, rgba(255,255,255,.16), transparent 55%),
    linear-gradient(135deg, rgba(56,189,248,.18), rgba(167,139,250,.14));
  border-color:rgba(56,189,248,.30);
  box-shadow:0 16px 55px rgba(0,0,0,.28);
}

/* Hero container */
.heroCard{
  position:relative;
  border-radius:var(--radius-xl);
  border:1px solid rgba(255,255,255,.10);
  background:
    radial-gradient(900px 380px at 20% 0%, rgba(56,189,248,.16), transparent 60%),
    radial-gradient(900px 380px at 80% 0%, rgba(167,139,250,.12), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.06), rgba(255,255,255,.03));
  box-shadow: var(--shadow);
  overflow:hidden;
}

.heroCard::before{
  content:"";
  position:absolute;
  inset:-2px;
  background:
    radial-gradient(260px 140px at 18% 8%, var(--glow-a), transparent 60%),
    radial-gradient(260px 140px at 82% 10%, var(--glow-b), transparent 60%);
  opacity:.28;
  filter: blur(16px);
  pointer-events:none;
}

.heroGrid{
  position:relative;
  z-index:1;
  padding:26px 22px;
  display:grid;
  grid-template-columns: 1.05fr .95fr;
  gap:16px;
  align-items:start;
}

h1{
  margin:0 0 10px;
  font-size:44px;
  line-height:1.05;
  letter-spacing:-.02em;
}

.lead{
  margin:0;
  font-size:17px;
  color:rgba(231,236,255,.92);
  max-width:75ch;
}

.pills{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.pill{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  font-size:12.5px;
  color:rgba(231,236,255,.92);
}
.pill i{ color:rgba(56,189,248,.95); }

.callout{
  margin-top:14px;
  padding:14px 14px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
}
.calloutTitle{
  font-weight:950;
  letter-spacing:.12px;
  font-size:13px;
  margin-bottom:8px;
}
.calloutList{
  margin:0;
  padding-left:18px;
  color:rgba(231,236,255,.90);
}
.calloutNote{
  margin:10px 0 0;
  color:rgba(168,179,214,.92);
  font-size:13px;
}

.microRow{
  margin-top:14px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}
.microLink{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:9px 10px;
  border-radius:14px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(231,236,255,.92);
  font-size:13px;
  font-weight:900;
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.microLink:hover{
  text-decoration:none;
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.16);
  transform: translateY(-1px);
}

/* Form card */
.formCard{
  border-radius:var(--radius-xl);
  border:1px solid rgba(255,255,255,.12);
  background: linear-gradient(180deg, rgba(10,16,26,.78), rgba(10,16,26,.55));
  box-shadow: 0 26px 90px rgba(0,0,0,.45);
  overflow:hidden;
}

.formHeader{
  padding:16px 16px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(520px 220px at 20% 0%, rgba(56,189,248,.12), transparent 60%),
    radial-gradient(520px 220px at 80% 0%, rgba(167,139,250,.10), transparent 60%),
    rgba(255,255,255,.02);
}
.formTitle{
  font-size:14px;
  font-weight:950;
  letter-spacing:.18px;
}
.formSub{
  margin-top:4px;
  font-size:12.5px;
  color:rgba(168,179,214,.92);
}

form{ padding:14px 16px 16px; }

.grid{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:12px;
}
.full{ grid-column:1 / -1; }

.field{ display:flex; flex-direction:column; gap:6px; }
label{
  font-size:13px;
  font-weight:900;
  color:rgba(231,236,255,.92);
  letter-spacing:.12px;
}

input, select, textarea{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(8,14,26,.65);
  color:var(--text);
  outline:none;
}

textarea{ resize:vertical; min-height:120px; }
input::placeholder, textarea::placeholder{ color: rgba(168,179,214,.75); }

input:focus, select:focus, textarea:focus{
  border-color: rgba(56,189,248,.55);
  box-shadow: 0 0 0 4px rgba(56,189,248,.12);
}

.hp{
  position:absolute !important;
  left:-9999px !important;
  width:1px !important;
  height:1px !important;
  overflow:hidden !important;
}

/* Buttons */
.actions{
  margin-top:12px;
  display:flex;
  flex-wrap:wrap;
  gap:12px;
}

.btnPrimary, .btnGhost{
  position:relative;
  isolation:isolate;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:16px;
  font-size:14px;
  font-weight:950;
  letter-spacing:.12px;
  cursor:pointer;
  text-decoration:none;
  border:1px solid var(--btn-stroke);
  transition: transform .14s ease, box-shadow .14s ease, background .14s ease, border-color .14s ease, filter .14s ease;
}

.btnPrimary{
  border:0;
  color:#07101c;
  background:
    radial-gradient(120px 90px at 20% 10%, rgba(255,255,255,.35), transparent 55%),
    linear-gradient(135deg, rgba(56,189,248,1), rgba(167,139,250,1));
  box-shadow:
    0 18px 70px rgba(0,0,0,.45),
    0 0 0 1px rgba(255,255,255,.14) inset;
}

.btnPrimary::before{
  content:"";
  position:absolute;
  inset:-3px;
  border-radius:inherit;
  background:
    radial-gradient(120px 70px at 20% 10%, var(--glow-a), transparent 60%),
    radial-gradient(120px 70px at 80% 10%, var(--glow-b), transparent 60%);
  opacity:.70;
  filter: blur(14px);
  z-index:-1;
  transition: opacity .14s ease, filter .14s ease;
}

.btnPrimary:hover{
  transform:translateY(-2px);
  filter:brightness(1.03) saturate(1.02);
  box-shadow:
    0 22px 90px rgba(0,0,0,.55),
    0 0 0 1px rgba(255,255,255,.18) inset;
}
.btnPrimary:hover::before{ opacity:.88; filter: blur(16px); }
.btnPrimary:active{ transform:translateY(-1px); }

.btnGhost{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.05));
  color:rgba(231,236,255,.95);
  box-shadow: 0 14px 40px rgba(0,0,0,.35);
}
.btnGhost:hover{
  transform:translateY(-2px);
  background: linear-gradient(180deg, rgba(255,255,255,.11), rgba(255,255,255,.06));
  border-color: var(--btn-stroke-hover);
}

.status{
  margin-top:10px;
  font-size:13px;
  color:rgba(168,179,214,.92);
  min-height:18px;
}

.fineprint{
  margin-top:10px;
  color:rgba(168,179,214,.92);
  font-size:13px;
}

/* Footer */
.siteFooter{
  margin-top:24px;
  border-top:1px solid rgba(255,255,255,.10);
  background:rgba(7,13,23,.35);
}
.footerInner{
  padding:16px 0;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.footerLeft{
  display:flex;
  align-items:center;
  gap:10px;
  color:rgba(168,179,214,.92);
  font-size:13px;
}
.footerDot{
  width:10px;
  height:10px;
  border-radius:999px;
  background:linear-gradient(135deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 0 1px rgba(255,255,255,.14) inset;
}
.footerTop{
  font-size:13px;
  font-weight:950;
  padding:9px 10px;
  border-radius:12px;
  background:rgba(255,255,255,.04);
  border:1px solid rgba(255,255,255,.10);
  color:rgba(231,236,255,.95);
  transition: transform .12s ease, background .12s ease, border-color .12s ease;
}
.footerTop:hover{
  text-decoration:none;
  transform: translateY(-1px);
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.16);
}

/* Responsive */
@media (max-width: 960px){
  .heroGrid{ grid-template-columns: 1fr; }
  h1{ font-size:38px; }
}

@media (max-width: 560px){
  .grid{ grid-template-columns: 1fr; }
  .brandTag{ display:none; }
}
