/* ============================================================
   AI Content Engine System — Shared Stylesheet
   Tidal Stream Operations Inc.
   ============================================================ */

/* ---- Reset & Base ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 60%, #16213e 100%);
  background-attachment: fixed;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #FFD700; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ---- Typography ---- */
h1, h2, h3, h4, h5, h6 {
  line-height: 1.2;
  font-weight: 700;
}

.headline {
  font-size: clamp(1.8rem, 4vw, 3rem);
  color: #ffffff;
  margin-bottom: 1rem;
}

.headline span,
.headline .gold {
  color: #FFD700;
}

.subheadline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  color: #cccccc;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

/* ---- Layout ---- */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

.container-wide {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

section {
  padding: 4rem 0;
}

section.tight {
  padding: 2rem 0;
}

/* ---- Hero / Page Header ---- */
.hero {
  background: linear-gradient(160deg, #0d0d1a 0%, #1a1a2e 100%);
  border-bottom: 1px solid rgba(255, 215, 0, 0.15);
  padding: 5rem 0 4rem;
  text-align: center;
}

.hero-badge {
  display: inline-block;
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #FFD700;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.5rem;
}

/* ---- CTA Buttons ---- */
.btn {
  display: inline-block;
  padding: 1.1rem 2.5rem;
  border-radius: 8px;
  font-size: 1.1rem;
  font-weight: 700;
  cursor: pointer;
  border: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  text-align: center;
  line-height: 1.3;
}

.btn-primary {
  background: #FFD700;
  color: #000000;
  box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35);
}

.btn-primary:hover {
  background: #ffe84d;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(255, 215, 0, 0.5);
  text-decoration: none;
  color: #000;
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-secondary {
  background: transparent;
  color: #cccccc;
  border: 1px solid #444;
  padding: 0.75rem 1.5rem;
  font-size: 0.9rem;
}

.btn-secondary:hover {
  border-color: #888;
  color: #fff;
  text-decoration: none;
}

.btn-large {
  padding: 1.3rem 3rem;
  font-size: 1.25rem;
  border-radius: 10px;
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
}

.btn-pulse {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35); }
  50% { box-shadow: 0 4px 40px rgba(255, 215, 0, 0.65); }
  100% { box-shadow: 0 4px 20px rgba(255, 215, 0, 0.35); }
}

.cta-subtext {
  font-size: 0.8rem;
  color: #888;
  margin-top: 0.5rem;
  text-align: center;
}

/* ---- Sticky CTA Bar ---- */
.sticky-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.97);
  border-top: 2px solid #FFD700;
  padding: 0.85rem 1.25rem;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.sticky-cta.visible {
  transform: translateY(0);
}

.sticky-cta-text {
  font-size: 0.95rem;
  color: #ccc;
}

.sticky-cta-text strong {
  color: #FFD700;
}

/* ---- Countdown Timer ---- */
.countdown-section {
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.25);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin: 2rem 0;
}

.countdown-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #FFD700;
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #FFD700;
  background: rgba(0,0,0,0.4);
  border: 1px solid rgba(255,215,0,0.3);
  border-radius: 8px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-variant-numeric: tabular-nums;
}

.countdown-label-small {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #888;
  margin-top: 0.35rem;
}

.countdown-colon {
  font-size: 2rem;
  font-weight: 700;
  color: #FFD700;
  align-self: center;
  padding-bottom: 0.5rem;
  opacity: 0.6;
}

/* ---- Section Dividers ---- */
.divider {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,215,0,0.3), transparent);
  margin: 0;
}

.section-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #FFD700;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

/* ---- Problem / Pain Section ---- */
.pain-section {
  background: rgba(255, 50, 50, 0.04);
  border-left: 3px solid rgba(255, 80, 80, 0.4);
}

.pain-list {
  list-style: none;
  padding: 0;
}

.pain-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  color: #cccccc;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.pain-list li::before {
  content: '✗';
  position: absolute;
  left: 0;
  color: #ff5555;
  font-weight: 700;
}

/* ---- Stats Bar ---- */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.stat-card {
  background: rgba(255, 215, 0, 0.06);
  border: 1px solid rgba(255, 215, 0, 0.2);
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: #FFD700;
  display: block;
}

.stat-label {
  font-size: 0.85rem;
  color: #aaaaaa;
  margin-top: 0.35rem;
}

/* ---- What's Included List ---- */
.included-list {
  list-style: none;
  padding: 0;
}

.included-list li {
  padding: 1rem 0 1rem 2.5rem;
  position: relative;
  font-size: 1.05rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  color: #eeeeee;
}

.included-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
}

.included-list li strong {
  color: #FFD700;
}

