/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #111111;
    background-color: #ffffff;
}

html {
  scroll-behavior: smooth;
}


.page-wrapper {
    min-height: 100vh;
}

/* Typography */
.font-serif {
    font-family: 'Georgia', 'Times New Roman', serif;
}

/* Section Containers */
.section-container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 24px;
    padding-right: 24px;
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 100vh;
    background-color: hsl(214, 67%, 14%);
    color: #ffffff;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, hsl(214, 67%, 14%), hsl(0, 0%, 6.7%));
    opacity: 0.9;
}

.hero-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;
    padding-top: 80px;
    padding-bottom: 80px;
}

.hero-container {
  /*  max-width: 1024px; */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-left: 24px;
    padding-right: 24px;
}

.hero-headline {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 80px;
    font-weight: bold;
    margin-bottom: 32px;
    line-height: 1.1;
}

.hero-highlight {
    color: hsl(41, 45%, 54%);
}

.hero-subheadline {
    font-size: 32px;
    margin-bottom: 32px;
    line-height: 1.5;
    /*   max-width: 850px; */
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

.hero-description {
    font-size: 24px;
    margin-bottom: 48px;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.8;
}

.hero-email-capture {
    margin-bottom: 32px;
}

.hero-social-proof {
    color: rgba(255, 255, 255, 0.7);
    font-size: 20px;
}

/* Email Forms */
.email-form {
    width: 100%;
    max-width: 448px;
    margin-left: auto;
    margin-right: auto;
}

.email-form-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    font-size: 16px;
    border: 2px solid transparent;
    border-radius: 6px;
    background-color: #ffffff;
    color: #111111;
    transition: all 0.3s ease;
}

.primary-input {
    height: 48px;
    border-color: rgba(11, 29, 58, 0.2);
}

.primary-input:focus {
    outline: none;
    border-color: hsl(41, 45%, 54%);
}

.footer-input {
    height: 44px;
    border-color: hsl(0, 0%, 89.4%);
}

.footer-input:focus {
    outline: none;
    border-color: hsl(41, 45%, 54%);
}

.email-button {
    padding: 12px 32px;
    font-size: 14px;
    font-weight: 600;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: fit-content;
}

.primary-button {
    height: 48px;
    background-color: hsl(41, 45%, 54%);
    color: hsl(0, 0%, 6.7%);
    font-size: 16px;
    padding-left: 32px;
    padding-right: 32px;
}

.primary-button:hover {
    background-color: hsl(41, 45%, 49%);
}

.footer-button {
    height: 44px;
    background-color: hsl(214, 67%, 14%);
    color: #ffffff;
}

.footer-button:hover {
    background-color: hsl(214, 67%, 19%);
}

.email-disclaimer {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 12px;
    text-align: center;
}

/* Problem Section */
.problem-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #ffffff;
    color: hsl(0, 0%, 6.7%);
}

.problem-content {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.problem-headline {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 48px;
}

.problem-highlight {
    color: hsl(41, 45%, 54%);
}

.problem-points {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 48px;
}

.problem-point {
    display: flex;
    align-items: flex-start;
    justify-content: left;
    gap: 16px;
}

.problem-bullet {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: hsl(41, 45%, 54%);
    margin-top: 12px;
    flex-shrink: 0;
}

.problem-text {
    font-size: 32px;
    text-align: left;
    line-height: 1.5;
   /* max-width: 512px; */
}

.problem-impact {
    border-top: 1px solid rgba(201, 164, 76, 0.2);
    padding-top: 48px;
}

.impact-statement {
    font-size: 48px;
    font-weight: 600;
    color: hsl(0, 0%, 6.7%);
}

.impact-highlight {
    color: hsl(41, 45%, 54%);
    font-weight: bold;
}

/* Solution Section */
.solution-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: hsl(0, 0%, 6.7%);
    color: #ffffff;
}

.solution-content {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.solution-headline {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 64px;
    font-weight: bold;
    margin-bottom: 48px;
}

.solution-highlight {
    color: hsl(41, 45%, 54%);
}

.solution-intro {
    font-size: 32px;
    margin-bottom: 48px;
    line-height: 1.5;
}

/* Keep the section title centered, but left-align the list */
.solution-benefits {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 64px;
  align-items: flex-start;        /* NEW: anchor rows to the left */
}

.benefit-item {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  text-align: left;
  /*  max-width: 768px;               /* RE-ENABLE: a nice readable line length */
  margin-left: 0;                 /* CHANGED: was auto */
  margin-right: 0;                /* CHANGED: was auto */
  /* If you want full-width rows instead, use: width: 100%; and remove max-width */
}


.benefit-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: hsl(41, 45%, 54%);
    color: hsl(0, 0%, 6.7%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 14px;
    flex-shrink: 0;
    margin-top: 4px;
}

.benefit-text {
    font-size: 24px;
    line-height: 1.5;
}

.solution-value {
    background-color: rgba(11, 29, 58, 0.1);
    border-radius: 8px;
    padding: 32px;
    margin-bottom: 48px;
}

.value-text {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 24px;
}

.value-subtext {
    /*  font-size: 18px; */
    color: rgba(255, 255, 255, 0.8);
}

.solution-quote {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 48px;
    font-style: italic;
    color: hsl(41, 45%, 54%);
    border-left: 4px solid hsl(41, 45%, 54%);
    padding-left: 32px;
    text-align: left;
    max-width: 512px;
    margin-left: auto;
    margin-right: auto;
}

/* Promise Section */
.promise-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: hsl(214, 67%, 14%);
    color: #ffffff;
}

