:root {
  --bg: #0f172a;
  --panel: #1e293b;
  --accent: #22c55e;
  --text: #f1f5f9;
  --muted: #94a3b8;

  --nav-h: 158px; /* 128px logo + 30px vertical padding */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, sans-serif; background: var(--bg); color: var(--text); }
h1, h2, h3 { margin-bottom: 15px; }
a { color: var(--accent); text-decoration: none; }
ul, ol { list-style: none; padding: 0; }

/* NAVBAR */
.navbar {
  background: rgba(15,23,42,.9);
  padding: 15px 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 100;
}
.nav-links a { margin-left: 20px; font-weight: 500; }
.brand { font-size: 1.3rem; font-weight: bold; margin-left: 10px; }

/* HERO (sits entirely below the fixed header) */
.hero {
  position: relative;
  margin-top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  padding: 0; /* override generic section padding */
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}
.hero canvas { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.hero-title { position: relative; z-index: 1; }
.hero-title img.logo { max-width: 200px; height: auto; margin-bottom: 20px; }
.hero-title h1 { font-size: 2.5rem; }
.hero-title p { font-size: 1.2rem; margin: 10px 0 20px; }
.btn { padding: 12px 24px; background: var(--accent); color: #fff; border: none; border-radius: 8px; font-weight: 600; transition: .3s; }
.btn:hover { opacity: .8; }

/* SECTIONS */
section { padding: 80px 20px; text-align: center; }
.intro { background: var(--panel); }
.intro-img { max-width: 600px; width: 100%; height: auto; margin-top: 20px; border-radius: 12px; }

/* GRID + CARDS */
.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 30px; }
.card { background: var(--panel); padding: 20px; border-radius: 12px; text-align: center; transition: .3s; }
.card:hover { transform: translateY(-5px); }
.card h3 { margin: 15px 0 10px; }
.card-img { max-width: 100%; height: auto; border-radius: 10px; margin-bottom: 15px; }
.price { font-size: 1.3rem; font-weight: bold; margin-top: 10px; }
.renewal { font-size: .9rem; color: var(--muted); margin-top: 5px; }
.card.premium { border: 2px solid var(--accent); }

/* SECTION IMAGES */
.section-img { max-width: 400px; width: 100%; height: auto; margin-top: 20px; border-radius: 12px; }

/* CONTACT */
.contact-card { background: var(--panel); max-width: 500px; margin: 0 auto; padding: 30px; border-radius: 12px; box-shadow: 0 0 15px rgba(0,0,0,.4); }
.contact-card input, .contact-card textarea { width: 100%; margin-bottom: 15px; padding: 12px; border: none; border-radius: 8px; background: #0f172a; color: var(--text); }
.contact-card textarea { height: 120px; resize: none; }

/* FOOTER */
footer { background: var(--panel); padding: 20px; text-align: center; }
footer .links a { margin: 0 10px; }

/* Anchor scroll offset so #pricing etc. aren't hidden behind navbar */
html { scroll-padding-top: var(--nav-h); }