/* ---- Testimonial Cards ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  position: relative;
}

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 0.5rem;
  left: 1rem;
  font-size: 3rem;
  color: #FFD700;
  opacity: 0.4;
  line-height: 1;
}

.testimonial-stars {
  color: #FFD700;
  font-size: 0.9rem;
  margin-bottom: 0.75rem;
}

.testimonial-text {
  color: #cccccc;
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFD700, #ff8c00);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  color: #000;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-name {
  font-weight: 600;
  font-size: 0.9rem;
  color: #ffffff;
}

.testimonial-title {
  font-size: 0.75rem;
  color: #888;
}

/* ---- Social Proof Bar ---- */
.social-proof-bar {
  background: rgba(255, 215, 0, 0.08);
  border-top: 1px solid rgba(255, 215, 0, 0.2);
  border-bottom: 1px solid rgba(255, 215, 0, 0.2);
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
  color: #cccccc;
}

.social-proof-bar strong {
  color: #FFD700;
}

/* ---- Forms ---- */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #cccccc;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: 0.9rem 1.1rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: #ffffff;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}

.form-input::placeholder {
  color: #666;
}

.form-input:focus {
  outline: none;
  border-color: #FFD700;
  box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.15);
}

/* ---- Opt-in Box ---- */
.optin-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
  max-width: 540px;
  margin: 0 auto;
}

/* ---- Order Bumps ---- */
.order-bump {
  background: rgba(255, 215, 0, 0.05);
  border: 2px dashed rgba(255, 215, 0, 0.45);
  border-radius: 10px;
  padding: 1.25rem 1.5rem;
  margin: 1.25rem 0;
  transition: background 0.2s, border-color 0.2s;
  cursor: pointer;
}

.order-bump:hover,
.order-bump.checked {
  background: rgba(255, 215, 0, 0.1);
  border-color: #FFD700;
}

