/* ==========================================================================
   DLYNSTUDIO /STUDIO - Ultra-Premium ClipsPal Exact Replica Redesign
   Extracted from: https://www.clipspal.com/
   ========================================================================== */

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

:root {
  /* Exact ClipsPal Palette (Compiled Tailwind Theme - Slightly Brighter Adjustments) */
  --bg-primary: #0a0908;         /* Warm charcoal espresso page BG (slightly brighter than #070605) */
  --bg-hero: #11100e;            /* Brighter warm charcoal for hero base */
  --bg-card: #141311;            /* Card BG and elevated containers (bg-canvas-raised) */
  --text-primary: #f5f1e8;       /* Warm paper off-white/cream (text-fg) */
  --text-secondary: #b4ae9f;     /* Warm muted gray/tan (text-fg-soft) */
  --text-tertiary: #726c60;      /* Darker warm gray captions/eyebrows (text-fg-mute) */
  
  --accent: #ef6a2f;             /* Bright Ember Orange/Copper (color-ember) */
  --accent-soft: #f5c9b5;        /* Soft Peach Highlight (color-ember-soft) */
  --border-rule: #2a2822;        /* Thin organic brown-charcoal borders (color-rule) */
  
  /* Exact Fonts */
  --font-serif: 'Instrument Serif', "Times New Roman", Georgia, serif;
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  
  /* Noise Overlay */
  --fx-noise: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='a'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.34' numOctaves='4' stitchTiles='stitch'%3E%3C/feTurbulence%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23a)' opacity='0.2'%3E%3C/rect%3E%3C/svg%3E");
  
  --transition-normal: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

html {
  scroll-behavior: smooth;
  background-color: var(--bg-primary);
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  position: relative;
}

/* Global noise overlay matching ClipsPal (slightly elevated opacity to add texture and subtle brightness) */
.noise-overlay {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.13; /* Elevated from 0.08 to 0.13 to add highlights and premium grain brightness */
  mix-blend-mode: screen;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='220' height='220'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 1  0 0 0 0 0.95  0 0 0 0 0.85  0 0 0 0 0.55 0'/></filter><rect width='100%' height='100%' filter='url(%23n)'/></svg>");
  z-index: 999;
}

img, video {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ==========================================================================
   NAVIGATION (Sticky to the absolute top, slimmed down layout)
   ========================================================================== */

.header {
  position: sticky;
  top: 0; /* sticky to very top since promo is removed */
  left: 0;
  right: 0;
  padding: 11px 0; /* slimmed down from 16px to make it sleeker */
  background-color: rgba(12, 11, 10, 0.75);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(42, 40, 34, 0.8);
  z-index: 900;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 26px;
  height: 26px;
  border-radius: 6px;
}

/* Capsule "See plans" button */
.header-btn {
  background-color: rgba(20, 19, 17, 0.6);
  border: 1px solid rgba(245, 241, 232, 0.15);
  color: var(--text-primary);
  padding: 8px 18px;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  backdrop-filter: blur(4px);
  transition: var(--transition-fast);
}

.header-btn:hover {
  border-color: rgba(245, 241, 232, 0.3);
  background-color: var(--bg-card);
  transform: translateY(-0.5px);
}

/* ==========================================================================
   HERO SECTION (Shifted upwards with a slightly brighter center gradient glow)
   ========================================================================== */

.hero {
  position: relative;
  padding-top: 80px; /* Reduced from 120px to shift all hero text/elements upwards */
  padding-bottom: 80px;
  text-align: center;
  background: radial-gradient(circle at 50% 25%, #151311 0%, #0c0b0a 100%); /* Slightly brighter warm centered glow */
}

.eyebrow-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(239, 106, 47, 0.3);
  background-color: rgba(239, 106, 47, 0.1);
  color: var(--text-secondary);
  padding: 6px 16px;
  border-radius: 9999px;
  font-family: monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 40px;
  backdrop-filter: blur(4px);
}

.eyebrow-ping {
  position: relative;
  display: flex;
  width: 6px;
  height: 6px;
}

.eyebrow-ping-active {
  position: absolute;
  display: inline-flex;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: rgba(239, 106, 47, 0.6);
  animation: ping 1.2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.eyebrow-ping-dot {
  position: relative;
  display: inline-flex;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 10px rgba(239, 106, 47, 0.8);
}

@keyframes ping {
  75%, 100% {
    transform: scale(2.5);
    opacity: 0;
  }
}

/* Exact typography breakpoints scale to avoid oversized text */
.hero-heading {
  font-family: var(--font-serif);
  font-size: 2.25rem; /* text-4xl (36px) on mobile */
  font-weight: 400;
  line-height: 1.02;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin-bottom: 28px;
  max-width: 25ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .hero-heading {
    font-size: 3rem; /* text-5xl (48px) on tablet */
  }
}

@media (min-width: 768px) {
  .hero-heading {
    font-size: 3.5rem; /* text-[3.5rem] (56px) on desktop exactly matching ClipsPal */
  }
}

.hero-heading .italic {
  font-style: italic;
}

.hero-heading .text-ember {
  color: var(--accent);
  margin-left: 4px;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 2.5vw, 1.15rem);
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto 48px;
  line-height: 1.65;
}

/* See pricing CTA with ember shadow and circle arrow */
.cta-pricing {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  background-color: var(--text-primary);
  color: var(--bg-primary);
  padding: 8px 8px 8px 28px;
  border-radius: 9999px;
  font-size: 15px;
  font-weight: 500;
  letter-spacing: -0.01em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 20px 55px -18px rgba(239, 106, 47, 0.35);
  transition: var(--transition-normal);
}

.cta-pricing:hover {
  background-color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 28px 70px -16px rgba(239, 106, 47, 0.55);
}

.cta-pricing-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  border-radius: 50%;
  transition: var(--transition-normal);
}

.cta-pricing-arrow svg {
  width: 16px;
  height: 16px;
  transition: transform 0.5s ease-out;
}

.cta-pricing:hover .cta-pricing-arrow {
  background-color: var(--accent);
  color: var(--text-primary);
}

.cta-pricing:hover .cta-pricing-arrow svg {
  transform: translateY(-2px) translateX(2px) rotate(-45deg);
}

/* Centered Dashboard Showcase Preview */
.hero-dashboard-container {
  margin-top: 80px;
  max-width: 1040px;
  margin-left: auto;
  margin-right: auto;
}

.hero-dashboard-container img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   SHARED SECTIONS (Solid deep near-black background matching second image)
   ========================================================================== */

.section {
  padding: 96px 0;
  border-top: 1px solid rgba(42, 40, 34, 0.8);
  background-color: var(--bg-primary); /* solid deep black #0a0908 */
}

/* Redesigned to have pure black background for video player section */
.section-bg {
  background-color: var(--bg-primary); /* solid deep black #0a0908 */
}

/* Stylized section eyebrow matching 01 / How it works */
.section-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  font-family: monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-tertiary);
  margin-bottom: 32px;
}

