/* SCORESTECH — Light Theme (Marketing + ERP-friendly base)
   Path: /assets/css/style.css
   Notes:
   - Light, crisp, high-contrast for readability
   - Neon header + dark premium footer for “tech” impact
   - Portfolio cards fixed-height and consistent across rows
*/

/* =========================
   TOKENS
   ========================= */
:root{
  --bg: #f6f8fc;
  --surface: #ffffff;
  --surface2: #f1f5ff;
  --text: #0f172a;
  --muted: #475569;
  --muted2:#64748b;
  --line: rgba(15, 23, 42, .10);

  --brand: #2563eb;     /* blue */
  --brand2:#16a34a;     /* green */
  --warn:  #f59e0b;

  --shadow: 0 18px 50px rgba(15, 23, 42, .10);
  --shadow2: 0 10px 28px rgba(15, 23, 42, .08);

  --r: 18px;
  --max: 1120px;
}

/* =========================
   BASE
   ========================= */
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  line-height: 1.55;

  background:
    radial-gradient(1100px 600px at 15% 0%, rgba(37,99,235,.12), transparent 60%),
    radial-gradient(900px 520px at 85% 10%, rgba(22,163,74,.10), transparent 55%),
    linear-gradient(180deg, #ffffff 0%, var(--bg) 55%, #ffffff 100%);
}

img{max-width:100%;height:auto}
a{color:inherit;text-decoration:none}
.container{max-width:var(--max);margin:0 auto;padding:0 18px}

/* Useful defaults */
small,.small{font-size:13px;color:var(--muted2)}
hr{border:0;border-top:1px solid var(--line);margin:18px 0}

/* =========================
   BUTTONS
   ========================= */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;

  padding:11px 14px;
  border-radius:14px;
  border:1px solid var(--line);
  background: rgba(255,255,255,.70);
  color: var(--text);
  font-weight:800;
  font-size:14px;
  box-shadow: 0 1px 0 rgba(15,23,42,.02);
  cursor:pointer;
  user-select:none;
}

.btn:hover{
  border-color: rgba(15,23,42,.18);
  box-shadow: var(--shadow2);
}

.btn:active{transform: translateY(1px)}