.order-bump-header {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.order-bump-checkbox {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  margin-top: 0.15rem;
  cursor: pointer;
  accent-color: #FFD700;
}

.order-bump-content { flex: 1; }

.order-bump-title {
  font-weight: 700;
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 0.3rem;
}

.order-bump-price {
  display: inline-block;
  background: rgba(255, 215, 0, 0.2);
  color: #FFD700;
  font-weight: 700;
  font-size: 0.9rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.order-bump-desc {
  font-size: 0.9rem;
  color: #aaaaaa;
  display: none;
  margin-top: 0.5rem;
}

.order-bump-desc.visible {
  display: block;
}

/* ---- Order Summary / Checkout ---- */
.order-summary {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.order-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.6rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  font-size: 0.95rem;
  color: #cccccc;
}

.order-line:last-child { border-bottom: none; }

.order-line-name { flex: 1; }

.order-line-price {
  font-weight: 600;
  color: #ffffff;
  min-width: 60px;
  text-align: right;
}

.order-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0 0;
  border-top: 2px solid rgba(255, 215, 0, 0.3);
  margin-top: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.order-total-price {
  color: #FFD700;
  font-size: 1.4rem;
}

/* ---- Stripe-style card inputs ---- */
.card-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.security-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  margin: 1rem 0;
  font-size: 0.8rem;
  color: #888;
}

.security-badge {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.security-badge-icon {
  font-size: 1rem;
}

/* ---- FAQ Accordion ---- */
.faq-list {
  margin: 1.5rem 0;
}

.faq-item {
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  font-family: inherit;
  text-align: left;
  padding: 1.15rem 2.5rem 1.15rem 0;
  cursor: pointer;
  position: relative;
  transition: color 0.2s;
}

.faq-question:hover { color: #FFD700; }

.faq-question::after {
  content: '+';
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem;
  color: #FFD700;
  transition: transform 0.25s ease;
  font-weight: 300;
}

.faq-question.open::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-answer-inner {
  padding: 0 0 1.25rem;
  color: #aaaaaa;
  font-size: 0.95rem;
  line-height: 1.8;
}

.faq-answer.open {
  max-height: 400px;
}

/* ---- Guarantee Box ---- */
.guarantee-box {
  background: rgba(0, 200, 100, 0.05);
  border: 1px solid rgba(0, 200, 100, 0.25);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.guarantee-icon {
  font-size: 3rem;
  flex-shrink: 0;
}

.guarantee-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #00c864;
  margin-bottom: 0.5rem;
}

.guarantee-text {
  color: #aaaaaa;
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ---- Price Box ---- */
.price-box {
  background: rgba(255, 255, 255, 0.04);
  border: 2px solid rgba(255, 215, 0, 0.4);
  border-radius: 14px;
  padding: 2.5rem;
  text-align: center;
  margin: 2rem 0;
}

.price-original {
  font-size: 1.2rem;
  color: #888;
  text-decoration: line-through;
  margin-bottom: 0.25rem;
}

.price-current {
  font-size: 3.5rem;
  font-weight: 700;
  color: #FFD700;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.price-context {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1.5rem;
}

/* ---- Upsell Page ---- */
.upsell-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 215, 0, 0.3);
  border-radius: 16px;
  padding: 2.5rem;
  text-align: center;
}

.upsell-no-link {
  display: block;
  text-align: center;
  color: #666;
  font-size: 0.85rem;
  margin-top: 1rem;
  cursor: pointer;
}

.upsell-no-link:hover {
  color: #999;
}

/* ---- Thank You / Delivery ---- */
.delivery-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem 2rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.delivery-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.delivery-title {
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.delivery-desc {
  font-size: 0.875rem;
  color: #aaaaaa;
}

.btn-download {
  background: rgba(255, 215, 0, 0.15);
  border: 1px solid rgba(255, 215, 0, 0.4);
  color: #FFD700;
  padding: 0.6rem 1.25rem;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  font-family: inherit;
  transition: background 0.2s;
}

.btn-download:hover {
  background: rgba(255, 215, 0, 0.25);
}

/* ---- Steps ---- */
.steps-list {
  counter-reset: step-counter;
  list-style: none;
  padding: 0;
}

.steps-list li {
  counter-increment: step-counter;
  padding: 1rem 0 1rem 3.5rem;
  position: relative;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 1rem;
  color: #cccccc;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  background: #FFD700;
  color: #000;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* ---- Scarcity Banner ---- */
.scarcity-banner {
  background: linear-gradient(90deg, #7a1c1c, #a52020);
  border: 1px solid rgba(255,100,100,0.3);
  border-radius: 8px;
  padding: 0.85rem 1.5rem;
  text-align: center;
  font-size: 0.9rem;
  font-weight: 600;
  color: #ffcccc;
  margin: 1.5rem 0;
}

.scarcity-banner .highlight { color: #ffff99; }

/* ---- Mechanism Checkmarks ---- */
.mechanism-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.mechanism-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  color: #eeeeee;
  font-size: 1.05rem;
}

.mechanism-list li::before {
  content: '✅';
  position: absolute;
  left: 0;
}

/* ---- Vision / Transformation ---- */
.vision-list {
  list-style: none;
  padding: 0;
  margin: 1.5rem 0;
}

.vision-list li {
  padding: 0.6rem 0 0.6rem 2rem;
  position: relative;
  color: #eeeeee;
  font-size: 1.05rem;
}

.vision-list li::before {
  content: '🔥';
  position: absolute;
  left: 0;
}

/* ---- Feature Pills ---- */
.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 1.5rem 0;
}

.pill {
  background: rgba(255, 215, 0, 0.1);
  border: 1px solid rgba(255, 215, 0, 0.3);
  color: #FFD700;
  padding: 0.4rem 0.9rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
}

/* ---- Highlight Box ---- */
.highlight-box {
  background: rgba(255, 215, 0, 0.07);
  border-left: 4px solid #FFD700;
  border-radius: 0 8px 8px 0;
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  font-size: 1.05rem;
  color: #eeeeee;
}

/* ---- Page Nav / Progress ---- */
.page-progress {
  background: rgba(255,255,255,0.06);
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.progress-steps {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  max-width: 500px;
  margin: 0 auto;
}

.progress-step {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.78rem;
  color: #666;
  padding: 0 0.75rem;
}

.progress-step.active { color: #FFD700; }
.progress-step.done { color: #888; }

.progress-dot {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

.progress-step.active .progress-dot {
  background: #FFD700;
  color: #000;
}

.progress-step.done .progress-dot {
  background: #444;
  color: #aaa;
}

.progress-line {
  flex: 1;
  height: 1px;
  background: rgba(255,255,255,0.1);
  min-width: 30px;
}

/* ---- Logo / Brand ---- */
.site-header {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.brand-name {
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFD700;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 0.7rem;
  color: #666;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ---- Footer ---- */
.site-footer {
  padding: 2rem 0;
  border-top: 1px solid rgba(255,255,255,0.07);
  text-align: center;
  font-size: 0.8rem;
  color: #555;
}

.site-footer a { color: #666; }
.site-footer a:hover { color: #999; }

/* ---- Responsive ---- */
@media (max-width: 640px) {
  .hero { padding: 3rem 0 2.5rem; }
  section { padding: 2.5rem 0; }
  .countdown-number { width: 56px; height: 56px; font-size: 2rem; }
  .countdown-colon { font-size: 1.6rem; }
  .optin-box { padding: 1.75rem 1.25rem; }
  .order-bump-header { flex-direction: column; }
  .card-row { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .guarantee-box { flex-direction: column; }
  .delivery-card { flex-direction: column; text-align: center; }
  .sticky-cta { flex-direction: column; gap: 0.5rem; text-align: center; }
  .upsell-box { padding: 1.5rem 1rem; }
  .price-current { font-size: 2.75rem; }
  .btn-large { padding: 1.1rem 2rem; font-size: 1.1rem; }
  .progress-steps { gap: 0; }
  .progress-step span:not(.progress-dot) { display: none; }
}