.section-eyebrow-line {
  height: 1px;
  width: 40px;
  background-color: var(--border-rule);
}

.section-eyebrow-inner {
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-eyebrow-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: var(--accent);
  box-shadow: 0 0 8px rgba(239, 106, 47, 0.6);
}

.section-eyebrow-number {
  color: var(--text-secondary);
}

.section-eyebrow-sep {
  opacity: 0.6;
}

/* Replicated typographic scale for H2 */
.section-heading {
  font-family: var(--font-serif);
  font-size: 2.25rem; /* text-4xl (36px) on mobile */
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.02em;
  text-align: center;
  color: var(--text-primary);
  margin-bottom: 16px;
  max-width: 25ch;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .section-heading {
    font-size: 3rem; /* text-5xl (48px) on tablet and desktop matching second image */
  }
}

.section-heading .italic {
  font-style: italic;
}

.section-heading .text-ember {
  color: var(--accent);
  margin-left: 4px;
}

.section-subtitle {
  font-size: 0.95rem;
  color: var(--text-secondary);
  max-width: 60ch;
  margin: 0 auto 56px;
  text-align: center;
  line-height: 1.6;
}

/* ==========================================================================
   VIDEO SECTION
   ========================================================================== */

.video-frame-container {
  max-width: 960px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(42, 40, 34, 0.8);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 1px rgba(245, 241, 232, 0.03) inset, 0 30px 70px -30px rgba(0, 0, 0, 0.8);
  position: relative;
}

