@font-face {
  font-family: 'Chakra Petch';
  src: url('https://madsundar.com/assets/ChakraPetch-Regular.ttf') format('truetype');
  font-display: swap;
}

:root {
  --bg: #030508;
  --surface: #070b13;
  --surface-soft: #0b121f;
  --text: #f7f8ff;
  --muted: #8a95b2;
  --accent: #00e5ff;
  --accent-pink: #ff4bd1;
  --radius: 12px;
  --shadow-glow: 0 0 20px rgba(0, 229, 255, 0.15);
}

/* --- GLOBAL LAYOUT --- */
* { box-sizing: border-box; }

body {
  background: var(--bg);
  color: var(--text);
  margin: 0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.8;
}

.wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

main.wrap {
  padding: 4rem 1.5rem 5rem;
}

/* --- TYPOGRAPHY --- */
h1, h2, h3, .btn, .brand {
  font-family: 'Chakra Petch', sans-serif; 
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0;
}

h1 { font-size: clamp(2.4rem, 5vw, 3.5rem); margin-bottom: 1.5rem; }

h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: var(--accent);
  text-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
  margin: 3rem 0 1.5rem;
}

p { max-width: 65ch; margin-bottom: 1.5rem; color: var(--muted); }

/* --- LINKS & BUTTONS --- */
a{
  color:var(--text);
  opacity:.9;
  text-decoration:none;
}

a:hover{
  opacity:1;
}

a[aria-current="page"],
a.is-active{
  opacity:1;
  position:relative;
}

a[aria-current="page"]::after,
a.is-active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-4px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(
    90deg,
    transparent,
    var(--accent),
    transparent
  );
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.8rem 1.8rem;
  border-radius: 999px;
  font-family: 'Chakra Petch', sans-serif;
  font-weight: 700;
  
  text-transform: uppercase;
  transition: all 0.3s ease;
}

.btn.primary {
  background: var(--accent);
  color: var(--bg);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.btn.primary:hover {
  background: var(--text);
  transform: translateY(-2px);
  box-shadow: 0 0 25px var(--accent);
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 5, 8, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0, 229, 255, 0.1);
}

.nav-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0.75rem 0;
}

.nav-top {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

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

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

.logo{
  width:42px;
  height:42px;
  display:grid;
  place-items:center;
  border-radius:8px;
  background:var(--card);
  color:var(--accent);
  font-weight:900;
  border:1px solid var(--border);
  box-shadow:inset 0 0 0 1px rgba(0,229,255,.25);
}

.menu{
  display:flex;
  gap:20px;
}

.menu a{
  color:var(--text);
  opacity:.9;
  text-decoration:none;
}

.menu a:hover{
  opacity:1;
}

.menu a[aria-current="page"],
.menu a.is-active{
  opacity:1;
  position:relative;
}

.menu a[aria-current="page"]::after,
.menu a.is-active::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:-4px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(
    90deg,
    transparent,
    var(--accent),
    transparent
  );
}

.menu {
  display: flex;
  gap: 1.5rem;
  font-family: 'Chakra Petch', sans-serif;
  text-transform: uppercase;
  font-size: 0.9rem;
}

/* --- Review Banner Integration --- */
.review-banner {
  width: 100%;
  text-align: center;
  padding-top: 0.25rem;
  border-top: 1px dotted rgba(255, 75, 209, 0.2); /* Subtle separation */
  font-size: 0.8rem;
  transition: opacity 0.3s ease;
}

.review-banner:hover {
  opacity: 1;
  text-shadow: 0 0 8px var(--accent-pink);
}

.review-quote {
  color: var(--accent-pink); /* Duotone pop */
  font-style: italic;
  opacity: 0.8;
}

.review-meta {
  color: var(--muted);
  margin-left: 0.5rem;
  font-family: 'Share Tech Mono', monospace;
}

/* --- HERO SECTION --- */
.hero {
  padding: 4rem 2.5rem;
  margin-bottom: 3.5rem;
  border-radius: 24px;
  background: 
    radial-gradient(circle at top left, rgba(0, 229, 255, 0.12), transparent 50%),
    radial-gradient(circle at bottom right, rgba(255, 75, 209, 0.12), transparent 50%),
    var(--surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

/* --- GRIDS & CARDS --- */
.grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  margin-bottom: 4rem;
}

.card {
  position: relative;
  background: var(--surface-soft);
  padding: 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  overflow: hidden;
}

.card:hover {
  border-color: var(--accent);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.card h3 { 
  font-family: 'Chakra Petch', sans-serif;
  color: var(--accent); 
  margin-bottom: 1rem; 
}

/* SCANLINE TEXTURE */
.card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(18, 16, 16, 0) 50%, rgba(0, 0, 0, 0.1) 50%);
  background-size: 100% 4px;
  pointer-events: none;
  opacity: 0.1;
}

/* --- Centered Onioncore Footer --- */
footer{
  margin-top: 18px;
  padding: 16px 0 6px;
  color: rgba(255,63,210,.60);
  opacity: 0.7;
  font-size: 12px;
  transition: all 0.2s ease;
}

footer .wrap {
  width: 100%;
  max-width: 1100px;
  text-align: center; 
}

footer p {
  font-family: 'Share Tech Mono', monospace;
  font-size: 0.9rem;
  font-style: italic;
  color: #ccccff;
  margin: 0.5rem 0;
  text-shadow: 0 0 8px rgba(155, 64, 224, 0.6);
  line-height: 1.6;
}

.footer-line-pink {
  color: #ff69b4;
  text-shadow: 0 0 6px rgba(255, 105, 180, 0.5);
}

.footer-line-teal {
  color: #33ffff;
  text-shadow: 0 0 6px rgba(51, 255, 255, 0.5);
}

footer a{ color: 
  rgba(255,63,210,.85);
  opacity: 1;
  color: var(--accent);
  border-bottom-color: var(--accent); 
}