.promise-content {
    max-width: 1536px;
    margin-left: auto;
    margin-right: auto;
}

.promise-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.promise-item {
    text-align: center;
}

.promise-icon {
    font-size: 64px;
    margin-bottom: 24px;
}

.promise-title {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 16px;
    color: hsl(41, 45%, 54%);
}

.promise-description {
    font-size: 18px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
}

.promise-testimonial {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 32px;
    text-align: center;
}

.testimonial-quote {
    font-size: 32px;
    font-family: 'Georgia', 'Times New Roman', serif;
    font-style: italic;
    margin-bottom: 16px;
}

.testimonial-cite {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Proof Section */
.proof-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #ffffff;
    color: hsl(0, 0%, 6.7%);
}

.proof-content {
    /*  max-width: 1024px; */
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.proof-headline {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 48px;
}

.proof-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 32px;
}

.proof-item {
    background-color: rgba(11, 29, 58, 0.05);
    border-radius: 8px;
    padding: 32px;
    border: 1px solid rgba(11, 29, 58, 0.1);
}

.proof-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background-color: hsl(41, 45%, 54%);
    color: hsl(0, 0%, 6.7%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 24px;
    margin-left: auto;
    margin-right: auto;
}

.proof-text {
    font-size: 18px;
    line-height: 1.5;
}

/* Final CTA Section */
.final-cta-section {
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: hsl(0, 0%, 6.7%);
    color: #ffffff;
}

.final-cta-content {
    max-width: 1024px;
    margin-left: auto;
    margin-right: auto;
}

.final-cta-main {
    margin-bottom: 64px;
}

.final-cta-headline {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 32px;
    text-align: center;
}

.final-cta-description {
    font-size: 32px;
    margin-bottom: 48px;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
}

.final-cta-email-capture {
    text-align: center;
}

.final-cta-divider {
    border-top: 1px solid rgba(201, 164, 76, 0.2);
    padding-top: 64px;
}

.final-cta-secondary {
    text-align: center;
}

.final-quote {
    font-family: 'Georgia', 'Times New Roman', serif;
    font-size: 48px;
    font-style: italic;
    margin-bottom: 32px;
    color: hsl(41, 45%, 54%);
}

.secondary-email-capture {
    margin-bottom: 32px;
}

.scarcity-note {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

/* Scroll cue */
.scroll-cue {
  position: absolute;
  left: 50%;
  bottom: 24px;
  transform: translateX(-50%);
  color: hsl(41, 45%, 54%);
  opacity: 0.9;
  transition: opacity 0.2s ease;
  animation: cue-bounce 1.8s infinite;
}
.scroll-cue:hover { opacity: 1; }
@keyframes cue-bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 6px); }
}

/* About grid */
.about-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.about-photo-wrap { width: 100%; }
.about-photo {
  width: 200px;
  height: auto;
  border-radius: 50%;
}


.about-bio p { line-height: 1.7; }

/* Responsive */
@media (max-width: 767px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-photo { max-width: 200px; }
}


/* Overlay background */
.popup-overlay {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(4px);
}

/* Popup box */
/* Popup box */
.popup-content {
  position: relative;
  max-width: 1200px;   /* ⬅️ increased from 900px */
  width: 95%;          /* ⬅️ takes more horizontal space */
  max-height: 90vh;
  margin: 50px auto;
  background: #fff;
  padding: 32px;       /* ⬅️ slightly more padding for balance */
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  overflow: hidden;    /* Hide content overflow around corners */
  display: flex;
  flex-direction: column;
}

/* Popup CTA buttons */
.popup-cta { text-align:center; margin-top:16px; }
.example-cta-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:14px 28px;
  margin-top:12px;
  font-size:18px;
  font-weight:600;
  border-radius:8px;
  border:0;
  cursor:pointer;
  background:#0B1D3A;
  color:#fff;
  transition: background 0.2s ease;
}

.example-cta-btn:hover {
  background:#123166;
}


/* brief flash to draw attention after copy */
#promptCodeBlock.flash{ box-shadow:0 0 0 3px hsl(41,45%,54%) inset; transition:box-shadow .25s; }



/* Mobile responsiveness */
@media (max-width: 767px) {
  .popup-content {
    max-width: 95%;
    padding: 20px;
  }
}

/* Scrollable section for long prompt */
.popup-scrollable {
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 6px;
}

/* Code block styling */
.popup-scrollable pre {
  background: #0b1d3a;
  color: #fff;
  padding: 16px;
  border-radius: 8px;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 14px;
}

