/* MonoDesk Discovery Landing Page Styles */

/* ===================================
   RESET & BASE STYLES
   =================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
html {
  background: #212121;
}

body {
  width: 100%;
  min-width: 100%;
  overflow-x: hidden;
  overscroll-behavior-y: none;
}

body {
  font-family: "Geist", system-ui, sans-serif;
  background: #212121;
  line-height: 1.5;
}

p {
  color: var(--brand-orange);
}

/* ===================================
   DESIGN TOKENS
   =================================== */

:root {
  /* Colors */
  --brand-white: #ffffff;
  --brand-orange: #ff5b26;
  --brand-highlighter: #d1ff6e;
  --brand-blue: #1c64f5;
  --brand-grey: #94959a;
  --brand-almost-black: #272727;
  --brand-fun-green: #026232;
  --surface-tint: #eef2f5;
  --surface-white: #343434;
  --background: #dadee1;
  --type: #161616;
  --type-light: #e7e7e7;
  --type-60: rgba(22, 22, 22, 0.6);
  --type-40: rgba(223, 223, 223, 0.4);
  --type-light-60: rgba(223, 223, 223, 0.6);
  --type-light-40: rgba(223, 223, 223, 0.4);

  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-2xl: 80px;

  /* Border Radius */
  --radius-sm: 10px;
  --radius-md: 14px;
  --radius-lg: 16px;
  --radius-xl: 20px;
  --radius-2xl: 30px;

  /* Folder hero video horizontal offset (positive moves right) */
  --folder-video-x: 80px;
  /* Folder hero text offsets (positive X = right, positive Y = down) */
  --folder-text-x: 60px;
  --folder-text-y: 0px;
}

/* ===================================
   PRELOADER
   =================================== */

/* Pain section CTA styling */
.pain-cta-link {
  display: inline-block;
  margin-top: 32px;
}

.pain-cta {
  background: var(--brand-highlighter);
  color: var(--type);
}

.pain-fineprint {
  margin-top: 16px;
  color: var(--type-60);
}

/* ===================================
   HEADER
   =================================== */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  position: fixed;
  top: 10px;
  left: 12px;
  right: 12px;
  width: auto;
  max-width: calc(100vw - 24px);
  box-sizing: border-box;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  z-index: 1000;
  background-color: transparent;
  opacity: 1;
  pointer-events: auto;
  transition:
    opacity 0.5s ease,
    background-color 0.3s ease,
    border-color 0.3s ease;
}

.header.is-visible {
  opacity: 1;
  pointer-events: auto;
}

.header.is-scrolled {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-color: rgba(255, 255, 255, 0.25);
}

.header-container {
  width: 100%;
  min-height: 0;
  padding: 0;
  margin: 0;
  background: transparent;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  line-height: 0;
  font-size: 0;
}

.header-content {
  width: 100%;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.folder-tab {
  position: relative;
  display: inline-grid;
  grid-template-columns: max-content;
  grid-template-rows: max-content;
  place-items: start;
  line-height: 0;
  margin-left: 0;
}

.folder-tab-shape {
  grid-area: 1 / 1;
  width: 530px;
  height: 100px;
  display: block;
  max-width: none;
  min-width: 0;
}

.logo-wrapper {
  grid-area: 1 / 1;
  width: 162.428px;
  height: 29.794px;
  margin-left: 57.67px;
  margin-top: 35.6px;
  position: relative;
  display: flex;
  align-items: center;
}

.logo {
  height: 29.794px;
  width: auto;
  display: block;
}

/* Header Navigation Links */
.header-nav-links {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: -34px;
  margin-right: 60px;
  margin-left: auto;
}

.header-nav-link {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: opacity 0.2s ease;
}

.header-nav-link:hover {
  opacity: 0.8;
}

.header-nav-divider {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.header-nav-link-button {
  color: white;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.header-nav-link-button:hover {
  opacity: 0.8;
}

/* Mobile adjustments */
@media (max-width: 768px) {
  .header-nav-links {
    display: none;
  }
}

/* ===================================
   HEADER PRICE BADGE
   =================================== */

.header-content .price-badge {
  position: relative;
  top: auto;
  left: auto;
  transform: none;
  width: 200px;
  height: 32px;
  margin-top: -34px;
}

.header-content .price-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.header-content .price-badge-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-content .price-badge-text p {
  font-family: "Geist Mono", monospace;
  font-weight: 500;
  font-size: 8px;
  color: var(--brand-orange);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

/* ===================================
   GOOGLE CALENDAR BUTTON STYLING
   =================================== */

.gcal-btn-wrapper {
  margin-top: 0;
}

.gcal-btn-wrapper button {
  background: #d1ff6e !important;
  color: #026232 !important;
  border-radius: 10px !important;
  font-family: "Geist", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 8px !important;
  height: 40px !important;
  min-width: 197px !important;
  border: none !important;
  cursor: pointer !important;
  transition: box-shadow 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

.gcal-btn-wrapper button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: #272727 !important;
  transition: left 0.4s ease !important;
  z-index: -1 !important;
  border-radius: 10px !important;
}

.gcal-btn-wrapper button:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  color: #d1ff6e !important;
}

.gcal-btn-wrapper button:hover::before {
  left: 0 !important;
}

.gcal-btn-wrapper button:active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

.gcal-btn-wrapper button * {
  font-family: "Geist", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
}

/* ===================================
   ABOUT SECTION
   =================================== */

.about-section {
  width: 100%;
  background: #dadee1;
  padding: 120px 0;
  display: flex;
  justify-content: center;
  color: var(--background);
}

.about-content {
  width: 100%;
  max-width: 1320px;
  padding: 0 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 40px;
}

.about-text-container {
  flex: 1 1 auto;
  max-width: 400px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  order: 1;
}

.about-icon {
  width: 45px;
  height: 30px;
  margin-bottom: 8px;
  flex-shrink: 0;
}

.about-icon-img {
  width: 45px;
  height: 30px;
  display: block;
  object-fit: contain;
}

.about-title {
  font-family: "Geist", sans-serif;
  font-size: 28px;
  font-weight: 600;
  color: var(--type);
  letter-spacing: -0.05rem;
  line-height: normal;
  margin-top: 34px;
}

.about-subtitle {
  font-family: "Geist", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: rgba(22, 22, 22, 1);
  opacity: 0.8;
  line-height: 1.2;
  margin-top: 8px;
}

.about-list {
  font-family: "Geist", sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: var(--type);
  opacity: 0.8;
  line-height: 1.6;
  margin-top: 12px;
  list-style: none;
  padding: 0;
}

.about-list li {
  padding-left: 1.5rem;
  position: relative;
  margin-bottom: 12px;
  color: rgba(22, 22, 22, 1);
}

.about-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-orange);
  font-size: 20px;
}

.about-image {
  width: 520px;
  height: auto;
  border-radius: var(--radius-xl);
  overflow: hidden;
  flex-shrink: 0;
  order: 2;
}

.about-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===================================
   BEFORE / AFTER SECTION
   =================================== */

.before-after {
  padding: 6rem 40px;
  background: var(--brand-white);
}

.before-after .container {
  max-width: 1320px;
  padding: 0;
}

.comparison {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  align-items: stretch;
}

.before {
  border: 1px solid #dadee1;
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  min-height: 420px;
  position: relative;
  background: #eef2f5;
}

.after {
  border: 2px solid var(--brand-blue);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  min-height: 420px;
  position: relative;
  background: var(--type);
}

.before h2,
.after h2 {
  position: absolute;
  top: -0.75rem;
  left: 1.5rem;
  background: var(--brand-white);
  padding: 4px 12px;
  font-family: "Geist Mono", monospace;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-grey);
  border: 1px solid #dadee1;
  border-radius: 6px;
}

.after h2 {
  color: #0048ec;
  border-color: #0048ec;
  background: var(--brand-white);
}

.before-content,
.after-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  height: 100%;
  justify-content: center;
}

.comparison-title {
  font-family: "Geist", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin-bottom: 0.5rem;
}

.before .comparison-title {
  color: var(--type);
}

.after .comparison-title {
  color: var(--brand-white);
}

