:root{
  --bg:#030303;
  --bg-soft:#0a0a0d;
  --panel:#101014;
  --line:rgba(255,255,255,0.08);
  --line-strong:rgba(255,255,255,0.12);
  --white:rgba(255,255,255,0.94);
  --muted:rgba(255,255,255,0.68);
  --gold:#d4af37;
  --gold-soft:#edd27a;
  --blue:rgba(43, 88, 255, 0.18);
  --purple:rgba(107, 47, 184, 0.18);
  --glass-bg:rgba(255,255,255,0.05);
  --glass-bg-strong:rgba(255,255,255,0.075);
  --glass-border:rgba(255,255,255,0.10);
  --shadow:0 20px 50px rgba(0,0,0,0.45);
  --radius:24px;
  --radius-pill:999px;
  --success:rgba(40, 167, 69, 0.22);
  --danger:rgba(220, 53, 69, 0.20);
  --warning:rgba(255, 193, 7, 0.18);
}

*{ box-sizing:border-box; }

html{
  scroll-behavior:smooth;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  font-family:'Inter',sans-serif;
  color:var(--white);
  background:
    radial-gradient(circle at top left, var(--blue), transparent 28%),
    radial-gradient(circle at top right, var(--purple), transparent 24%),
    linear-gradient(135deg, #020202 0%, #050507 55%, #0a0910 100%);
  min-height:100vh;
  overflow-x:hidden;
  max-width:100%;
}

img{
  max-width:100%;
  height:auto;
}

/* =========================================================
   EXACT SAME NAVBAR FIX AS META PAGE
   ========================================================= */

.site-navbar{
  padding-top:.55rem;
  padding-bottom:.55rem;
  background:rgba(0,0,0,0.68);
  border-bottom:1px solid rgba(255,255,255,0.06);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.site-brand{
  padding:0;
  margin-right:1rem;
  color:var(--gold) !important;
  font-weight:800;
  letter-spacing:.3px;
  font-size:1.2rem;
  text-decoration:none;
}

.site-logo{
  display:block;
  width:auto;
  max-width:100%;
  height:40px;
  object-fit:contain;
}

.site-link{
  color:rgba(255,255,255,0.82) !important;
  font-weight:500;
  transition:color .25s ease;
  text-decoration:none;
}

.site-link:hover,
.site-link:focus{
  color:var(--gold) !important;
}

.navbar-toggler-white{
  filter:invert(1);
}

.site-navbar .glass-btn-sm{
  min-width:auto;
  padding:.74rem 1.14rem;
  font-size:.9rem;
  line-height:1;
  border-radius:999px;
}

.glass-btn,
.btn-glass{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:140px;
  padding:.95rem 1.5rem;
  border-radius:var(--radius-pill);
  text-decoration:none;
  font-weight:700;
  color:var(--gold-soft);
  background:linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.04));
  border:1px solid var(--glass-border);
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:var(--shadow);
  transition:all .25s ease;
}

.glass-btn:hover,
.glass-btn:focus,
.btn-glass:hover,
.btn-glass:focus{
  transform:translateY(-2px);
  color:#fff3c7;
  border-color:rgba(212,175,55,0.35);
}

.glass-btn-sm{
  min-width:auto;
  padding:.74rem 1.14rem;
  font-size:.9rem;
  line-height:1;
  border-radius:999px;
}

.btn-glass-secondary{
  color:var(--white);
  background:rgba(255,255,255,0.03);
}

.hero-section{ position:relative; padding-top:104px; }
.hero-copy{ padding:5.5rem 0 3.25rem; }