.btn.primary{
  border:0;
  background: linear-gradient(135deg, var(--brand), #1d4ed8);
  color:#fff;
  box-shadow: 0 16px 40px rgba(37,99,235,.22);
}
.btn.primary:hover{filter:brightness(1.03)}

.btn.ghost{background: transparent}

/* Neon variants (used in header/showcase) */
.btn.btn-lite{
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(255,255,255,.45);
  font-weight: 900;
}

.btn.btn-neon{
  border: 0;
  color: #fff;
  font-weight: 950;
  background: linear-gradient(90deg, #2563eb, #7c3aed, #ec4899, #f59e0b);
  box-shadow:
    0 18px 45px rgba(37,99,235,.22),
    0 20px 55px rgba(236,72,153,.16);
}
.btn.btn-neon:hover{filter: brightness(1.04)}

/* =========================
   HEADER (COLORFUL TECH)
   ========================= */
.topbar{
  position: sticky;
  top: 0;
  z-index: 60;

  border-bottom: 1px solid rgba(15,23,42,.10);
  background:
    radial-gradient(900px 260px at 15% 0%, rgba(37,99,235,.55), transparent 60%),
    radial-gradient(900px 260px at 85% 0%, rgba(236,72,153,.45), transparent 60%),
    linear-gradient(90deg, rgba(99,102,241,.18), rgba(16,185,129,.16));
}

@supports ((-webkit-backdrop-filter: blur(10px)) or (backdrop-filter: blur(10px))){
  .topbar{
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
  }
}

.topbar-glow{
  height: 3px;
  background: linear-gradient(90deg,
    #2563eb, #7c3aed, #ec4899, #f59e0b, #16a34a, #06b6d4, #2563eb
  );
  opacity: .95;
}

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

.neon-nav{
  height: 78px;
  gap: 14px;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  font-weight: 900;
  letter-spacing: .2px;
}

.brand-text{
  font-weight: 1000;
  letter-spacing: .6px;
}

.brand-badge{
  width:36px;
  height:36px;
  border-radius:12px;
  background: linear-gradient(135deg, var(--brand), rgba(22,163,74,.85));
  box-shadow: 0 14px 30px rgba(37,99,235,.18);
}

.brand-badge.glow{
  background: conic-gradient(from 180deg,
    #2563eb, #7c3aed, #ec4899, #f59e0b, #16a34a, #06b6d4, #2563eb
  );
  box-shadow:
    0 12px 28px rgba(37,99,235,.25),
    0 18px 50px rgba(236,72,153,.18),
    0 10px 26px rgba(22,163,74,.16);
}

.navlinks{
  display:flex;
  gap:18px;
  align-items:center;
}

.neon-links{
  padding: 8px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 28px rgba(15,23,42,.10);
}

.navlinks a{
  color: var(--muted);
  font-weight:700;
  font-size:14px;
}

.neon-links a{
  padding: 8px 10px;
  border-radius: 999px;
  color: rgba(15,23,42,.85);
  font-weight: 900;
}

.navlinks a:hover{color: var(--text)}
.neon-links a:hover{background: rgba(255,255,255,.85)}

.cta{display:flex;gap:10px;align-items:center}

/* =========================
   HERO
   ========================= */
.hero{padding:64px 0 18px}
.hero-grid{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:22px;
  align-items:start;
}

.kicker{
  display:inline-flex;
  gap:10px;
  align-items:center;
  padding:7px 10px;
  border:1px solid var(--line);
  border-radius:999px;
  color: var(--muted);
  font-weight:800;
  font-size:13px;
  background: rgba(255,255,255,.70);
}

.dot{width:8px;height:8px;border-radius:999px;background:var(--brand)}

h1{
  margin:14px 0 10px;
  font-size:44px;
  line-height:1.1;
  letter-spacing:-.6px;
}

.sub{
  color: var(--muted);
  font-size:16px;
  max-width:62ch;
}

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

.trust{
  margin-top:18px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  color: var(--muted2);
  font-weight:800;
  font-size:13px;
}

.pill{
  border:1px solid var(--line);
  padding:7px 10px;
  border-radius:999px;
  background: rgba(255,255,255,.70);
}

/* Optional enhancements used by updated index */
.hero--enhanced .hero-metrics{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.hero--enhanced .metric{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.82);
  border-radius: 16px;
  padding: 12px;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
}
.hero--enhanced .metric b{
  display:block;
  font-weight: 1000;
  font-size: 13px;
}
.hero--enhanced .metric span{
  display:block;
  margin-top: 6px;
  color: var(--muted);
  font-weight: 700;
  font-size: 13px;
}

/* =========================
   PANELS / CARDS / LISTS
   ========================= */
.panel{
  border:1px solid var(--line);
  background: rgba(255,255,255,.78);
  border-radius: var(--r);
  padding:18px;
  box-shadow: var(--shadow);
}
.panel h3{margin:0 0 8px;font-size:16px}
.panel p{margin:0;color:var(--muted);font-size:14px}

.panel-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  margin-bottom: 10px;
}
.badge{
  display:inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  color: rgba(15,23,42,.85);
  border: 1px solid rgba(15,23,42,.12);
  background: rgba(241,245,255,.78);
}

.panel-list{display:grid;gap:12px;margin-top:12px}
.panel-item{
  border:1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,.85), rgba(241,245,255,.65));
  border-radius:16px;
  padding:12px;
}
.panel-item strong{display:block;font-size:14px}
.panel-item span{display:block;color:var(--muted);font-size:13px;margin-top:4px}

.panel-cta{
  margin-top: 14px;
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}

.section{padding:44px 0}
.section h2{margin:0 0 10px;font-size:26px}
.section p.lead{margin:0 0 18px;color:var(--muted);max-width:75ch}

.section-head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
}
.section-actions{display:flex;gap:10px;align-items:center}

.grid3{display:grid;grid-template-columns: repeat(3,1fr);gap:14px}

.card{
  border:1px solid var(--line);
  background: rgba(255,255,255,.85);
  border-radius: var(--r);
  padding:16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}
.card h3{margin:0 0 6px;font-size:16px}
.card p{margin:0;color:var(--muted);font-size:14px}

.card--lift:hover{
  transform: translateY(-2px);
  transition: transform .15s ease;
}

.tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:12px}
.tag{
  font-size:12px;
  font-weight:800;
  color: var(--muted);
  border:1px solid var(--line);
  padding:6px 9px;
  border-radius:999px;
  background: rgba(241,245,255,.75);
}

