/* interview-helper-landing.css
   (requires interview-helper-base.css first)
*/
:root {
    /* Small gap: For text elements (Eyebrow -> Headline) */
    /* Min: 0.5rem | Ideal: 1.5% of screen height | Max: 1rem */
    --space-sm: clamp(0.25rem, 1.5vh, 1rem);

    /* Medium gap: For headlines to body text */
    /* Min: 0.75rem | Ideal: 2.5% of screen height | Max: 1.5rem */
    --space-md: clamp(0.75rem, 2.5vh, 1.5rem);

    /* Large gap: To separate the Text from the Tool */
    /* Min: 1rem | Ideal: 5% of screen height | Max: 3rem */
    --space-lg: clamp(1rem, 5vh, 3rem);
}
body{
    font-size: clamp(1rem, 0.25vw + 0.95rem, 1.3rem);
}

.down-arrow {
    text-align: center;
}
.main-container {
  max-width: 1040px;
  margin: 0 auto;
  padding: 24px 16px 48px;
}
.why-highlight {
  border-left: 3px solid #22c55e;
}
h1 {
    letter-spacing: -2px;
    margin-top: 0;
    margin-bottom: 0px;
}
h2 {
  font-size: clamp(1.3rem, 1.1vw + 1.4rem, 2.8rem);
  margin-top: 0px;
  margin-bottom: 0;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

h2.feature-title-2 {
    margin-bottom: 12px;
}

.hero-h2{margin-bottom: 25px;color: var(--muted);font-weight: 400;}

.demo-card-narrow {
    padding: 60px;
    max-width: 700px;
    margin: auto;
}
.demo-header {
  margin-bottom: 30px;
  text-align: center;
  /* padding: 0 70px; */
}

.demo-header.landing-center {
    text-align: center;
}
@media (max-width: 800px) {
    .demo-header {
        padding: 0 24px;
    }
}
/* --------------------------
   1. Hero section
--------------------------- */

.black-text{color:#111;}

.hero {
  margin-top: 5px;
}

.site-logo {
    font-weight: 800;
    letter-spacing: -1px;
    font-size: 2.3rem;
    font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.hero-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}

.hero-text {
  flex: 1 1 260px;
  min-width: 0;
  text-align: center;
}

.hero-eyebrow {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
  margin-bottom: 20px;
  font-weight: 600;
}

.hero-title {
  font-weight: 650;
  margin: 0 0 20px;
  line-height: 0.95;
  font-size: clamp(2.5rem, 4.8vw + 1.9rem, 5.7rem);
  letter-spacing: -4px;
}

/* CTA buttons layout */
.hero-cta {
  /* display: flex; */
  /* flex-wrap: wrap; */
  /* gap: 10px; */             /* horizontal + vertical spacing */
  /* justify-content: center; */
}

/* Optional little demo card next to hero (if used later) */
.hero-demo {
  flex: 0 0 260px;
  max-width: 320px;
  min-width: 0;
  border-radius: var(--radius-lg);
  background: var(--accent-soft);
  padding: 16px;
  position: relative;
  overflow: hidden;
}

.hero-demo-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  color: #4b57b9;
  margin-bottom: 8px;
}

.hero-demo-spec,
.hero-demo-output {
  border-radius: var(--radius-md);
  background: #ffffff;
  padding: 10px 12px;
  max-height: 120px;
  overflow: hidden;
  border: 1px solid #e0e3ff;
}

.hero-demo-spec {
  margin-bottom: 8px;
}

.hero-demo-tag {
  display: inline-block;
  font-size: 0.7rem;
  padding: 2px 8px;
  border-radius: 999px;
  background: #f4f5ff;
  color: #4b57b9;
  margin-bottom: 4px;
}

.hero-demo-heading {
  font-weight: 600;
  margin: 0 0 2px;
}

.hero-demo-small {
  color: var(--muted);
  margin-top: 6px;
}

/* --------------------------
   2. Feature Blocks (zig-zag)
--------------------------- */

.feature-block {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 60px;
  align-items: stretch; /* both columns match tallest */
}
.feature-block-left{
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}
.res-feature-block-right{
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
}
.feature-block-right{
  grid-template-columns: minmax(0, 3fr) minmax(0, 5fr);
}
/* Text column */
.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.feature-text-left {
  margin-left: 24px;
}

.feature-text-right {
  margin-right: 24px;
}

/* Visual column outer */
.feature-visual {
  display: flex;
  align-items: center;
  padding: 20px;
}

/* White card inside visual column */
.feature-visual-inner {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
  width: 100%;
  font-size: clamp(0.9rem, 0.2vw + 0.86rem, 1rem);
}

/* Feature paragraph text */
.feature-p {
  /* color: var(--muted); */
  margin-bottom: 16px;
}

/* Desktop zig-zag order */
.feature-block:nth-of-type(even) .feature-text {
  order: 2;
}
.feature-block:nth-of-type(even) .feature-visual {
  order: 1;
}

/* Utility: for the ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œStep 3ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â block where text should come first on mobile */
.feature-block--text-first-mobile .feature-text {
  /* mobile reordering happens in media query below */
}

/* --------------------------
   3. Visual stack blocks
   (input/output cards in features)
--------------------------- */

.visual-stack {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visual-card {
  background: #f4f4f6;
  padding: 15px;
  border-radius: 8px;
  font-size: 1rem;
  /* color: #555; */
  /* border-left: 3px solid #ccc; */
}

.visual-card.failure {
    background-color: #991B1B;
    color: #c99f9f;
}

.visual-card.success {
  background: #23a122cc;
  /* border-left: 3px solid #22c55e; */
  /* color: #15803d; */
  color: #fff;
  font-weight: 700;
}

.visual-arrow {
  text-align: center;
  color: #666;
  font-size: 1.5rem;
  line-height: 0.5;
}

/* --------------------------
   4. Interview Pack card
   (in the Step 3 visual)
--------------------------- */

.pack-card {
  border: 1px solid #eee;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.pack-card-title {
  margin: 0 0 10px;
  color: #333;
}

.pack-card-line {
  height: 8px;
  background: #eee;
  margin-bottom: 6px;
  border-radius: 4px;
}

.pack-card-line--80 {
  width: 80%;
}

.pack-card-line--60 {
  width: 60%;
}

.pack-card-line--90 {
  width: 90%;
  margin-bottom: 15px;
}

.pack-highlight,
.pack-highlight-inner {
  background: #f0fdf4;
  padding: 8px;
  border-radius: 4px;
  font-size: 1rem;
  color: #166534;
  margin-bottom: 5px;
}

.pack-note {
  background: #fff;
  border: 1px solid #ddd;
  padding: 8px;
  border-radius: 4px;
  font-size: 1rem;
  color: #555;
}

/* Tag inside pack card */
.pill {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 999px;
  background: #e5f3ff;
  color: #155e75;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 6px;
}

/* --------------------------
   5. Trust / bio section
--------------------------- */

.trust-section {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  padding: 30px;
  background: #fff;
  border-radius: var(--radius-lg);
  border: 1px dashed #ddd;
}

/* --------------------------
   6. ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œTry the betaÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â card
--------------------------- */

section#try-beta {
  padding: 0;
}

/* --------------------------
   7. Responsive tweaks
--------------------------- */

@media (max-width: 800px) {
  /* Hero fine-tuning */
  .hero {
    padding: 0px 16px 0 16px;
    margin-bottom: 24px;
    margin-top: 20px;
  }

  .hero-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-demo {
    max-width: 100%;
  }

  .hero-title {
    font-weight: 650;
    margin: 0 0 30px;
    line-height: 1.05;
  }

  /* Feature blocks go single column */
  .feature-block {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Reverse order ONLY for the ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œleftÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â variant */
  .feature-block-left{
    display: flex;
    flex-direction: column-reverse;
  }

  .feature-block-left .feature-text,
  .feature-block-left .feature-visual {
    width: 100%;
    /* padding: 20px; */
  }

  .feature-text {
    margin: 0 24px;
  }

  /* Reset zig-zag (normal reading order) */
  .feature-block:nth-of-type(even) .feature-text,
  .feature-block:nth-of-type(even) .feature-visual {
    order: 0;
  }

  /* For blocks that should be text-first on mobile */
  .feature-block--text-first-mobile .feature-text {
    order: -1;
  }

  section#try-beta {
    padding: 24px;
  }

  /* Make demo header nicer on mobile (landing only) */
  .demo-header {
    padding: 0 24px;
  }

  .section-divider {
    margin: 30px 0;
  }
}

/* ÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Â¦ÃƒÂ¢Ã¢â€šÂ¬Ã…â€œWhat you getÃƒÆ’Ã†â€™Ãƒâ€šÃ‚Â¢ÃƒÆ’Ã‚Â¢ÃƒÂ¢Ã¢â€šÂ¬Ã…Â¡Ãƒâ€šÃ‚Â¬ÃƒÆ’Ã¢â‚¬Å¡Ãƒâ€šÃ‚Â grid */
.what-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 20px;
  margin-top: 16px;
}

