/* Download Pages Specific Styles */

/* Download Page Layout */
.download-page {
  padding-top: 2rem;
  padding-bottom: 4rem;
}

/* Hero Section */
.download-hero {
  padding: 3rem 0;
  margin-bottom: 3rem;
}

.download-hero .hero-content {
  max-width: 700px;
}

.free-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-brand, #D4AF37), var(--gold-accessible, #9B7B1B));
  color: #000;
  padding: 0.35rem 1rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1.5rem;
  border-radius: 2px;
}

.download-hero h1 {
  margin-bottom: 1rem;
}

.download-hero .subtitle {
  font-size: 1.25rem;
  color: #666;
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Guide Features List */
.guide-features {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}

.guide-features li {
  padding-left: 1.75rem;
  position: relative;
  margin-bottom: 0.85rem;
  font-size: 1.05rem;
  line-height: 1.5;
}

.guide-features li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--gold-brand);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Download Form Section */
.download-form-section {
  background: #f8f9fa;
  padding: 3rem 2rem;
  margin: 3rem 0;
  border-radius: 8px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.download-form-section h2 {
  text-align: center;
  margin-bottom: 0.5rem;
}

.download-form-section > p {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
}

/* Form Styles */
.download-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: #333;
}

.form-group input[type="text"],
.form-group input[type="email"] {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus {
  outline: none;
  border-color: var(--gold-brand);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.15);
}

/* Checkbox Styles */
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  accent-color: var(--gold-brand);
}

.checkbox-group label {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: 0;
}

.checkbox-group label strong {
  font-weight: 600;
}

/* Submit Button */
.download-form .btn-large {
  width: 100%;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  margin-top: 0.5rem;
}

.download-form .btn-large:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Privacy Note */
.privacy-note {
  font-size: 0.8rem;
  color: #888;
  margin-top: 1.25rem;
  text-align: center;
}

/* Success Message */
.success-message {
  text-align: center;
  padding: 2.5rem;
  background: rgba(212, 175, 55, 0.1);
  border: 2px solid var(--gold-brand);
  border-radius: 8px;
  max-width: 400px;
  margin: 0 auto;
}

.success-message h3 {
  color: var(--gold-accessible, #9B7B1B);
  margin-bottom: 1rem;
}

.success-message p {
  margin-bottom: 0.5rem;
  color: #555;
}

.success-message p:last-child {
  font-size: 0.9rem;
  color: #777;
}

/* Welcome Back Message */
.welcome-back {
  background: rgba(212, 175, 55, 0.1);
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  border-left: 4px solid var(--gold-brand);
  border-radius: 0 4px 4px 0;
  color: #555;
}

/* What's Inside Section */
.guide-contents {
  padding: 3rem 0;
}

.guide-contents h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}

.contents-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.content-item {
  padding: 1.5rem;
  background: #f8f9fa;
  border-radius: 6px;
  border-left: 4px solid var(--gold-brand);
}

.content-item h3 {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  color: #222;
}

.content-item p {
  font-size: 0.95rem;
  color: #666;
  margin: 0;
  line-height: 1.5;
}

/* FAQ Callout Section */
.faq-callout {
  padding: 3rem 0;
  max-width: 900px;
  margin: 0 auto;
}

.faq-callout h2 {
  text-align: center;
  margin-bottom: 0.75rem;
}

.faq-callout .faq-intro {
  text-align: center;
  color: #666;
  margin-bottom: 2rem;
  font-size: 1.05rem;
}

.faq-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.faq-link-card {
  display: block;
  padding: 1.25rem 1.5rem;
  background: #f8f9fa;
  border: 1px solid #e0e0e0;
  border-left: 4px solid var(--gold-brand);
  border-radius: 0 6px 6px 0;
  text-decoration: none;
  transition: background-color 0.2s, border-color 0.2s, transform 0.2s;
}

.faq-link-card:hover {
  background: #fff;
  border-color: var(--gold-brand);
  transform: translateX(4px);
}

.faq-link-card .faq-question {
  display: block;
  font-weight: 600;
  color: var(--text-on-light);
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
}

.faq-link-card .faq-preview {
  display: block;
  font-size: 0.9rem;
  color: #666;
  line-height: 1.4;
}

.faq-cta-text {
  text-align: center;
  margin-top: 1.5rem;
}

.faq-cta-text a {
  color: var(--gold-accessible, #9B7B1B);
  font-weight: 500;
  text-decoration: none;
}

.faq-cta-text a:hover {
  text-decoration: underline;
}

/* Other Guides Section */
.other-guides {
  padding: 3rem 0;
  background: #fafafa;
  margin: 3rem -1rem;
  padding-left: 1rem;
  padding-right: 1rem;
}

.other-guides h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.guides-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.guide-card {
  display: block;
  padding: 1.5rem;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.guide-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
  border-color: var(--gold-brand);
}

.guide-card h3 {
  font-size: 1.1rem;
  color: #222;
  margin-bottom: 0.5rem;
}

.guide-card p {
  font-size: 0.9rem;
  color: #666;
  margin: 0;
}

/* About Author Section */
.about-author {
  padding: 3rem 0;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
}

.about-author h2 {
  margin-bottom: 1.5rem;
}

.author-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #555;
  margin-bottom: 1.5rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .download-hero {
    padding: 2rem 0;
  }

  .download-hero .subtitle {
    font-size: 1.1rem;
  }

  .download-form-section {
    padding: 2rem 1.5rem;
    margin: 2rem 0;
  }

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

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

  .other-guides {
    margin: 2rem -1rem;
  }

  .faq-callout {
    padding: 2rem 0;
  }

  .faq-link-card {
    padding: 1rem 1.25rem;
  }
}

@media (max-width: 480px) {
  .download-form-section {
    padding: 1.5rem 1rem;
    border-radius: 0;
    margin-left: -1rem;
    margin-right: -1rem;
  }

  .guide-features li {
    font-size: 0.95rem;
  }

  .checkbox-group label {
    font-size: 0.85rem;
  }
}