.split{display:grid;grid-template-columns: 1fr 1fr; gap:14px}

.list{
  border:1px solid var(--line);
  background: rgba(255,255,255,.85);
  border-radius: var(--r);
  padding:16px;
  box-shadow: 0 10px 30px rgba(15,23,42,.06);
}
.list ul{margin:10px 0 0;padding-left:18px;color:var(--muted)}
.list li{margin:7px 0}

.steps{display:grid;grid-template-columns: repeat(5,1fr); gap:10px}
.step{
  border:1px solid var(--line);
  background: rgba(255,255,255,.85);
  border-radius: 16px;
  padding:12px;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
}
.step b{display:block;font-size:13px}
.step span{display:block;color:var(--muted);font-size:13px;margin-top:6px}

/* =========================
   STRIP (optional)
   ========================= */
.strip{
  padding: 12px 0;
}
.strip-inner{
  border: 1px solid var(--line);
  background: rgba(255,255,255,.70);
  border-radius: 999px;
  padding: 10px 12px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  flex-wrap:wrap;
  box-shadow: 0 10px 26px rgba(15,23,42,.05);
}
.strip-title{
  font-weight: 950;
  color: rgba(15,23,42,.80);
  font-size: 13px;
}
.strip-items{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
}
.strip-pill{
  border:1px solid rgba(15,23,42,.10);
  background: rgba(241,245,255,.75);
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 850;
  font-size: 13px;
  color: rgba(15,23,42,.78);
}

/* =========================
   CTA BLOCK
   ========================= */
.ctaBlock{
  border:1px solid var(--line);
  background: linear-gradient(135deg, rgba(37,99,235,.10), rgba(22,163,74,.08));
  border-radius: 26px;
  padding:22px;
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  box-shadow: var(--shadow);
}
.ctaBlock h3{margin:0 0 6px;font-size:18px}
.ctaBlock p{margin:0;color:var(--muted)}

/* =========================
   PORTFOLIO (SHOWCASE) — EQUAL CARD SIZES
   ========================= */
.portfolio-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap:14px;
  align-items: stretch;
}

.portfolio-card{
  display:flex;
  flex-direction:column;
  height:100%;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background: rgba(255,255,255,.88);
  border-radius: 18px;
  box-shadow: 0 12px 30px rgba(15,23,42,.06);
}

.portfolio-frame{
  position:relative;
  width:100%;
  height: 190px;
  background: rgba(241,245,255,.85);
  border-bottom:1px solid rgba(15,23,42,.10);
  overflow:hidden;
}

/* Preview overlay (works for blocked iframes too) */
.embed-fallback{
  position:absolute;
  inset:0;
  display:block;
  background:#fff;
}

.embed-fallback img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  filter: saturate(1.05) contrast(1.02);
}

.embed-overlay{
  position:absolute;
  inset:0;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
  gap:10px;
  padding:12px;
  background: linear-gradient(180deg,
    rgba(15,23,42,.05) 0%,
    rgba(15,23,42,.22) 45%,
    rgba(15,23,42,.62) 100%
  );
  color:#fff;
}

.embed-name{
  font-weight: 1000;
  font-size: 15px;
  letter-spacing: -.2px;
  text-shadow: 0 10px 18px rgba(0,0,0,.25);
}

.embed-note{
  font-size: 13px;
  font-weight: 800;
  color: rgba(255,255,255,.85);
  margin-top:-4px;
}

.embed-actions{display:flex;gap:10px;flex-wrap:wrap}

/* Coming soon visual */
.soon-cover{
  width:100%;
  height:100%;
  border-radius: 0;
  border: 0;
  background: rgba(255,255,255,.70);
  display:flex;
  flex-direction:column;
  justify-content:center;
  gap:8px;
  padding: 14px;
}
.soon-badge{
  display:inline-flex;
  width:max-content;
  padding:6px 10px;
  border-radius: 999px;
  font-weight: 950;
  font-size: 12px;
  color: #0f172a;
  background: linear-gradient(90deg, rgba(245,158,11,.25), rgba(37,99,235,.18), rgba(236,72,153,.16));
  border: 1px solid rgba(15,23,42,.10);
}
.soon-title{font-weight: 1000;font-size: 15px}
.soon-text{color: rgba(71,85,105,1);font-weight: 800;font-size: 13px}

