/* --- Core CSS Design System --- */
:root {
  /* Color Palette (Warm Cream & Charcoal) */
  --bg-primary: #fefaf3;
  --bg-secondary: #f5f0e8;
  --text-primary: #211e1d;
  --text-secondary: #585858;
  --color-white: #ffffff;
  --color-dark: #2c2c2c;
  --color-stroke: #d9d9d9;
  --color-stroke-light: rgba(33, 30, 29, 0.08);
  
  /* Accent Gradients (Pastel Glows) */
  --glow-purple-pink: linear-gradient(140deg, rgba(193, 143, 255, 0.3) 6%, rgba(255, 169, 171, 0.3) 94%);
  --glow-cyan-purple: linear-gradient(140deg, rgba(169, 242, 255, 0.3) 6%, rgba(193, 143, 255, 0.1) 94%);
  
  /* Typography Variables */
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-heading: 'Playfair Display', serif;
  
  /* Borders and Shadow Values */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;
  --radius-full: 9999px;
  
  --shadow-sm: 0 4px 12px rgba(33, 30, 29, 0.03);
  --shadow-md: 0 12px 32px rgba(33, 30, 29, 0.06);
  --shadow-lg: 0 32px 64px -12px rgba(33, 30, 29, 0.12), 0 0 0 1px rgba(33, 30, 29, 0.03);
  
  --transition-fast: 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-normal: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

body {
  font-family: var(--font-body);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  overflow-x: hidden;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

/* --- Ambient Glow Blobs --- */
.ambient-glow {
  position: absolute;
  width: 50vw;
  height: 50vw;
  max-width: 600px;
  max-height: 600px;
  border-radius: var(--radius-full);
  filter: blur(140px);
  z-index: -1;
  pointer-events: none;
  opacity: 0.6;
}

.glow-1 {
  top: -100px;
  left: -50px;
  background: radial-gradient(circle, rgba(193, 143, 255, 0.25) 0%, rgba(255, 169, 171, 0.05) 70%);
  animation: floatGlow1 20s infinite alternate ease-in-out;
}

.glow-2 {
  top: 15vh;
  right: -100px;
  background: radial-gradient(circle, rgba(169, 242, 255, 0.25) 0%, rgba(193, 143, 255, 0.05) 70%);
  animation: floatGlow2 24s infinite alternate-reverse ease-in-out;
}

@keyframes floatGlow1 {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(60px, 40px) scale(1.15); }
}

@keyframes floatGlow2 {
  0% { transform: translate(0, 0) scale(1.1); }
  100% { transform: translate(-50px, 60px) scale(0.9); }
}

/* --- Layout Utility Container --- */
.nav-container,
.hero-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* --- Navigation Header (trupeer.ai floating style) --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  pointer-events: none; /* pass clicks through margins */
  transition: padding var(--transition-normal);
  padding: 1.5rem 0 0.5rem;
}

.header.scrolled {
  padding: 0.75rem 0 0.5rem;
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #ffffff;
  border: 1px solid rgba(33, 30, 29, 0.08);
  border-radius: 20px;
  padding: 0.85rem 2rem;
  width: 92%;
  max-width: 1240px;
  margin: 0 auto;
  pointer-events: auto; /* enable click interaction inside the bar */
  box-shadow: 0 4px 25px rgba(33, 30, 29, 0.03);
  transition: padding var(--transition-normal), box-shadow var(--transition-normal);
}

.header.scrolled .nav-container {
  padding: 0.65rem 1.75rem;
  background-color: rgba(255, 255, 255, 0.75); /* Elegant glass translucent background */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(33, 30, 29, 0.05);
  box-shadow: 0 12px 35px rgba(33, 30, 29, 0.06);
}

/* Logo */
.logo-link {
  font-family: var(--font-body);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-primary);
}

/* Nav Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.5rem 0;
  transition: color var(--transition-fast);
}

.nav-link i {
  font-size: 0.62rem;
  opacity: 0.7;
  margin-top: 2px;
  transition: transform var(--transition-fast);
}

.nav-link:hover {
  color: var(--text-primary);
}

.nav-link:hover i {
  transform: translateY(1px);
}

/* Actions and Menu Toggle */
.nav-cta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Elegant Split CTA Buttons */
.secondary-btn-header {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  border: 1px solid rgba(33, 30, 29, 0.15);
  border-radius: 12px;
  background-color: transparent;
  transition: all var(--transition-fast);
}

.secondary-btn-header:hover {
  background-color: rgba(33, 30, 29, 0.03);
  border-color: var(--text-primary);
}

.primary-btn-header {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  padding: 0.6rem 1.25rem;
  background-color: #ffd88f; /* trupeer elegant warm yellow */
  border: 1px solid #ffd88f;
  border-radius: 12px;
  transition: all var(--transition-fast);
  box-shadow: 0 2px 4px rgba(255, 216, 143, 0.2);
}

.primary-btn-header:hover {
  background-color: #ffcc66;
  border-color: #ffcc66;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(255, 204, 102, 0.35);
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.25rem;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* --- Buttons System --- */
.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--color-dark);
  color: var(--color-white);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.35rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: background-color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
  cursor: pointer;
  border: none;
}

.primary-button:hover {
  background-color: var(--text-primary);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-text {
  position: relative;
}

.btn-icon-circle {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  transition: transform var(--transition-normal);
}

.primary-button:hover .btn-icon-circle {
  transform: translateX(3px) rotate(-45deg);
}

/* Secondary Button */
.secondary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--color-white);
  border: 1px solid var(--color-stroke);
  color: var(--text-primary);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  transition: border-color var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
  cursor: pointer;
}

.secondary-button:hover {
  border-color: var(--text-primary);
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
}

.btn-icon-circle-dark {
  width: 22px;
  height: 22px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  margin-left: 8px;
  transition: transform var(--transition-normal);
}

.secondary-button:hover .btn-icon-circle-dark {
  transform: translateX(3px);
}

/* --- Hero Section --- */
.hero-section {
  padding-top: 11rem;
  padding-bottom: 6rem;
  position: relative;
}