@media (max-width: 800px) {
  .what-grid {
    grid-template-columns: 1fr; /* stack on mobile */
  }
}

.what-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  text-align: left;
  margin-bottom: 10px;
}

.what-icon {
  flex-shrink: 0;
  width: 40px;              /* can be 32px if you want tighter */
  height: 40px;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}

.what-icon i {
  font-size: 26px;          /* bump this up or down until it feels right */
  line-height: 1;
}
.feature-visual h4{
  margin-top:0px;
  /* font-size: 1.3rem; */
}

.what-title {
  font-weight: 600;
  font-size: 0.96rem;
  margin-bottom: 2px;
}

.what-text {
  margin: 0;
  /* font-size: 1.1rem; */
  color: var(--muted);
}
.preview-container {
  width: 100%;
  border-radius: 8px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15); /* Big shadow = "Floating above page" */
  background: white;
  overflow: hidden; /* Keeps the corners round */
  border: 1px solid #e2e8f0;
}

.preview-header {
  background: #f1f5f9;
  padding: 12px;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  gap: 8px;
}

.preview-title {
  margin-left: 10px;
  font-size: 12px;
  color: #64748b;
  font-family: monospace;
}

/* Mac window dots */
.dot { width: 10px; height: 10px; border-radius: 50%; }
.red { background: #ef4444; }
.yellow { background: #f59e0b; }
.green { background: #22c55e; }

.preview-content {
  height: 450px; /* Fixed height forces the scrollbar */
  overflow-y: auto; /* Allows the user to scroll */
  padding: 24px;
  font-family: sans-serif; /* Ensure it looks clean */
  font-size: 14px;
  line-height: 1.6;
}

/* Make the scrollbar look sexy (Webkit only - Chrome/Safari) */
.preview-content::-webkit-scrollbar { width: 8px; }
.preview-content::-webkit-scrollbar-track { background: #f1f1f1; }
.preview-content::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 4px; }
.preview-content::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Update this class */
.preview-content-frame {
  width: 100%;
  height: 450px; /* Same fixed height */
  border: none;  /* Removes the default iframe border */
  display: block; /* Removes weird gaps */
}

/* Container for the buttons */
.example-controls {
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Crucial for mobile */
    gap: 10px;
    margin-bottom: 10px;
}

/* The Pill Button Style */
.pill-btn {
    background: white;
    border: 1px solid #e2e8f0;
    padding: 6px 12px;
    border-radius: 50px; /* Makes them pill-shaped */
    font-size: 0.95rem;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

button.pill-btn.example-btn {
    margin-bottom: 0;
}

/* Hover State */
.pill-btn:hover {
    border-color: #cbd5e1;
    color: #334155;
    transform: translateY(-1px);
}

/* Active State (When clicked) */
.pill-btn.active {
    background-color: var(--accent); /* Your Brand Blue */
    color: white;
    border-color: rgb(47 93 243);
    box-shadow: 0 4px 6px rgba(43, 33, 293, 0.2);
}






/* General Split Layout */
.section-split {
    padding: 80px 20px;
}

.bg-light {
    background-color: #f8f9fa; /* Light grey to differentiate from white sections */
}

.split-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center; /* Vertically centers the content */
}

/* The Audience Cards (Right Side of Section A) */
.cards-stack {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.audience-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); /* Subtle shadow */
    display: flex;
    gap: 20px;
    align-items: flex-start;
    /* border-left: 4px solid #007bff; */ /* Adds a nice color pop on the left */
}

.card-icon {
    font-size: 1.5rem; /* Make the emoji/icon big */
    padding-top: 2px;
}

.audience-card h3 {
    font-size: 1.1rem;
    margin: 0 0 5px 0;
    font-weight: 700;
}

.audience-card p {
    font-size: 0.95rem;
    margin: 0;
    color: #555;
    line-height: 1.4;
}

/* The Founder Photo (Left Side of Section B) */
.founder-photo {
    width: 100%;
    max-width: 400px;
    border-radius: 20px; /* Softens the image */
    box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .split-layout {
        grid-template-columns: 1fr; /* Stack them */
        gap: 40px;
    }
    
    /* Ensure the text comes before the photo on mobile if you want */
    .reverse-on-mobile {
        display: flex;
        flex-direction: column-reverse; 
    }
}
.demo-label {
  display: inline-flex;      /* or flex; if you want it full-width */
  align-items: center;       /* vertical centring of icon + text */
  gap: 6px;                  /* space between icon and text */
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  text-transform: uppercase;
  letter-spacing: 0.7px;
  margin-bottom: 15px;
}

.no-bg{background: none;}
.lar.green-icon{color: #fff;font-size:24px;}
.lar.red-icon{color: #fff;font-size:24px;}
.visual-card p:last-child {
  margin-bottom: 0;
}

.success p {/* font-size: 1.2rem; */}
.red-text{color: #fff;font-weight: 700;}
.green-text{color: #fff;font-weight: 700;}

@media (max-width: 768px) {
  .feature-text{margin:0;padding: 25px;}
  
  .hero-title{letter-spacing:-2px;}
  .step-badge{letter-spacing:0.2px;font-size: 0.75rem;}

.step-badge.hero-pill {}
  .site-links {gap: 5px;}
}
@media (max-width: 340px) {
  .site-beta-pill {
    display: none;
}
}
.preview-container{width:90%;}

p.button-sub {
    margin-top: 14px;
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 0px;
}

.preview-outer-container{
  width: 100%;
  display: flex;
  justify-content: center; /* horizontal centre */
}

/* Remove the default ugly ring */
textarea:focus {
    outline: none;
    /* Replace with your brand color border (e.g., Blue) */
    border-color: #2f5df380; 
    /* Add a subtle matching glow */
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
    transition: all 0.2s ease;
}
.textarea-button{
    position: absolute;
    top: 10px;
    right: 12px;
    background: transparent;
    border: none;
    font-size: 13px;
    color: var(--accent);
    cursor: pointer;
    /* text-decoration: underline; */
    z-index: 10;
    padding: 6px 10px;
    letter-spacing: 0.4px;
    font-size: 0.85rem;
    }
    
    .input-wrapper-wrapper{width:100%; text-align:center;}
    .input-wrapper{/* width: 80%; */position: relative;/* margin: auto; */}
    @media (max-width: 768px) {
  .input-wrapper{width: 100%;}
}
    .black{color:#000;font-weight: 700;}

    /* --- Hero Section & Compact Input Form --- */

/* The small "Eyebrow" text above the headline */
.eyebrow-kicker {
    text-transform: uppercase;
    font-size: 0.75rem; /* Small text */
    font-weight: 700;
    letter-spacing: 0.05em;
    color: #64748b; /* Slate-500 */
    margin-bottom: 0.5rem;
}

/* Wrapper for the input box and buttons */
.hero-input-container {
    margin-top: 0px;
    width: 100%;
    max-width: 100%; /* Optional: stops it getting too wide on huge screens */
    margin-left: auto;
    margin-right: auto;
    /* margin: 20px; */
}

/* The row containing the Label and the Sample Pills */
.input-controls-row{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  flex-wrap:wrap;           /* key */
  margin-bottom: 10px;      /* a bit more breathing room */
}

.input-controls-row .input-label{
  flex: 1 1 260px;          /* grows, but can drop to its own line */
  min-width: 0;             /* prevents weird overflow in flex/grid */
  margin: 0;
}

.sample-links{
  display:flex;
  flex-wrap:wrap;           /* key */
  gap:8px;                  /* key: spacing without margins */
  align-items:center;
  justify-content:flex-start;
}

.sample-links .pill-btn{
  margin:0;                 /* kill the inline margin habit */
}

.sample-hint-text{
  white-space:nowrap;
  color:#64748b;
}

/* Mobile: stack label above the buttons */
@media (max-width: 640px){
  .input-controls-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .sample-hint-text{
    width:100%;
    white-space:normal;     /* let it wrap on tiny screens */
  }

  .pill-btn{
    padding:8px 12px;       /* better tap targets */
    font-size:0.95rem;
  }
}

/* --- Input label + example pills row: make it behave on mobile --- */
.input-controls-row{
  display:flex;
  justify-content:space-between;
  align-items:flex-start;      /* stop vertical centring/stretch weirdness */
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:10px;
}

/* Force the label to be normal left-aligned text (overrides any existing centring) */
.input-controls-row .input-label,
.input-controls-row .demo-input-label{
  display:block;
  text-align:left !important;
  line-height:1.2;
  margin:0;
  padding:0;
  flex: 0 1 auto;              /* don't greedily "grow" into a tall block */
  min-width: 0;
}

/* Button cluster */
.input-controls-row .sample-links{
  margin-left:auto;            /* pushes to the right on desktop */
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  justify-content:flex-start;
  text-align:left !important;  /* stop centring */
}

/* Stop your per-button margins from creating weird spacing */
.input-controls-row .pill-btn{
  margin:0 !important;
}
.hero-input-container {
    padding: 0px 30px;
}
/* Mobile: stack label then pills, left aligned */
@media (max-width: 640px){
  .input-controls-row{
    flex-direction:column;
    align-items:flex-start;
  }

  .input-controls-row .sample-links{
    margin-left:0;
    width:100%;
  }

  .input-controls-row .sample-hint-text{
    display:block;
    width:100%;
    text-align:left !important;
    margin-bottom:4px;
  }
}
@media (max-width: 640px){
.hero-input-container {
    padding: 0px;
}
}


/* The Main Text Area */
.hero-textarea {
    width: 100%;
    /* height: 120px; */ /* Starts compact (approx 5 rows) */
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #fff;
    font-family: inherit;
    resize: vertical; /* Allows user to drag down if needed */
    /*transition: height 0.3s ease, border-color 0.2s ease, box-shadow 0.2s ease;*/
    margin-top: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* The "Brand Glow" Focus State */
/* EXPANDED STATE */
/* Applies if Focused OR if it has Text inside */
.hero-textarea:focus,
.hero-textarea:not(:placeholder-shown) {
    height: 100px !important; /* The expanded height */
    border-radius: 20px !important;
    background: #fff;
    white-space: normal;
    overflow-y: auto;
    border-color: #2563eb !important;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}

/* The Main Action Button */
.hero-cta-button {
    width: 100%;
    margin-top: 1rem;
    padding: 14px;
    font-weight: 700;
    font-size: 1.1rem;
    /* Ensure you add your main button colors here if not global */
    /* background-color: #2563eb; color: white; border-radius: 8px; */
    margin-bottom: 0.3rem;
}

/* --- The Reusable Floating Hint Class --- */

/* 1. Base Element Setup */
.with-floating-hint {
    position: relative !important; /* Anchors the pseudo-elements */
    overflow: visible !important;  /* Ensures the bubble isn't clipped off */
}

/* 2. The Speech Bubble Container (::after) */
.with-floating-hint::after {
    content: 'Try an example first! 👇'; /* Change text here if needed */
    position: absolute;
    /* Position above the element. -42px gets it clear of standard buttons */
    top: -42px; 
    left: 50%;
    /* Center horizontally and apply initial transform */
    transform: translateX(-50%);
    
    /* Styling (Hot Pink Theme) */
    background-color: #ec4899;
    color: white;
    padding: 6px 12px; 
    border-radius: 12px;
    font-size: 0.75rem; 
    font-weight: 700;
    white-space: nowrap; /* Keep on one line */
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
    z-index: 99; /* Ensure it sits on top of everything */
    pointer-events: none; /* Let clicks pass through to the button underneath */
    
    /* The Bounce Animation */
    animation: bounceHintBubble 2s infinite ease-in-out;
}

/* 3. The Little Triangle Arrow (::before) */
.with-floating-hint::before {
    content: '';
    position: absolute;
    /* Position just under the bubble */
    top: -14px;
    left: 50%;
    margin-left: -6px; /* Offset by half border width to center precisely */
    
    /* CSS Triangle Hack */
    border-width: 6px;
    border-style: solid;
    /* Top color matches bubble, rest transparent */
    border-color: #ec4899 transparent transparent transparent;
    z-index: 99;
    pointer-events: none;
    
    /* Sync the animation */
    animation: bounceHintArrow 2s infinite ease-in-out;
}

/* --- Animation Keyframes --- */

/* Animation for the bubble, accounting for the centering transform */
@keyframes bounceHintBubble {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-6px); } /* Bounce up 6px */
}

/* Animation for the arrow */
@keyframes bounceHintArrow {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); } /* Bounce up 6px */
}

/* =========================================
   THE COMPACT STACK (Short Screens Only)
   Target: 1366x768 Laptops
   ========================================= */

@media screen and (min-width: 1024px) and (max-height: 800px) {

    /* CUT 1: Hide the "Pill" Badge (Saves ~50px) */
    /* The Headline does the heavy lifting here, so we can sacrifice the badge */
    .step-badge {
        display: none !important; 
    }
    .hero-title {
    font-weight: 650;
    margin: 0 0 20px;
    line-height: 0.95;
    font-size: clamp(2.5rem, 4.8vw + 1.9rem, 5.5rem);
    letter-spacing: -4px;
}
h2 {
    font-size: clamp(1.3rem, 1.1vw + 1.2rem, 2.6rem);
    margin-top: 0px;
    margin-bottom: 0;
    letter-spacing: -0.02em;
    line-height: 1.25;
}

}
.hero-textarea {
    /* 1. The "Chat Bar" Dimensions */
    height: 60px !important;  /* The height of a nice button */
    min-height: 60px !important;
    padding: 18px 20px !important; /* Vertically centered text */
    
    /* 2. Visuals to make it look like a "Bar" not a "Box" */
    border-radius: 50px !important; /* Full rounded corners (Pill shape) */
    resize: none !important; /* Remove the drag handle */
    overflow: hidden; /* Hide the messy scrollbar until they paste */
    white-space: nowrap; /* Keep placeholder on one line */
    line-height: 1.2 !important;
    
    /* 3. Shadow for depth (floating bar look) */
    box-shadow: 0 4px 12px rgba(0,0,0,0.05) inset !important;
    border: 2px solid #e5e7eb !important;
    transition: all 0.2s ease;
}

/* When they click or paste, turn it back into a slight box so they can see */
.hero-textarea:focus {
    height: 100px !important; /* Expands just enough to see content */
    border-radius: 20px !important; /* Softens back to a box */
    background: #fff;
    white-space: normal; /* Allow text wrapping now */
    overflow-y: auto; /* Bring back scrollbar */
    border-color: #2563eb !important; /* Highlight color */
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1) !important;
}
/* =========================================
   THE BEACON PULSE (Robust & Mobile Safe)
   ========================================= */

/* The Animation Definitions */
@keyframes pulse-ring {
    0% {
        /* Start: solid pink ring close to button */
        box-shadow: 0 0 0 0 rgb(47, 93, 243, 0.7); 
    }
    70% {
        /* End: wide, transparent ring */
        box-shadow: 0 0 0 12px rgba(236, 72, 153, 0); 
    }
    100% {
        box-shadow: 0 0 0 0 rgba(236, 72, 153, 0);
    }
}

@keyframes gentle-wiggle {
    0%, 85% { transform: rotate(0deg); } /* Stay still most of the time */
    90% { transform: rotate(-2deg); }
    95% { transform: rotate(2deg); }
    100% { transform: rotate(0deg); }
}

/* The Class to Apply */
.pulse-btn {
    /* 1. The Ripple Effect */
    animation: pulse-ring 2s infinite cubic-bezier(0.66, 0, 0, 1);
    
    /* 2. Optional: Make the button itself pop a bit more */
    position: relative;
    z-index: 1; /* Ensure the shadow ripples go "under" neighbors if tight */
    transition: all 0.3s ease;
}

/* Optional: Pause animation when they hover (so it's not annoying) */
.pulse-btn:hover {
    animation: none;
}

/* The Container that holds the "stack" */
.teaser-stack-container {
    position: relative;
    width: 100%; /* Slightly narrower than full width for emphasis */
    margin: 0 auto;
    height: 450px; /* Tall enough to show value */
    overflow: hidden;
    
    /* THE BOLD PART: Deep Shadow & Rounded Corners */
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15), /* Large soft shadow */
        0 5px 10px rgba(0,0,0,0.0); /* Small tight shadow */
    
    /* Optional: A subtle border to define the edges */
    border: 1px solid #e2e8f0;
    background: #fff;
}

/* The Image itself */
.stacked-img {
    width: 100%;
    height: auto;
    display: block;
    /* A slight blur to create intrigue, but keep headings readable */
    filter: blur(0.5px); 
    /* A tiny zoom effect makes it feel crammed with info */
    transform: scale(1.02);
}

/* A sharper, stronger fade overlay */
.teaser-overlay-bold {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px; /* Taller fade starts earlier */
    
    /* Sharper gradient: goes to solid white faster */
    background: linear-gradient(to bottom, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,1) 80%);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 50px;
}

/* Make the button pop more */
.generate-button-with-lock {
    /* Assuming you have base button styles, add these for extra pop */
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5); /* Strong blue glow */
    transform: scale(1.1); /* Make it slightly bigger */
    transition: all 0.2s ease;
    /* Ensure it sits on top of the fade */
    position: relative;
    z-index: 10;
}

.generate-button-with-lock:hover {
    transform: scale(1.15) translateY(-3px);
    box-shadow: 0 15px 35px rgba(37, 99, 235, 0.6);
}

.portrait{
  max-width: 100%;
  height: auto;
  display: block;
}
.secondary-cta-wrapper {
  width: 100%;
}

.secondary-cta {
  display: block;          /* important for margin auto */
  width: 50%;            /* or whatever */
  margin: 12px auto 0;     /* centres horizontally */
  padding: 8px 18px;
  text-align: center;
  border-radius: 999px;
  border: 2px solid #1F4FFF;
  background: #fff;
  color: #1F4FFF;
  font-weight: 600;
  margin-bottom: 0.5rem;
}
.secondary-cta:hover {
  background: #E8EEFF;
   text-decoration: none; 
  animation: ctaPulse 0.4s ease-out;
}

@keyframes ctaPulse {
  0%   { transform: scale(1); }
  50%  { transform: scale(1.02); }
  100% { transform: scale(1); }
}

@media (max-width: 800px) {
  .secondary-cta {
    width: 100%;
    max-width: 100%;   /* just in case */
  }
}
