/* ---------- Base ---------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Brand palette — light theme on growytviews.com brand accents */
  --bg: #F7F8FC;                /* soft off-white page background */
  --bg-tint: #FFF5EF;           /* warm orange-tinted accent bg */
  --card: #FFFFFF;              /* clean white card background */
  --card-alt: #FDFDFE;
  --border: #E5E9F2;            /* soft cool border */
  --border-strong: #D1D7E3;

  --navy: #0B0F1A;              /* brand dark navy (headings, footer) */
  --navy-soft: #1A2238;
  --text: #0B0F1A;              /* primary text */
  --text-muted: #52607A;        /* secondary text */
  --text-dim: #8892A6;          /* helper text */

  --orange: #FF6B35;
  --orange-dark: #E05520;
  --orange-light: #FFE3D5;
  --orange-glow: rgba(255, 107, 53, 0.35);

  --teal: #00C9A7;
  --teal-dark: #00A383;
  --teal-light: #D4F7EE;

  --success: #00A383;
  --warning: #F59E0B;
  --track: #EEF1F7;

  --radius: 12px;
  --radius-lg: 20px;
  --shadow-sm: 0 2px 8px rgba(11, 15, 26, 0.06);
  --shadow: 0 10px 30px rgba(11, 15, 26, 0.08);
  --shadow-lg: 0 20px 50px rgba(11, 15, 26, 0.12);
  --shadow-glow: 0 12px 40px rgba(255, 107, 53, 0.22);
}

html { scroll-behavior: smooth; }

body {
  font-family: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--text-muted);
  background: var(--bg);
  background-image:
    radial-gradient(1200px 600px at 50% -200px, rgba(255, 107, 53, 0.12), transparent 60%),
    radial-gradient(900px 500px at 100% 120%, rgba(0, 201, 167, 0.08), transparent 60%);
  background-attachment: fixed;
  line-height: 1.65;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a { color: var(--orange); text-decoration: none; transition: color 0.15s; font-weight: 600; }
a:hover { color: var(--orange-dark); text-decoration: underline; }

h1, h2, h3, h4 { color: var(--navy); font-weight: 800; letter-spacing: -0.015em; }

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

/* ---------- Header ---------- */
.site-header {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; color: var(--navy); font-weight: 800; font-size: 18px; }
.logo:hover { text-decoration: none; color: var(--navy); }
.logo-mark {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  width: 32px; height: 32px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 9px;
  font-size: 15px;
  box-shadow: 0 6px 16px var(--orange-glow);
}
.logo-text strong { color: var(--orange); }
.nav a { color: var(--navy); margin-left: 24px; font-size: 14px; font-weight: 600; }
.nav a:hover { color: var(--orange); text-decoration: none; }

/* ---------- Hero ---------- */
.hero {
  text-align: center;
  padding: 56px 16px 16px;
}
.hero .pill {
  display: inline-block;
  background: var(--orange-light);
  color: var(--orange-dark);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.hero h1 {
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--navy);
  line-height: 1.15;
}
.hero h1 .accent {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.subtitle {
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
  font-size: 17px;
}
.subtitle strong { color: var(--navy); font-weight: 700; }

/* ---------- Cards ---------- */
.tool-card, .results, .info-card, .faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

/* ---------- HIGHLIGHTED FORM CARD ---------- */
.tool-card {
  position: relative;
  background: var(--card);
  border: 2px solid transparent;
  background-image:
    linear-gradient(#fff, #fff),
    linear-gradient(135deg, var(--orange) 0%, #ff8759 50%, var(--teal) 100%);
  background-origin: border-box;
  background-clip: padding-box, border-box;
  box-shadow:
    0 20px 50px rgba(255, 107, 53, 0.12),
    0 8px 20px rgba(11, 15, 26, 0.08);
  padding: 36px;
  overflow: hidden;
}
.tool-card::before {
  content: "";
  position: absolute;
  top: -80px; right: -80px;
  width: 240px; height: 240px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.14), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.tool-card::after {
  content: "";
  position: absolute;
  bottom: -100px; left: -100px;
  width: 260px; height: 260px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.1), transparent 70%);
  pointer-events: none;
  z-index: 0;
}
.tool-card > * { position: relative; z-index: 1; }

.tool-card-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
  padding-bottom: 20px;
  border-bottom: 1.5px dashed var(--border);
}
.tool-card-header .icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 20px;
  box-shadow: 0 8px 20px var(--orange-glow);
  flex-shrink: 0;
}
.tool-card-header h2 {
  font-size: 20px;
  margin: 0;
  color: var(--navy);
}
.tool-card-header p {
  font-size: 13.5px;
  color: var(--text-muted);
  margin: 2px 0 0;
}