.hero-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4.5rem;
  text-align: center;
}

.hero-text-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  max-width: 860px;
  z-index: 10;
}

.trusted-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1px solid rgba(33, 30, 29, 0.12);
  padding: 0.45rem 1.2rem;
  border-radius: var(--radius-full);
  background-color: rgba(33, 30, 29, 0.02);
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.18;
  color: var(--text-primary);
  letter-spacing: -1.5px;
}

.title-italic-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
}

.text-highlight-pill {
  font-family: var(--font-heading);
  font-style: italic;
  font-weight: 500;
  color: var(--text-primary);
  background-color: #ffecdf; /* Peach background color */
  padding: 2px 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
  transform: skewX(-8deg);
  margin-left: 2px;
  box-shadow: 0 4px 12px rgba(255, 236, 223, 0.4);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

.hero-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

/* --- Hero Brands Ticker Section --- */
.hero-brands-section {
  width: 100%;
  max-width: 820px;
  margin: 4.5rem auto 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  z-index: 10;
  position: relative;
}

.brands-title {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1.25rem;
  opacity: 0.8;
  text-align: center;
}

.brands-ticker-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 20px;
  background-color: rgba(33, 30, 29, 0.015);
  border: 1px solid var(--color-stroke-light);
  box-shadow: var(--shadow-sm);
}

/* Gradient Fade Masks on Edges */
.brands-ticker-container::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to right, var(--bg-primary), transparent);
  z-index: 2;
  pointer-events: none;
}

.brands-ticker-container::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 80px;
  background: linear-gradient(to left, var(--bg-primary), transparent);
  z-index: 2;
  pointer-events: none;
}

.brands-ticker-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: logoMarquee 30s linear infinite;
}

.brands-ticker-container:hover .brands-ticker-track {
  animation-play-state: paused;
}

.ticker-logo-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-primary);
  padding: 1.5rem 2.5rem;
  border-right: 1px solid var(--color-stroke-light);
  white-space: nowrap;
  font-family: var(--font-body);
  opacity: 0.8;
  transition: opacity var(--transition-fast);
}

.ticker-logo-item:hover {
  opacity: 1;
}

.ticker-logo-item i {
  font-size: 1.25rem;
  color: var(--text-primary);
  opacity: 0.85;
}

@keyframes logoMarquee {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@media (max-width: 768px) {
  .hero-brands-section {
    margin-top: 3.5rem;
  }
  .ticker-logo-item {
    padding: 1.25rem 2rem;
    font-size: 1rem;
  }
  .ticker-logo-item i {
    font-size: 1.15rem;
  }
  .brands-ticker-container::before,
  .brands-ticker-container::after {
    width: 40px;
  }
}

.hero-reviews {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.avatar-group {
  display: flex;
  align-items: center;
}

.review-avatar {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  border: 2px solid var(--bg-primary);
  margin-left: -10px;
  object-fit: cover;
}

.review-avatar:first-child {
  margin-left: 0;
}

.review-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 0.85rem;
  line-height: 1.35;
  text-align: left;
}

.review-rating {
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-body);
}

.review-count {
  color: var(--text-secondary);
}

/* --- Mock Video Player Widget --- */
.video-mockup-wrapper {
  position: relative;
  width: 100%;
  max-width: 780px;
  margin: 0 auto;
  z-index: 20;
}

/* Glowing Aura effect around Video frame */
.video-mockup-wrapper::before {
  content: '';
  position: absolute;
  top: 10%;
  left: 10%;
  right: 10%;
  bottom: 10%;
  background: var(--glow-purple-pink);
  filter: blur(50px);
  z-index: -1;
  opacity: 0.85;
}

.video-mockup-frame {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--color-stroke-light);
  display: flex;
  flex-direction: column;
}

/* Browser Mockup Top Bar */
.browser-bar {
  display: flex;
  align-items: center;
  padding: 0.75rem 1.25rem;
  border-bottom: 1px solid var(--color-stroke-light);
  background-color: var(--bg-primary);
  gap: 1rem;
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dots .dot {
  width: 9px;
  height: 9px;
  border-radius: var(--radius-full);
}

.dot.red { background-color: #ff5f56; }
.dot.yellow { background-color: #ffbd2e; }
.dot.green { background-color: #27c93f; }

.browser-address {
  font-size: 0.75rem;
  color: var(--text-secondary);
  background-color: var(--color-white);
  border: 1px solid var(--color-stroke-light);
  padding: 0.2rem 1.5rem;
  border-radius: var(--radius-sm);
  flex-grow: 1;
  text-align: center;
  font-family: var(--font-body);
  letter-spacing: 0.2px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Video Wrapper */
.video-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0c0c0c;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.video-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.video-container:hover .video-thumbnail {
  transform: scale(1.03);
}

/* Glassmorphic Play Trigger */
.play-overlay {
  position: absolute;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  transition: opacity var(--transition-normal);
}

.play-trigger-btn {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1.5px solid rgba(255, 255, 255, 0.4);
  color: var(--color-white);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 5px; /* offset alignment for play arrow */
  cursor: pointer;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition-fast), background-color var(--transition-fast);
  position: relative;
  z-index: 6;
}

.play-trigger-btn:hover {
  transform: scale(1.1);
  background-color: rgba(255, 255, 255, 0.35);
}

.play-pulse {
  position: absolute;
  width: 68px;
  height: 68px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(255, 255, 255, 0.3);
  animation: playPulse 2s infinite ease-out;
  pointer-events: none;
  z-index: 4;
}

@keyframes playPulse {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.7); opacity: 0; }
}

/* Mock Controls Layer (hidden by default, shown on play hover) */
.video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: linear-gradient(transparent, rgba(0,0,0,0.85));
  padding: 1.25rem 1rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity var(--transition-normal), transform var(--transition-normal);
  z-index: 10;
}

.video-container.playing .video-controls {
  opacity: 1;
  transform: translateY(0);
}

.video-container.playing .play-overlay {
  opacity: 0;
  pointer-events: none;
}

.control-btn {
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 0.9rem;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity var(--transition-fast);
  padding: 0.25rem;
}

.control-btn:hover {
  opacity: 1;
}

.progress-bar-container {
  flex-grow: 1;
  padding: 0.5rem 0;
  cursor: pointer;
}

.progress-bar-bg {
  height: 4px;
  background-color: rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-full);
  overflow: hidden;
  position: relative;
}

