/* ========== THEME ========== */
:root {
  --gh-primary: #ff5c35; /* accent orange */
  --gh-primary-600: #e04d2c;
  --gh-dark: #0b1224;    /* hero background */
  --gh-text: #1a1a1a;
  --gh-muted: #6b7280;
  --gh-border: #e5e7eb;
  --gh-bg: #ffffff;
  --gh-bg-soft: #f8fafc;
}

* { box-sizing: border-box; }

body {
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  background-color: var(--gh-bg);
  color: var(--gh-text);
  line-height: 1.5;
}

/* Links */
a { color: var(--gh-primary); }
a:hover { color: var(--gh-primary-600); }

/* ========== NAVBAR ========== */
.navbar { background-color: #fff; }
.navbar-brand { font-weight: 700; color: var(--gh-dark); }
.nav-link { color: var(--gh-dark); }
.nav-link:hover { color: var(--gh-primary); }

/* ========== HERO (dark) ========== */
.hero {
  background: var(--gh-dark);
  color: #fff;
  padding: 96px 0 60px;
}
.hero .highlight { color: var(--gh-primary); }
.hero .form-text { color: #d1d5db; }

/* HERO tagline */
.tagline {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: rgba(255,255,255,0.75);
}

/* Ensure spacing looks balanced */
.hero h1 {
  line-height: 1.2;
}
.hero p {
  color: #e5e7eb; /* lighter gray for subtitle */
}

/* Make hero signup input and button align perfectly */
.hero .cta-form .form-control-lg,
.hero .cta-form .btn-lg {
  height: 56px;             /* force equal height */
  line-height: 1.25rem;
  border-radius: 8px;
}

.hero .cta-form .btn-lg {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1.25rem;       /* consistent side padding */
}


/* CTA inputs/buttons */
.cta-form input {
  border: 1px solid var(--gh-border);
  background: #fff;
}
.cta-form input:focus {
  border-color: var(--gh-primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 92, 53, 0.25);
}

/* Buttons */
.btn-primary {
  background-color: var(--gh-primary);
  border-color: var(--gh-primary);
}
.btn-primary:hover {
  background-color: var(--gh-primary-600);
  border-color: var(--gh-primary-600);
}
.btn-outline-primary {
  color: var(--gh-primary);
  border: 1px solid var(--gh-primary);
  background-color: transparent;
  /*font-weight: 600;*/
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
  background-color: var(--gh-primary);
  border: 1px solid var(--gh-primary);
  color: #fff;
}

/* ========== FEATURE CARDS (home section) ========== */
.feature-card {
  background-color: #fff;
  border: 1px solid var(--gh-border);
  transition: transform .2s ease, box-shadow .2s ease;
  border-radius: 12px;
}
.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.icon-pill {
  width: 44px;
  height: 44px;
  display: inline-grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255,92,53,.1);
  color: var(--gh-primary);
}

/* Screenshot placeholder */
.screenshot {
  aspect-ratio: 16/9;
  border-radius: 12px;
  border: 1px solid var(--gh-border);
  background: linear-gradient(135deg, rgba(255,92,53,.15), rgba(11,18,36,.4));
}

/* ========== FAQ (accordion) ========== */
#faq { scroll-margin-top: 80px; }
#faq .accordion {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--gh-border);
  background: #fff;
}
.accordion-button {
  padding: 16px 18px;
  font-weight: 600;
}
.accordion-button:not(.collapsed) {
  color: var(--gh-text);
  background-color: var(--gh-bg-soft);
  box-shadow: inset 0 -1px 0 var(--gh-border);
}
.accordion-button:focus {
  border-color: var(--gh-primary);
  box-shadow: 0 0 0 0.2rem rgba(255, 92, 53, 0.2);
}
.accordion-item {
  border-color: var(--gh-border);
}
.accordion-body {
  color: var(--gh-text);
  padding: 14px 18px 18px;
}
#faq .accordion-button::after { filter: grayscale(1); }

/* ========== SIGNUP CTA ========== */
#signup .card {
  border: 1px solid var(--gh-border);
  border-radius: 14px;
  background: #fff;
}
#signup .form-control-lg {
  height: calc(1.5em + 1.5rem + 2px);
}

/* HOW IT WORKS */
#how {
  background: #fff;
}

#how h2 {
  font-weight: 700;
  margin-bottom: 1rem;
}

#how .list-group {
  border: none;
  border-radius: 0;
}

#how .list-group-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  border: none;
  border-bottom: 1px solid var(--gh-border);
  padding: 1.25rem 0;
}

#how .list-group-item:last-child {
  border-bottom: none;
}

/* Step number styling */
#how .list-group-numbered > .list-group-item::before {
  content: counter(list-item);
  counter-increment: list-item;
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--gh-primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}

#how strong {
  display: block;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

#how .text-muted {
  font-size: 0.95rem;
  color: var(--gh-muted) !important;
}


/* ========== FOOTER ========== */
.footer {
  background-color: #fff;
  border-top: 1px solid var(--gh-border);
}
.link-muted { color: #666; text-decoration: none; }
.link-muted:hover { color: var(--gh-primary); }

/* ========== UTILITIES / RESPONSIVE ========== */
.text-muted { color: var(--gh-muted) !important; }

@media (max-width: 992px) {
  .hero { padding: 72px 0 48px; }
  #how .list-group-item { padding: 14px 16px; }
  .accordion-button { padding: 14px 16px; }
}

@media (prefers-reduced-motion: reduce) {
  .feature-card, .btn, .accordion-button, .list-group-item { transition: none !important; }
}

/* ===== Login Modal ===== */
#loginModal .modal-content {
  border: none;
  border-radius: 12px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

#loginModal .modal-header {
  padding: 1.5rem 1.5rem 0 1.5rem;
}

#loginModal .btn-close {
  background-size: 1.2em;
  opacity: 0.6;
  transition: opacity 0.2s;
}

#loginModal .btn-close:hover {
  opacity: 1;
}

#loginModal .modal-body {
  padding: 0 1.5rem 1.5rem 1.5rem;
}

#loginModal .form-floating > .form-control:focus {
  border-color: var(--gh-primary);
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.25);
}

#loginModal .btn-primary {
  background-color: var(--gh-primary);
  border-color: var(--gh-primary);
  font-weight: 500;
  transition: all 0.2s;
}

#loginModal .btn-primary:hover {
  background-color: ##fff;
  border-color: var(--gh-primary);
  transform: translateY(-1px);
}