.video-skeleton {
  position: absolute;
  inset: 0;
  background-color: var(--bg-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  z-index: 10;
}

.skeleton-spinner {
  width: 44px;
  height: 44px;
  border: 3px solid rgba(239, 106, 47, 0.1);
  border-top-color: var(--accent);
  border-radius: 50%;
  animation: spinner 0.8s linear infinite;
}

@keyframes spinner {
  to { transform: rotate(360deg); }
}

.skeleton-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

/* ==========================================================================
   UNLIMITED POSSIBILITIES VIDEO
   ========================================================================== */

.possibilities-video-wrapper {
  max-width: 720px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(42, 40, 34, 0.8);
  background-color: var(--bg-card);
  box-shadow: 0 0 0 1px rgba(245, 241, 232, 0.03) inset, 0 30px 70px -30px rgba(0, 0, 0, 0.8);
}

.possibilities-video-wrapper video {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   HOW IT WORKS STEP GRID
   ========================================================================== */

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.step-card {
  display: flex;
  flex-direction: column;
  background-color: rgba(20, 19, 17, 0.5);
  border: 1px solid rgba(42, 40, 34, 0.8);
  border-radius: 16px;
  padding: 28px;
  transition: var(--transition-normal);
}

.step-card:hover {
  background-color: rgba(20, 19, 17, 0.8);
  border-color: rgba(245, 241, 232, 0.12);
}

.step-num {
  font-family: var(--font-serif);
  font-size: 2.25rem;
  line-height: 1;
  color: rgba(239, 106, 47, 0.8);
}

.step-title {
  margin-top: 24px;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.step-desc {
  margin-top: 12px;
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
}

/* 3-column steps variant */
.steps-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

/* ==========================================================================
   AI PHOTOSHOOT RESULTS GALLERY
   ========================================================================== */

.results-section {
  background-color: #000000;
}

.results-gallery-container {
  position: relative;
  width: 100%;
}

.results-gallery-scroll {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 24px 32px;
  margin: 0 -24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.results-gallery-scroll::-webkit-scrollbar {
  display: none;
}

.results-gallery-item {
  flex: 0 0 clamp(320px, 85vw, 920px);
  scroll-snap-align: center;
  overflow: hidden;
  transition: var(--transition-normal);
}

.results-gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.results-gallery-item:hover {
  transform: translateY(-3px);
}

/* Results Navigation Arrows */
.results-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background-color: rgba(20, 19, 17, 0.75);
  border: 1px solid rgba(245, 241, 232, 0.15);
  color: var(--text-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  cursor: pointer;
  transition: var(--transition-fast);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.results-nav:hover {
  background-color: rgba(20, 19, 17, 0.95);
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-50%) scale(1.05);
}

.results-prev {
  left: 12px;
}

.results-next {
  right: 12px;
}

.results-nav svg {
  width: 22px;
  height: 22px;
}

/* Category Pills Row + Infinite Loop Marquee */
.categories-marquee-section {
  margin-top: 64px;
  text-align: center;
}

.categories-eyebrow {
  font-family: monospace;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  color: var(--text-tertiary);
  margin-bottom: 24px;
}

.marquee-mask {
  position: relative;
  overflow: hidden;
  width: 100%;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 12%, #000 88%, transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  gap: 12px;
  animation: marquee 30s linear infinite;
}

.marquee-mask:hover .marquee-track {
  animation-play-state: paused;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.cat-pill {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 10px;
  background-color: rgba(20, 19, 17, 0.5);
  border: 1px solid rgba(42, 40, 34, 0.8);
  border-radius: 9999px;
  padding: 8px 16px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  cursor: default;
}

.cat-pill-dot {
  width: 4px;
  height: 4px;
  background-color: var(--accent);
  border-radius: 50%;
  opacity: 0.6;
}

.cat-pill:hover {
  background-color: rgba(20, 19, 17, 0.9);
  border-color: rgba(245, 241, 232, 0.2);
  color: var(--text-primary);
}

.cat-pill:hover .cat-pill-dot {
  opacity: 1;
  transform: scale(1.3);
}

/* ==========================================================================
   COMPARISON SECTION
   ========================================================================== */

.compare-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}

.compare-card {
  position: relative;
  background-color: rgba(20, 19, 17, 0.5);
  border: 1px solid rgba(42, 40, 34, 0.8);
  border-radius: 16px;
  padding: 40px;
  transition: var(--transition-normal);
}

.compare-card:hover {
  background-color: rgba(20, 19, 17, 0.8);
  border-color: rgba(245, 241, 232, 0.12);
}

/* Featured glow matching ClipsPal featured card pricing style */
.compare-card.featured-glow {
  border-color: rgba(239, 106, 47, 0.4);
  background-color: var(--bg-card);
  box-shadow: inset 0 1px 0 rgba(245, 241, 232, 0.05), 0 30px 70px -30px rgba(239, 106, 47, 0.35);
}

/* Radial orange glow highlight at the top-left */
.compare-card-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.9;
  background-image: radial-gradient(45% 60% at 0% 0%, rgba(239, 106, 47, 0.18) 0%, rgba(239, 106, 47, 0) 60%);
}

.compare-card-title {
  position: relative;
  font-size: 1.35rem;
  font-weight: 600;
  margin-bottom: 28px;
  color: var(--text-primary);
  z-index: 2;
}

.compare-card.featured-glow .compare-card-title {
  color: var(--accent-soft);
  font-style: italic;
  font-family: var(--font-serif);
}

.compare-list {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 2;
}

.compare-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.compare-item-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.6rem;
  font-weight: 700;
}

.compare-item-icon.neg {
  background-color: rgba(224, 92, 92, 0.1);
  color: #e05c5c;
  border: 1px solid rgba(224, 92, 92, 0.15);
}

.compare-item-icon.pos {
  background-color: rgba(239, 106, 47, 0.12);
  color: var(--accent);
  border: 1px solid rgba(239, 106, 47, 0.2);
}

.compare-item-text strong {
  color: var(--text-primary);
  font-weight: 600;
}

/* ==========================================================================
   HORIZONTAL SCROLL GALLERY
   ========================================================================== */

#gallery .section-subtitle {
  margin-bottom: 24px;
}

.gallery-container {
  position: relative;
  width: 100%;
}

.gallery-scroll {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 24px 32px;
  margin: 0 -24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.gallery-scroll::-webkit-scrollbar {
  display: none;
}

.gallery-item {
  flex: 0 0 clamp(320px, 85vw, 920px);
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  background: transparent;
  border: none;
  box-shadow: none;
  transition: var(--transition-normal);
}

.gallery-item img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  border-radius: 12px;
  transition: var(--transition-normal);
}

.gallery-item:hover {
  transform: translateY(-4px);
}

.gallery-item:hover img {
  transform: scale(1.02);
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 28px;
  max-width: 520px;
  margin: 0 auto;
}

.price-card {
  position: relative;
  background-color: rgba(20, 19, 17, 0.5);
  border: 1px solid rgba(42, 40, 34, 0.8);
  border-radius: 24px;
  padding: 40px;
  transition: var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.price-card:hover {
  background-color: rgba(20, 19, 17, 0.75);
  border-color: rgba(245, 241, 232, 0.12);
}

/* Featured Price card gradients and orange shadows exactly matching ClipsPal */
.price-card.featured {
  border-color: rgba(239, 106, 47, 0.4);
  background-color: var(--bg-card);
  box-shadow: inset 0 1px 0 rgba(245, 241, 232, 0.05), 0 30px 70px -30px rgba(239, 106, 47, 0.35);
}

.price-card-glow {
  pointer-events: none;
  position: absolute;
  inset: 0;
  opacity: 0.9;
  border-radius: 24px;
  background-image: radial-gradient(45% 60% at 0% 0%, rgba(239, 106, 47, 0.18) 0%, rgba(239, 106, 47, 0) 60%);
}

.price-card-header {
  position: relative;
  z-index: 2;
}

.price-card-header-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.price-card-name {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.price-badge {
  display: inline-block;
  padding: 2px 8px;
  border: 1px solid rgba(239, 106, 47, 0.3);
  background-color: rgba(239, 106, 47, 0.10);
  border-radius: 9999px;
  font-family: monospace;
  font-size: 9px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--accent-soft);
}

.price-amount-row {
  position: relative;
  display: flex;
  align-items: baseline;
  gap: 4px;
  margin-top: 24px;
  z-index: 2;
}

.price-currency {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  font-weight: 400;
  color: var(--text-primary);
}

.price-value {
  font-family: var(--font-sans);
  font-size: 2.75rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text-primary);
  letter-spacing: -0.03em;
}

.price-period {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  margin-left: 2px;
}

.price-note {
  position: relative;
  font-size: 0.88rem;
  color: var(--text-tertiary);
  margin-top: 12px;
  margin-bottom: 32px;
  z-index: 2;
}

.price-features {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  flex-grow: 1;
  z-index: 2;
}

.price-feat {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.feat-check {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background-color: rgba(239, 106, 47, 0.1);
  color: var(--accent);
  border: 1px solid rgba(239, 106, 47, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
  margin-top: 1px;
}

.feat-bonus {
  color: var(--accent-soft);
  font-weight: 600;
}

/* Pricing Buttons */
.price-btn-container {
  position: relative;
  z-index: 2;
  margin-top: auto;
}

.price-btn {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 8px 8px 24px;
  border-radius: 9999px;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  transition: var(--transition-normal);
}

/* Standard card outline button */
.price-btn.btn-outline {
  border: 1px solid rgba(245, 241, 232, 0.15);
  color: var(--text-primary);
  background-color: var(--bg-card);
}

.price-btn.btn-outline:hover {
  border-color: rgba(245, 241, 232, 0.3);
  background-color: rgba(20, 19, 17, 0.80);
  transform: translateY(-1.5px);
}

/* Solid Featured CTA Button */
.price-btn.btn-solid {
  background-color: var(--text-primary);
  color: var(--bg-primary);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6), 0 16px 40px -12px rgba(239, 106, 47, 0.45);
}

.price-btn.btn-solid:hover {
  background-color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 22px 55px -12px rgba(239, 106, 47, 0.65);
}

.price-btn-arrow-circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  transition: var(--transition-normal);
}

.price-btn.btn-outline .price-btn-arrow-circle {
  background-color: rgba(245, 241, 232, 0.05);
  color: var(--text-primary);
}

.price-btn.btn-solid .price-btn-arrow-circle {
  background-color: rgba(12, 11, 10, 0.05);
  color: var(--bg-primary);
}

.price-btn:hover .price-btn-arrow-circle {
  background-color: var(--accent);
  color: var(--text-primary);
}

.price-btn:hover .price-btn-arrow-circle svg {
  transform: translateY(-1px) translateX(1px) rotate(-45deg);
}

.price-btn-arrow-circle svg {
  width: 14px;
  height: 14px;
  transition: transform 0.5s ease-out;
}

.price-trust-note {
  position: relative;
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-tertiary);
  margin-top: 16px;
  z-index: 2;
}