.hero-kicker,
.eyebrow{
  display:inline-block;
  margin-bottom:1rem;
  padding:.45rem .9rem;
  border-radius:var(--radius-pill);
  border:1px solid var(--glass-border);
  background:rgba(255,255,255,0.04);
  color:var(--gold-soft);
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.hero-title{
  font-size:clamp(2.4rem, 6vw, 4.8rem);
  line-height:1.02;
  font-weight:900;
  letter-spacing:-0.03em;
  margin-bottom:1rem;
}

.hero-subtitle,
.section-text,
.muted-copy,
.feature-card p,
.helper-copy,
.audit-list li,
.form-text{
  color:var(--muted) !important;
  line-height:1.82;
  font-size:1rem;
}

.hero-actions,
.action-wrap{
  display:flex;
  flex-wrap:wrap;
  gap:1rem;
}

.hero-panel-inner,
.content-block,
.feature-card,
.glass-panel,
.output-panel,
.faq-item,
.day-row{
  border-radius:var(--radius);
  background:linear-gradient(180deg, rgba(255,255,255,0.065), rgba(255,255,255,0.03));
  border:1px solid rgba(255,255,255,0.07);
  backdrop-filter:blur(16px);
  -webkit-backdrop-filter:blur(16px);
  box-shadow:var(--shadow);
}

.hero-panel-inner,
.glass-panel,
.output-panel,
.content-block{ padding:2.4rem; }

.panel-label,
.section-title,
.feature-card h3,
.form-section-title,
.output-title,
.overview-title,
.overview-item-title{
  color:var(--gold-soft);
}

.hero-overview{
  display:grid;
  gap:1rem;
}

.overview-card{
  padding:1.2rem 1.15rem;
  border-radius:20px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.07);
}

.overview-kicker{
  display:inline-block;
  margin-bottom:.7rem;
  padding:.38rem .72rem;
  border-radius:999px;
  border:1px solid rgba(255,255,255,0.08);
  background:rgba(255,255,255,0.04);
  color:var(--gold-soft);
  font-size:.74rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.overview-title{
  font-size:1.35rem;
  font-weight:800;
  line-height:1.25;
  margin-bottom:.55rem;
}

.overview-copy{
  color:var(--muted);
  line-height:1.75;
  margin-bottom:0;
}

.overview-grid{
  display:grid;
  gap:.9rem;
  grid-template-columns:repeat(2, minmax(0, 1fr));
}

.overview-item{
  padding:1rem;
  border-radius:18px;
  background:linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0.025));
  border:1px solid rgba(255,255,255,0.07);
}

.overview-item-title{
  font-size:.96rem;
  font-weight:800;
  margin-bottom:.35rem;
}

.overview-item p{
  margin:0;
  color:var(--muted);
  line-height:1.7;
  font-size:.93rem;
}

.overview-footer{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
  align-items:center;
}

.overview-chip{
  display:inline-flex;
  align-items:center;
  padding:.5rem .82rem;
  border-radius:999px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  color:var(--white);
  font-size:.78rem;
  font-weight:700;
}

.overview-divider{
  height:1px;
  background:linear-gradient(90deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02));
  margin:.15rem 0;
}

.panel-label,
.section-title,
.feature-card h3,
.form-section-title,
.output-title{
  color:var(--gold-soft);
}