.comparison-main-h2 {
  font-family: "Geist", sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  margin: 0 0 1rem 0;
  text-transform: uppercase;
}

.comparison-h2 {
  font-family: "Geist", sans-serif;
  font-size: 24px;
  font-weight: 600;
  letter-spacing: -0.5px;
  line-height: 1.3;
  margin: 0 0 0.5rem 0;
}

.comparison-h4 {
  font-family: "Geist", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: -0.3px;
  line-height: 1.4;
  margin: 0 0 1rem 0;
}

.before .comparison-main-h2 {
  color: var(--type);
}

.before .comparison-h2 {
  color: var(--type);
}

.before .comparison-h4 {
  color: var(--type-60);
}

.after .comparison-main-h2 {
  color: var(--brand-white);
}

.after .comparison-h2 {
  color: var(--brand-white);
}

.after .comparison-h4 {
  color: rgba(255, 255, 255, 0.8);
}

.comparison-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.before .comparison-list li {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: var(--type-60);
  padding-left: 1.5rem;
  position: relative;
}

.before .comparison-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--brand-grey);
  font-size: 20px;
}

.after .comparison-list li {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.after .comparison-list li svg {
  flex-shrink: 0;
}

/* ===================================
   HERO SECTION
   =================================== */

.hero-section {
  width: 100%;
  min-height: 950px;
  background: url("../assets/header-blue-thinker.webp") center bottom / cover
    no-repeat;
  background-color: rgba(0, 72, 236, 1);
  border-bottom-left-radius: 0px;
  border-bottom-right-radius: 0px;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: visible;
  margin-top: -1px;
}

.hero-content {
  width: 100%;
  padding: 80px 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 1;
}

.hero-text-container {
  max-width: 420px;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-sm);
  text-align: center;
}

.hero-label {
  font-family: "Geist Mono", monospace;
  font-size: 12px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1;
  letter-spacing: 2px;
  text-align: center;
}

.hero-title {
  font-family: "Geist", sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--brand-white);
  line-height: 50px;
  letter-spacing: -0.3px;
  margin: 0;
  text-align: center;
  width: 550px;
}

.hero-subtitle {
  font-family: "Geist", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgba(223, 223, 223, 0.8);
  letter-spacing: -0.3px;
  max-width: 520px;
  width: 500px;
  line-height: 1;
  text-align: center;
}

.hero-h2 {
  font-family: "Geist", sans-serif;
  font-size: 24px;
  font-weight: 600;
  color: var(--brand-white);
  letter-spacing: -0.3px;
  line-height: 1.2;
  text-align: center;
  margin: 0;
}

.hero-h4 {
  font-family: "Geist", sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0px;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  margin-top: -8px;
  width: 450px;
}

.hero-subtext {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 0px;
  line-height: 1.4;
  text-align: center;
  margin: 0;
  margin-top: -16px;
  width: 330px;
}

a:has(.hero-cta-button) {
  text-decoration: none;
  color: inherit;
}

.hero-cta-button {
  font-family: "Geist", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  background: #d1ff6e;
  color: #026232;
  border: none;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  height: 40px;
  min-width: 197px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.hero-cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #026232;
  transition: left 0.4s ease;
  z-index: -1;
  border-radius: 10px;
}

.hero-cta-button:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #d1ff6e;
}

.hero-cta-button:hover::before {
  left: 0;
}

.hero-cta-button:active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-cta-button svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
  position: relative;
  z-index: 2;
}

/* ===================================
   FEATURES SECTION (WITH IMAGES)
   =================================== */

.features-section {
  padding: var(--spacing-2xl) var(--spacing-xl);
  background-color: var(--brand-almost-black);
  color: white;
}

.features-section .container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.features-main-heading {
  font-family: "Geist", sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--background);
  letter-spacing: -0.05rem;
  line-height: 1.2;
  text-align: center;
  margin: 0 auto 60px;
  max-width: 1000px;
}

.feature-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-2xl);
}

.feature-row:last-child {
  margin-bottom: 0;
}

.feature-row.reverse {
  flex-direction: row-reverse;
  justify-content: center;
  padding-left: 200px;
  padding-right: 200px;
}

.feature-row.reverse .feature-text {
  margin-left: -60px;
}

.feature-image {
  flex: 1;
  max-width: 500px;
  height: 350px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.feature-image img,
.feature-image video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.feature-text {
  flex: 1;
  max-width: 450px;
}

.feature-text h3 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.5px;
  color: white;
  margin-bottom: 8px;
}

.feature-text h2 {
  font-size: 20px;
  font-weight: 500;
  color: rgba(255, 255, 255, 1);
}

.feature-text p {
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  width: 380px;
}

/* ===================================
   URGENCY SECTION
   =================================== */

.urgency-section {
  width: 100%;
  background: #161616;
  padding: 80px 40px 6rem;
}

.urgency-card-container {
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 40px;
}

.urgency-cta-card {
  background: var(--brand-white);
  border-radius: var(--radius-lg);
  padding: 3rem 3rem 3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

.urgency-text-content {
  flex: 1;
  max-width: 550px;
  padding-left: 40px;
}

.urgency-header {
  margin-bottom: 2rem;
  text-align: left;
}

.urgency-title-main {
  font-size: 28px;
  font-weight: 600;
  color: var(--brand-almost-black);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 0.5rem;
  text-align: left;
}

.urgency-points-list {
  display: flex;
  flex-direction: column;
}

.urgency-point {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1rem;
  border-radius: var(--radius-sm);
}

.point-icon-svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.point-icon-svg svg path {
  stroke: var(--brand-fun-green);
}

.point-text {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.point-title {
  font-size: 1rem;
  font-weight: 400;
  color: var(--type);
  letter-spacing: -0.02em;
}

.point-title strong {
  font-weight: 600;
  display: block;
}

.point-subtitle {
  opacity: 0.8;
}

.urgency-image-container {
  flex-shrink: 0;
  width: 450px;
  height: 520px;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: #eef2f5;
  margin-right: 3rem;
}

.urgency-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}

/* ===================================
   TIMELINE SECTION
   =================================== */

.timeline-section {
  width: 100%;
  background: #212121;
  padding: 120px 30px 80px;
  color: var(--brand-almost-black);
  position: relative;
  z-index: 10;
  margin-top: -200px;
  border-radius: 20px 20px 0 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.timeline-container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  max-width: 1440px;
  margin: 0 auto;
  align-items: start;
  padding: 0 60px;
}

.timeline-media {
  max-width: 650px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-column: 1;
  justify-self: end;
  position: sticky;
  top: calc(50vh - 280px);
}

.timeline-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: 0;
  overflow: visible;
  background: transparent;
}

.timeline-dots {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 20px;
}

.timeline-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  padding: 0;
  transition:
    background 0.3s ease,
    transform 0.2s ease;
}

.timeline-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.timeline-dot.active {
  background: var(--brand-orange);
}

.timeline-preview-img {
  position: relative;
  width: 100%;
  height: auto;
  object-fit: contain;
  opacity: 0;
  transform: scale(1.05);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  border-radius: 0;
}

.timeline-preview-img:not(.active) {
  position: absolute;
  top: 0;
  left: 0;
}

.timeline-preview-img.active {
  opacity: 1;
  transform: scale(1);
}

.timeline-content {
  max-width: 620px;
  display: flex;
  flex-direction: column;
  gap: var(--spacing-lg);
  align-items: flex-start;
  grid-column: 2 / 4;
  justify-self: start;
}

.timeline-header-wrapper {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  padding: 0 60px;
}

.timeline-header {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-xs);
  padding-bottom: var(--spacing-md);
  max-width: 400px;
  text-align: center;
}

.section-title {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.6px;
  line-height: 1;
  color: #e7e7e7;
}

.section-subtitle {
  font-size: 20px;
  font-weight: 400;
  letter-spacing: -0.3px;
  color: rgba(223, 223, 223, 1);
}

.timeline-steps {
  display: flex;
  flex-direction: column;
}

.timeline-step-img {
  display: none;
}

.timeline-step {
  display: flex;
  gap: 16px;
  padding: 24px 20px;
  min-height: 400px;
  opacity: 0.6;
  transition: opacity 0.4s ease;
  cursor: pointer;
}

