/* Reset and base styles */
body {
  margin: 0;
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background: #0d0d0d;
  color: #f2f2f2;
  text-align: center;
}

a {
  color: #00f3f3;
  font-weight: bold;
  text-decoration: underline;
}

a:hover {
  text-decoration: underline;
}

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

header {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.6);
}

header img {
  height: 40px;
  margin-right: 10px;
}

header h1 {
  font-size: 1.5rem;
  margin: 0;
  letter-spacing: 1px;
}

nav a {
  color: #f2f2f2;
  margin-left: 15px;
  font-weight: bold;
}

nav a.active,
nav a:hover {
  color: #006d6d;
}

.hero {
  position: relative;
  height: 90vh;
  background: url('/assets/images/sni_hero.png') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-shadow: 0px 2px 8px rgba(0,0,0,0.7);
  padding: 0 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.hero h2 {
  font-size: 2rem;
  margin: 0.5rem 0;
  max-width: 800px;
}

.hero p.subtitle {
  font-size: 1.2rem;
  margin: 1rem 0;
  max-width: 600px;
}

.hero p.project-by {
  font-size: 0.9rem;
  margin-top: 10px;
  color: #cccccc;
}

.hero .intro-text {
  font-size: 1rem;
  max-width: 700px;
  margin: 1rem 0;
  line-height: 1.5;
}

.cta-buttons {
  margin-top: 20px;
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.cta-button {
  padding: 12px 24px;
  background-color: #006d6d;
  border: none;
  border-radius: 5px;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  text-decoration: none;
  transition: background-color 0.3s;
}

.cta-button.secondary {
  background-color: #555;
}

.cta-button:hover {
  background-color: #006d6d;
}

.cta-button.secondary:hover {
  background-color: #777;
}

.card {
  background-color: #1a1a1a;
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  text-align: left;
}

.card-content {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
}

.card-left,
.card-right {
  flex: 1 1 300px; /* Grow but minimum 300px wide */
}

/* Improve bullets under title on the left */
.card-left ul.report-bullets {
  padding-left: 0;              /* remove default indent */
  margin: 0.75rem 0 1.25rem 0;
  list-style: none;             /* we’ll draw our own bullets */
}

.card-left ul.report-bullets li {
  position: relative;
  padding-left: 1.4rem;         /* space for custom bullet */
  margin-bottom: 0.5rem;        /* more vertical spacing */
  line-height: 1.4;
  color: #cccccc;
}

/* Custom bullet marker */
.card-left ul.report-bullets li::before {
  content: "◆";                 /* stylish diamond marker */
  position: absolute;
  left: 0;
  top: 0.1rem;
  font-size: 0.6rem;
  color: #00a8a8;               /* match brand accent */
}

/* Keep generic card-left ul fallback */
.card-left ul {
  padding-left: 1.2rem;
  margin-top: 0.5rem;
}

.card-right form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-right input[type="email"] {
  padding: 0.5rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.card-right input[type="submit"] {
  color: #fff;
  padding: 0.6rem 1rem;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.card-right input[type="submit"]:hover {
  background-color: #444;
}

.title-section {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

/* Circular subject image in the title section */
.candidate-photo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.8rem;
  flex-shrink: 0;
}

/* Smaller thumbnail, nicer presentation */
.summary-thumbnail-wrapper {
  position: relative;
  text-align: center;
  margin: 0.8rem auto 0.5rem auto;
  max-width: 220px; /* smaller max width */
}

.summary-thumbnail {
  max-width: 100%;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border: 1px solid #333;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
  border-radius: 4px;
}

.report-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  background-color: #007e7e;
  color: white;
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 0.5rem;
  font-weight: bold;
  z-index: 1;
}

.page-content {
  max-width: 750px;
  margin: 0 auto;
  padding: 2rem 1rem;
  text-align: left;
  line-height: 1.25;
  font-size: 1.05rem;
  color: #dddddd; /* slightly dimmer than #f2f2f2 */
}

.page-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: #ffffff;
}

.page-content h2 {
  font-size: 1.4rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #f2f2f2;
}

.page-content p {
  margin-bottom: 1.2rem;
  color: #cccccc;
}

.page-content ul {
  padding-left: 1.5rem;
  margin-bottom: 1rem;
  list-style: disc;
}

.page-content li {
  margin-bottom: 0.6rem;
  color: #cccccc;
}

.card-left h2 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: #424242;
}

/* Report Date Styling */
.report-version {
  font-size: 0.9rem;
  color: #bbbbbb;
  margin-bottom: 0.15rem;
  font-style: italic;
}

.report-date {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 0.9rem;
  font-style: italic;
}

/* Stripe Buy Button Styling */
.buy-button,
.btn-primary {
  display: inline-block;
  padding: 12px 20px;
  background: linear-gradient(135deg, #00a8a8, #006d6d);
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 168, 168, 0.3);
  text-align: center;
  min-width: 160px;
}

.buy-button:hover,
.btn-primary:hover {
  background: linear-gradient(135deg, #00c5c5, #00a8a8);
  box-shadow: 0 4px 12px rgba(0, 168, 168, 0.4);
  transform: translateY(-1px);
  color: white;
  text-decoration: none;
}

.buy-button:active,
.btn-primary:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 168, 168, 0.3);
}

