/* TVCastor Landing Styles */
:root {
  --bg: #0b1221;
  --text: #e6e9ef;
  --muted: #98a2b3;
  --brand: #5b8cff;
  --brand-600: #3064ff;
  --card: #111a2f;
  --border: #1e2a4a;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  background: radial-gradient(1400px 900px at 22% -32%, rgba(22,48,89,0.55) 0%, rgba(22,48,89,0.38) 40%, rgba(22,48,89,0.18) 65%, rgba(22,48,89,0) 82%), var(--bg);
  color: var(--text);
  line-height: 1.6;
}

/* Global links */
a { color: var(--text); text-decoration: underline; text-decoration-color: rgba(230,233,239,0.35); text-underline-offset: 2px; }
a:hover { text-decoration-color: rgba(230,233,239,0.7); }

/* Subtle noise overlay to reduce gradient banding (especially in Chrome) */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 128 128'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/></filter><rect width='128' height='128' filter='url(%23n)'/></svg>");
  background-repeat: repeat;
  background-size: 240px 240px;
  opacity: 0.025;
}

.container {
  width: 100%;
  max-width: 1040px;
  margin: 0 auto;
  padding: 0 20px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 18, 33, 0.7);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.brand-logo { width: 34px; height: 34px; padding: 4px; background: #ffffff; border-radius: 8px; box-shadow: inset 0 0 0 1px rgba(0,0,0,0.06); }
.brand-name { font-size: 18px; letter-spacing: 0.2px; }
.nav { display: flex; align-items: center; gap: 16px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; opacity: 0.9; }
.nav a:hover { opacity: 1; }

.hero { padding: 72px 0 36px; }
.hero-inner { text-align: left; }
.hero h1 { font-size: clamp(28px, 4vw, 48px); line-height: 1.15; margin: 0 0 12px; }
.lead { font-size: clamp(16px, 2.1vw, 20px); color: var(--muted); max-width: 800px; }

.cta { margin-top: 20px; }
.cta-form { display: flex; gap: 10px; flex-wrap: wrap; }
.cta-form input[type="email"] {
  flex: 1 1 280px;
  min-width: 240px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text);
  padding: 12px 14px;
  outline: none;
}
.cta-form input[type="email"]:focus { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(91, 140, 255, 0.2); }
.cta-note { color: var(--muted); font-size: 14px; margin-top: 8px; }

.btn {
  background: linear-gradient(180deg, var(--brand), var(--brand-600));
  color: white;
  border: 0;
  padding: 12px 16px;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.05); }
.btn-small { padding: 8px 12px; font-size: 14px; }

.features { padding: 36px 0; }
.features h2, .why h2 { font-size: 24px; margin-bottom: 12px; }
.feature-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 14px; }
.feature-list li { display: grid; grid-template-columns: 32px 1fr; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: linear-gradient(180deg, rgba(30,42,74,0.4), rgba(17,26,47,0.6)); }
.feature-list .emoji { font-size: 22px; }
.feature-list h3 { margin: 0 0 4px; font-size: 18px; }
.feature-list p { margin: 0; color: var(--muted); }

.why { padding: 12px 0 56px; }
.why p { color: var(--muted); max-width: 900px; }

.site-footer { border-top: 1px solid var(--border); padding: 20px 0; color: var(--muted); }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 520px) {
  .nav { display: none; }
}


