/* Core4U Static Site — single-page home (5 sections) */
:root{
  --bg:#0b1220;
  --bg2:#0f172a;
  --text:#e6ecf3;
  --muted:#a6b1c3;
  --line:rgba(255,255,255,.10);
  --accent:#4cc9f0;
  --accent2:#2f7cff;
  --shadow: 0 18px 50px rgba(0,0,0,.35);
  --radius: 18px;
}
*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family:"Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: radial-gradient(1200px 700px at 70% -10%, rgba(79,209,255,.18), transparent 60%),
              radial-gradient(900px 600px at 10% 10%, rgba(47,124,255,.18), transparent 55%),
              var(--bg);
  color:var(--text);
  line-height:1.55;
}
.topbar{
  position:sticky; top:0; z-index:50;
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 22px;
  backdrop-filter: blur(10px);
  background: rgba(5,10,20,.65);
  border-bottom:1px solid var(--line);
}
.brand{display:flex; align-items:baseline; gap:10px; text-decoration:none; color:inherit}
.brand-mark{width:28px; height:28px; opacity:.9}
.brand-text{font-weight:800; letter-spacing:.2px; font-size:18px}
.brand-sub{color:var(--muted); font-weight:700; font-size:12px; text-transform:uppercase; letter-spacing:.14em}
.nav{display:flex; align-items:center; gap:14px}
.nav a{color:var(--muted); text-decoration:none; font-weight:700; font-size:14px}
.nav a:hover{color:var(--text)}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid var(--line);
  text-decoration:none;
  color:var(--text);
  background: rgba(255,255,255,.04);
  font-weight:800;
  font-size:14px;
  gap:8px;
}
.btn:hover{border-color: rgba(255,255,255,.22)}
.btn.primary{
  background: linear-gradient(135deg, var(--accent2), var(--accent));
  border-color: transparent;
  box-shadow: 0 10px 25px rgba(47,124,255,.22);
}
.btn.ghost{background:transparent}
.menu{
  display:none;
  width:42px; height:38px;
  border-radius:12px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.03);
}
.menu span{
  display:block; height:2px; width:18px;
  background: var(--text);
  margin:4px auto;
  opacity:.9;
}
.hero{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:24px;
  padding:56px 22px 22px;
  max-width:1100px;
  margin:0 auto;
}
.hero-inner{
  padding:26px;
  border:1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(12,20,38,.55);
  box-shadow: var(--shadow);
}
.kicker{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--line);
  color:var(--muted);
  font-weight:800;
  font-size:12px;
  letter-spacing:.08em;
  text-transform:uppercase;
  background: rgba(255,255,255,.03);
}
.hero h1{
  margin:14px 0 6px;
  font-size:46px;
  line-height:1.08;
  letter-spacing:-.02em;
}
.subtitle{color:var(--text); margin:0 0 8px; font-weight:800; opacity:.95}
.lead{color:var(--muted); margin:0 0 18px; max-width: 55ch}
.cta{display:flex; gap:12px; flex-wrap:wrap}
.hero-metrics{
  margin-top:20px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:12px;
}
.metric{
  border:1px solid var(--line);
  border-radius: 14px;
  padding:12px;
  background: rgba(255,255,255,.03);
}
.metric-value{font-weight:900; font-size:14px; letter-spacing:.02em}
.metric-label{color:var(--muted); font-size:12px}
.hero-card{
  border:1px solid var(--line);
  border-radius: var(--radius);
  padding:22px;
  background: rgba(12,20,38,.65);
  box-shadow: var(--shadow);
}
.card-title{font-weight:900; margin-bottom:10px}
.card-row{display:flex; justify-content:space-between; padding:10px 0; border-bottom:1px dashed rgba(255,255,255,.12)}
.card-row:last-of-type{border-bottom:none}
.pill{
  padding:4px 10px; border-radius:999px; font-weight:900; font-size:12px;
  border:1px solid rgba(255,255,255,.18);
}
.pill.ok{background: rgba(34,197,94,.14); color: #c8f7d7; border-color: rgba(34,197,94,.28)}
.spark{margin-top:16px; height:60px; border-radius:14px; background: rgba(255,255,255,.03); border:1px solid var(--line); overflow:hidden}
.spark-line{
  height:100%;
  background: linear-gradient(90deg, transparent, rgba(79,209,255,.35), transparent);
  animation: sweep 2.2s linear infinite;
}
@keyframes sweep{0%{transform:translateX(-60%)}100%{transform:translateX(160%)}}
.section{
  max-width:1100px;
  margin:0 auto;
  padding:54px 22px;
}
.section-dark{
  background: rgba(15,23,42,.55);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.section-contact{padding-bottom:80px}
.section-head h2{margin:0 0 10px; font-size:28px; letter-spacing:-.01em}
.section-head p{margin:0; color:var(--muted)}
.grid{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
}
.tile{
  border:1px solid var(--line);
  border-radius: 16px;
  padding:18px;
  background: rgba(255,255,255,.03);
  min-height:140px;
}
.tile h3{margin:0 0 10px; font-weight:900}
.tile p{margin:0; color:var(--muted)}
.tile-dark{background: rgba(12,20,38,.50)}
.about{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
}
.about-card{
  border:1px solid var(--line);
  border-radius: 16px;
  padding:18px;
  background: rgba(255,255,255,.03);
}
.about-card h3{margin:0 0 10px; font-weight:900}
.about-card p{margin:0; color:var(--muted)}
.about-card strong{color:var(--text)}
.contact{
  margin-top:18px;
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap:14px;
}
.form{
  border:1px solid var(--line);
  border-radius: 16px;
  padding:18px;
  background: rgba(255,255,255,.03);
}
label{display:block; font-weight:900; font-size:13px; color:var(--text); margin-bottom:12px}
input,textarea{
  width:100%;
  margin-top:8px;
  padding:12px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(5,10,20,.35);
  color:var(--text);
  outline:none;
}
input:focus, textarea:focus{border-color: rgba(79,209,255,.55)}
.hint{color:var(--muted); font-size:12px; margin-top:10px}
.contact-card{
  border:1px solid var(--line);
  border-radius: 16px;
  padding:18px;
  background: rgba(12,20,38,.45);
}
.small{color:var(--muted); font-size:12px}
.mini{
  margin-top:14px;
  border:1px dashed rgba(255,255,255,.14);
  border-radius: 14px;
  padding:12px;
  background: rgba(255,255,255,.02);
}
.mini-k{color:var(--muted); font-weight:900; font-size:12px; letter-spacing:.08em; text-transform:uppercase}
.mini-v{margin-top:6px; color:var(--text); font-weight:700; font-size:13px}
.footer{border-top:1px solid var(--line); background: rgba(5,10,20,.65)}
.footer-inner{
  max-width:1100px;
  margin:0 auto;
  padding:22px;
  display:grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap:10px;
  align-items:center;
}
.foot-links{display:flex; gap:12px; justify-content:center; flex-wrap:wrap}
.foot-links a{color:var(--muted); text-decoration:none; font-weight:800; font-size:13px}
.foot-links a:hover{color:var(--text)}
.foot-copy{color:var(--muted); font-size:12px; text-align:right}
@media (max-width: 980px){
  .grid{grid-template-columns: repeat(2, 1fr)}
  .hero{grid-template-columns: 1fr}
  .hero h1{font-size:40px}
  .footer-inner{grid-template-columns: 1fr; text-align:center}
  .foot-links{justify-content:center}
  .foot-copy{text-align:center}
}
@media (max-width: 720px){
  .nav{display:none}
  .menu{display:inline-flex; align-items:center; justify-content:center}
  .hero-inner{padding:20px}
  .hero h1{font-size:34px}
  .hero-metrics{grid-template-columns: 1fr}
  .about{grid-template-columns: 1fr}
  .contact{grid-template-columns: 1fr}
}
/* Contact page polish */
.form input, .form textarea {
  width: 100%;
}

.contact-card a {
  text-decoration: none;
}
.contact-card a:hover {
  text-decoration: underline;
}
/* Page transition */
body {
  opacity: 1;
  transition: opacity 0.35s ease;
}

body.fade-out {
  opacity: 0;
}