/* Close button */
.popup-close {
  position: absolute;
  top: 12px;
  right: 16px;
  font-size: 28px;
  font-weight: bold;
  color: #555;
  cursor: pointer;
  transition: color 0.2s ease;
}

.popup-close:hover {
  color: #000;
}

/* Make sure background page doesn't scroll when popup is open */
body.no-scroll {
  overflow: hidden;
}

/* Inline example CTA */
.example-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 32px auto 0;
  padding: 14px 22px;
  border-radius: 999px;
  background: hsl(41, 45%, 54%);
  color: hsl(0, 0%, 6.7%);
  font-weight: 700;
  font-size: 18px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(201, 164, 76, 0.25);
  transform: translateY(0);
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
  cursor: pointer; /* ✅ Added */
}

.example-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 10px 24px rgba(201,164,76,.35);
  background:hsl(41,45%,49%);
}
.example-btn:focus{
  outline:3px solid rgba(201,164,76,.6);
  outline-offset:3px;
}
.example-btn__icon{
  transition:transform .18s ease;
}
.example-btn:hover .example-btn__icon{
  transform:translateX(2px);
}

.example-btn-container {
  text-align: center;
  margin-top: 50px;
}


/* gentle attention ping (one time) */
@keyframes btn-pulse {
  0% { box-shadow:0 0 0 0 rgba(201,164,76,.35); }
  70%{ box-shadow:0 0 0 12px rgba(201,164,76,0); }
  100%{ box-shadow:0 0 0 0 rgba(201,164,76,0); }
}
.example-btn{
  animation:btn-pulse 1.6s ease-out 1 1.2s;
}


/* Mobile responsiveness */
@media (max-width: 768px) {
  .popup-content {
    width: 95%;
    margin: 20px auto;
    max-height: 90vh;
    padding: 16px;
  }

  .popup-scrollable {
    max-height: 65vh;
  }

  .popup-scrollable pre {
    font-size: 12px;
    padding: 12px;
  }
}


/* Responsive Design */
@media (max-width: 991px) {
    .hero-headline {
        font-size: 64px;
    }
    
    .hero-subheadline {
        font-size: 24px;
    }
    
    .hero-description {
        font-size: 20px;
    }
    
    .problem-headline {
        font-size: 48px;
    }
    
    .problem-text {
        font-size: 24px;
    }
    
    .impact-statement {
        font-size: 32px;
    }
    
    .solution-headline {
        font-size: 48px;
    }
    
    .solution-intro {
        font-size: 24px;
    }
    
    .benefit-text {
        font-size: 20px;
    }
    
    .value-text {
        font-size: 24px;
    }
    
    .solution-quote {
        font-size: 32px;
    }
    
    .promise-title {
        font-size: 32px;
    }
    
    .testimonial-quote {
        font-size: 24px;
    }
    
    .promise-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .proof-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .final-quote {
        font-size: 32px;
    }
}

@media (max-width: 767px) {
    .email-form-container {
        flex-direction: column;
    }
    
    .hero-headline {
        font-size: 48px;
    }
    
    .hero-subheadline {
        font-size: 20px;
    }
    
    .hero-description {
        font-size: 18px;
    }
    
    .problem-headline {
        font-size: 36px;
    }
    
    .problem-text {
        font-size: 20px;
    }
    
    .impact-statement {
        font-size: 24px;
    }
    
    .solution-headline {
        font-size: 36px;
    }
    
    .solution-intro {
        font-size: 20px;
    }
    
    .benefit-text {
        font-size: 18px;
    }
    
    .value-text {
        font-size: 20px;
    }
    
    .solution-quote {
        font-size: 24px;
    }
    
    .promise-title {
        font-size: 24px;
    }
    
    .testimonial-quote {
        font-size: 20px;
    }
    
    .final-cta-headline {
        font-size: 36px;
    }
    
    .final-cta-description {
        font-size: 24px;
    }
    
    .final-quote {
        font-size: 24px;
    }
}

@media (max-width: 479px) {
    .section-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hero-container {
        padding-left: 16px;
        padding-right: 16px;
    }
    
    .hero-headline {
        font-size: 40px;
    }
    
    .hero-subheadline {
        font-size: 18px;
    }
    
    .hero-description {
        font-size: 16px;
    }
    
    .problem-headline {
        font-size: 28px;
    }
    
    .problem-text {
        font-size: 18px;
    }
    
    .impact-statement {
        font-size: 20px;
    }
    
    .solution-headline {
        font-size: 28px;
    }
    
    .solution-intro {
        font-size: 18px;
    }
    
    .benefit-text {
        font-size: 16px;
    }
    
    .value-text {
        font-size: 18px;
    }
    
    .solution-quote {
        font-size: 20px;
    }
    
    .promise-title {
        font-size: 20px;
    }
    
    .testimonial-quote {
        font-size: 18px;
    }
    
    .final-cta-headline {
        font-size: 28px;
    }
    
    .final-cta-description {
        font-size: 20px;
    }
    
    .final-quote {
        font-size: 20px;
    }
}