.progress-bar-fill {
  width: 15%;
  height: 100%;
  background-color: var(--color-white);
  border-radius: var(--radius-full);
}

.time-display {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.8);
  font-family: var(--font-body);
}

/* --- Mobile Nav Drawer --- */
.mobile-nav-drawer {
  display: none;
  position: absolute;
  top: calc(100% - 0.5rem);
  left: 4%;
  width: 92%;
  background-color: rgba(255, 255, 255, 0.85); /* Elegant glass translucent background */
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(33, 30, 29, 0.08);
  border-radius: 16px;
  flex-direction: column;
  padding: 1.5rem;
  gap: 1.25rem;
  box-shadow: 0 15px 40px rgba(33, 30, 29, 0.08);
  z-index: 99;
  pointer-events: auto; /* enable interactions inside the drawer */
}

.mobile-nav-link {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--text-secondary);
  text-decoration: none;
  padding: 0.25rem 0;
  transition: color var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--text-primary);
}

.mobile-nav-cta {
  display: block;
  text-align: center;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.75rem;
  border-radius: 12px;
  margin-top: 0.25rem;
  transition: all var(--transition-fast);
}

.mobile-nav-cta.secondary-cta {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid rgba(33, 30, 29, 0.15);
}

.mobile-nav-cta.secondary-cta:hover {
  background-color: rgba(33, 30, 29, 0.03);
}

.mobile-nav-cta.primary-cta {
  background-color: #ffd88f;
  color: var(--text-primary);
  border: 1px solid #ffd88f;
  box-shadow: 0 2px 4px rgba(255, 216, 143, 0.2);
}

.mobile-nav-cta.primary-cta:hover {
  background-color: #ffcc66;
  border-color: #ffcc66;
}

/* --- Responsive Media Queries --- */
@media (max-width: 1024px) {
  .hero-container {
    gap: 2.5rem;
  }
}

@media (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 4rem;
  }
  
  .hero-text-content {
    align-items: center;
  }
  
  .hero-subtitle {
    margin: 0 auto;
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .video-mockup-wrapper {
    max-width: 580px;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }
  
  .primary-btn-header, .secondary-btn-header {
    display: none;
  }
  
  .mobile-menu-toggle {
    display: block;
  }
  
  .header {
    padding: 1rem 0 0.5rem;
  }
  
  .nav-container {
    padding: 0.75rem 1.25rem;
  }
  
  .mobile-nav-drawer.active {
    display: flex;
  }
  
  .hero-section {
    padding-top: 8rem;
    padding-bottom: 4rem;
  }
  
  .hero-title {
    font-size: 2.35rem;
    line-height: 1.2;
    letter-spacing: -1px;
  }
}

@media (max-width: 480px) {
  .hero-buttons {
    flex-direction: column;
    align-self: stretch;
    gap: 0.85rem;
  }
  
  .hero-buttons .primary-button,
  .hero-buttons .secondary-button {
    width: 100%;
  }
}

/* --- Scroll Reveal Section --- */
.scroll-reveal-pin-wrapper {
  position: relative;
  height: 300vh; /* Scroll track height to control pin duration */
}

.scroll-reveal-section {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--bg-primary);
  overflow: hidden;
  z-index: 10;
  box-sizing: border-box;
}

.scroll-reveal-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2rem;
}

.scroll-icon-wrapper {
  width: 42px;
  height: 42px;
  border: 1.5px solid var(--text-primary);
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: 2rem;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.scroll-icon-wrapper::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 50px;
  background: linear-gradient(var(--text-primary), rgba(33, 30, 29, 0.02));
  opacity: 0.15;
}

.scroll-reveal-text {
  font-family: var(--font-heading);
  font-size: clamp(1.8rem, 3.8vw, 2.9rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--text-primary);
  text-align: center;
  max-width: 980px;
  margin-top: 0.75rem;
}

.reveal-word {
  color: rgba(33, 30, 29, 0.12); /* Faded state */
  transition: color 0.15s ease;
  margin-right: 0.25em;
  display: inline-block;
}

@media (max-width: 768px) {
  .scroll-reveal-pin-wrapper {
    height: 250vh; /* Slightly shorter scroll track on mobile */
  }
  .scroll-reveal-section {
    padding: 0;
  }
  .scroll-icon-wrapper {
    margin-bottom: 1.5rem;
  }
  .scroll-icon-wrapper::after {
    height: 30px;
  }
}

/* --- Three-Step Process Section --- */
.process-section {
  padding: 10rem 0 10rem;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--color-stroke-light);
  position: relative;
  z-index: 10;
}

.process-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.process-container .trusted-badge {
  background-color: rgba(33, 30, 29, 0.04);
}

.section-title {
  font-size: clamp(2rem, 4.2vw, 3.2rem);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -1.2px;
  margin-top: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 600px;
  margin: 1.25rem auto 4.5rem;
}