/* ---------- Form ---------- */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 24px;
}
.field label {
  display: block;
  font-weight: 700;
  font-size: 13.5px;
  margin-bottom: 8px;
  color: var(--navy);
}
.field input {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  color: var(--navy);
  border: 1.5px solid var(--border-strong);
  border-radius: 10px;
  background: #fff;
  transition: border-color 0.15s, box-shadow 0.15s;
  font-family: inherit;
  font-weight: 500;
}
.field input::placeholder { color: var(--text-dim); font-weight: 400; }
.field input:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255, 107, 53, 0.15);
}
.field small {
  display: block;
  color: var(--text-dim);
  font-size: 12px;
  margin-top: 6px;
}

/* ---------- Buttons ---------- */
.actions { display: flex; gap: 12px; flex-wrap: wrap; }
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 700;
  border-radius: 10px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  text-align: center;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  box-shadow: 0 8px 24px var(--orange-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(255, 107, 53, 0.5);
  text-decoration: none;
  color: #fff;
}
.btn-ghost {
  background: #fff;
  border-color: var(--border-strong);
  color: var(--navy);
}
.btn-ghost:hover { background: var(--track); text-decoration: none; color: var(--navy); }

/* ---------- Results ---------- */
.hidden { display: none; }
.results h2 {
  font-size: 24px;
  margin-bottom: 22px;
  color: var(--navy);
}
.progress-block { margin-bottom: 22px; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 8px;
  color: var(--navy);
}
.progress-bar {
  background: var(--track);
  height: 16px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--orange), #ff8759);
  border-radius: 10px;
  transition: width 0.9s cubic-bezier(0.25, 0.1, 0.25, 1);
  box-shadow: 0 0 16px var(--orange-glow);
}

.eta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 28px 0;
}
.eta-card {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 20px 16px;
  text-align: center;
}
.eta-highlight {
  background: linear-gradient(135deg, var(--orange-light), #fff);
  border: 1.5px solid var(--orange);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.15);
}
.eta-label { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; }
.eta-value { font-size: 22px; font-weight: 800; color: var(--navy); }
.eta-highlight .eta-value {
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.verdict {
  background: var(--teal-light);
  border: 1px solid rgba(0, 201, 167, 0.3);
  color: #065f46;
  padding: 16px 18px;
  border-radius: 12px;
  font-size: 15px;
  margin-bottom: 24px;
}
.verdict strong { color: var(--navy); }
.verdict.warning {
  background: #FFF6E0;
  border-color: #FCD34D;
  color: #78350F;
}
.verdict.done {
  background: var(--teal-light);
  border-color: var(--teal);
  color: #064E3B;
  font-weight: 700;
}

/* ---------- HIGHLIGHTED CTA BOX ---------- */
.cta-box {
  position: relative;
  background: linear-gradient(135deg, var(--navy) 0%, #141B32 60%, #1F2746 100%);
  color: #fff;
  padding: 40px 36px;
  border-radius: var(--radius-lg);
  margin-top: 28px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(11, 15, 26, 0.25);
}
.cta-box::before {
  content: "";
  position: absolute;
  top: -100px; right: -100px;
  width: 380px; height: 380px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.35), transparent 60%);
  animation: ctaRotate 14s linear infinite;
  pointer-events: none;
}
.cta-box::after {
  content: "";
  position: absolute;
  bottom: -120px; left: -80px;
  width: 320px; height: 320px;
  background: radial-gradient(circle, rgba(0, 201, 167, 0.22), transparent 60%);
  pointer-events: none;
}
.cta-content { position: relative; z-index: 1; }