/* Tooltip */
.tip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  margin-left: 5px;
  background-color: rgba(245, 241, 232, 0.05);
  border: 1px solid rgba(245, 241, 232, 0.12);
  color: var(--text-secondary);
  font-size: 0.55rem;
  font-weight: 700;
  border-radius: 50%;
  cursor: help;
  position: relative;
  vertical-align: middle;
  transition: var(--transition-fast);
}

.tip:hover {
  background-color: rgba(239, 106, 47, 0.15);
  border-color: var(--accent);
  color: var(--accent);
}

.tip::after {
  content: attr(data-tip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.7rem;
  font-weight: 400;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid var(--border-rule);
  width: 180px;
  line-height: 1.45;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, transform 0.15s ease;
  pointer-events: none;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  z-index: 100;
}

.tip:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}


/* ==========================================================================
   INSTANT ACCESS / WHAT YOU GET SECTION
   ========================================================================== */

.instant-access-section {
  background-color: var(--bg-primary);
  padding: 56px 0;
  text-align: center;
}

.instant-access-intro {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 28px;
  letter-spacing: -0.01em;
}

.instant-access-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 20px;
}

.instant-access-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 18px;
  border: 1px solid rgba(42, 40, 34, 0.8);
  background-color: rgba(20, 19, 17, 0.5);
  border-radius: 9999px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: var(--transition-fast);
  white-space: nowrap;
}

