/*
Theme Name: Tesseract Edge (Minimal) v2
Theme URI: https://tesseractedge.com
Author: Tesseract Edge
Description: Minimal classic theme with a TE-style spinning cube (no texture) and smaller header logo.
Version: 1.1.0
Text Domain: tesseract-edge-min
*/

:root{
  --bg:#0E1116; --surface:#121723; --surface-2:#161B22; --text:#ffffff;
  --muted:#A2B0C3; --primary:#47A3FF; --success:#3DD9A3;
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  background:var(--bg);color:var(--text);
  font:16px/1.6 system-ui,-apple-system,Segoe UI,Roboto,Ubuntu,Cantarell,Helvetica Neue,Arial
}

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

.container{max-width:1100px;margin:0 auto;padding:0 1rem}

.header{
  position:sticky;top:0;z-index:40;backdrop-filter:blur(8px);
  background:rgba(0,0,0,.3);border-bottom:1px solid rgba(255,255,255,.06)
}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;min-height:64px}
.brand{display:flex;align-items:center;gap:.75rem;font-weight:700;letter-spacing:.2px}
.brand .custom-logo,.brand img{max-height:40px;width:auto}

.nav ul{list-style:none;margin:0;padding:0;display:flex;gap:1rem}
.nav a{color:var(--muted)} .nav a:hover{color:#fff}

.btn{display:inline-flex;align-items:center;gap:.5rem;background:var(--primary);color:#000;border:0;border-radius:.7rem;padding:.55rem .85rem;font-weight:600;cursor:pointer}
.btn.outline{background:transparent;border:1px solid rgba(255,255,255,.14);color:#fff}

.section{padding:3rem 0;border-top:1px solid rgba(255,255,255,.06)}
.section:first-of-type{border-top:0}

.hero{padding:2.5rem 0}
.grid{display:grid;gap:1rem}
.grid-2{grid-template-columns:1fr}
@media(min-width:1024px){.grid-2{grid-template-columns:1.05fr .95fr}}

.kicker{display:inline-flex;gap:.5rem;align-items:center;border:1px solid rgba(255,255,255,.12);border-radius:999px;padding:.3rem .7rem;color:var(--muted);font-size:.85rem;margin-bottom:.65rem}
.h1{font-size:clamp(1.9rem,3.2vw,2.6rem);font-weight:800;line-height:1.12;margin:.1rem 0 .6rem 0}
.h2{font-size:clamp(1.4rem,2.4vw,2rem);font-weight:700;margin:0 0 .4rem 0}
.muted{color:var(--muted)}

.card{background:var(--surface);border:1px solid rgba(255,255,255,.08);border-radius:1rem;padding:1rem}
.tiles{display:grid;grid-template-columns:repeat(3,1fr);gap:1rem}
@media(max-width:900px){.tiles{grid-template-columns:1fr}}

.hero-visual{
  position:relative;min-height:200px;border-radius:.9rem;overflow:hidden;
  background:linear-gradient(135deg,var(--surface),var(--surface-2));
  padding:.5rem;border:1px solid rgba(255,255,255,.08);
  box-shadow:0 10px 40px rgba(71,163,255,.12);
  display:grid;place-items:center
}

#cube3d{
  width:min(320px,90%);
  height:220px;
  filter:drop-shadow(0 16px 40px rgba(71,163,255,.22));
}

.footer{border-top:1px solid rgba(255,255,255,.06);padding:2rem 0;color:var(--muted)}