.timeline-step:hover {
  opacity: 0.95;
}

.timeline-step.active {
  opacity: 1;
}

.timeline-step:last-child {
  min-height: 240px;
  padding-bottom: 60px;
}

.timeline-number {
  position: relative;
  width: 30px;
  height: 30px;
  background: var(--brand-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.5s ease;
  z-index: 2;
}

.timeline-step.active .timeline-number {
  background: var(--brand-orange);
}

.timeline-number span {
  font-family: "Geist", monospace;
  font-size: 16px;
  font-weight: 500;
  color: #e7e7e7;
  position: relative;
  z-index: 3;
}

.timeline-line {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 250px;
  background: repeating-linear-gradient(
    to bottom,
    #e7e7e7 1px,
    #e7e7e7 1px,
    transparent 4px,
    transparent 4px
  );
  z-index: 0;
}

.timeline-step:last-child .timeline-line {
  display: none;
}

.timeline-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-left: 16px;
  padding-top: 4px;
}

.timeline-step-title {
  font-family: "Geist", sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: rgba(231, 231, 231, 1);
  letter-spacing: -0.3px;
  transition: color 0.3s ease;
}

.timeline-step.active .timeline-step-title {
  color: #ffffff;
}

.timeline-step-desc {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(223, 223, 223, 0.6);
  letter-spacing: -0.3px;
  line-height: 1.5;
  max-width: none;
}

/* Desktop hover display — hidden on mobile */
.timeline-display,
.timeline-selectors {
  display: none;
}

@media (min-width: 769px) {
  .timeline-container {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 60px;
    align-items: center;
  }

  .timeline-media {
    position: relative;
    top: auto;
    max-width: none;
    width: 100%;
    justify-self: stretch;
    align-self: center;
  }

  .timeline-dots {
    display: none;
  }

  .timeline-content {
    display: flex;
    flex-direction: column;
    gap: 48px;
    max-width: none;
    width: 100%;
    grid-column: 2;
    justify-self: stretch;
    align-items: flex-start;
    min-height: auto;
  }

  /* Show hover elements, hide mobile step cards */
  .timeline-display {
    display: flex;
    flex-direction: column;
    gap: 16px;
    width: 100%;
  }

  .timeline-selectors {
    display: flex;
    flex-direction: column;
    width: 100%;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }

  .timeline-steps {
    display: none;
  }

  /* Big display text */
  .timeline-display-title {
    font-family: "Geist", sans-serif;
    font-size: 56px;
    font-weight: 400;
    color: #ffffff;
    letter-spacing: -1.5px;
    line-height: 1.05;
    margin: 0;
    min-height: calc(56px * 1.05 * 2);
  }

  .timeline-display-desc {
    font-family: "Geist", sans-serif;
    font-size: 18px;
    font-weight: 400;
    color: rgba(223, 223, 223, 0.65);
    line-height: 1.6;
    letter-spacing: -0.2px;
    margin: 0;
    max-width: none;
  }

  /* Step selector rows */
  .timeline-selector {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px 0;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: none;
    text-align: left;
    cursor: pointer;
    width: 100%;
    opacity: 0.4;
    transition: opacity 0.25s ease;
  }

  .timeline-selector:hover,
  .timeline-selector.active {
    opacity: 1;
  }

  .timeline-selector-num {
    width: 28px;
    height: 28px;
    background: var(--brand-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-family: "Geist", monospace;
    font-size: 14px;
    font-weight: 500;
    color: #e7e7e7;
    transition: background 0.3s ease;
  }

  .timeline-selector.active .timeline-selector-num {
    background: var(--brand-orange);
  }

  .timeline-selector-label {
    font-family: "Geist", sans-serif;
    font-size: 15px;
    font-weight: 500;
    color: rgba(231, 231, 231, 1);
    letter-spacing: -0.2px;
  }
}

/* ===================================
   PRICING SECTION
   =================================== */

.pricing-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) var(--spacing-xl);
  background: var(--background);
  position: relative;
  z-index: 10;
}

.pricing-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.price-badge {
  position: absolute;
  top: -49.4px;
  left: 50%;
  transform: translateX(-50%);
  width: 314.1px;
  height: 50.4px;
}

.price-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.price-badge-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-badge-text p {
  font-family: "Geist Mono", monospace;
  font-weight: 500;
  font-size: 10px;
  color: var(--brand-orange);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.price-card {
  color: rgba(255, 255, 255, 1);
  background-color: rgba(39, 39, 39, 1);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
  margin: 0 auto;
}

.price-left {
  flex: 1;
}

.price-headline {
  font-family: "Geist", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: var(--brand-white);
  letter-spacing: -0.3px;
  margin-bottom: var(--spacing-md);
  white-space: nowrap;
}

.price-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  gap: 12px 32px;
  width: auto;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-feature i {
  width: 16px;
  height: 16px;
  color: var(--brand-white);
  flex-shrink: 0;
  opacity: 1;
}

.price-feature svg {
  width: 16px;
  height: 16px;
  color: var(--brand-white);
  stroke: var(--brand-white);
  stroke-opacity: 1;
  opacity: 1;
}

.price-feature span {
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--brand-grey);
}

.price-divider {
  height: 120px;
  width: 1px;
  background: var(--brand-white);
  opacity: 0.2;
}

.price-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  min-width: 280px;
}

.price-display {
  text-align: center;
}

.price-strike {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--brand-grey);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.price-amount {
  font-family: "Geist", sans-serif;
  font-weight: 700;
  font-size: 52px;
  color: var(--brand-white);
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.price-subtext {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--brand-white);
  opacity: 0.8;
  margin-bottom: 24px;
}

/* ===================================
   WHY US SECTION
   =================================== */

.why-us {
  padding: 6rem 40px;
  background: #dadee1;
  color: var(--background);
  position: relative;
  overflow: hidden;
}

.why-us-container {
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.why-us-header {
  text-align: center;
  margin-bottom: 3.5rem;
}

.why-us-label {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--brand-highlighter);
  background: rgba(209, 255, 110, 0.1);
  padding: 0.5rem 1rem;
  border-radius: 100px;
  margin-bottom: 1rem;
}

.why-us-title {
  font-size: 2rem;
  font-weight: 600;
  color: var(--type);
  letter-spacing: -0.03em;
}

.why-us-subtitle {
  font-size: 1.125rem;
  font-weight: 400;
  color: rgba(22, 22, 22, 0.6);
  margin-top: 1rem;
  line-height: 1.6;
}

.comparison-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.compare-card {
  background: rgba(22, 22, 22, 0.03);
  border: 1px solid rgba(22, 22, 22, 0.08);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all 0.3s ease;
}

.compare-card:hover {
  background: rgba(22, 22, 22, 0.05);
  border-color: rgba(22, 22, 22, 0.12);
  transform: translateY(-2px);
}

.compare-card-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}

.compare-card.negative .compare-card-icon {
  background: rgba(255, 91, 38, 0.15);
  color: var(--brand-orange);
}

.compare-card-title {
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--type);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.compare-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(22, 22, 22, 0.6);
}

.compare-highlight {
  padding: 2rem 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  text-align: center;
}

.compare-highlight-badge {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  background: var(--brand-blue);
  color: var(--brand-white);
  padding: 0.75rem 1.25rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  white-space: nowrap;
  flex-shrink: 0;
}

.compare-highlight-badge svg {
  flex-shrink: 0;
}

.compare-highlight-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: rgba(22, 22, 22, 0.9);
  margin: 0;
  color: rgba(22, 22, 22, 0.9);
  margin: 0;
}

/* ===================================
   FINAL CTA SECTION
   =================================== */

.final-cta {
  width: 100%;
  position: relative;
  z-index: 10;
  overflow: hidden;
  background: #2c48e3;
}

#cta-confetti-back,
#cta-confetti-front {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#cta-confetti-back {
  z-index: 1;
}

#cta-confetti-front {
  z-index: 2;
}