.instant-access-item:hover {
  border-color: rgba(239, 106, 47, 0.3);
  background-color: rgba(239, 106, 47, 0.06);
  color: var(--text-primary);
}

/* ==========================================================================
   FAQ SECTION
   ========================================================================== */

.faq-box {
  max-width: 760px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-bottom: 1px solid var(--border-rule);
}

.faq-item:first-child {
  border-top: 1px solid var(--border-rule);
}

.faq-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  text-align: left;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-primary);
  transition: var(--transition-fast);
}

.faq-btn:hover {
  color: var(--accent);
}

.faq-toggle-icon {
  font-size: 1.4rem;
  color: var(--accent);
  font-weight: 300;
  transition: var(--transition-normal);
  flex-shrink: 0;
  margin-left: 20px;
  line-height: 1;
}

.faq-item.open .faq-toggle-icon {
  transform: rotate(45deg);
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), padding 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.open .faq-content {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
  padding: 80px 0 48px;
  background-color: #070605;
  border-top: 1px solid var(--border-rule);
}

.footer-inner {
  text-align: center;
}

.footer-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: -0.015em;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.footer-logo img {
  width: 22px;
  height: 22px;
  border-radius: 4px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin-bottom: 36px;
}

.footer-link {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  transition: var(--transition-fast);
}