.buy-button:disabled,
.btn-primary:disabled {
  background: #444;
  cursor: not-allowed;
  opacity: 0.6;
  box-shadow: none;
}

.buy-button:disabled:hover,
.btn-primary:disabled:hover {
  background: #444;
  transform: none;
  box-shadow: none;
}

/* Report Card Buy Button Container */
.card-actions {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Teaser Section Styling */
.teaser-section {
  background: rgba(255, 255, 255, 0.02);
  padding: 1.2rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.teaser-blurb {
  font-size: 0.9rem;
  color: #ccc;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.teaser-section form {
  margin: 0;
}

.teaser-section input[type="email"] {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  margin-bottom: 0.8rem;
}

.teaser-section input[type="email"]:focus {
  outline: none;
  border-color: #00a8a8;
  background: rgba(255, 255, 255, 0.08);
}

.teaser-section input[type="email"]::placeholder {
  color: #999;
}

.teaser-submit {
  background: linear-gradient(135deg, #4a5568, #2d3748);
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.95rem;
  width: 100%;
  transition: all 0.2s ease;
}

.teaser-submit:hover {
  background: linear-gradient(135deg, #5a6578, #3d4758);
  transform: translateY(-1px);
}

/* Teaser Explanation Text */
.teaser-explanation {
  font-size: 0.8rem;
  color: #aaa;
  text-align: center;
  margin: 0.8rem 0 0.5rem 0;
  font-style: italic;
  line-height: 1.3;
}

/* Action Separator */
.action-separator {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  margin: 0.5rem 0;
}

.action-separator::before {
  content: "OR";
  display: block;
  text-align: center;
  background: #1a1a1a;
  color: #888;
  font-size: 0.75rem;
  font-weight: bold;
  padding: 0 0.8rem;
  position: relative;
  top: -0.6rem;
  width: fit-content;
  margin: 0 auto;
}

/* Full Report Button */
.full-report-button {
  background: linear-gradient(135deg, #00a8a8, #006d6d) !important;
  margin-top: 0;
}

.card-actions .buy-button {
  width: 100%;
  justify-self: stretch;
}

/* Report Page CTA Styling */
#cta {
  text-align: center;
}

#buy-full-report {
  font-size: 1.2rem;
  padding: 16px 32px;
  min-width: 200px;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
  .card-content {
    flex-direction: column;
  }

  .card-actions {
    gap: 1.2rem;
  }
  
  .teaser-section {
    padding: 1rem;
  }
  
  .teaser-blurb {
    font-size: 0.85rem;
  }
  
  .buy-button {
    padding: 10px 16px;
    font-size: 0.9rem;
  }
  
  #buy-full-report {
    font-size: 1.1rem;
    padding: 14px 24px;
  }
  
  .report-date {
    font-size: 0.85rem;
    margin-bottom: 0.8rem;
  }
  
  .teaser-explanation {
    font-size: 0.75rem;
    margin: 0.6rem 0 0.4rem 0;
  }
  
  .candidate-photo {
    width: 50px;
    height: 50px;
    margin-right: 0.8rem;
  }
  
  .summary-thumbnail-wrapper {
    max-width: 100%;
    margin: 0.8rem auto;
  }

  /* Slightly tighten bullets on mobile */
  .card-left ul.report-bullets li {
    margin-bottom: 0.25rem;
  }
}