.final-cta-container {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  background: transparent;
  border-radius: 0;
  padding: var(--spacing-lg) 30px;
  height: calc(100vh - 85px);
  min-height: 550px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-sm);
  color: white;
  position: relative;
  z-index: 10;
}

.cta-text {
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 19px;
  max-width: 770px;
  position: relative;
  z-index: 20;
  justify-content: flex-start;
  align-items: center;
}

.cta-title {
  font-family: "Geist", sans-serif;
  font-size: 72px;
  font-weight: 500;
  color: var(--brand-white);
  letter-spacing: -1.44px;
  line-height: 1;
}

.cta-subtitle {
  font-family: "Geist", sans-serif;
  font-size: 20px;
  font-weight: 400;
  color: rgba(218, 222, 225, 0.8);
  letter-spacing: 0px;
}

.cta-contact {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(218, 222, 225, 0.8);
  letter-spacing: 0px;
  margin-top: 16px;
}

.final-cta-container .gcal-btn-wrapper {
  position: relative;
  z-index: 20;
}

/* ===================================
   PRICING SECTION
   =================================== */

.pricing-section {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-2xl) var(--spacing-xl);
  margin-top: -1px;
  background: #212121;
}

.pricing-container {
  position: relative;
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.price-badge {
  position: absolute;
  top: -49.4px;
  left: 50%;
  transform: translateX(-50%);
  width: 314.1px;
  height: 50.4px;
}

.price-badge svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.price-badge-text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.price-badge-text p {
  font-family: "Geist Mono", monospace;
  font-weight: 500;
  font-size: 10px;
  color: var(--brand-orange);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.price-card {
  background: var(--brand-almost-black);
  border-radius: var(--radius-xl);
  padding: var(--spacing-xl) 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-xl);
}

.price-left {
  flex: 1;
}

.price-headline {
  font-family: "Geist", sans-serif;
  font-weight: 600;
  font-size: 32px;
  line-height: 40px;
  color: var(--brand-white);
  letter-spacing: -0.3px;
  margin-bottom: var(--spacing-md);
  white-space: nowrap;
}

.price-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 220px);
  gap: 12px 32px;
  width: auto;
}

.price-feature {
  display: flex;
  align-items: center;
  gap: 8px;
}

.price-feature i,
.price-feature svg {
  width: 16px;
  height: 16px;
  color: var(--brand-white);
  stroke: var(--brand-white);
  stroke-opacity: 1;
  opacity: 1;
  flex-shrink: 0;
}

.price-feature span {
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 13px;
  color: var(--brand-white);
}

.price-divider {
  height: 120px;
  width: 1px;
  background: var(--brand-white);
  opacity: 0.2;
}

.price-right {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-md);
  min-width: 280px;
}

.price-display {
  text-align: center;
}

.price-strike {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 20px;
  color: var(--brand-grey);
  text-decoration: line-through;
  margin-bottom: 8px;
}

.price-amount {
  font-family: "Geist", sans-serif;
  font-weight: 700;
  font-size: 52px;
  color: var(--brand-highlighter);
  letter-spacing: -1.5px;
  margin-bottom: 8px;
}

.price-subtext {
  font-family: "Geist", sans-serif;
  font-weight: 400;
  font-size: 18px;
  color: var(--brand-white);
  opacity: 0.8;
  margin-bottom: 24px;
}

/* ===================================
   RESPONSIVE STYLES
   =================================== */