.panel-label{
  margin-bottom:.75rem;
  font-size:.8rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.panel-title{
  margin-bottom:.9rem;
  font-size:1.7rem;
  font-weight:800;
  line-height:1.2;
}

.form-label{
  color:var(--white);
  font-size:.92rem;
  font-weight:600;
  margin-bottom:.55rem;
}

.form-control,
.form-select{
  min-height:52px;
  border-radius:18px;
  border:1px solid var(--glass-border);
  color:var(--white);
  background:rgba(255,255,255,0.05);
  box-shadow:none;
}

.form-control::placeholder{ color:rgba(255,255,255,0.38); }

.form-control:focus,
.form-select:focus{
  color:var(--white);
  border-color:rgba(212,175,55,0.35);
  background:rgba(255,255,255,0.075);
  box-shadow:0 0 0 .2rem rgba(212,175,55,0.12);
}

textarea.form-control{
  min-height:120px;
  resize:vertical;
}

.form-select option{
  background:#111217;
  color:#ffffff;
}

.form-check-input{
  width:2.65rem;
  height:1.4rem;
  border-color:rgba(255,255,255,0.18);
  background-color:rgba(255,255,255,0.06);
  box-shadow:none;
}

.form-check-input:checked{
  background-color:#d4af37;
  border-color:#d4af37;
}

.form-check-label{ color:var(--muted); }

.section-anchor{ scroll-margin-top:110px; }

.feature-card{ height:100%; padding:1.75rem; }

.feature-card h3{
  margin-bottom:.75rem;
  font-size:1.05rem;
  font-weight:800;
  letter-spacing:.01em;
}

.tool-shell{ padding:2rem 0 5rem; }
.form-section-title{ font-size:1.08rem; font-weight:800; margin-bottom:1.15rem; }
.stack-gap > * + *{ margin-top:1.5rem; }

.day-row,
.faq-item{
  padding:1.2rem;
  margin-bottom:1rem;
  background:rgba(255,255,255,0.04);
}

.day-badge,
.stat-pill,
.audit-pill{
  display:inline-flex;
  align-items:center;
  gap:.45rem;
  padding:.48rem .8rem;
  border-radius:var(--radius-pill);
  border:1px solid var(--glass-border);
  background:rgba(255,255,255,0.05);
  color:var(--white);
  font-size:.78rem;
  font-weight:700;
}

.audit-pill.good{ background:var(--success); }
.audit-pill.warn{ background:var(--warning); }
.audit-pill.bad{ background:var(--danger); }

.code-output{
  width:100%;
  min-height:460px;
  border-radius:22px;
  border:1px solid var(--glass-border);
  background:#07080d;
  color:#f8fafc;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size:.92rem;
  line-height:1.7;
  padding:1.2rem 1.15rem;
  box-shadow:inset 0 0 0 1px rgba(255,255,255,0.02);
}

.code-output:focus{
  outline:none;
  border-color:rgba(212,175,55,0.35);
  box-shadow:0 0 0 .2rem rgba(212,175,55,0.12);
}

.output-meta,
.audit-grid{
  display:flex;
  flex-wrap:wrap;
  gap:.7rem;
}

.audit-box{
  margin-top:1.15rem;
  padding:1.35rem;
  border-radius:20px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
}

.audit-title{
  font-size:1rem;
  font-weight:800;
  color:var(--gold-soft);
  margin-bottom:.8rem;
}

.audit-list{
  margin:0;
  padding-left:1.15rem;
}

.audit-list li + li{ margin-top:.45rem; }

.script-preview{
  white-space:pre-wrap;
  word-break:break-word;
  border-radius:18px;
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  padding:1rem;
  color:#d7e0ff;
  font-family:ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size:.88rem;
  line-height:1.7;
  min-height:88px;
}

.status-note{
  margin-top:.75rem;
  color:var(--muted);
  font-size:.92rem;
}

.footer-copy{
  position:relative;
  padding:1.75rem 0 3.25rem;
  background:transparent;
}

.site-footer{
  background:transparent;
  border-top:none;
  backdrop-filter:none;
  -webkit-backdrop-filter:none;
}

.footer-shell{
  padding:1.7rem 1.7rem 1.25rem;
  border-radius:28px;
  background:linear-gradient(180deg, rgba(255,255,255,0.055), rgba(255,255,255,0.025));
  border:1px solid rgba(255,255,255,0.07);
  box-shadow:var(--shadow);
  backdrop-filter:blur(14px);
  -webkit-backdrop-filter:blur(14px);
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:.9rem;
  text-decoration:none;
}

.footer-logo{
  max-height:48px;
  width:auto;
  object-fit:contain;
  display:block;
  opacity:.96;
}

.footer-brand-title{
  color:var(--gold-soft);
  font-size:1rem;
  font-weight:800;
  line-height:1.2;
  margin:0 0 .2rem;
}

.footer-brand-copy{
  margin:0;
  color:rgba(255,255,255,0.62);
  line-height:1.7;
  font-size:.93rem;
  max-width:640px;
}

.footer-heading{
  color:rgba(255,255,255,0.72);
  font-size:.8rem;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
  margin-bottom:.8rem;
}

.footer-links{
  display:flex;
  flex-wrap:wrap;
  gap:.8rem 1rem;
  align-items:center;
}

.footer-links a{
  color:rgba(255,255,255,0.74);
  text-decoration:none;
  transition:color .25s ease, transform .25s ease;
  width:auto;
  font-size:.94rem;
}

.footer-links a:hover,
.footer-links a:focus{
  color:var(--gold-soft);
  transform:translateY(-1px);
}

.footer-cta{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:.85rem;
}

.footer-divider{
  display:none;
}

.footer-bottom{
  display:flex;
  flex-wrap:wrap;
  justify-content:space-between;
  gap:.85rem;
  align-items:center;
  margin-top:1.15rem;
  padding-top:.95rem;
  border-top:1px solid rgba(255,255,255,0.06);
}

.footer-meta,
.footer-credit{
  margin:0;
  color:rgba(255,255,255,0.46);
  font-size:.9rem;
  line-height:1.65;
}

.generator-grid > .col-xl-7,
.generator-grid > .col-xl-5{
  display:flex;
}

.generator-grid .glass-panel,
.generator-grid .output-panel{
  width:100%;
  height:100%;
}

.section-shell + .section-shell{
  margin-top:1.2rem;
  padding-top:1.35rem;
  border-top:1px solid rgba(255,255,255,0.07);
}

.form-cluster{
  padding:1.15rem 1.1rem;
  border-radius:20px;
  background:rgba(255,255,255,0.03);
  border:1px solid rgba(255,255,255,0.06);
}

.intro-block{
  max-width:860px;
  margin-bottom:1.25rem;
}

.card-grid-tight{
  row-gap:1.25rem;
}

.feature-card{
  padding:2rem;
  display:flex;
  flex-direction:column;
  height:100%;
  min-height:100%;
  width:100%;
}

.feature-card.equal-card{
  justify-content:flex-start;
  gap:1rem;
  padding:1.9rem 1.85rem 1.65rem;
}

.feature-card.equal-card h3{
  margin:0;
  display:block;
  line-height:1.25;
}

.feature-card.equal-card p{
  margin:0;
  flex-grow:0;
  line-height:1.75;
}

.feature-card p:last-child,
.section-text:last-child,
.muted-copy:last-child{
  margin-bottom:0;
}

.steps-row{
  align-items:stretch;
}

.steps-row > [class*="col-"]{
  display:flex;
}

.steps-row .feature-card{
  width:100%;
}

.steps-row .feature-card.equal-card{
  min-height:250px;
}

.steps-row .feature-card.equal-card h3{
  font-size:1.18rem;
  min-height:unset;
}

.steps-row .feature-card.equal-card p{
  margin-bottom:0;
}

.hidden-panel{ display:none !important; }

@media (max-width: 991.98px){
  .navbar-collapse{
    margin-top:.85rem;
    padding:1rem;
    border-radius:18px;
    background:rgba(0,0,0,0.82);
    border:1px solid rgba(255,255,255,0.08);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
  }

  .navbar-nav{
    gap:.35rem;
    width:100%;
    align-items:stretch !important;
  }

  .site-navbar .glass-btn-sm{
    width:100%;
    justify-content:center;
  }

  .site-link{
    display:block;
    padding:.75rem 0;
  }

  .hero-copy{ padding:3rem 0 1.8rem; }
  .hero-panel{ margin-top:1rem; }
  .hero-panel-inner,
  .glass-panel,
  .output-panel,
  .content-block{ padding:1.55rem; }
  .tool-shell{ padding:1.25rem 0 4rem; }
  .stack-gap > * + *{ margin-top:1.2rem; }
  .feature-card{ padding:1.45rem; }
  .steps-row .feature-card.equal-card{
    min-height:unset;
    padding:1.45rem;
  }

  .steps-row .feature-card.equal-card h3{
    min-height:unset;
  }

  .code-output{ min-height:360px; }
}

@media (max-width: 767.98px){
  .site-logo{
    height:40px;
  }

  .overview-grid{
    grid-template-columns:1fr;
  }
}

@media (max-width: 767.98px){
  .footer-shell{
    padding:1.3rem 1.2rem 1.05rem;
  }

  .footer-bottom{
    flex-direction:column;
    align-items:flex-start;
  }
}

@media (max-width: 575.98px){
  .site-logo{
    height:40px;
  }

  .hero-title{ font-size:2.2rem; }

  .hero-actions .glass-btn,
  .hero-actions .btn-glass,
  .action-wrap .glass-btn,
  .action-wrap .btn-glass{
    width:100%;
  }

  .hero-panel-inner,
  .glass-panel,
  .output-panel,
  .content-block{ padding:1.25rem; }

  .form-cluster,
  .day-row,
  .faq-item,
  .feature-card{ padding:1rem; }

  .day-row .col-6,
  .day-row .col-md-3,
  .day-row .col-md-2,
  .day-row .col-md-4{ margin-bottom:.75rem; }

  .site-navbar .glass-btn,
  .site-navbar .btn-glass,
  .site-navbar .glass-btn-sm{
    width:100% !important;
    min-width:0 !important;
    justify-content:center !important;
  }

  .site-navbar .navbar-nav{
    width:100%;
    align-items:stretch !important;
  }
}