/* Process Stack & Sticky Stacking Cards */
.process-stack {
  display: flex;
  flex-direction: column;
  gap: 6rem; /* Gap between cards before they scroll-stack */
  max-width: 1200px; /* Bigger width to feel premium and spacious */
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.process-card {
  border: 1px solid rgba(33, 30, 29, 0.05);
  border-radius: 36px;
  padding: 2.25rem; /* Outer border spacing showing the gradient */
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.25rem; /* spacing between columns */
  align-items: stretch; /* equal height */
  box-shadow: 0 30px 60px rgba(33, 30, 29, 0.08);
  position: sticky;
  top: 140px;
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

/* Progressive Sticky Stacking z-indices */
.process-card:nth-child(1) {
  z-index: 1;
}

.process-card:nth-child(2) {
  z-index: 2;
}

.process-card:nth-child(3) {
  z-index: 3;
}

.process-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 45px 90px rgba(33, 30, 29, 0.12), 0 0 0 1px rgba(33, 30, 29, 0.02);
}

.card-peach {
  background: linear-gradient(135deg, #ffeddf 0%, #ffd3cb 40%, #ffc0c7 80%, #f6e6ff 100%);
}
.card-peach:hover { border-color: rgba(199, 122, 69, 0.2); }

.card-mint {
  background: linear-gradient(135deg, #e5f3e5 0%, #d2ebd2 45%, #bce1e1 80%, #d4e7f5 100%);
}
.card-mint:hover { border-color: rgba(30, 112, 51, 0.2); }

.card-lavender {
  background: linear-gradient(135deg, #eee5f3 0%, #dfd2eb 45%, #c7d2ff 80%, #e0f2fe 100%);
}
.card-lavender:hover { border-color: rgba(124, 58, 145, 0.2); }

.card-text-side {
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 24px;
  padding: 3.5rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  box-sizing: border-box;
}

.card-mock-side {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
}

.card-step-num {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
  margin-bottom: 0.85rem;
}

.card-title {
  font-family: var(--font-heading);
  font-size: 2.15rem; /* Larger title font size */
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.8px;
}

.card-description {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.75rem;
}

/* Bullet benefits below description */
.card-benefits {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.card-benefits li {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.card-benefits li i {
  color: #be8e3e; /* Gold color checkmark matching Neura Nova style */
  font-size: 0.95rem;
}

/* Mock UI Widgets inside Cards (Refined to be clean and white like reference) */
.card-mock-ui {
  background-color: #ffffff;
  border-radius: 24px;
  padding: 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  border: 1px solid rgba(33, 30, 29, 0.03);
  width: 100%;
  height: 100%;
  justify-content: center;
  box-shadow: var(--shadow-sm);
  box-sizing: border-box;
}

/* Step 1 Mock: Templates list animation */
.templates-mock .mock-tag {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background-color: var(--color-white);
  border: 1px solid var(--color-stroke-light);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text-secondary);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.templates-mock .mock-tag i {
  font-size: 0.75rem;
  opacity: 0.8;
}

.templates-mock .mock-tag:nth-child(1) {
  animation: tag1Highlight 6s infinite ease-in-out;
}
.templates-mock .mock-tag:nth-child(2) {
  animation: tag2Highlight 6s infinite ease-in-out;
}
.templates-mock .mock-tag:nth-child(3) {
  animation: tag3Highlight 6s infinite ease-in-out;
}

@keyframes tag1Highlight {
  0%, 30% { background-color: #ffecdf; color: var(--text-primary); border-color: rgba(33, 30, 29, 0.15); transform: scale(1.02); }
  33.3%, 100% { background-color: var(--color-white); color: var(--text-secondary); border-color: var(--color-stroke-light); transform: scale(1); }
}

@keyframes tag2Highlight {
  0%, 30% { background-color: var(--color-white); color: var(--text-secondary); border-color: var(--color-stroke-light); transform: scale(1); }
  33.3%, 63.3% { background-color: #e5f3e5; color: var(--text-primary); border-color: rgba(33, 30, 29, 0.15); transform: scale(1.02); }
  66.6%, 100% { background-color: var(--color-white); color: var(--text-secondary); border-color: var(--color-stroke-light); transform: scale(1); }
}

@keyframes tag3Highlight {
  0%, 63.3% { background-color: var(--color-white); color: var(--text-secondary); border-color: var(--color-stroke-light); transform: scale(1); }
  66.6%, 96.6% { background-color: #eee5f3; color: var(--text-primary); border-color: rgba(33, 30, 29, 0.15); transform: scale(1.02); }
  100% { background-color: var(--color-white); color: var(--text-secondary); border-color: var(--color-stroke-light); transform: scale(1); }
}

/* Step 2 Mock: File Upload Box & Animation */
.upload-dropzone {
  border: 1.5px dashed var(--color-stroke);
  border-radius: var(--radius-sm);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px;
  font-size: 0.75rem;
  color: var(--text-secondary);
  gap: 5px;
  background-color: var(--bg-primary);
}

.upload-dropzone i {
  font-size: 1.1rem;
  opacity: 0.7;
}

.file-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 10px 14px;
  background-color: #e5f3e5;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  overflow: hidden;
}

.file-name {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.file-name i {
  color: #1b8535;
}

.file-status {
  font-size: 0;
}

.file-status::after {
  font-size: 0.72rem;
  content: '100%';
  animation: uploadStatusText 6s infinite steps(1);
}

.upload-progress-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: rgba(27, 133, 53, 0.1);
  overflow: hidden;
}

.upload-progress-fill {
  height: 100%;
  background-color: #1b8535;
  width: 0%;
  animation: uploadProgress 6s infinite ease-in-out;
}

@keyframes uploadProgress {
  0% { width: 0%; }
  60%, 100% { width: 100%; }
}

@keyframes uploadStatusText {
  0% { content: 'Uploading (15%)...'; color: var(--text-secondary); }
  20% { content: 'Uploading (50%)...'; color: var(--text-secondary); }
  45% { content: 'Uploading (85%)...'; color: var(--text-secondary); }
  60%, 100% { content: '100%'; color: #1b8535; }
}

/* Step 3 Mock: Successful Delivery Animation */
.delivery-status {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.status-label {
  font-size: 0;
}

.status-label::after {
  font-size: 0.8rem;
  font-weight: 600;
  content: 'Video Rendered Successfully';
  animation: deliveryStatusText 6s infinite steps(1);
}

.success-ring {
  width: 24px;
  height: 24px;
  border-radius: var(--radius-full);
  background-color: #e5f3e5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1b8535;
  font-size: 0.72rem;
  border: 1px solid rgba(27, 133, 53, 0.15);
  animation: successRingAnim 6s infinite ease-in-out;
}

.success-ring i {
  animation: successCheckmark 6s infinite ease-in-out;
}

.mock-btn {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius-sm);
  border: none;
  background-color: var(--color-dark);
  color: var(--color-white);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background-color var(--transition-fast);
  animation: deliveryButton 6s infinite ease-in-out;
}

.mock-btn:hover {
  background-color: var(--text-primary);
}

@keyframes deliveryStatusText {
  0%, 25% { content: 'Rendering video (45%)...'; }
  30%, 100% { content: 'Video Rendered Successfully'; }
}

@keyframes successRingAnim {
  0%, 25% { background-color: var(--bg-primary); border-color: var(--color-stroke-light); color: transparent; }
  30%, 100% { background-color: #e5f3e5; border-color: rgba(27, 133, 53, 0.15); color: #1b8535; }
}

@keyframes successCheckmark {
  0%, 25% { transform: scale(0); opacity: 0; }
  30%, 100% { transform: scale(1); opacity: 1; }
}

@keyframes deliveryButton {
  0%, 25% { opacity: 0.5; transform: scale(1); cursor: not-allowed; }
  30% { opacity: 1; transform: scale(1); cursor: pointer; }
  40%, 50% { transform: scale(1.03); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12); }
  60%, 100% { transform: scale(1); box-shadow: none; }
}

/* Responsive Processes */
@media (max-width: 990px) {
  .process-stack {
    gap: 2.5rem;
    max-width: 580px;
  }
  
  .process-card {
    position: relative !important;
    top: auto !important;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }

  .card-text-side {
    padding: 2.5rem 2rem;
  }

  .card-mock-ui {
    padding: 2.25rem 1.75rem;
  }
}

@media (max-width: 768px) {
  .process-section {
    padding: 6rem 0;
  }
  
  .section-subtitle {
    margin-bottom: 3rem;
  }
}

/* --- Video Templates Section --- */
.templates-section {
  padding: 10rem 0;
  background-color: var(--bg-primary);
  border-top: 1px solid var(--color-stroke-light);
  position: relative;
  z-index: 10;
}

.templates-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.templates-grid-two-column {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem 3.5rem;
  width: 100%;
  margin-top: 4.5rem;
  margin-bottom: 4rem;
  position: relative;
}

/* Vertical dotted separator line between columns */
.templates-grid-two-column::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  border-left: 2px dotted rgba(33, 30, 29, 0.12);
  transform: translateX(-50%);
  pointer-events: none;
}

.template-item {
  display: flex;
  flex-direction: column;
  text-align: left;
  position: relative;
  border-radius: 24px;
  padding: 2.25rem;
  border: 1px solid rgba(33, 30, 29, 0.04);
  box-shadow: 0 10px 30px rgba(33, 30, 29, 0.01);
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.template-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px -10px rgba(33, 30, 29, 0.08), 0 0 0 1px rgba(33, 30, 29, 0.02);
}

/* Card Background Colors (Elegant Pastels with soft glowing radial gradients) */
.bg-card-mint {
  background-color: #f3f9f4;
  background-image: radial-gradient(circle at bottom right, rgba(229, 243, 229, 0.5) 0%, transparent 80%);
}
.bg-card-mint:hover {
  border-color: rgba(30, 112, 51, 0.12);
}

.bg-card-lavender {
  background-color: #f6f1fb;
  background-image: radial-gradient(circle at bottom right, rgba(238, 229, 243, 0.5) 0%, transparent 80%);
}
.bg-card-lavender:hover {
  border-color: rgba(124, 58, 145, 0.12);
}

.bg-card-peach {
  background-color: #fdf5ef;
  background-image: radial-gradient(circle at bottom right, rgba(255, 236, 223, 0.5) 0%, transparent 80%);
}
.bg-card-peach:hover {
  border-color: rgba(199, 122, 69, 0.12);
}

.bg-card-blue {
  background-color: #f2f5fd;
  background-image: radial-gradient(circle at bottom right, rgba(232, 232, 255, 0.5) 0%, transparent 80%);
}
.bg-card-blue:hover {
  border-color: rgba(46, 59, 173, 0.12);
}

.template-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.template-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.template-icon {
  width: 20px;
  height: 20px;
  border-radius: 6px;
  flex-shrink: 0;
  display: inline-block;
}

.icon-mint { background-color: #e5f3e5; border: 1px solid rgba(30, 112, 51, 0.15); }
.icon-lavender { background-color: #eee5f3; border: 1px solid rgba(124, 58, 145, 0.15); }
.icon-peach { background-color: #ffecdf; border: 1px solid rgba(199, 122, 69, 0.15); }
.icon-blue { background-color: #e8e8ff; border: 1px solid rgba(46, 59, 173, 0.15); }

.template-name {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.3px;
}

.template-arrow {
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: transform var(--transition-normal), color var(--transition-normal);
}

.template-item:hover .template-arrow {
  transform: translateX(4px);
  color: var(--text-primary);
}

.template-description {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
  max-width: 100%;
}

.template-video-box {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-stroke-light);
  box-shadow: var(--shadow-sm);
  transition: border-color var(--transition-normal);
  cursor: pointer;
  margin-bottom: 1.75rem;
}

.template-item:hover .template-video-box {
  border-color: rgba(33, 30, 29, 0.15);
}

/* Browser Header top decoration */
.browser-header {
  position: absolute;
  top: 10px;
  left: 14px;
  display: flex;
  gap: 5px;
  z-index: 5;
}

.b-dot {
  width: 6px;
  height: 6px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.4);
}

/* Gradients representing modern SaaS platforms */
.t-grad-1 { background: linear-gradient(135deg, #ff8a00 0%, #da1b60 100%); }
.t-grad-2 { background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%); }
.t-grad-3 { background: linear-gradient(135deg, #7F00FF 0%, #E100FF 100%); }
.t-grad-4 { background: linear-gradient(135deg, #00c6ff 0%, #0072ff 100%); }
.t-grad-5 { background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%); }
.t-grad-6 { background: linear-gradient(135deg, #3a7bd5 0%, #3a6073 100%); }
.t-grad-7 { background: linear-gradient(135deg, #1d976c 0%, #93f9b9 100%); }
.t-grad-8 { background: linear-gradient(135deg, #f80759 0%, #bc4e9c 100%); }

/* SaaS UI Mock elements inside browser preview */
.template-ui-mock {
  width: 76%;
  height: 62%;
  background: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255, 255, 255, 0.4);
  position: relative;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform var(--transition-normal);
}

.template-item:hover .template-ui-mock {
  transform: scale(1.04) translateY(-2px);
}

/* Chart circle for template 1 */
.mock-chart-donut {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-full);
  border: 5px solid rgba(255, 255, 255, 0.8);
  border-top-color: #da1b60;
  align-self: center;
}

.mock-lines {
  display: flex;
  flex-direction: column;
  gap: 4px;
  width: 100%;
}

.mock-lines span {
  height: 4px;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.6);
  width: 85%;
}

.mock-lines span:last-child {
  width: 50%;
}

/* Sidebar mock for template 2 */
.mock-sidebar {
  width: 22%;
  height: 100%;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
  background-color: rgba(255, 255, 255, 0.15);
  position: absolute;
  left: 0;
  top: 0;
}

.mock-onboarding-steps {
  margin-left: 28%;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mock-onboarding-steps span {
  height: 5px;
  border-radius: var(--radius-sm);
  background-color: rgba(255, 255, 255, 0.7);
  width: 75%;
}

.mock-onboarding-steps span:first-child {
  background-color: #ffffff;
  border-left: 3px solid #11998e;
  padding-left: 4px;
}

/* Alert popup for template 3 */
.mock-alert-popup {
  width: 70%;
  height: 28px;
  border-radius: var(--radius-sm);
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.5);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.mock-glow-feature {
  width: 14px;
  height: 14px;
  border-radius: var(--radius-full);
  background: #E100FF;
  filter: blur(4px);
  position: absolute;
  right: 10px;
  top: 10px;
}

/* Integrations connector node for template 4 */
.mock-integration-node {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-full);
  background: rgba(255, 255, 255, 0.9);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.mock-integration-node::before {
  content: '\f0c1';
  font-family: 'Font Awesome 6 Free';
  font-weight: 900;
  font-size: 0.75rem;
  color: #0072ff;
}

/* Testimonial card layout for template 5 */
.mock-testimonial-card {
  width: 90%;
  height: 80%;
  align-self: center;
  background: #ffffff;
  border-radius: var(--radius-sm);
  padding: 6px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.mock-testimonial-card::before {
  content: '“';
  font-family: var(--font-heading);
  font-size: 1.4rem;
  line-height: 1;
  color: #ff5e62;
  display: block;
}

/* Editor timeline for template 6 */
.mock-editor-timeline {
  height: 14px;
  width: 90%;
  background: rgba(255, 255, 255, 0.3);
  position: absolute;
  bottom: 8px;
  border-radius: 3px;
  left: 5%;
  overflow: hidden;
}

.mock-editor-timeline::after {
  content: '';
  width: 55%;
  height: 100%;
  background: #ffffff;
  display: block;
  border-radius: 3px;
}

/* Api editor endpoints for template 7 */
.mock-api-endpoints {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-family: monospace;
}

.mock-api-endpoints::before {
  content: 'GET /v1/users';
  font-size: 0.55rem;
  color: #ffffff;
  background: rgba(0,0,0,0.15);
  padding: 2px 4px;
  border-radius: 2px;
  display: inline-block;
  width: fit-content;
}

/* Line chart metric for template 8 */
.mock-retention-metrics {
  width: 90%;
  height: 80%;
  border-bottom: 2px solid rgba(255, 255, 255, 0.8);
  border-left: 2px solid rgba(255, 255, 255, 0.8);
  position: relative;
  align-self: center;
}

.mock-retention-metrics::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 18px;
  border-top: 2px solid #ffffff;
  transform: skewY(-15deg);
}

/* Play button overlay */
.template-play-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  color: var(--color-white);
  font-size: 1.05rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-left: 3px; /* offset play icon */
  opacity: 0;
  transform: scale(0.85);
  transition: opacity var(--transition-fast), transform var(--transition-fast), background-color var(--transition-fast);
  z-index: 6;
}

.template-video-box:hover .template-play-btn {
  opacity: 1;
  transform: scale(1);
}

.template-play-btn:hover {
  background-color: rgba(255, 255, 255, 0.45);
}

.template-duration {
  position: absolute;
  bottom: 10px;
  right: 12px;
  padding: 3px 6px;
  border-radius: 4px;
  background: rgba(33, 30, 29, 0.7);
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 600;
  z-index: 5;
}

/* --- Pricing Section --- */
.pricing-section {
  padding: 10rem 0;
  background-color: var(--bg-secondary);
  border-top: 1px solid var(--color-stroke-light);
  position: relative;
  z-index: 10;
}

.pricing-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.pricing-card-wrapper {
  width: 100%;
  max-width: 540px; /* Centered, single card width */
  margin-top: 4rem;
}

.pricing-card {
  border-radius: 32px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(33, 30, 29, 0.08);
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 45px 90px rgba(33, 30, 29, 0.12), 0 0 0 1px rgba(33, 30, 29, 0.02);
}

/* Featured Dark Premium Card background */
.pricing-card.featured {
  background-color: #211e1d; /* Charcoal dark background for the whole card */
  border-color: rgba(255, 255, 255, 0.06);
}

.pricing-card.featured .pricing-card-top {
  background-color: transparent;
  padding: 3.5rem 3.5rem 2.5rem;
  text-align: left;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.plan-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.plan-emoji {
  font-size: 1.25rem;
}

.plan-name {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffd88f; /* Warm accent matching Splay theme */
}

.plan-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.price-value {
  font-size: 4rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -1.5px;
  line-height: 1;
  margin-bottom: 2rem;
  display: flex;
  align-items: baseline;
}

.price-currency {
  font-size: 2.25rem;
  font-weight: 600;
  margin-right: 2px;
}

.price-period {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-left: 0.5rem;
  letter-spacing: normal;
}

/* CTA Button inside Card */
.pricing-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1.15rem;
  background-color: #ffd88f; /* warm yellow */
  color: #211e1d;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: var(--radius-lg);
  border: 1px solid #ffd88f;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 15px rgba(255, 216, 143, 0.15);
  text-align: center;
}

.pricing-cta-button:hover {
  background-color: #ffcc66;
  border-color: #ffcc66;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 204, 102, 0.35);
}

/* Features Bottom Part (Nested white card style like reference) */
.pricing-card-bottom {
  background-color: #ffffff;
  padding: 3rem 3.5rem;
  margin: 0 1.5rem 1.5rem 1.5rem;
  border-radius: 20px;
  text-align: left;
}

.pricing-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.pricing-features li {
  font-size: 0.95rem;
  color: var(--text-secondary);
  font-weight: 500;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  line-height: 1.4;
}

.pricing-features li i {
  color: #211e1d; /* Black checkmarks matching the reference */
  font-size: 1.1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

@media (max-width: 580px) {
  .pricing-card.featured .pricing-card-top {
    padding: 2.5rem 1.75rem 2rem;
  }
  .pricing-card-bottom {
    padding: 2rem 1.75rem;
    margin: 0 1rem 1rem 1rem;
    border-radius: 16px;
  }
  .price-value {
    font-size: 3.25rem;
  }
}

/* --- CTA Banner Section --- */
.cta-section {
  padding: 8rem 0 10rem;
  background-color: var(--bg-primary);
  position: relative;
  z-index: 10;
  overflow: hidden;
}

.cta-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.cta-card {
  background: linear-gradient(135deg, rgba(255, 236, 223, 0.45) 0%, rgba(238, 229, 243, 0.45) 50%, rgba(229, 243, 229, 0.35) 100%);
  border: 1px solid rgba(33, 30, 29, 0.08);
  border-radius: 32px;
  padding: 5rem 5.5rem;
  box-shadow: var(--shadow-lg);
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  gap: 4.5rem;
  align-items: center;
}

/* Internal smooth blur glow */
.cta-glow {
  position: absolute;
  top: -20%;
  right: -20%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(193, 143, 255, 0.18) 0%, rgba(255, 169, 171, 0.08) 60%, transparent 100%);
  filter: blur(80px);
  z-index: 1;
  pointer-events: none;
}

.cta-text-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  position: relative;
  z-index: 5;
}

.cta-title {
  font-size: clamp(1.8rem, 3.8vw, 3rem);
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text-primary);
  letter-spacing: -1.2px;
  margin: 1.25rem 0 1rem;
}

.cta-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Right-side Integrations Graphic */
.cta-graphic-side {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 5;
}

.cta-graphic-wrapper {
  position: relative;
  width: 330px;
  height: 330px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-avatar-wrapper {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-full);
  border: 4px solid var(--color-white);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  position: relative;
  z-index: 10;
  background-color: var(--bg-secondary);
}

.cta-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Concentric circular guide rings */
.cta-ring {
  position: absolute;
  border-radius: var(--radius-full);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.cta-ring-1 {
  width: 170px;
  height: 170px;
  border: 1px dashed rgba(33, 30, 29, 0.08);
}

.cta-ring-2 {
  width: 250px;
  height: 250px;
  border: 1px solid rgba(33, 30, 29, 0.05);
}

.cta-ring-3 {
  width: 330px;
  height: 330px;
  border: 1px dashed rgba(33, 30, 29, 0.03);
}

/* Floating Brand Circles */
.cta-float-icon {
  position: absolute;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border: 2px solid var(--color-white);
  z-index: 8;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.cta-float-icon:hover {
  transform: scale(1.12) translateY(-3px) !important;
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Precise Placement of Floating Icons based on Ring Radii */
.icon-slack {
  /* top-left on outer ring */
  top: 65px;
  left: 32px;
  background-color: #4a154b;
  animation: floatSlack 7s infinite ease-in-out alternate;
}

.icon-figma {
  /* top-center on outer ring */
  top: 10px;
  left: 146px;
  background-color: #f24e1e;
  animation: floatFigma 6s infinite ease-in-out alternate;
}

.icon-hubspot {
  /* top-right on outer ring */
  top: 65px;
  right: 32px;
  background-color: #ff7a59;
  animation: floatHubspot 8s infinite ease-in-out alternate;
}

.icon-stripe {
  /* bottom-left on inner ring */
  bottom: 80px;
  left: 30px;
  background-color: #635bff;
  animation: floatStripe 6.5s infinite ease-in-out alternate;
}

.icon-youtube {
  /* bottom-right on inner ring */
  bottom: 80px;
  right: 30px;
  background-color: #ff0000;
  animation: floatYoutube 7.5s infinite ease-in-out alternate;
}

/* Floating keyframe animations to give a organic tech feel */
@keyframes floatSlack {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-4px, -6px); }
}
@keyframes floatFigma {
  0% { transform: translate(0, 0); }
  100% { transform: translate(6px, -4px); }
}
@keyframes floatHubspot {
  0% { transform: translate(0, 0); }
  100% { transform: translate(4px, -8px); }
}
@keyframes floatStripe {
  0% { transform: translate(0, 0); }
  100% { transform: translate(-6px, 4px); }
}
@keyframes floatYoutube {
  0% { transform: translate(0, 0); }
  100% { transform: translate(6px, 6px); }
}

/* --- Responsive Layout Adjustments --- */
@media (max-width: 990px) {
  .templates-grid-two-column {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
  
  .templates-grid-two-column::after {
    display: none;
  }

  .template-description {
    max-width: 100%;
  }

  /* Collapse CTA banner */
  .cta-card {
    grid-template-columns: 1fr;
    padding: 4rem 3.5rem;
    gap: 3.5rem;
    text-align: center;
  }

  .cta-text-side {
    align-items: center;
    text-align: center;
  }

  .cta-subtitle {
    max-width: 100%;
  }
}

@media (max-width: 768px) {
  .templates-section {
    padding: 6rem 0;
  }
  
  .templates-grid-two-column {
    margin-top: 3rem;
    margin-bottom: 3rem;
  }

  .pricing-section {
    padding: 6rem 0;
  }

  .cta-section {
    padding: 6rem 0 8rem;
  }
  
  .cta-card {
    padding: 3.5rem 2rem;
  }
}

@media (max-width: 520px) {
  .templates-grid-two-column {
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
  }
  
  .template-item {
    padding: 1.5rem;
  }

  .cta-buttons {
    flex-direction: column;
    width: 100%;
    gap: 0.85rem;
  }

  .cta-buttons .primary-button,
  .cta-buttons .secondary-button {
    width: 100%;
  }

  /* Scale down concentric rings graphic to fit mobile screen */
  .cta-graphic-wrapper {
    transform: scale(0.8);
  }
}


/* --- Footer Section --- */
.footer-section {
  padding: 0 0 5rem 0;
  background-color: var(--bg-primary);
  position: relative;
  z-index: 10;
}

.footer-container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 2rem;
}

.footer-card {
  background-color: #181615; /* Deep rich charcoal/black background */
  color: #ffffff;
  border-radius: 32px;
  padding: 5rem 5rem 3.5rem 5rem;
  border: 1px solid rgba(255, 255, 255, 0.05);
  box-shadow: var(--shadow-lg);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.15fr 1.25fr;
  gap: 5rem;
}

/* Left Brand Column */
.footer-brand-side {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--font-body);
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
  letter-spacing: -0.5px;
  margin-bottom: 1.5rem;
}

.footer-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
}

.footer-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 2.5rem;
  max-width: 380px;
  font-weight: 400;
}

.footer-newsletter-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #ffffff;
  margin-bottom: 1rem;
}

.footer-newsletter-wrapper {
  width: 100%;
  max-width: 420px;
}

.footer-newsletter-form {
  display: flex;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 6px 6px 6px 20px;
  border-radius: 100px;
  width: 100%;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.footer-newsletter-form:focus-within {
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.02);
}

.footer-newsletter-input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffffff;
  font-size: 0.95rem;
  flex-grow: 1;
  padding-right: 12px;
  font-family: var(--font-body);
}

.footer-newsletter-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.footer-newsletter-submit {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background-color: #ffd88f; /* warm yellow */
  color: #211e1d;
  border: none;
  padding: 10px 10px 10px 22px;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 1.2px;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.footer-newsletter-submit:hover {
  background-color: #ffcc66;
  transform: translateY(-1px);
}

.submit-icon-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #211e1d;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffd88f;
  font-size: 0.8rem;
  transition: transform var(--transition-normal);
}

.submit-icon-circle i {
  transform: rotate(-45deg); /* Point top-right */
  display: inline-block;
  transition: transform var(--transition-normal);
}

.footer-newsletter-submit:hover .submit-icon-circle i {
  transform: rotate(-45deg) scale(1.1);
}

/* Right Links Column */
.footer-links-side {
  display: flex;
  justify-content: space-between;
  gap: 3rem;
}

.footer-links-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-column-title {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.45);
  text-transform: uppercase;
  letter-spacing: 1.2px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
}

.footer-links-list li a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-links-list li a:hover {
  color: #ffffff;
}

/* Divider Line */
.footer-divider {
  height: 1px;
  background-color: rgba(255, 255, 255, 0.08);
  margin: 4.5rem 0 2.5rem 0;
  width: 100%;
}

/* Bottom Bar */
.footer-bottom-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

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

.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.45);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Footer Media Queries */
@media (max-width: 990px) {
  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 4.5rem;
  }
  
  .footer-brand-side {
    max-width: 500px;
  }
}

@media (max-width: 768px) {
  .footer-section {
    padding: 0 0 3rem 0;
  }
  
  .footer-card {
    padding: 4rem 3rem 3rem 3rem;
    border-radius: 28px;
  }
  
  .footer-divider {
    margin: 3.5rem 0 2rem 0;
  }
  
  .footer-bottom-flex {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 1.5rem;
  }
  
  .footer-bottom-links {
    gap: 1.5rem;
  }
}

@media (max-width: 580px) {
  .footer-links-side {
    flex-wrap: wrap;
    gap: 3rem 2rem;
  }
  
  .footer-links-column {
    flex: 1 1 130px;
  }
  
  .footer-card {
    padding: 3.5rem 1.75rem 2.5rem 1.75rem;
  }
  
  .footer-newsletter-form {
    padding: 4px 4px 4px 16px;
  }
  
  .footer-newsletter-submit {
    padding: 8px 8px 8px 16px;
    font-size: 0.78rem;
  }
  
  .submit-icon-circle {
    width: 26px;
    height: 26px;
  }
}

/* --- Inline Template Videos --- */
.template-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  z-index: 1;
  transition: transform var(--transition-normal);
}

.template-item:hover .template-video {
  transform: scale(1.04);
}

.browser-header .b-dot:nth-child(1) { background-color: #ff5f56; }
.browser-header .b-dot:nth-child(2) { background-color: #ffbd2e; }
.browser-header .b-dot:nth-child(3) { background-color: #27c93f; }

/* --- Video Lightbox Modal --- */
.video-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-normal);
}

.video-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.video-modal-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(33, 30, 29, 0.45);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.video-modal-container {
  position: relative;
  width: 90%;
  max-width: 960px;
  z-index: 1001;
  transform: scale(0.95);
  transition: transform var(--transition-normal);
}

.video-modal.active .video-modal-container {
  transform: scale(1);
}

.video-modal-close {
  position: absolute;
  top: -55px;
  right: 0;
  background: none;
  border: none;
  color: var(--color-white);
  font-size: 1.35rem;
  cursor: pointer;
  opacity: 0.85;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: var(--radius-full);
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.video-modal-close:hover {
  opacity: 1;
  transform: rotate(90deg);
  background-color: rgba(255, 255, 255, 0.2);
}

.video-modal-player-wrapper {
  background-color: var(--color-white);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--color-stroke-light);
  display: flex;
  flex-direction: column;
}

.video-modal-content {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-color: #0c0c0c;
}

.video-modal-content video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

@media (max-width: 768px) {
  .video-modal-close {
    top: -45px;
    width: 32px;
    height: 32px;
    font-size: 1.1rem;
  }
}