@media (max-width: 1440px) {
  .hero-content,
  .feature-row,
  .urgency-cta-card {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1200px) {
  .price-card {
    padding: var(--spacing-xl) var(--spacing-lg);
    gap: var(--spacing-md);
  }
}

@media (max-width: 1024px) {
  .price-card {
    padding: var(--spacing-xl) var(--spacing-md);
    gap: var(--spacing-sm);
  }

  .price-right {
    min-width: 240px;
  }
}

@media (max-width: 768px) {
  /* Header - mobile adjustments */
  .header.is-scrolled {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
  }

  .header-container {
    min-height: 0;
    line-height: 0;
    font-size: 0;
  }

  .header-content {
    padding: 0;
  }

  .folder-tab-shape {
    width: 280px;
    height: 26px;
    display: block;
  }

  .logo-wrapper {
    width: 120px;
    height: 22px;
    margin-left: 30px;
    margin-top: 24px;
  }

  .logo {
    height: 22px;
  }

  .header-nav-links {
    margin-top: -24px;
    margin-right: 16px;
    gap: 8px;
  }

  .header-nav-link {
    font-size: 13px;
  }

  .header-nav-link-button {
    font-size: 13px;
    padding: 6px 12px;
  }

  .header-nav-divider {
    font-size: 13px;
  }

  /* Hero */
  .hero-section {
    height: auto;
    min-height: 480px;
    padding: 40px 20px;
  }

  .hero-content {
    padding: 90px 20px 40px;
  }

  .hero-title {
    font-size: 32px;
    line-height: 36px;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-h2 {
    font-size: 20px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-h4 {
    font-size: 24px;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-subtext {
    font-size: 16px;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .hero-cta-button {
    min-width: 160px;
    font-size: 13px;
    height: 38px;
  }

  /* About / Pain Point Section */
  .about-section {
    padding: 60px 0;
  }

  .about-content {
    flex-direction: column;
    gap: 32px;
    padding: 0 20px;
  }

  .about-text-container {
    max-width: 100%;
    order: 1;
  }

  .about-title {
    font-size: 24px;
    margin-top: 20px;
  }

  .about-subtitle {
    font-size: 16px;
  }

  .about-image {
    width: 100%;
    order: 2;
  }

  /* Before / After Comparison */
  .comparison {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .before,
  .after {
    min-height: auto;
  }

  .comparison-title {
    font-size: 20px;
  }

  .comparison-main-h2 {
    font-size: 24px;
  }

  .comparison-h2 {
    font-size: 20px;
  }

  .comparison-h4 {
    font-size: 16px;
  }

  /* Features Section */
  .features-section {
    padding: 48px 16px;
  }

  .features-section .container {
    padding: 0 8px;
  }

  .features-main-heading {
    font-size: 26px;
    margin-bottom: 32px;
    padding: 0;
  }

  .feature-row,
  .feature-row.reverse {
    flex-direction: column;
    text-align: center;
    gap: 24px;
    margin-bottom: 48px;
    padding-left: 0;
    padding-right: 0;
  }

  .feature-row.reverse .feature-text {
    margin-left: 0;
  }

  .feature-text {
    max-width: 100%;
    order: 1;
  }

  .feature-text h3 {
    font-size: 24px;
  }

  .feature-text h2 {
    font-size: 18px;
  }

  .feature-text p {
    width: 100%;
    max-width: 100%;
    font-size: 15px;
  }

  .feature-image {
    max-width: 100%;
    width: 100%;
    height: 240px;
    order: 2;
  }

  /* Urgency Section */
  .urgency-cta-card {
    flex-direction: column;
    padding: 1.5rem;
  }

  .urgency-text-content {
    max-width: 100%;
    padding-left: 0;
  }

  .urgency-image-container {
    width: 100%;
    height: 300px;
    margin-right: 0;
  }

  /* Timeline Section */
  .timeline-section {
    padding: 60px 20px;
    padding-top: 60px;
    margin-top: -150px;
  }

  .timeline-header-wrapper {
    text-align: center;
    padding: 0 20px;
    margin-bottom: var(--spacing-md);
  }

  .timeline-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    padding: 0 20px;
  }

  .timeline-media {
    display: none;
  }

  .timeline-content {
    max-width: 100%;
    order: 1;
    align-items: center;
    text-align: center;
    grid-column: 1;
  }

  .timeline-header {
    max-width: 100%;
    align-items: flex-start;
  }

  .section-title {
    font-size: 28px;
    text-align: center;
  }

  .timeline-step-img {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
    margin-top: 16px;
    order: 3;
  }

  .timeline-step {
    padding: 16px 12px;
    min-height: auto;
    position: relative;
    justify-content: center;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: center;
    opacity: 1;
  }

  .timeline-step-title,
  .timeline-step-desc {
    text-align: center;
  }

  .timeline-step:last-child {
    min-height: auto;
    padding-bottom: 32px;
  }

  .timeline-step-title {
    font-size: 20px;
  }

  .timeline-step-desc {
    font-size: 16px;
    max-width: 100%;
  }

  .timeline-step.active .timeline-number {
    background: var(--brand-blue);
  }

  .timeline-text {
    padding-left: 0;
    align-items: center;
  }

  .timeline-line {
    display: block;
    position: absolute;
    top: 46px;
    bottom: -16px;
    left: 27px;
    transform: none;
    width: 1px;
    height: auto;
    background: repeating-linear-gradient(
      to bottom,
      #e7e7e7 0px,
      #e7e7e7 4px,
      transparent 4px,
      transparent 8px
    );
  }

  /* Pricing Section */
  .pricing-section {
    padding: var(--spacing-xl) var(--spacing-sm);
  }

  .price-card {
    flex-direction: column;
    padding: var(--spacing-lg);
    gap: var(--spacing-lg);
  }

  .price-right {
    gap: 12px;
  }

  .price-headline {
    font-size: 28px;
    line-height: 1.2;
    text-align: center;
  }

  .price-subtext {
    margin-bottom: 12px;
    text-align: center;
  }

  .price-strike {
    margin-bottom: 4px;
  }

  .price-amount {
    margin-bottom: 4px;
  }

  .price-features-grid {
    grid-template-columns: repeat(2, auto);
    width: 100%;
    justify-content: center;
    gap: 8px 24px;
  }

  .price-feature {
    width: auto;
    white-space: nowrap;
    justify-content: flex-start;
  }

  .price-feature:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    justify-self: center;
  }

  .price-divider {
    display: none;
  }

  .price-amount {
    font-size: 42px;
  }

  /* Why Us Section */
  .comparison-grid {
    grid-template-columns: 1fr;
  }

  .compare-highlight {
    flex-direction: column;
    text-align: center;
  }

  /* FAQ Section */
  .faq-section {
    padding: 48px 20px;
    justify-content: center;
  }

  .faq-container {
    padding: 0;
  }

  .faq-title {
    font-size: 28px;
    margin-bottom: var(--spacing-lg);
    text-align: left;
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  .faq-question span {
    font-size: 16px;
    text-align: left;
  }

  .faq-question {
    justify-content: space-between;
  }

  .faq-answer p {
    font-size: 16px;
  }

  /* Final CTA */
  .final-cta {
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
  }
  .final-cta-container {
    height: auto;
    min-height: 0;
    padding: 48px 20px;
    flex: 1;
  }

  .cta-title {
    font-size: 36px;
  }

  .cta-subtitle {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .header-nav-links {
    gap: 6px;
    margin-right: 8px;
  }

  .header-nav-link,
  .header-nav-link-button,
  .header-nav-divider {
    font-size: 12px;
  }

  .header-nav-link-button {
    padding: 5px 10px;
  }

  .hero-title {
    font-size: 28px;
    line-height: 32px;
  }

  .hero-h4 {
    font-size: 24px;
  }

  .features-main-heading {
    font-size: 22px;
  }

  .feature-text h3 {
    font-size: 22px;
  }

  .about-title {
    font-size: 22px;
  }

  .cta-title {
    font-size: 36px;
  }

  .cta-subtitle {
    font-size: 14px;
  }

  .section-title {
    font-size: 24px;
  }

  .faq-title {
    font-size: 24px;
  }
}

/* Brevo Form Styles */
.brevo-form-wrapper {
  display: inline-block;
}

/* Success State Animations */
@keyframes success-pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes success-glow {
  0%,
  100% {
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.8);
  }
}

.brevo-signup-form.success {
  animation: success-pulse 0.6s ease-out;
}

.brevo-submit-btn.success {
  background: #10b981 !important;
  color: white !important;
  animation: success-glow 1.5s ease-in-out infinite;
  font-weight: 600 !important;
  font-size: 16px !important;
}

/* Header button only - standalone button without form */
.header-content .brevo-form-wrapper .brevo-submit-btn {
  display: inline-block;
}

.brevo-signup-form {
  position: relative;
  display: inline-flex;
  align-items: center;
  width: auto;
}

.brevo-email-input {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  padding: 12px 215px 12px 20px;
  border: 1px solid var(--brand-highlighter);
  border-radius: 8px;
  background: var(--brand-highlighter);
  color: #000;
  min-width: 280px;
  transition: all 0.2s ease;
  width: 100%;
}

.brevo-email-input::placeholder {
  color: rgba(0, 0, 0, 0.5);
}

.brevo-email-input:focus {
  outline: none;
  border-color: var(--brand-highlighter);
  background: var(--brand-highlighter);
}

.brevo-submit-btn {
  font-family: "Geist", sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 8px 16px;
  background: #026232;
  color: #d1ff6e;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: box-shadow 0.3s ease;
  white-space: nowrap;
  height: 40px;
  min-width: 197px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  overflow: hidden;
  z-index: 2;
}

.brevo-submit-btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: #272727;
  transition: left 0.4s ease;
  z-index: -1;
  border-radius: 10px;
}

.brevo-submit-btn:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  color: #d1ff6e;
}

.brevo-submit-btn:hover::before {
  left: 0;
}

.brevo-submit-btn:active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.brevo-submit-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .brevo-signup-form {
    width: 100%;
  }

  .brevo-email-input {
    width: 100%;
    min-width: auto;
    padding: 12px 215px 12px 20px;
  }

  .brevo-submit-btn {
    min-width: 180px;
  }
}

/* ===================================
   CTA TOAST (STICKY BUTTON)
   =================================== */

.cta-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 100;
  animation: toast-slide-in 0.5s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes toast-slide-in {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0.95);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.cta-toast-content {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--brand-almost-black);
  padding: 12px 14px 12px 20px;
  border-radius: 50px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.2),
    0 0 0 1px rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
}

.cta-toast-text {
  font-family: "Geist", sans-serif;
  font-size: 14px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.2px;
}

/* Toast Google Calendar Button */
.cta-toast .gcal-btn-wrapper {
  margin-top: 0;
}

.cta-toast .gcal-btn-wrapper button {
  background: #d1ff6e !important;
  color: #026232 !important;
  border-radius: 50px !important;
  font-family: "Geist", sans-serif !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  padding: 10px 18px !important;
  height: auto !important;
  min-width: auto !important;
  border: none !important;
  cursor: pointer !important;
  transition: box-shadow 0.3s ease !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  overflow: hidden !important;
  z-index: 1 !important;
}

.cta-toast .gcal-btn-wrapper button::before {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  left: -100% !important;
  width: 100% !important;
  height: 100% !important;
  background: #272727 !important;
  transition: left 0.4s ease !important;
  z-index: -1 !important;
  border-radius: 50px !important;
}

.cta-toast .gcal-btn-wrapper button:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
  color: #d1ff6e !important;
}

.cta-toast .gcal-btn-wrapper button:hover::before {
  left: 0 !important;
}

.cta-toast .gcal-btn-wrapper button:active {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
}

/* Responsive adjustments for toast */
@media (max-width: 768px) {
  .cta-toast {
    bottom: 16px;
    right: 16px;
  }

  .cta-toast-content {
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px 16px;
  }

  .cta-toast-text {
    text-align: center;
    font-size: 13px;
  }
}

/* Styles for additional sections will be added here */

/* FAQ Section */
.faq-section {
  width: 100%;
  background: #212121;
  padding: var(--spacing-2xl) 30px;
  margin-top: -1px;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 10;
}

.faq-container {
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
}

.faq-container-with-image {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 600px 1fr;
  gap: 40px;
  align-items: center;
  padding: 0 60px;
  justify-items: center;
}

.faq-container-with-image .faq-content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  width: 100%;
}

.faq-folder-image {
  grid-column: 3;
  grid-row: 1;
  width: 100%;
  max-width: 400px;
  height: auto;
  align-self: center;
  justify-self: start;
}

.faq-title {
  font-family: "Geist", sans-serif;
  font-size: 36px;
  font-weight: 600;
  color: var(--background);
  text-align: center;
  letter-spacing: -0.6px;
  line-height: 1;
  margin-bottom: var(--spacing-xl);
  width: 100%;
  white-space: nowrap;
}