.footer-link:hover {
  color: var(--accent);
}

.footer-copy {
  font-size: 0.75rem;
  color: var(--text-tertiary);
  letter-spacing: 0.02em;
}

/* ==========================================================================
   RESPONSIVE DESIGN Breakpoints matching ClipsPal compiler
   ========================================================================== */

@media (max-width: 1024px) {
  .steps-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .steps-grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .compare-grid {
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .header {
    top: 0; /* sticky to absolute top */
  }
  
  .hero {
    padding-top: 64px; /* Reduced padding-top to shift mobile elements upwards */
    padding-bottom: 60px;
  }
  
  .section {
    padding: 80px 0;
  }
  
  .hero-dashboard-container {
    margin-top: 48px;
    width: calc(100% + 48px);
    margin-left: -24px;
    margin-right: -24px;
    max-width: none;
  }
  
  .video-frame-container {
    width: calc(100% + 36px);
    margin-left: -18px;
    margin-right: -18px;
    border-radius: 8px;
  }
  


  /* Gallery scroll mobile adjustments */
  .gallery-scroll {
    padding: 0 16px 24px;
    margin: 0 -24px;
    gap: 8px;
  }

  .gallery-item {
    flex: 0 0 85vw;
    scroll-snap-align: start;
    border-radius: 12px;
  }

  .gallery-item img {
    border-radius: 12px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .steps-grid-3 {
    grid-template-columns: 1fr;
  }

  /* Results gallery mobile */
  .results-gallery-scroll {
    padding: 0 16px 24px;
    margin: 0 -24px;
    gap: 12px;
  }

  .results-gallery-item {
    flex: 0 0 98vw;
  }
  
  .results-nav {
    width: 28px;
    height: 28px;
  }
  
  .results-nav svg {
    width: 12px;
    height: 12px;
  }
  
  .results-prev {
    left: 8px;
  }
  
  .results-next {
    right: 8px;
  }
  
  .compare-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 480px;
  }
  
  .compare-card {
    padding: 32px 24px;
  }
  
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    max-width: 440px;
  }
  
  .price-card {
    padding: 32px 24px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding-top: 54px; /* Shifted mobile elements upwards slightly more */
  }
  
  .eyebrow-badge {
    margin-bottom: 28px;
    padding: 5px 12px;
    font-size: 0.62rem;
  }
  
  .hero-subtitle {
    margin-bottom: 36px;
    font-size: 0.95rem;
  }
  
  .cta-pricing {
    padding: 6px 6px 6px 20px;
    font-size: 14px;
  }
  
  .cta-pricing-arrow {
    width: 32px;
    height: 32px;
  }
}