.cta-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
  box-shadow: 0 6px 18px var(--orange-glow);
}
.cta-box h3 {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 10px;
  color: #fff;
  letter-spacing: -0.01em;
}
.cta-box p {
  color: #c8d0e6;
  margin-bottom: 22px;
  font-size: 15.5px;
  max-width: 580px;
}
.cta-features {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.cta-features span {
  font-size: 13px;
  color: #D8DEEE;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.cta-features span::before {
  content: "✓";
  color: var(--teal);
  font-weight: 900;
  font-size: 14px;
}
.cta-box .btn-primary { padding: 15px 34px; font-size: 16px; }

@keyframes ctaRotate {
  from { transform: rotate(0deg) scale(1); }
  50%  { transform: rotate(180deg) scale(1.1); }
  to   { transform: rotate(360deg) scale(1); }
}

/* ---------- Info card ---------- */
.info-card h2, .faq h2 {
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--navy);
}
.info-card p { color: var(--text-muted); margin-bottom: 14px; }
.check-list { list-style: none; padding: 0; }
.check-list li {
  padding: 12px 0 12px 34px;
  position: relative;
  border-bottom: 1px solid var(--border);
  color: var(--text-muted);
  font-size: 15px;
}
.check-list li:last-child { border-bottom: none; }
.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  width: 22px;
  height: 22px;
  background: linear-gradient(135deg, var(--teal), var(--teal-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  box-shadow: 0 3px 10px rgba(0, 201, 167, 0.3);
}
.check-list li em { color: var(--orange); font-style: normal; font-weight: 700; }

/* ---------- FAQ ---------- */
.faq details {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq details:last-child { border-bottom: none; }
.faq summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 16px;
  list-style: none;
  position: relative;
  padding-right: 28px;
  color: var(--navy);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: -2px;
  font-size: 24px;
  color: var(--orange);
  transition: transform 0.2s;
  font-weight: 300;
  line-height: 1;
}
.faq details[open] summary::after { content: "−"; }
.faq details p {
  color: var(--text-muted);
  margin-top: 10px;
  font-size: 15px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c8d0e6;
  padding: 32px 0;
  text-align: center;
  font-size: 14px;
  margin-top: 48px;
}
.site-footer a { color: var(--orange); }
.site-footer .small { font-size: 12px; margin-top: 8px; color: #8892a6; }

/* ---------- How-to steps grid ---------- */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}
.how-step {
  position: relative;
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 20px 20px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.how-step:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--orange);
}
.how-step-num {
  position: absolute;
  top: -14px;
  left: 20px;
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 6px 16px var(--orange-glow);
}
.how-step h3 {
  font-size: 16px;
  margin-bottom: 8px;
  color: var(--navy);
}
.how-step p { font-size: 14px; color: var(--text-muted); line-height: 1.55; }

/* ---------- Compare cards ---------- */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 22px;
}
.compare-card {
  background: var(--card-alt);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 24px 22px;
  transition: transform 0.2s, box-shadow 0.2s;
}
.compare-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.compare-icon { font-size: 28px; margin-bottom: 12px; }
.compare-card h3 {
  font-size: 16px;
  margin-bottom: 10px;
  color: var(--navy);
  line-height: 1.3;
}
.compare-card p {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 10px;
  line-height: 1.55;
}
.compare-note {
  font-size: 12.5px !important;
  color: var(--navy) !important;
  font-weight: 600;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  margin-bottom: 0 !important;
}
.compare-card-featured {
  background: linear-gradient(135deg, var(--orange-light) 0%, #fff 60%);
  border: 1.5px solid var(--orange);
  box-shadow: 0 8px 24px rgba(255, 107, 53, 0.12);
  position: relative;
}
.compare-card-featured::before {
  content: "RECOMMENDED";
  position: absolute;
  top: 12px;
  right: 12px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: #fff;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 8px;
  border-radius: 999px;
  box-shadow: 0 4px 10px var(--orange-glow);
}

/* ---------- Inline note after lists ---------- */
.info-card .note {
  margin-top: 18px;
  padding: 14px 16px;
  background: var(--teal-light);
  border-left: 3px solid var(--teal);
  border-radius: 8px;
  color: #064E3B;
  font-size: 14.5px;
}
.info-card .note strong { color: var(--navy); }

/* ---------- GitHub card ---------- */
.github-card {
  background: linear-gradient(135deg, #0B0F1A 0%, #141B32 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #D8DEEE;
  position: relative;
  overflow: hidden;
}
.github-card::before {
  content: "";
  position: absolute;
  top: -120px; right: -120px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, rgba(255, 107, 53, 0.2), transparent 60%);
  pointer-events: none;
}
.github-card .pill {
  background: rgba(255, 107, 53, 0.18);
  color: var(--orange);
}
.github-card h2 { color: #fff; margin-top: 14px; }
.github-card p { color: #B8C0D6; position: relative; z-index: 1; }
.github-card strong { color: #fff; }
.github-card .btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: #fff;
  margin-top: 10px;
}
.github-card .btn-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.github-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.github-stats {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.github-stat {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 18px 20px;
  text-align: center;
}
.github-stat-num {
  font-size: 22px;
  font-weight: 800;
  color: var(--orange);
  line-height: 1.1;
}
.github-stat-label {
  font-size: 12px;
  color: #8892A6;
  margin-top: 4px;
}

/* ---------- Responsive ---------- */
@media (max-width: 820px) {
  .how-grid, .compare-grid { grid-template-columns: 1fr 1fr; }
  .github-grid { grid-template-columns: 1fr; }
  .github-stats { flex-direction: row; }
  .github-stat { flex: 1; }
}
@media (max-width: 640px) {
  .form-grid { grid-template-columns: 1fr; }
  .eta-grid { grid-template-columns: 1fr; }
  .how-grid, .compare-grid { grid-template-columns: 1fr; }
  .github-stats { flex-direction: column; }
  .tool-card { padding: 24px; }
  .results, .info-card, .faq { padding: 22px; }
  .cta-box { padding: 30px 22px; }
  .cta-box h3 { font-size: 22px; }
  .hero { padding: 40px 12px 18px; }
  .nav a:first-child { display: none; }
}