.faq-item {
  margin-bottom: 0;
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question span {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: -0.3px;
  line-height: 1.4;
  padding-right: 20px;
  flex: 1;
}

.faq-icon {
  flex-shrink: 0;
  color: var(--brand-white);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

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

.faq-item.active .faq-answer {
  max-height: 500px;
  padding-bottom: var(--spacing-md);
}

.faq-answer p {
  font-family: "Geist", sans-serif;
  font-size: 16px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.6;
  margin: 0;
}

.faq-answer a {
  color: var(--brand-white);
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.faq-answer a:hover {
  opacity: 0.8;
}

.faq-divider {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 0;
}

/* Responsive FAQ - merged into main 768px media query */
@media (max-width: 768px) {
  .faq-section {
    padding: 48px 20px;
  }
  .faq-folder-image {
    display: none;
  }
  .faq-container-with-image {
    grid-template-columns: 1fr;
    gap: 0;
    width: 100%;
  }
  .faq-container-with-image .faq-content {
    grid-column: 1;
    width: 100%;
    max-width: 100%;
  }
  .faq-title {
    width: 100%;
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    text-align: left;
    font-size: 28px;
  }
}

/* ─── Footer ─────────────────────────────────────────────────── */
.site-footer {
  background: #212121;
  padding: 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 10;
  isolation: isolate;
}

.site-footer-inner {
  max-width: 100%;
  margin: 0;
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  position: relative;
}

.footer-links {
  display: flex;
  gap: 1.75rem;
  align-items: center;
}

.footer-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color 0.2s ease;
  white-space: nowrap;
}

.footer-links a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-social {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.footer-social a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  line-height: 1;
}

.footer-social a:hover {
  color: rgba(255, 255, 255, 0.9);
}

.footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.35);
  margin: 0;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .site-footer {
    height: 100px;
    min-height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .site-footer-inner {
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem 0.75rem;
    padding: 0 1.25rem;
  }

  .footer-social {
    position: static;
    transform: none;
    width: 100%;
    justify-content: center;
    order: 1;
    margin-bottom: 16px;
  }

  .footer-links {
    gap: 0.75rem;
    order: 2;
  }

  .footer-copy {
    order: 3;
  }

  .footer-links a,
  .footer-copy {
    font-size: 0.6875rem;
    white-space: normal;
  }
}

/* Final overrides — must stay at end of file to win cascade */
@media (max-width: 768px) {
  .cta-title {
    font-size: 36px !important;
    line-height: 1.1;
  }
}

/* ===========================================
   INLINE OVERRIDES (from public-beta.html at 21d09b6)
   These were originally in the <style> block and
   override main.css rules for the public-beta page.
   =========================================== */

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Geist", sans-serif;
  background: #212121;
  color: rgba(22, 22, 22, 1);
  line-height: 1.5;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
video {
  border-radius: 12px;
}
.btn-lime {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #d1ff6e;
  color: #161616;
  font-family: "Geist", sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 12px 24px;
  border-radius: 8px;
  text-decoration: none;
  transition: opacity 0.2s;
  gap: 8px;
}
.btn-lime:hover {
  opacity: 0.9;
}

.pill-tag {
  display: inline-block;
  background: transparent;
  color: rgba(255, 255, 255, 1);
  font-family: "Geist Mono", monospace;
  font-weight: 500;
  font-size: 14px;
  padding: 6px 12px;
  border-radius: 6px;
  margin-bottom: 12px;
  opacity: 0.4;
  text-align: center;
  text-transform: uppercase;
}
.pill-tag.dark {
  background: #d1ff6e;
  color: #161616;
}

/* Hero Section */
.section-hero .pill-tag {
  padding-left: 0;
}
.section-hero {
  background: none;
  color: #ffffff;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-hero::before {
  content: "";
  position: absolute;
  inset: -20% 0;
  background: url("../assets/Header-hero.webp") center center /
    cover no-repeat;
  background-position: center calc(50% - 160px);
  z-index: -1;
  will-change: transform;
  transform-origin: top center;
  transform: translateY(var(--parallax-bg, 0px)) scaleY(var(--hero-stretch, 1));
}
.section-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
  pointer-events: none;
  z-index: 0;
}
.section-hero > * {
  position: relative;
  z-index: 1;
}
.hero-content {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  gap: 80px;
  padding: 0;
  padding-top: 0;
  padding-left: max(60px, calc((100vw - 1320px) / 4 + 60px));
  padding-right: max(60px, calc((100vw - 1320px) / 4 + 60px));
  box-sizing: border-box;
}

.section-hero .hero-content {
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 0;
}
.section-hero .hero-images {
  display: none;
}
.hero-text {
  max-width: 680px;
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0;
}
.hero-text .hero-title,
.hero-text .hero-subtitle,
.hero-text .hero-fineprint {
  text-align: left !important;
}
.hero-content .hero-text-container {
  align-items: flex-start !important;
  text-align: left !important;
}
.hero-content .hero-text-container .hero-title,
.hero-content .hero-text-container .hero-h4,
.hero-content .hero-text-container .hero-subtext {
  text-align: left !important;
}
.hero-title {
  font-size: 56px;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}
.section-hero .hero-title {
  font-size: 92px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-transform: none;
  width: 850px;
}

/* Hero word layout */
.hero-word {
  display: block;
}
.hero-word > span {
  display: block;
}

.hero-subtitle {
  color: #e5eaed;
  font-size: 20px;
  font-weight: 400;
  margin-bottom: 20px;
  max-width: 480px;
  line-height: 26px;
}
.hero-fineprint {
  font-family: "Geist Mono", monospace;
  font-size: 14px;
  color: #ffffff;
  margin-top: 16px;
  opacity: 0.8;
}
.hero-fineprint span {
  font-size: 12px;
}
.hero-images {
  position: relative;
  flex: 1;
  display: flex;
  justify-content: flex-end;
  min-width: 0;
  padding: 0;
  margin: 0;
  margin-right: calc(-1 * max(60px, (100vw - 1920px) / 2));
}
.hero-images img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: right center;
  border-top-left-radius: 16px;
  border-bottom-left-radius: 16px;
  display: block;
  margin: 0;
}
.hero-video-wrap {
  position: relative;
  flex: 1 1 auto;
  min-width: 0;
  width: 100%;
  max-width: 1200px;
  height: auto;
  margin-top: -50px;
  margin-right: -80px;
  transform: translateX(var(--folder-video-x));
}
.hero-video {
  width: 100%;
  max-width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 0;
  display: block;
  flex-shrink: 0;
  position: relative;
}

.folder-wrapper .hero-content {
  align-items: flex-start;
  padding-top: 100px;
  padding-bottom: 100px;
  padding-left: max(40px, calc((100vw - 1320px) / 4 + 40px));
  padding-right: max(40px, calc((100vw - 1320px) / 4 + 40px));
}

.folder-wrapper .hero-text-container {
  margin-top: -50px;
  transform: translate(var(--folder-text-x), var(--folder-text-y));
}

/* Equalize all folder hero section heights */
.folder-wrapper .hero-section {
  min-height: 950px;
  margin-top: -50px !important;
}

@media (min-width: 1400px) {
  /* XL containment: keep folder hero content fully inside folder bounds */
  .folder-wrapper .hero-section {
    margin-top: 0 !important;
    min-height: clamp(820px, 62vw, 940px);
  }

  .folder-wrapper .hero-content {
    padding-top: clamp(64px, 4.5vw, 92px);
    padding-bottom: clamp(64px, 4.5vw, 92px);
    padding-left: clamp(56px, 5vw, 120px);
    padding-right: clamp(56px, 5vw, 120px);
    gap: clamp(36px, 4vw, 84px);
  }

  .folder-wrapper .hero-text-container {
    margin-top: 0;
    max-width: clamp(340px, 23vw, 440px);
  }

  .folder-wrapper .hero-video-wrap {
    margin-top: 0;
    margin-right: 0;
    max-width: clamp(700px, 52vw, 980px);
    width: min(52vw, 980px);
  }

  /* Keep planner decorative assets inside bounds on very wide screens */
  .hero-section-with-postits .hero-video-wrap > img {
    left: calc(50% - 80px) !important;
    top: 56% !important;
    width: 108% !important;
    height: auto !important;
  }

  .hero-postits-container {
    left: -190px;
    bottom: 0;
    width: 320px;
    height: 280px;
  }

  .hero-postit-1,
  .hero-postit-2,
  .hero-postit-3 {
    width: 190px;
  }
}

