/* ====== Base ====== */
:root {
  --bg: #0b0c10;
  --panel: #121420;
  --panel-2: #0f1220;
  --text: #eef0ff;
  --muted: #b8bdd7;
  --line: rgba(255, 255, 255, 0.10);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --radius: 18px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: 
    radial-gradient(circle at center, rgba(255,0,0,0.4), transparent 70%),
    #000;
  color: var(--text);
  line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 10px;
  background: #fff;
  color: #000;
  padding: 10px 12px;
  border-radius: 10px;
  z-index: 9999;
}
.skip-link:focus { left: 10px; }

/* ====== Header ====== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(14px);
  background: rgba(11, 12, 16, 0.70);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  gap: 16px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
}
.brand-mark {
  position: relative;
  width: 40px;
  height: 26px;
  display: grid;
  place-items: center;
  border: 2px solid #f00;       /* red TV outline */
  border-radius: 6px;           /* rounded corners for old set */
  background: #000;             /* black screen */
  color: #f00;                  /* red J inside */
  font-weight: 800;
  font-size: 1.2rem;
  line-height: 1;
}

/* rabbit-ear antennas */
.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  top: -12px;
  width: 2px;
  height: 14px;
  background: #f00;
  transform-origin: bottom center;
}
.brand-mark::before {
  left: 25%;
  transform: rotate(-25deg);
}
.brand-mark::after {
  right: 25%;
  transform: rotate(25deg);
}

/* optional small knobs to mimic dials */
.brand-mark .knob {
  position: absolute;
  bottom: 4px;
  right: 4px;
  width: 6px;
  height: 6px;
  background: #f00;
  border-radius: 50%;
}
.brand-text {
  color: #f00;
  font-weight: 700;
}
.nav {
  display: flex;
  align-items: center;
  gap: 16px;
}
.nav a { color: var(--muted); }
.nav a:hover { color: var(--text); text-decoration: none; }
.nav-cta {
  padding: 10px 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--line);
  color: var(--text) !important;
}

.menu-btn {
  display: none;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  color: var(--text);
  cursor: pointer;
}
.menu-icon {
  width: 18px;
  height: 12px;
  display: inline-block;
  position: relative;
}
.menu-icon::before,
.menu-icon::after,
.menu-icon span {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 2px;
  border-radius: 99px;
  background: rgba(255,255,255,0.9);
}
.menu-icon::before { top: 0; }
.menu-icon::after { bottom: 0; }


.hero-card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255,255,255,0.07), rgba(255,255,255,0.03));
  box-shadow: var(--shadow);
  padding: 18px;
  display: grid;
  gap: 12px;
}
.avatar {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-weight: 800;
  background: rgba(255,255,255,0.10);
  border: 1px solid var(--line);
}
.card-title { margin: 0; font-size: 1.2rem; }
.card-list { margin: 8px 0 0; padding-left: 18px; color: var(--muted); }
.card-note { margin: 8px 0 0; color: var(--muted); }

/* ====== Sections ====== */
.section { padding: 56px 0; }
.section.alt { background: rgba(255,255,255,0.03); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }

/* Tutorials images smaller */
#tutorials img {
  max-width: 428px;
  width: 428px;
  height: auto;
  display: block;
  margin: 8px 0;
}

/* hero banner style */
.hero.banner {
  text-align: center;
  padding: 100px 0;
  background: url('https://via.placeholder.com/1200x400?text=Hero+Banner') center/cover no-repeat;
  color: #fff;
}
.hero.banner h1 {
  font-size: 2.5rem;
  margin-bottom: 12px;
}
.hero.banner p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

/* larger text for about description */
#about .section-head p {
  font-size: 1.25rem;
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

/* carousel scrollable row */
.carousel {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  padding-bottom: 10px;
}
.carousel img {
  flex: 0 0 auto;
  width: 150px;
  height: 225px;
  object-fit: cover;
  border-radius: 8px;
}

/* plan cards adjustments */
.cards.plans {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: center;
}
.plan-card {
  flex: 1 1 200px;
  max-width: 300px;
  text-align: center;
}
.plan-card ul {
  list-style: none;
  padding: 0;
  margin: 12px 0;
  text-align: left;
}
.plan-card li {
  margin: 6px 0;
}

/* FAQ details spacing */
#faq details {
  margin-bottom: 12px;
}
#faq summary {
  cursor: pointer;
  font-weight: 600;
}
.section-head h2 { margin: 0 0 8px; font-size: 1.8rem; }
.section-head p { margin: 0 0 18px; color: var(--muted); }

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.panel {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 18px;
}

.checklist { margin: 10px 0 0; padding-left: 18px; color: var(--muted); }
.checklist li { margin: 6px 0; }

/* ====== Cards ====== */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}
.card {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.04);
  padding: 18px;
  transition: transform 160ms ease;
}
.card:hover { transform: translateY(-3px); }
.card p { color: var(--muted); }
.card-links { display: flex; gap: 14px; margin-top: 12px; }
.card-links a { color: var(--text); border-bottom: 1px solid rgba(255,255,255,0.3); }
.card-links a:hover { text-decoration: none; border-bottom-color: rgba(255,255,255,0.8); }

/* ====== Form ====== */
.form {
  display: grid;
  gap: 12px;
  max-width: 640px;
}
label { display: grid; gap: 8px; color: var(--muted); }
input, textarea {
  width: 100%;
  padding: 12px 12px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.25);
  color: var(--text);
}
input::placeholder, textarea::placeholder { color: rgba(184,189,215,0.7); }
.form-status { margin: 0; color: var(--muted); min-height: 1.2em; }

/* ====== Footer ====== */
.footer { padding: 26px 0; }
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 18px;
}
.footer-links { display: flex; gap: 14px; color: var(--muted); }

/* ====== Responsive ====== */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .cards { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .menu-btn { display: inline-flex; }
  .nav {
    display: none;
    position: absolute;
    top: 64px;
    right: 20px;
    left: 20px;
    flex-direction: column;
    gap: 12px;
    padding: 14px;
    border-radius: 16px;
    border: 1px solid var(--line);
    background: rgba(11, 12, 16, 0.96);
    box-shadow: var(--shadow);
  }
  .nav.open { display: flex; }
}