.portfolio-body{
  display:flex;
  flex-direction:column;
  padding:12px;
  flex: 1;
}

.portfolio-top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
}

.portfolio-top h3{
  margin:0;
  font-size:15px;
  line-height:1.2;
}

.open-link{
  font-weight: 900;
  font-size: 13px;
  color: rgba(15,23,42,.80);
  padding: 7px 10px;
  border-radius: 999px;
  border:1px solid rgba(15,23,42,.12);
  background: rgba(241,245,255,.75);
}
.open-link:hover{background: rgba(255,255,255,.95)}

.portfolio-desc{
  margin:8px 0 0;
  font-size:13px;
  color: rgba(71,85,105,1);

  display:-webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow:hidden;

  min-height: 54px;
}

.portfolio-body .tags{
  margin-top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  max-height: 54px;
  overflow:hidden;
}

.showcase-foot{
  display:flex;
  justify-content:center;
  gap: 10px;
  margin-top: 14px;
  flex-wrap:wrap;
}

/* =========================
   FOOTER (PREMIUM DARK)
   ========================= */
.site-footer{
  position: relative;
  margin-top: 44px;
  padding: 44px 0 22px;

  color: rgba(255,255,255,.92);
  background:
    radial-gradient(900px 420px at 15% 0%, rgba(37,99,235,.55), transparent 60%),
    radial-gradient(900px 420px at 85% 0%, rgba(236,72,153,.45), transparent 60%),
    radial-gradient(900px 520px at 60% 70%, rgba(22,163,74,.25), transparent 65%),
    linear-gradient(180deg, #0b1220 0%, #070b14 100%);
  overflow: hidden;
}

.footer-glow{
  position: absolute;
  inset: -200px -200px auto -200px;
  height: 340px;
  background: radial-gradient(circle at 50% 50%, rgba(99,102,241,.35), transparent 60%);
  filter: blur(20px);
  opacity: .65;
  pointer-events: none;
}

.footer-top{
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 22px;
  align-items: start;
}

.footer-logo{
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-name{
  font-weight: 1000;
  letter-spacing: .6px;
  font-size: 18px;
}

.footer-tag{
  color: rgba(255,255,255,.72);
  font-weight: 800;
  font-size: 13px;
}

.footer-desc{
  margin: 14px 0 0;
  max-width: 70ch;
  color: rgba(255,255,255,.78);
}

.footer-actions{
  display: flex;
  gap: 10px;
  margin-top: 14px;
  flex-wrap: wrap;
}

.footer-cols{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.footer-col{
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  border-radius: 16px;
  padding: 14px;
}

.footer-col h4{
  margin: 0 0 10px;
  font-size: 14px;
  letter-spacing: .2px;
}

.footer-col a{
  display: block;
  padding: 7px 0;
  color: rgba(255,255,255,.82);
  font-weight: 800;
  font-size: 13px;
}
.footer-col a:hover{
  color: #fff;
  text-decoration: underline;
}
.footer-loc{
  display: block;
  padding-top: 7px;
  color: rgba(255,255,255,.75);
  font-weight: 800;
  font-size: 13px;
}

.footer-bottom{
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  color: rgba(255,255,255,.78);
  font-weight: 800;
  font-size: 13px;
}
.footer-mini{color: rgba(255,255,255,.70)}

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1020px){
  .hero--enhanced .hero-metrics{grid-template-columns: 1fr}
}

@media (max-width: 920px){
  .hero-grid{grid-template-columns:1fr}
  h1{font-size:38px}
  .grid3{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .steps{grid-template-columns:1fr 1fr}
  .neon-links{display:none}
  .footer-top{grid-template-columns: 1fr}
  .footer-cols{grid-template-columns: 1fr}
}

@media (max-width: 520px){
  h1{font-size:34px}
  .steps{grid-template-columns:1fr}
}

/* Portfolio responsive */
@media (max-width: 1200px){
  .portfolio-grid{grid-template-columns: repeat(2, 1fr);}
  .portfolio-frame{height: 210px;}
}

@media (max-width: 620px){
  .portfolio-grid{grid-template-columns: 1fr;}
  .portfolio-frame{height: 220px;}
}