@media (min-width: 1900px) {
  /* Ultra-wide containment: prevent folder shape distortion */
  .stacking-cards-container .folder-wrapper {
    width: min(1680px, calc(100vw - 40px));
    max-width: 1680px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
}

/* Gradient folder — unified tab + body */
.folder-wrapper-gradient {
  overflow: visible;
}
.folder-shape-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}
.folder-wrapper-gradient > *:not(.folder-shape-bg) {
  position: relative;
  z-index: 1;
}
.hero-orbit-overlay {
  position: absolute;
  width: 979px;
  transform: translateY(-200px);
}
.mobile-break {
  display: none;
}
.hero-m-outline {
  position: absolute;
  bottom: -200px;
  right: 0;
  width: auto;
  height: 70%;
  pointer-events: auto;
  z-index: 0;
  will-change: transform;
}
.hero-orbit-centre {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translate(-50%, -50%);
  width: 100%;
  max-width: 1069px;
  pointer-events: none;
  z-index: 2;
}

/* Pain Points */
.section-pain {
  background: #dadee1;
  color: #dadee1;
  padding: 120px 60px;
  position: relative;
  min-height: 600px;
  height: 900px;
  display: flex;
  align-items: center;
}
.pain-container {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  gap: 120px;
  align-items: center;
  width: 100%;
}
.pain-bubbles {
  flex: 1;
  position: relative;
  height: 400px;
  max-width: 650px;
}
.pain-text-block {
  max-width: 480px;
  position: relative;
  z-index: 2;
}
.pain-title {
  font-size: 32px;
  font-weight: 500;
  color: var(--brand-almost-black);
  margin-bottom: 24px;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 24px;
}
.pain-subtitle {
  font-size: 16px;
  line-height: 1.5;
  color: #161616;
}
.pain-bubble {
  position: absolute;
  background: #161616;
  color: #ffffff;
  padding: 12px 16px;
  border-radius: 100px;
  font-size: 12px;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
}
.pain-bubble::before {
  content: "";
  width: 12px;
  height: 12px;
  background: #161616;
  border-radius: 50%;
  position: absolute;
  left: -6px;
  bottom: -6px;
}

/* Feature Section Base */
.feature-block {
  padding: 120px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.feature-content {
  max-width: 1200px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 60px;
}
.feature-header {
  max-width: 520px;
}
.feature-header h2 {
  font-size: 58px;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}
.feature-header h3 {
  font-size: 26px;
  font-weight: 500;
  margin-bottom: 16px;
}
.feature-header p {
  font-size: 16px;
  line-height: 1.5;
  opacity: 0.9;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 40px;
  justify-content: center;
}
.ui-tag {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: "Geist Mono", monospace;
  font-size: 14px;
}
.ui-tag .dot {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #e5eaed;
}

/* AI Agent Section */
.section-ai {
  background: #ff5b26;
  color: #ffffff;
  padding: 120px 60px;
}
.text-wall {
  font-family: "Geist Mono", monospace;
  font-size: 17px;
  font-weight: 500;
  color: #601e06;
  line-height: 1.6;
  margin-bottom: 80px;
}

/* Screenshots / Footer */
.section-screenshots {
  background: #d9d9d9;
  padding: 80px 0 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.footer {
  background: #212121;
  color: #ffffff;
  padding: 60px;
  text-align: center;
}

.feature-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  width: 100%;
}
@media (max-width: 1000px) {
  .hero-content,
  .pain-container {
    flex-direction: column;
    align-items: flex-start;
  }
  .hero-images {
    width: 100%;
    justify-content: center;
  }
  .hero-images img {
    border-radius: 0;
  }
  .hero-title {
    font-size: 48px;
  }
  .pain-bubbles {
    display: none;
  }
  .feature-header-row {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .feature-header {
    align-items: center;
  }
  .tag-row {
    gap: 8px;
  }
  .section-screenshots .footer > div > div:first-child {
    flex-direction: column;
    width: 100%;
    align-items: stretch;
  }
}
/* AI chat scroll-reveal */
.ai-chat-item {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.5s ease,
    transform 0.5s ease;
}
.ai-chat-item.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* Planner Post-its Configuration */
.hero-postits-container {
  position: absolute;
  bottom: -20px;
  left: -260px;
  width: 368px;
  height: 322px;
  z-index: 10;
  pointer-events: none;
}
.hero-postit-1,
.hero-postit-2,
.hero-postit-3 {
  position: absolute;
  width: 219px;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.2));
  opacity: 0;
  transform-origin: center;
}
.hero-postit-1.is-visible {
  opacity: 1;
  transform: rotate(-6deg) scale(1);
}
.hero-postit-2.is-visible {
  opacity: 1;
  transform: rotate(4deg) scale(1);
}
.hero-postit-3.is-visible {
  opacity: 1;
  transform: rotate(-3deg) scale(1);
}

.hero-postit-1 {
  /* Bottom Left (Send final notice) */
  bottom: 0px;
  left: 0px;
  transform: rotate(-20deg) scale(0.8) translateY(20px);
  z-index: 2;
}
.hero-postit-2 {
  /* Top Middle (Move that to next week) */
  top: 0px;
  left: 80px;
  transform: rotate(20deg) scale(0.8) translateY(-20px);
  z-index: 1;
}
.hero-postit-3 {
  /* Bottom Right (Send revised proposal) */
  bottom: 20px;
  right: 0px;
  transform: rotate(-15deg) scale(0.8) translateY(20px);
  z-index: 3;
}
/* Pricing feature icons */
.price-feature i,
.price-feature svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
  stroke-opacity: 1 !important;
  opacity: 1 !important;
}

/* ===================================
   HERO → PAIN WAVE TRANSITION
   =================================== */

.section-wave-divider {
  position: relative;
  margin-top: -100px;
  z-index: 5;
  pointer-events: none;
  background: transparent;
}

.section-wave-divider svg {
  display: block;
  width: 100%;
  height: 100px;
  overflow: visible;
}

@media (max-width: 768px) {
  .section-wave-divider {
    display: none;
  }
}

