/* ===== Container ===== */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ===== Navbar ===== */
.navbar {
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
}

.nav-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  text-decoration: none;
  font-weight: 600;
  font-size: 17px;
  color: var(--color-primary);
}

.nav-logo:hover {
  text-decoration: none;
}

.nav-by {
  font-size: 11px;
  font-weight: 400;
  opacity: 0.55;
  letter-spacing: 0.02em;
}

.nav-by a {
  color: inherit;
  text-decoration: none;
}

.nav-by a:hover {
  text-decoration: underline;
}

.nav-links {
  display: flex;
  gap: 24px;
}

.nav-links a {
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--color-primary);
  text-decoration: none;
}

/* ===== Hero ===== */
.hero {
  text-align: center;
  padding: 48px 20px 32px;
  background: linear-gradient(180deg, var(--bg-surface) 0%, var(--bg-base) 100%);
}

.hero h1 {
  font-size: 32px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.hero p {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
  margin: 0 auto;
}

.hero-badges {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 20px;
  font-size: 13px;
  color: var(--text-secondary);
}

/* ===== Main Two-Column Layout ===== */
.main-app {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px;
  min-height: 60vh;
}

.wizard-panel {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  align-self: start;
  position: sticky;
  top: 80px;
  max-height: calc(100vh - 100px);
  overflow-y: auto;
}

.preview-panel {
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

/* ===== Sections ===== */
.section {
  padding: 60px 20px;
}

.section-title {
  text-align: center;
  font-size: 26px;
  font-weight: 600;
  color: var(--color-primary);
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 15px;
  max-width: 560px;
  margin: 0 auto 36px;
}

/* ===== How it works ===== */
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

.how-card {
  text-align: center;
  padding: 28px 20px;
  background: var(--bg-surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}

.how-card .how-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: var(--color-primary-light);
  color: #fff;
  font-weight: 600;
  border-radius: 50%;
  font-size: 16px;
  margin-bottom: 14px;
}

.how-card h3 {
  font-size: 16px;
  color: var(--text-primary);
  margin-bottom: 8px;
}

.how-card p {
  font-size: 14px;
  color: var(--text-secondary);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 700px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 18px 0;
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  padding: 0;
}

.faq-question::after {
  content: '+';
  font-size: 20px;
  color: var(--text-tertiary);
  transition: transform 0.2s;
}

.faq-item.open .faq-question::after {
  content: '−';
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  font-size: 14px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.faq-item.open .faq-answer {
  max-height: 300px;
  padding-top: 12px;
}

/* ===== Footer ===== */
.footer {
  background: var(--color-primary);
  color: rgba(255,255,255,0.85);
  padding-top: 48px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 32px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  text-decoration: none;
}

.footer-logo:hover {
  text-decoration: none;
}

.footer-brand p {
  font-size: 13px;
  margin-top: 10px;
  line-height: 1.6;
  opacity: 0.8;
}

.footer-by {
  font-size: 12px;
  opacity: 0.6;
  margin-top: 8px;
}

.footer-by a {
  color: var(--color-accent);
}

.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 14px;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-size: 13px;
  color: rgba(255,255,255,0.7);
  transition: color 0.2s;
}

.footer-col a:hover {
  color: #fff;
  text-decoration: none;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 16px 0;
}

.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  opacity: 0.6;
}

.footer-disclaimer {
  background: rgba(0,0,0,0.15);
  padding: 14px 0;
  font-size: 11px;
  line-height: 1.6;
  opacity: 0.55;
  text-align: center;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .main-app {
    grid-template-columns: 1fr;
  }

  .wizard-panel {
    position: static;
    max-height: none;
  }

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

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
}

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

  .hero h1 {
    font-size: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-bottom-inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}