/* ==========================================================================
   HERO TRUST SECTION (Used by 600+ businesses)
   ========================================================================== */
.hero-trust {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  margin-bottom: 0;
}

.trust-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.trust-avatars {
  display: flex;
  align-items: center;
}

.avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 3px solid #11100e; /* blends with hero background */
  margin-left: -12px;
  background-color: #333;
  object-fit: cover;
  transition: transform 0.2s;
}

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

.avatar:hover {
  transform: scale(1.15);
  z-index: 10;
}

/* ==========================================================================
   TESTIMONIALS SECTION
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-rule);
  border-radius: 16px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  transition: var(--transition-normal);
}

.testimonial-card:hover {
  border-color: rgba(239, 106, 47, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

.testimonial-stars {
  color: #fbbf24;
  font-size: 1.1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.7;
  flex: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--border-rule);
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-weight: 600;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.testimonial-role {
  font-size: 0.85rem;
  color: var(--text-tertiary);
}

@media (max-width: 1024px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 560px;
    margin: 0 auto;
  }
}

/* ==========================================================================
   PAYMENT MODAL — Email / Phone Collection
   ========================================================================== */

.payment-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(5, 4, 3, 0.8);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  padding: 20px;
}

.payment-modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.payment-modal {
  width: 100%;
  max-width: 420px;
  background: var(--bg-card);
  border: 1px solid var(--border-rule);
  border-radius: 20px;
  padding: 36px 32px 32px;
  position: relative;
  transform: translateY(24px) scale(0.97);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.6);
}

.payment-modal-overlay.active .payment-modal {
  transform: translateY(0) scale(1);
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-tertiary);
  font-size: 18px;
  background: transparent;
  border: 1px solid var(--border-rule);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  color: var(--text-primary);
  border-color: var(--text-tertiary);
}

.modal-plan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(239, 106, 47, 0.12);
  color: var(--accent);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 16px;
  letter-spacing: 0.02em;
}

.modal-plan-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--text-primary);
  line-height: 1.25;
  margin-bottom: 6px;
}

.modal-subtitle {
  font-size: 0.88rem;
  color: var(--text-tertiary);
  margin-bottom: 28px;
  line-height: 1.5;
}

.modal-form-group {
  margin-bottom: 16px;
}

.modal-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--text-secondary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.modal-input {
  width: 100%;
  padding: 13px 16px;
  font-size: 0.95rem;
  font-family: var(--font-sans);
  color: var(--text-primary);
  background: var(--bg-primary);
  border: 1px solid var(--border-rule);
  border-radius: 10px;
  outline: none;
  transition: var(--transition-fast);
}

.modal-input::placeholder {
  color: var(--text-tertiary);
}

.modal-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(239, 106, 47, 0.12);
}

.modal-input.error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.12);
}

.modal-error-text {
  font-size: 0.78rem;
  color: #e74c3c;
  margin-top: 5px;
  display: none;
}

.modal-error-text.visible {
  display: block;
}

.modal-submit-btn {
  width: 100%;
  padding: 14px 24px;
  margin-top: 8px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--bg-primary);
  background: var(--accent);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.modal-submit-btn:hover {
  background: #d9571e;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(239, 106, 47, 0.3);
}

.modal-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.modal-submit-arrow {
  width: 18px;
  height: 18px;
}

.modal-secure-note {
  text-align: center;
  font-size: 0.78rem;
  color: var(--text-tertiary);
  margin-top: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@media (max-width: 480px) {
  .payment-modal {
    padding: 28px 20px 24px;
    border-radius: 16px;
  }

  .modal-title {
    font-size: 1.35rem;
  }
}