/* ── Mobile Responsive ── */
@media (max-width: 768px) {
  /* Base font size */
  body {
    font-size: 10px;
  }

  /* Fixed nav - mobile styling */
  .header {
    left: 12px;
    right: 12px;
    max-width: calc(100vw - 24px);
    padding-left: 16px;
    padding-right: 16px;
    background: rgba(0, 0, 0, 0.1);
  }

  /* CTA button */
  .hero-cta-button {
    padding: 8px 12px !important;
    min-width: auto !important;
  }

  /* Logo */
  .header .logo {
    display: flex;
    align-items: center;
  }
  .header .logo img {
    height: 32px !important;
    width: auto;
    display: block;
  }

  /* Top hero section */
  .section-hero {
    min-height: 100svh;
    height: 100svh;
    padding: 0 24px 40px !important;
    padding-top: 0 !important;
    margin-top: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: url("../assets/Header-hero.webp") center center /
      cover no-repeat;
  }
  .section-hero .hero-content {
    flex-direction: column;
    padding: 0 !important;
    gap: 20px;
    padding-top: 72px !important;
  }
  .section-hero .hero-text {
    max-width: 100%;
    width: 100%;
    margin: 0;
    align-items: flex-start;
    text-align: left;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .section-hero .hero-text .hero-title,
  .section-hero .hero-text .hero-subtitle,
  .section-hero .hero-text .hero-fineprint {
    text-align: left !important;
    max-width: 100%;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .hero-fineprint span {
    display: block;
    font-size: 12px;
  }
  .section-hero .hero-title {
    font-size: 40px;
    line-height: 1.15;
    margin-bottom: 8px;
  }
  .section-hero .hero-subtitle {
    font-size: 16px;
    max-width: 100%;
    margin-bottom: 12px;
    padding-right: 60px;
  }
  .mobile-break {
    display: block;
  }
  .section-hero .hero-images {
    display: none;
  }

  /* Pain section */
  .section-pain {
    height: auto !important;
    padding: 60px 24px;
  }
  .pain-container {
    flex-direction: column;
    gap: 40px;
  }
  .pain-bubbles {
    width: 100% !important;
    height: auto !important;
    max-width: 100% !important;
    min-height: auto !important;
    margin-top: 0 !important;
    order: 2;
  }
  .pain-text-block {
    max-width: 100%;
    width: 100%;
    order: 1;
    overflow-wrap: break-word;
    word-break: break-word;
  }
  .pain-title {
    font-size: 26px;
    overflow-wrap: break-word;
    word-break: break-word;
  }

  /* Folder wrappers: full width on mobile */
  .folder-wrapper {
    margin: 0 !important;
    max-width: 100% !important;
    border-radius: 0 20px 18px 18px !important;
    overflow: hidden;
  }

  /* Keep folder body shape clean on mobile (preserves top-right rounding). */
  .folder-shape-bg {
    width: 100%;
  }

  /* Folder hero sections: auto height on mobile */
  .hero-section {
    height: auto !important;
    min-height: auto !important;
    border-radius: 18px !important;
    margin-top: -1px !important;
    overflow: hidden;
  }
  .hero-section-ai-detail {
    margin-top: -10px !important;
  }

  /* Hero content inside folders: stack vertically */
  .hero-content {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 32px !important;
    padding: 40px 24px !important;
  }
  .folder-wrapper .hero-content {
    padding: 70px 12px 24px !important;
  }
  .hero-text-container {
    max-width: 100% !important;
    width: 100%;
    align-items: flex-start !important;
    text-align: left !important;
    margin-top: 0 !important;
  }
  .folder-wrapper .hero-text-container {
    transform: none !important;
  }
  .folder-wrapper .hero-text-container .hero-title,
  .folder-wrapper .hero-text-container .hero-h4,
  .folder-wrapper .hero-text-container .hero-subtext {
    width: 100% !important;
    max-width: 100% !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
  }
  .folder-wrapper .hero-text-container .hero-title {
    margin-top: 14px !important;
    margin-bottom: 2px !important;
  }
  .folder-wrapper .hero-text-container .hero-h4 {
    margin-top: 0 !important;
    margin-bottom: 6px !important;
    font-size: 24px !important;
    line-height: 1.25 !important;
    white-space: normal !important;
  }

  /* Videos: match how-it-works image width */
  .hero-video-wrap {
    width: calc(100% - 16px);
    max-width: calc(100% - 16px) !important;
    overflow: visible;
    margin-top: 0 !important;
    margin-left: auto;
    margin-right: auto;
  }
  .folder-wrapper .hero-video-wrap {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    flex: 0 0 auto !important;
    /*
      aspect-ratio gives the container a defined height (not auto).
      Without a defined height, overflow:hidden cannot clip the video vertically
      because the parent just grows with the child's layout size.
      transform:translateZ(0) forces a composited layer — this is required for
      iOS Safari where overflow:hidden does NOT clip child transforms without it.
    */
    aspect-ratio: 16 / 9 !important;
    overflow: hidden !important;
    border-radius: 8px !important;
    transform: translateZ(0) !important;
  }
  .folder-wrapper .hero-video {
    /*
      position:absolute removes the video from flow so it doesn't push the
      container height. It fills the container (with 7% bleed on each side)
      and overflow:hidden on the container crops the bleed, zooming in ~6%.
    */
    position: absolute !important;
    top: -7% !important;
    left: -7% !important;
    width: 114% !important;
    height: 114% !important;
    object-fit: cover !important;
    display: block !important;
  }
  .hero-video {
    width: 100% !important;
    height: auto !important;
    display: block !important;
  }

  /* Decorative elements: hide on mobile */
  .hero-orbit-overlay,
  .hero-orbit-centre,
  .hero-m-outline {
    display: none !important;
  }
  .hero-postits-container {
    display: none !important;
  }
  .hero-section-with-postits .hero-video-wrap > img {
    display: none !important;
  }
  .hero-detail-strip {
    display: none !important;
  }

  /* Planner parallax block — hidden on mobile, kept for reuse */
  div.parallax-block[style*="height: 1200px"] {
    display: none !important;
  }

  /* Timeline section: remove gap after AI folder */
  .timeline-section {
    margin-top: 0 !important;
    border-radius: 0 !important;
  }
  .stacking-spacer {
    height: 0;
  }

  /* AI showcase parallax block — hidden on mobile */
  div.parallax-block[style*="padding-bottom: 650px"],
  .folder-wrapper:nth-of-type(2) .parallax-block {
    display: none !important;
  }
  .ai-chat-stack {
    display: none !important;
  }
  div[style*="align-items: flex-end; padding-bottom: 20px"] {
    display: none !important;
  }
  div[style*="gap: 14px; max-width: 600px"] {
    display: none !important;
    max-width: 100% !important;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .section-hero .hero-title {
    font-size: 50px !important;
  }
  .pain-title {
    font-size: 22px;
  }
  .hero-title {
    font-size: 42px !important;
    line-height: 1.15 !important;
  }
  .hero-h4 {
    font-size: 18px !important;
  }
  .hero-subtext {
    font-size: 14px !important;
  }
  .timeline-step-desc {
    font-size: 14px !important;
  }
  .faq-answer p {
    font-size: 14px !important;
  }
  .faq-title {
    font-size: 24px !important;
  }
}

/* ===================================
   SCROLLSMOOTHER SETUP
   =================================== */

#smooth-wrapper {
  overflow: hidden;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: var(--background);
}

#smooth-content {
  overflow: visible;
  width: 100%;
  margin-bottom: 0;
  padding-bottom: 0 !important;
}

@media (max-width: 768px) {
  #smooth-wrapper {
    overflow: visible;
    position: relative;
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  #smooth-wrapper {
    overflow: visible;
    position: relative;
    height: auto;
  }
}

/* ===================================
   STACKING CARDS EFFECT
   =================================== */

.stacking-cards-container {
  position: relative;
  width: 100%;
  margin-top: -1px;
}

.stacking-card {
  position: relative;
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transform: translateZ(0);
  border-radius: 0;
  overflow: hidden;
}

.stacking-card[data-card="1"] {
  z-index: 1;
  background-color: #dadee1;
  color: rgba(218, 222, 225, 1);
}

.stacking-card[data-card="2"] {
  z-index: 2;
}

.stacking-card[data-card="3"] {
  z-index: 3;
}

.stacking-card[data-card="4"] {
  z-index: 4;
}

.stacking-card[data-card="5"] {
  z-index: 5;
}

.stacking-spacer {
  height: 0;
  pointer-events: none;
}

.card-reading-spacer {
  height: 125vh;
  pointer-events: none;
  position: relative;
}

@media (max-width: 768px) {
  .weekday-section {
    display: none;
  }

  .stacking-card {
    border-radius: 16px;
  }

  .card-reading-spacer {
    height: 75vh;
  }
}

/* ===================================
   VIDEO MODAL
   =================================== */

.video-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-modal-overlay.is-open {
  opacity: 1;
  pointer-events: all;
}

.video-modal-content {
  position: relative;
  width: 90vw;
  max-width: 960px;
  transform: translateY(12px) scale(0.97);
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-modal-overlay.is-open .video-modal-content {
  transform: translateY(0) scale(1);
}

.video-modal-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 14px;
  overflow: hidden;
  background: #000;
}

.video-modal-frame video,
.video-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.video-modal-close {
  position: absolute;
  top: -44px;
  right: 0;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #fff;
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s ease;
}

.video-modal-close:hover {
  background: rgba(255, 255, 255, 0.22);
}

.video-modal-close svg {
  width: 16px;
  height: 16px;
  stroke-width: 2;
}

@media (max-width: 600px) {
  .video-modal-content {
    width: 95vw;
  }

  .video-modal-close {
    top: -40px;
  }
}
