/*
  Neatify marketing styles — Modern Design
*/

/* Rectangle 8 */

/* position: absolute;
width: 789px;
height: 440px;
left: 0px;
top: 0px;

background: conic-gradient(from 180deg at 50% 0%, #FFFFFF 0deg, rgba(128, 128, 128, 0.75) 89.77deg, rgba(0, 0, 0, 0) 179.44deg, rgba(128, 128, 128, 0.75) 269.72deg, #FFFFFF 360deg, rgba(128, 128, 128, 0.75) 449.77deg); */


:root {
  --bg: #1a1a1a;
  --ink: #ffffff;
  --ink-light: #ffffff;
  --muted: hsl(0, 0%, 80%);
  --line: #ffffff;
  --line-subtle: #1a1a1a;
  --accent: #00EEFF;
  --accent-dark: #0099cc;
  --accent-light: #66f0ff;
  --accent-glow: rgba(0, 238, 255, 0.4);
  --accent-ink: #00EEFF;
  /* App Store CTA theme variables */
  --appstore-bg: #f5f7fa;
  --appstore-fg: #0b0b0d;
  --appstore-border: rgba(0,0,0,0.15);
  --appstore-glow: rgba(255,255,255,0.2);
  /* Hero conic slit (dark theme) */
  --hero-slit-gradient: conic-gradient(from 180deg at 50% 0%, #FFFFFF 0deg, rgba(128, 128, 128, 0.5) 89.77deg, rgba(0, 0, 0, 0) 179.44deg, rgba(128, 128, 128, 0.5) 269.72deg, #FFFFFF 360deg, rgba(128, 128, 128, 0.75) 449.77deg);
  --hero-slit-opacity: 0.20;
  --footer-slit-gradient: conic-gradient(from 180deg at 50% 0%, #000000 0deg, rgba(255, 255, 255, 0.5) 89.77deg, rgba(0, 0, 0, 0) 179.44deg, rgba(255, 255, 255, 0.5) 269.72deg, #000000 360deg, rgba(255, 255, 255, 0.5) 449.77deg);
  /* Card Background */
  --cardBG: #0b0b0d;
  /* Shield colors - dark theme */
  --shield-border: var(--accent);
  --shield-outer: #1a1a1a;
  --shield-inner: #ffffff;
  --shield-lock: var(--accent);
  --shield-keyhole: #1a1a1a;
  --glass: rgba(26, 26, 26, 0.85);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-dark: rgba(10, 14, 26, 0.8);
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 25px rgba(0, 0, 0, 0.6);
  --shadow-lg: 0 25px 50px rgba(0, 0, 0, 0.8);
  --shadow-glow: 0 0 60px rgba(0, 238, 255, 0.4);
  --blur: 20px;
  --blur-sm: 8px;
  --radius: 20px;
  --radius-lg: 32px;
  --radius-xl: 40px;
  --radius-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --space-24: 96px;
  --space-32: 128px;
  --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Text", "SF Pro Display", Segoe UI, Roboto, Helvetica, Arial, system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", -apple-system, "SF Pro Display", system-ui, sans-serif;
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-bounce: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  --transition: all 0.3s var(--ease);
  
  
}


* { box-sizing: border-box; }
html, body { height: 100dvh; margin:0; padding:0; background:var(--bg); color:var(--ink); font-family:var(--font-sans); -webkit-font-smoothing:antialiased; -moz-osx-font-smoothing:grayscale; }

/* Global gradient background that follows scroll */
body::before {
  content: "";
  position: fixed;
  top: 10vh;
  max-width: 100vw;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--hero-slit-gradient);
  opacity: var(--hero-slit-opacity);
  pointer-events: none;
  z-index: 0;
}

.container { width:min(1100px,92vw); margin: 0 auto; padding-block: var(--space-32);}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  backdrop-filter: saturate(180%) blur(12px);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  background: var(--glass);
  box-shadow: var(--shadow-sm);
  width: 100%;
  min-height: 60px;
}

/* Add padding to main to compensate for fixed header */
main {
  padding-top: 60px;
}
.nav { display:flex; align-items:center; justify-content:space-between; padding:12px 0; height: 10vh; max-width: 100vw;}
.brand { display:flex; align-items:center; gap:10px; text-decoration:none; color:inherit; }
.brand-icon { width: clamp(32px, 8vw, 40px); aspect-ratio: 1; }
.brand-text { font-family:var(--font-display); font-weight:700; letter-spacing:-0.05em; font-size: 32px;}
.nav-links { display:flex; align-items:center; gap:18px; }
.nav-link { color:var(--muted); text-decoration:none; font-size:14px; }
.nav-link:hover { color:var(--ink); }
.nav-cta { scale: .8; }

@media (width < 450px) {
  .appstore-cta.custom.nav-cta{
    display: none;
  }
  .nav{
    justify-content: center;
  }
}
/* Custom App Store CTA Buttons */
.appstore-cta.custom {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  padding: var(--space-4) var(--space-6);
  background: var(--appstore-bg);
  color: var(--appstore-fg);
  text-decoration: none;
  border-radius: 100vw;
  font-family: var(--font-sans);
  font-weight: 600;
  transition: all 0.4s var(--ease);
  box-shadow: 
    var(--shadow-lg),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
  border: 1px solid var(--appstore-border);
}


.appstore-cta.custom::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(circle 80px at var(--mouse-x, 50%) var(--mouse-y, 50%), 
    rgba(255, 255, 255, 0.15) 0%, 
    rgba(255, 255, 255, 0.08) 40%,
    transparent 70%
  );
  opacity: 0;
  transition: opacity 0.2s ease;
}

.appstore-cta.custom:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 
    var(--shadow-lg),
    0 0 40px rgba(0, 0, 0, 0.4),
    0 0 60px rgba(0, 238, 255, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.2);
  animation: buttonPulse 2s ease-in-out infinite;
}

.appstore-cta.custom:hover::after {
  opacity: 1;
}


.appstore-cta.custom:active {
  transform: translateY(-1px) scale(0.99);
  transition: transform 0.1s ease-out;
  box-shadow: 
    0 2px 10px rgba(0, 0, 0, 0.2),
    inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Keyframe animations for buttons */
@keyframes buttonPulse {
  0%, 100% {
    box-shadow: 
      var(--shadow-lg),
      0 0 40px rgba(0, 0, 0, 0.4),
      0 0 60px rgba(0, 238, 255, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.2);
  }
  50% {
    box-shadow: 
      var(--shadow-lg),
      0 0 50px rgba(0, 0, 0, 0.5),
      0 0 80px rgba(0, 238, 255, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.3);
  }
}

@keyframes buttonShimmer {
  0% {
    left: -100%;
  }
  100% {
    left: 100%;
  }
}

@keyframes ripple {
  0% {
    transform: scale(0);
    opacity: 0.6;
  }
  100% {
    transform: scale(4);
    opacity: 0;
  }
}

/* Ripple effect */
.button-ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  width: 20px;
  height: 20px;
  margin-left: -10px;
  margin-top: -10px;
  animation: ripple 0.6s ease-out;
  pointer-events: none;
}


/* Hide default cursor - Desktop only */
/* @media (hover: hover) and (pointer: fine) {
  * {
    cursor: none !important;
  }
} */

/* Custom cursor - Desktop only */
/* @media (hover: hover) and (pointer: fine) {
  .cursor {
    position: fixed;
    top: 0;
    left: 0;
    width: 16px;
    height: 16px;
    background-color: #fff;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    mix-blend-mode: difference;
    transition: width 0.3s ease, height 0.3s ease, background-color 0.3s ease;
    transform: translate(-50%, -50%);
  }

  .cursor.hover {
    width: 24px;
    height: 24px;
    background-color: rgba(255, 255, 255, 0.3);
    border: 2px solid #fff;
  }
} */

/* Card entrance animations with stagger */
@keyframes cardEnter {
  0% {
    opacity: 0;
    transform: translateY(30px) scale(0.9);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.card-entrance {
  animation: cardEnter 0.6s ease-out var(--stagger-delay, 0ms) both;
}

/* Enhanced FAQ animations */
@keyframes faqReveal {
  0% {
    opacity: 0;
    transform: translateY(-10px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-revealing {
  animation: faqReveal 0.3s ease-out;
}

/* Floating animation for icons */
@keyframes iconFloat {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-4px);
  }
}

.icon-wrap:not(.social-icon-wrapper) {
  animation: iconFloat 3s ease-in-out infinite;
  animation-delay: var(--icon-delay, 0s);
}

.appstore-cta.custom .apple-icon {
  width: 24px;
  height: 24px;
  color: currentColor;
  flex-shrink: 0;
}

.appstore-cta.custom .cta-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.2;
}

.appstore-cta.custom .download-text {
  font-size: 10px;
  opacity: 0.95;
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: 0.01em;
}

.appstore-cta.custom .store-text {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

/* Small variant for header */
.appstore-cta.custom.small {
  padding: var(--space-2) var(--space-4);
  gap: var(--space-2);
  font-size: 14px;
  border-radius: var(--radius);
}

.appstore-cta.custom.small .apple-icon {
  width: 18px;
  height: 18px;
}

.appstore-cta.custom.small .store-text {
  font-size: 16px;
  font-weight: 600;
}

/* Large variant for pricing */
.appstore-cta.custom.large {
  padding: var(--space-5) var(--space-8);
  gap: var(--space-4);
  font-size: 18px;
}

.appstore-cta.custom.large .apple-icon {
  width: 28px;
  height: 28px;
}

.appstore-cta.custom.large .download-text {
  font-size: 11px;
  opacity: 0.95;
}

.appstore-cta.custom.large .store-text {
  font-size: 21px;
  font-weight: 600;
}

/* Legacy support */
.appstore-cta img { 
  height: 38px; 
  display: block; 
}

/* Hero Section - Chronicle-inspired Design */

/* Light mode hero enhancement */
.hero {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 10vh;
  padding-block: 8vh 10vh;
}


/* Hero Content Area */
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  color: var(--muted);
  font-size: 14px;
  font-weight: 500;
  margin: 0 0 var(--space-6);
  padding: var(--space-2) var(--space-4);
  background: rgba(0, 0, 0, 0.04);
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: var(--radius-pill);
  backdrop-filter: blur(var(--blur-sm));
  box-shadow: var(--shadow-sm);
}

.h1 {
  font-family: var(--font-sans);
  font-weight: 700;
  letter-spacing: -0.04em;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.1;
  margin: 0 0 var(--space-6);
  color: var(--ink);
  max-width: 900px;
}

.subhead {
  color: var(--muted);
  font-size: 20px;
  line-height: 1.5;
  margin: 0 auto var(--space-12);
  max-width: 600px;
  text-align: center;
}

.hero-ctas {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
}

/* Hero Badges - Product Hunt */
.hero-badges {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-6);
  flex-wrap: wrap;
  margin-top: var(--space-8);
  margin-bottom: var(--space-8);
}

/* Product Hunt Badge Styles */
.ph-badge,
.ph-badge-hero {
  display: inline-block;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.ph-badge:hover,
.ph-badge-hero:hover {
  transform: translateY(-3px);
  opacity: 0.85;
}

.ph-badge img,
.ph-badge-hero img {
  display: block;
  max-width: 100%;
  height: auto;
}

/* Footer CTA spacing for badge */
.footer-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
}


/* Scroll Indicator */
.scroll-indicator {
  position: relative;
  margin-top: var(--space-12);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-3);
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
  animation: bounce 2s ease-in-out infinite;
  cursor: pointer;
  transition: var(--transition);
}

.scroll-indicator:hover {
  color: var(--accent);
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border: 2px solid currentColor;
  border-top: none;
  border-left: none;
  transform: rotate(45deg);
}

/* Animations */
@keyframes bounce {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-6px); }
}

/* Value Section - Benefits-focused Design */
.value-section {
  position: relative;
}

/* Dark theme .value-section now uses CSS variables */

.value-header {
  text-align: center;
  margin-bottom: var(--space-16);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.value-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(32px, 5vw, 48px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0 0 var(--space-4);
  color: var(--ink);
}

.value-subtitle {
  font-size: 18px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
}

/* Benefits Grid - 2x2 Layout */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(500px, 100%), 1fr));
  gap: var(--space-8);
  width: 100%;
  max-width: 90vw; /* Limit to 90% of viewport width */
  margin: 0 auto var(--space-16);
}

.benefit-card {
  padding: var(--space-12);
  text-align: center;
  transition: all 0.3s var(--ease);
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(var(--blur));
  display: flex;
  flex-direction: column;
  max-width: 100%; /* Ensure cards respect grid width */
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.benefit-icon {
  margin-bottom: var(--space-8);
  display: flex;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.icon.benefit-icon-svg {
  width: 40px;
  height: 40px;
  stroke: var(--accent);
  transition: all 0.3s var(--ease);
}

.benefit-card:hover .benefit-icon-svg {
  stroke: var(--ink);
  transform: scale(1.1);
}

.benefit-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 24px;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  line-height: 1.3;
}

.benefit-description {
  font-size: 17px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 var(--space-6);
  padding-bottom: var(--space-6);
}

.benefit-proof {
  padding-top: var(--space-6);
  margin-top: auto;
}

.proof-stat {
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  font-style: italic;
}

/* Value CTA */
.value-cta {
  text-align: center;
  max-width: 500px;
  margin: var(--space-8) auto 0;
}

.cta-trigger {
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  margin: 0 0 var(--space-6);
}

.value-cta .appstore-cta {
  margin: 0 auto;
}

/* Feature List - Minimal Design (Legacy - can be removed if not used elsewhere) */
.features-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-24);
  max-width: 1200px;
  margin: 0 auto;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-20);
  align-items: center;
  padding: var(--space-16) 0;
  border-bottom: 1px solid var(--line-subtle);
  transition: all 0.4s var(--ease);
}

.feature:last-child {
  border-bottom: none;
}

.feature.feature-reverse {
  grid-template-columns: 1fr 1fr;
}

.feature.feature-reverse .feature-content {
  order: 2;
}

.feature.feature-reverse .feature-image {
  order: 1;
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

.feature-text {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.feature-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: clamp(24px, 4vw, 32px);
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin: 0;
  color: var(--ink);
}

.feature-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
  max-width: 500px;
}

.feature-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: var(--ink);
  border-radius: 50%;
  color: var(--bg);
  text-decoration: none;
  transition: all 0.3s var(--ease);
  align-self: flex-start;
}

.feature-arrow:hover {
  background: var(--accent);
}

.feature-arrow svg {
  transition: transform 0.3s var(--ease);
}

.feature-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 
    0 20px 40px rgba(0, 0, 0, 0.08),
    0 8px 16px rgba(0, 0, 0, 0.04);
  background: var(--glass);
}


.feature-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s var(--ease);
}

/* Benefits Responsive Design */
@media (max-width: 900px) {
    .container {
        max-width: 80vw;
    }
  .value-section{
    max-width: 80vw;
  }
  .benefits-grid {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin-bottom: var(--space-12);
    width: 100%;
  }

  .benefit-card {
    padding: var(--space-10);
    max-width: 100%;
  }

  .benefit-icon-svg {
    width: 56px;
    height: 56px;
  }

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

@media (max-width: 768px) {
  .benefits-grid {
    max-width: 90vw; /* Keep 90% cap on small screens */
    gap: var(--space-5);
  }

  .benefit-card {
    padding: var(--space-8);
    max-width: 100%;
  }

  .benefit-icon-svg {
    width: 48px;
    height: 48px;
  }

  .benefit-title {
    font-size: 20px;
    word-wrap: break-word;
  }

  .benefit-description {
    font-size: 16px;
  }

  .value-section {
    padding: var(--space-16) 0;
  }
}

/* Legacy Feature Responsive Design */
@media (max-width: 1024px) {
  .feature {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
  }
  
  .feature.feature-reverse .feature-content,
  .feature.feature-reverse .feature-image {
    order: unset;
  }
  
  .feature-content {
    align-items: center;
  }
  
  .feature-description {
    max-width: 600px;
  }
}

@media (max-width: 768px) {
  .features-list {
    gap: var(--space-16);
  }
  
  .feature {
    padding: var(--space-12) 0;
  }
  
  .value-section {
    padding: var(--space-20) 0;
  }
  
  .value-header {
    margin-bottom: var(--space-16);
  }
}

/* Sections */
.section-head { text-align:center; margin: 0; }
.h2 { font-family:var(--font-display); font-weight:700; letter-spacing:-0.01em; margin:0 0 var(--space-3); font-size: clamp(28px, 4vw, 40px);}
.section-sub { color:var(--muted); margin:0; }

/* Modern Card System */
.card-grid {
  display: grid;
  gap: var(--space-8);
  margin: var(--space-16) 0;
}

.card-grid.three {
  grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
}

.card-grid.six {
  grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.card {
  position: relative;
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(var(--blur));
  transition: all 0.8s var(--ease);
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.8s var(--ease);
  pointer-events: none;
}

.card:hover {
  transform: translateY(-12px) scale(1.02);
  box-shadow: 
    var(--shadow-lg), 
    0 0 50px rgba(0, 238, 255, 0.2),
    0 0 100px rgba(0, 238, 255, 0.1);
  border-color: rgba(0, 238, 255, 0.4);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover::before {
  opacity: 1;
}

/* Feature cards hover effect - accent styling for icon-wrap */
.features .card:hover .icon-wrap {
  border-color: rgba(0, 238, 255, 0.4);
  box-shadow: 
    var(--shadow-md),
    0 0 20px rgba(0, 238, 255, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.features .card:hover .icon-wrap .icon {
  color: var(--accent-ink);
}

/* Unused .card.glass variant removed */

.card.soft {
  background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
  backdrop-filter: blur(var(--blur-sm));
}

.h3 {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 18px;
  margin: 0 0 var(--space-3);
  color: var(--ink);
  line-height: 1.3;
}

.card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
  font-size: 15px;
}

.card .card-head {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  margin-bottom: var(--space-4);
}

/* Modern Icon Containers */
.icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  border: 1px solid var(--glass-border);
  background: var(--glass);
  backdrop-filter: blur(var(--blur-sm));
  box-shadow: var(--shadow-md);
  transition: all 0.3s var(--ease);
}

.icon-wrap::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius);
  background: none;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.icon-wrap:hover {
  transform: translateY(-2px) scale(1.05);
}

.icon-wrap:hover::before {
  opacity: 1;
}

/* Unused .icon-wrap.accent styles removed */

.icon {
  width: 20px;
  height: 20px;
  color: var(--ink-light);
  transition: color 0.3s var(--ease);
}

/* Unused .icon-wrap.accent icon color removed */

.pill .icon {
  width: 16px;
  height: 16px;
  display: block;
  color: var(--accent-ink);
}

/* Unused .how/.step/.image-card styles removed */

/* Enhanced Horizontal Scroll Section */
.hs {
  position: relative;
}

.hs.section{
    padding: 0;
    margin-bottom: 10vh ;
}

.hs__outer {
  position: relative;
  height: 400vh;
}

.hs .section-head {
  position: sticky;
  top: 80px;
  z-index: 10;
  height: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: var(--space-4) 0;
  width: 100vw;
  position: relative;
  margin-left: calc(-50vw + 50%);
}

.hs .section-head .h2 {
  color: var(--ink);
  margin: 0 0 var(--space-2) 0;
  text-align: center;
}

.hs .section-sub {
  margin: 0;
  text-align: center;
}

.hs__sticky {
  position: sticky;
  top: 8vh;
  height: 92vh;
  overflow: hidden;
}

.hs__track {
  display: flex;
  height: 100%;
  will-change: transform;
}

.hs__panel {
  position: relative;
  min-width: 100vw;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 6vw;
}

.hs__panel:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  bottom: 10%;
  width: 1px;
  background: linear-gradient(to bottom, transparent 0%, var(--line) 20%, var(--line) 80%, transparent 100%);
  z-index: 3;
}

/* Minimal Creative Panel Cards */
.panel-card {
  position: relative;
  width: 96%;
  height: calc(100vh - 200px);
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  padding: var(--space-8) 0;
  overflow: visible;
  display: flex;
  align-items: stretch;
  gap: var(--space-8);
}

/* Custom object-position for specific images */
.panel-card#oneClickCleaner .media-frame img {
  object-position: left center;
}

.panel-card .media-frame img {
  object-position: center center; /* Default for all others */
}

/* .panel-card#neverSleep .media-frame img {
  object-position: right bottom;
} */

/* Text Section - Clean Minimal */
.panel-copy {
  position: relative;
  z-index: 2;
  flex: 0 0 45%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-12) var(--space-8) var(--space-12) 0;
  background: transparent;
}

.panel-copy .h2 {
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: var(--space-8);
  background: var(--ink);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.03em;
  width: 70%;
}

.panel-copy .sub {
  color: var(--muted);
  font-size: 18px;
  line-height: 1.7;
  margin: 0;
}

/* Image Section - Floating Minimal */
.panel-media {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.panel-media .media-frame {
  position: relative;
  width: 100%;
  height: 85%;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(var(--blur));
  transition: box-shadow 0.3s var(--ease), filter 0.3s var(--ease);
  will-change: transform;
}

.panel-media .media-frame:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 238, 255, 0.2);
}

/* Subtle glow behind image */
.panel-media .media-frame::before {
  content: "";
  position: absolute;
  inset: -20px;
  background: none;
  filter: blur(30px);
  pointer-events: none;
  z-index: -1;
}

/* Image styling */
.panel-media .media-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s var(--ease);
}

.panel-media .media-frame:hover img {
  transform: scale(1.02);
}

/* Floating elements decoration */
.panel-card::after {
  content: '';
  position: absolute;
  top: 20%;
  right: 10%;
  width: 120px;
  height: 120px;
  background: none;
  border-radius: 50%;
  filter: blur(40px);
  pointer-events: none;
  animation: float 8s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .hs__outer { height: auto; }
  .hs__sticky { position: static; height: auto; overflow: visible; }
  .hs__track { display:block; }
  .hs__panel { min-width: 0; height: auto; padding: 0; }
  .panel-card { grid-template-columns: 1fr; height:auto; }
}

/* Hide desktop horizontal scroll section on mobile for performance */
@media (max-width: 1200px) {
  .hs {
    display: none !important;
  }
}

/* Revolutionary Mobile Features Section */
.features-mobile {
  display: none;
}

@media (max-width: 1200px) {
  .features-mobile {
    display: block;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 238, 255, 0.02) 50%, transparent 100%);
    position: relative;
  }

  .features-mobile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 238, 255, 0.2) 20%, rgba(0, 238, 255, 0.2) 80%, transparent 100%);
    transform: translateX(-50%);
    z-index: 1;
  }

  .features-mobile .container {
    margin: 0 auto;
    position: relative;
    padding: var(--space-32) 0;
    z-index: 2;
  }

  .features-mobile .section-head {
    text-align: center;
    margin-bottom: var(--space-16);
    position: relative;
  }

  .features-mobile .h2 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(32px, 7vw, 42px);
    letter-spacing: -0.025em;
    line-height: 1.1;
    margin: 0 0 var(--space-6);
    color: var(--ink);
  }

  .features-mobile .section-sub {
    font-size: 18px;
    line-height: 1.6;
    color: var(--muted);
    margin: 0;
    max-width: 65ch;
    margin-inline: auto;
  }

  /* Revolutionary Mobile Grid */
  .features-mobile-grid {
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
    position: relative;
  }


  /* Universal Card Styling - All cards start with soft styling */
  .feature-mobile-card {
    position: relative;
    transition:
      all 0.6s var(--ease),
      border 0.8s var(--ease),
      box-shadow 0.8s var(--ease),
      transform 0.8s var(--ease);
    will-change: transform, opacity, border, box-shadow;

    /* Default soft card styling */
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9) 0%, rgba(0, 0, 0, 0.8) 100%);
    backdrop-filter: blur(var(--blur-sm));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 0; /* Remove padding for edge-to-edge images */
    box-shadow: var(--shadow-md);
    overflow: hidden;
  }

  /* All cards use grid layout with equal text space */
  .feature-mobile-card:nth-child(1) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    text-align: left;
  }

  .feature-mobile-card:nth-child(2),
  .feature-mobile-card:nth-child(4) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    text-align: left;
  }

  .feature-mobile-card:nth-child(3) {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-10);
    align-items: center;
    text-align: left;
  }

  /* Active/In-View Card Styling */
  .feature-mobile-card.active,
  .feature-mobile-card.in-view {
    background: linear-gradient(135deg, var(--glass) 0%, rgba(0, 238, 255, 0.05) 100%);
    border: 2px solid var(--accent);
    border-radius: var(--radius-xl);
    padding: 0; /* Keep edge-to-edge even for active cards */
    box-shadow:
      var(--shadow-lg),
      0 0 60px rgba(0, 238, 255, 0.15),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(var(--blur));
    transform: scale(1.02);
  }

  /* Active card special styling for first card */
  .feature-mobile-card:nth-child(1).active,
  .feature-mobile-card:nth-child(1).in-view {
    transform: scale(1.05);
    margin: 0 -var(--space-4);
  }

  /* Number badges removed as requested */

  /* Floating accent elements */
  .feature-mobile-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(0, 238, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    transition: all 0.6s var(--ease);
    pointer-events: none;
    z-index: 1;
  }

  /* Hover Effects */
  .feature-mobile-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow:
      var(--shadow-lg),
      0 20px 60px rgba(0, 238, 255, 0.2);
  }

  .feature-mobile-card:nth-child(1):hover {
    transform: translateY(-8px) scale(1.07);
    box-shadow:
      var(--shadow-lg),
      0 25px 80px rgba(0, 238, 255, 0.3);
  }

  .feature-mobile-card:hover::before {
    opacity: 1;
    transform: scale(1.5);
  }

  /* Image Styling - Properly sized and positioned */
  .feature-mobile-image {
    width: 100%;
    height: 100%;
    min-height: 400px;
    overflow: hidden;
    position: relative;
    border-radius: 0; /* Remove border radius for edge-to-edge effect */
  }

  .feature-mobile-card:nth-child(1) .feature-mobile-image {
    border-radius: 0; /* Full edge-to-edge */
    order: 1;
  }

  .feature-mobile-card:nth-child(1) .feature-mobile-content {
    order: 2;
  }

  .feature-mobile-card:nth-child(2) .feature-mobile-image,
  .feature-mobile-card:nth-child(4) .feature-mobile-image {
    order: 2;
  }

  .feature-mobile-card:nth-child(3) .feature-mobile-image {
    order: 1;
  }

  .feature-mobile-image img {
    width: 100%;
    height: 100%;
    min-height: 400px;
    display: block;
    object-fit: cover;
    object-position: center center;
    transition: transform 0.6s var(--ease);
    border-radius: 0; /* Edge-to-edge */
  }

  .feature-mobile-card:hover .feature-mobile-image img {
    transform: scale(1.05);
  }

  /* Content Styling */
  .feature-mobile-content {
    position: relative;
    z-index: 2;
    padding: var(--space-8); /* Add padding to content for readability */
  }

  .feature-mobile-card:nth-child(1) .feature-mobile-content {
    text-align: center;
  }

  .feature-mobile-card:nth-child(2) .feature-mobile-content,
  .feature-mobile-card:nth-child(4) .feature-mobile-content {
    order: 1;
  }

  .feature-mobile-card:nth-child(3) .feature-mobile-content {
    order: 2;
  }

  .feature-mobile-content h3 {
    font-family: var(--font-sans);
    font-weight: 700;
    font-size: clamp(24px, 5.5vw, 32px);
    color: var(--ink);
    margin: 0 0 var(--space-6);
    line-height: 1.2;
    letter-spacing: -0.01em;
    transition: color 0.8s var(--ease);
  }

  /* Active card enhanced typography - NO font-size changes */
  .feature-mobile-card.active .feature-mobile-content h3,
  .feature-mobile-card.in-view .feature-mobile-content h3 {
    background: linear-gradient(135deg, #ffffff 0%, var(--accent-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }

  .feature-mobile-content p {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    margin: 0;
    transition: color 0.8s var(--ease);
  }

  .feature-mobile-card.active .feature-mobile-content,
  .feature-mobile-card.in-view .feature-mobile-content {
    padding: var(--space-12); /* Extra padding for active cards */
  }

  .feature-mobile-card.active .feature-mobile-content p,
  .feature-mobile-card.in-view .feature-mobile-content p {
    color: #e0e0e0;
  }

  /* Remove centered content constraint for grid layout */
}

/* Enhanced Mobile Responsiveness - Switch to vertical layout earlier */
@media (max-width: 900px) {
  .features-mobile {
    padding: var(--space-16) 0;
  }

  .features-mobile .container {
    width: 90vw;
  }

  /* Stack all cards vertically for better text readability */
  .feature-mobile-card{
    display: flex !important;
    flex-direction: column;
    text-align: center !important;
    grid-template-columns: none !important;
    gap: var(--space-6) !important;
  }


  .feature-mobile-image {
    order: 1 !important;
    margin-bottom: var(--space-3); /* Small gap between image and content */
    width: 100%;
    height: auto;
    min-height: 200px;
    margin-inline: auto;
    border-radius: 0 !important; /* Remove border radius for edge-to-edge */
    overflow: hidden;
  }

  .feature-mobile-image img {
    width: 100% !important;
    height: auto !important;
    min-height: 200px !important;
    object-fit: cover !important;
    border-radius: 0 !important; /* Edge-to-edge */
    display: block;
  }

  .feature-mobile-content {
    order: 2 !important;
    flex: 1;
    min-width: 0;
    padding: 0 var(--space-8) var(--space-8) var(--space-8) !important; /* Remove top padding to reduce gap */
  }

  .features-mobile-grid {
    gap: var(--space-12);
  }

  .feature-mobile-card {
    padding: 0 !important; /* Remove padding for edge-to-edge images */
  }

  .feature-mobile-content h3 {
    font-size: clamp(22px, 6vw, 28px) !important;
    margin-bottom: var(--space-4);
  }

  .feature-mobile-content p {
    font-size: 15px;
    max-width: none !important;
  }
}

/* Advanced Mobile Interactions & Animations */
@media (max-width: 1200px) {
  /* Magnetic hover enhancement removed for mobile/tablet */

  /* Progressive loading animation */
  @keyframes featureReveal {
    0% {
      opacity: 0;
      transform: translateY(40px) scale(0.95) rotateX(10deg);
      filter: blur(6px);
    }
    50% {
      opacity: 0.7;
      transform: translateY(10px) scale(0.98) rotateX(3deg);
      filter: blur(2px);
    }
    100% {
      opacity: 1;
      transform: translateY(0) scale(1) rotateX(0deg);
      filter: blur(0);
    }
  }

  /* Floating accent animation */
  @keyframes floatingAccent {
    0%, 100% {
      transform: translate3d(0, 0, 0) scale(1);
      opacity: 0.6;
    }
    50% {
      transform: translate3d(-20px, -20px, 0) scale(1.2);
      opacity: 1;
    }
  }

  /* Pulse animation for hero card number */
  @keyframes heroPulse {
    0%, 100% {
      box-shadow: 0 0 20px rgba(0, 238, 255, 0.4);
      transform: scale(1);
    }
    50% {
      box-shadow: 0 0 40px rgba(0, 238, 255, 0.6);
      transform: scale(1.05);
    }
  }

  /* Pulse animation removed with number badges */

  /* Enhanced image hover effects */
  .feature-mobile-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 238, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    z-index: 2;
    pointer-events: none;
  }

  .feature-mobile-card:hover .feature-mobile-image::before {
    opacity: 1;
  }

  /* Subtle text reveal on hover */
  .feature-mobile-content h3 {
    overflow: hidden;
    position: relative;
  }

  .feature-mobile-content h3::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 238, 255, 0.2), transparent);
    transition: left 0.8s ease;
  }

  .feature-mobile-card:hover .feature-mobile-content h3::after {
    left: 100%;
  }

  /* Background line enhancement */
  .features-mobile::after {
    content: '';
    position: absolute;
    top: 20%;
    right: 10%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(0, 238, 255, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    animation: floatingAccent 6s ease-in-out infinite;
    z-index: 1;
  }

  /* Performance optimizations */
  .feature-mobile-card {
    /* contain: layout style paint; - Removed as it breaks sticky positioning */
    will-change: transform, opacity;
  }

  .feature-mobile-image img {
    contain: layout;
    will-change: transform;
  }
}

/* Interactive Demo Section */
.demo-section.container {
  padding-block: 0 var(--space-32);
}


.demo-video-wrapper {
  position: relative;
  border-radius: 2vw;
  overflow: hidden;
  box-shadow: #cdcdcd 0px 0vw 12vw;
  width: 100%;
  max-width: 100%;
  aspect-ratio: 16 / 9;
}

.demo-video-player {
  width: 100%;
  aspect-ratio: 16 / 9;
  cursor: pointer;
  transition: all 0.4s var(--ease);
  border: none;
}

/* YouTube Privacy-Compliant Styles */
.yt-placeholder {
  position: relative;
  width: 100%;
  height: 100%;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.yt-placeholder:hover {
  transform: scale(1.02);
}

.yt-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.yt-play-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.3);
  transition: background 0.3s ease;
}

.yt-placeholder:hover .yt-play-overlay {
  background: rgba(0, 0, 0, 0.5);
}

.yt-play-button {
  text-align: center;
  transform: scale(1);
  transition: transform 0.3s ease;
}

.yt-placeholder:hover .yt-play-button {
  transform: scale(1.1);
}

.play-icon {
  margin-bottom: 10px;
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.4));
}

.play-text {
  color: white;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.yt-privacy-notice {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  text-align: center;
  margin: 0;
  padding: 8px 16px;
  background: rgba(0, 0, 0, 0.7);
  border-radius: 6px;
  backdrop-filter: blur(8px);
  max-width: 90%;
}

.privacy-link {
  color: #fff;
  text-decoration: underline;
  opacity: 0.9;
}

.privacy-link:hover {
  opacity: 1;
}

.yt-iframe-container {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.yt-iframe-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 2vw;
}

/* Demo CTA */
.demo-cta {
  text-align: center;
}

.demo-cta .cta-trigger {
  font-size: 18px;
  color: var(--muted);
  margin: 0 0 var(--space-6);
}

/* Responsive Design */
@media (max-width: 1000px) {
  .demo-container {
    grid-template-columns: 1fr;
    gap: var(--space-12);
  }

  .demo-interactive {
    order: -1;
  }
}

@media (max-width: 768px) {
  .demo-section {
    padding: var(--space-16) 0;
  }

  .demo-header .h2 {
    font-size: clamp(28px, 7vw, 36px);
  }

  .demo-subtitle {
    font-size: 18px;
  }

  .testimonial-mini {
    flex-direction: column;
    text-align: center;
    gap: var(--space-3);
  }

  .testimonial-avatar {
    font-size: 36px;
  }

  /* YouTube Placeholder Responsive */
  .play-icon {
    width: 60px;
    height: 60px;
  }

  .play-text {
    font-size: 16px;
  }

  .yt-privacy-notice {
    font-size: 11px;
    padding: 6px 12px;
  }
}

/* Privacy/Security Section - Modern Card Design */
.security {
  position: relative;
}

.security::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 238, 255, 0.1) 0%, transparent 70%);
  filter: blur(60px);
  pointer-events: none;
}

.security .section-head {
  position: relative;
  margin: 0;
  z-index: 2;
}

.security .section-head .h2 {
  color: var(--ink);
  margin-bottom: var(--space-4);
}

.security .section-sub {
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto var(--space-20);
  color: var(--muted);
}

/* Security Card Container */
.security-card-container {
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
}

/* Main Security Card */
.security-card {
  position: relative;
  max-width: 900px;
  width: 100%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  padding: var(--space-16);
  box-shadow: var(--shadow-lg);
  backdrop-filter: blur(var(--blur));
  overflow: hidden;
  padding-block: 4em;
  transition: all 0.6s var(--ease);
}

.security-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.6s var(--ease);
  pointer-events: none;
}

.security-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(0, 238, 255, 0.2);
  border-color: rgba(0, 238, 255, 0.3);
}

.security-card:hover::before {
  opacity: 1;
}

/* Stylized Shield Background */
.shield-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  aspect-ratio: 1.3;
  z-index: 0;
  pointer-events: none;
  opacity: 0.15;
}

.shield-bg-svg {
  width: 100%;
  height: 100%;
  filter: drop-shadow(0 0 40px rgba(0, 238, 255, 0.5));
}

/* Security Features Grid */
.security-features {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  gap: var(--space-8);
  align-items: flex-start;
}

/* Individual Security Feature */
.security-feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-4);
  transition: all 0.3s ease-in-out;
  padding: var(--space-4);
  border-radius: var(--radius);
}

.security-feature:hover {
  transform: translateY(-4px);
  background: rgba(23, 23, 23, 0);
  backdrop-filter: blur(40px);
}

/* Feature Numbers with Glow - No Box */
.feature-number {
  position: relative;
  font-family: var(--font-sans);
  font-size: clamp(48px, 7vw, 72px);
  font-weight: 800;
  color: var(--ink);
  transition: all 0.4s var(--ease);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.security-feature:hover .feature-number {
  color: var(--accent);
  transform: scale(1.1);
}

.feature-subtitle {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
  margin: 0;
  letter-spacing: -0.01em;
  line-height: 1.3;
  transition: color 0.3s var(--ease);
}

.security-feature:hover .feature-subtitle {
  color: var(--accent);
}

.feature-explanation {
  font-size: 15px;
  line-height: 1.5;
  color: var(--muted);
  margin: 0;
  transition: color 0.3s var(--ease);
}

.security-feature:hover .feature-explanation {
  color: var(--ink-light);
}


/* Responsive Design */
@media (max-width: 900px) {
  .security-features {
    flex-direction: column;
    gap: var(--space-12);
    align-items: center;
  }
  
  .security-feature {
    max-width: 300px;
    padding: var(--space-6);
  }
  
  .security-card {
    padding: var(--space-12);
  }
  
  .shield-bg {
    width: 80%;
    aspect-ratio: 1.207;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

@media (max-width: 600px) {
  .security {
    padding-block: var(--space-16);
  }
  
  .security .section-sub {
    margin-bottom: var(--space-16);
  }
  
  .security-card {
    padding: var(--space-10);
    border-radius: var(--radius-lg);
  }
  
  .security-features {
    gap: var(--space-10);
  }
  
  .security-feature {
    gap: var(--space-3);
    padding: var(--space-4);
  }
  
  .feature-number {
    font-size: clamp(40px, 8vw, 48px);
  }
  
  .feature-subtitle {
    font-size: 16px;
  }
  
  .feature-explanation {
    font-size: 14px;
  }
}


/* Removed special styling - all pills now have uniform appearance */

/* Modern Pricing Card */
.pricing-container {
  display: flex;
  justify-content: center;
  margin-top: var(--space-16);
}

.pricing-card {
  max-width: 480px;
  width: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: var(--space-12);
  gap: var(--space-8);
}

/* Pricing Header */
.pricing-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.price-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--space-1);
}

.daily-price,
.payment-type {
  color: var(--muted);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  margin-block: 4px 16px;
}

.payment-type {
  color: #22c55e;
}

.currency {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  color: var(--muted);
}

.amount {
  font-family: var(--font-sans);
  font-size: clamp(48px, 8vw, 64px);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.period {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--muted);
}

.trial-badge {
  display: inline-flex;
  align-items: center;
  padding: var(--space-2) var(--space-4);
  background: rgba(0, 238, 255, 0.1);
  border: 1px solid rgba(0, 238, 255, 0.2);
  border-radius: var(--radius-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent-ink);
}

/* Pricing Features */
.pricing-features {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  padding: var(--space-2) 0;
}

.feature-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  font-size: 15px;
  color: var(--ink-light);
  text-align: center;
}

.feature-icon {
  flex-shrink: 0;
  color: var(--accent);
  background: rgba(0, 238, 255, 0.1);
  padding: 2px;
  border-radius: 50%;
}

/* Pricing CTA */
.pricing-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-4);
  padding-top: var(--space-6);
  position: relative;
}

.pricing-note {
  font-size: 13px;
  color: var(--muted);
  margin: 0;
  font-style: italic;
}

/* Legacy support - kept for any remaining references */
.muted { color: var(--muted); }
.appstore-cta.large img { height:44px; display:block; }

/* Minimal FAQ Design */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
  margin-top: var(--space-16);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-10);
}

/* FAQ Items - Minimal Design */
.faq-item {
  padding: 0 var(--space-6);
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  transform: translateY(0);
}


.faq-item:last-child {
  border-bottom: none;
}

.faq-item:hover {
  background: rgba(0, 0, 0, 0.02);
  transform: translateY(-1px);
}

.faq-item[open] {
  background: rgba(0, 238, 255, 0.03);
  border-color: rgba(0, 238, 255, 0.1);
  animation: expandFaq 0.4s var(--ease);
}

/* FAQ Question */
.faq-question {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-6) 0;
  transition: all 0.3s var(--ease);
  position: relative;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.question-text {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
  transition: color 0.3s var(--ease);
}

.faq-item:hover .question-text {
  color: var(--accent-ink);
}

/* Minimal + Indicator */
.question-indicator {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform 0.3s var(--ease);
  display: flex;
  align-items: center;
  justify-content: center;
}

.indicator-line {
  position: absolute;
  background: var(--muted);
  border-radius: 1px;
  transition: all 0.4s var(--ease);
}

.indicator-line.horizontal {
  width: 14px;
  height: 2px;
}

.indicator-line.vertical {
  width: 2px;
  height: 14px;
  transition-delay: 0.1s;
}

/* Active State Animations */
.faq-item[open] .indicator-line.vertical {
  transform: rotate(90deg);
  opacity: 0;
}

.faq-item[open] .indicator-line.horizontal {
  background: var(--accent);
}

.faq-item:hover .indicator-line {
  background: var(--accent);
}

/* FAQ Answer */
.faq-answer {
  overflow: hidden;
  transition: all 0.4s var(--ease);
}

.faq-item:not([open]) .faq-answer {
  max-height: 0;
  opacity: 0;
}

.faq-item[open] .faq-answer {
  max-height: 200px;
  opacity: 1;
  animation: fadeInUp 0.4s var(--ease);
}

.faq-answer p {
  color: var(--muted);
  margin: 0;
  padding: 0 0 var(--space-6) 0;
  font-size: 15px;
  line-height: 1.6;
  transition: color 0.3s var(--ease);
}

.faq-item[open]:hover .faq-answer p {
  color: var(--ink-light);
}

/* Micro-animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes expandFaq {
  0% {
    transform: translateY(0) scale(1);
  }
  50% {
    transform: translateY(-2px) scale(1.01);
  }
  100% {
    transform: translateY(0) scale(1);
  }
}

/* Dark Footer Design */
.site-footer {
  padding: var(--space-20) 0;
}

/* 3-Column Layout */
.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: var(--space-16);
  align-items: start;
  max-width: 1000px;
  margin: 0 auto;
}

/* Side Columns */
.footer-column {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
}

.footer-column:last-child {
  align-items: flex-end;
}

.footer-column-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-link {
  color: #b3b3b3;
  text-decoration: none;
  font-size: 15px;
  transition: all 0.2s var(--ease);
  padding: var(--space-1) 0;
}

.footer-link:hover {
  color: var(--accent);
  transform: translateX(3px);
}

/* Center Brand Column */
.footer-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: var(--space-3);
}

.footer-brand-name {
  font-family: var(--font-sans);
  font-size: clamp(40px, 12vw, 80px);
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  letter-spacing: -0.02em;
  line-height: 90%;
}

.footer-brand{
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer-tagline {
  color: #b3b3b3;
  margin: 0;
  font-size: 16px;
  font-weight: 500;
}

/* Social Links - Clean Structure */
.footer-social {
  display: flex;
  flex-direction: column;
  gap: var(--space-4);
  align-items: flex-end;
}

.social-item {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  text-decoration: none;
  color: #b3b3b3;
  transition: all 0.3s var(--ease);
}

.social-item:hover {
  color: #ffffff;
  transform: translateY(-2px);
}

.social-icon-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s var(--ease);
  color: #b3b3b3;
}

.social-item:hover .social-icon-wrapper {
  border-color: var(--accent);
  box-shadow: 0 6px 20px rgba(0, 238, 255, 0.3);
}

/* Twitter icon hover */
.social-item:hover svg path {
  fill: var(--accent);
}

/* Product Hunt specific - only circle becomes accent */
.social-item:hover svg path:first-child {
  fill: var(--accent);
}

.social-item:nth-child(2):hover svg path:last-child {
  fill: #1a1a1a;
}

.social-label {
  font-size: 15px;
  font-weight: 500;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-8);
  padding-top: var(--space-16);
}
.site-footer{
  position: relative;
}



.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--space-6);
}

.footer-legal p {
  color: var(--muted);
  margin: 0;
  font-size: 14px;
}

/* Minimal Social Links */
.footer-social {
  display: flex;
  gap: var(--space-3);
}

.social-link {
  display: inline-flex;
  width: 32px;
  height: 32px;
  align-items: center;
  justify-content: center;
  color: var(--muted);
  text-decoration: none;
  border-radius: var(--radius);
  transition: all 0.3s var(--ease);
  background: transparent;
}

.social-link:hover {
  color: var(--accent-ink);
  background: rgba(0, 238, 255, 0.08);
  transform: translateY(-2px);
}

.social-link .icon {
  width: 16px;
  height: 16px;
}

/* Footer Badges */
.footer-badges {
  display: flex;
  gap: var(--space-2);
}

.footer-badge {
  padding: var(--space-1) var(--space-3);
  font-size: 12px;
  font-weight: 500;
  color: var(--muted);
  background: rgba(0, 0, 0, 0.04);
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-subtle);
  transition: all 0.2s var(--ease);
}

.footer-badge:hover {
  color: var(--accent-ink);
  background: rgba(0, 238, 255, 0.08);
  border-color: rgba(0, 238, 255, 0.2);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 4px 12px rgba(0, 238, 255, 0.15);
}

.footer-badge:active {
  transform: translateY(0) scale(0.98);
  transition: transform 0.1s ease-out;
}

/* Enhanced Motion & Micro-Interactions */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: all 0.8s var(--ease);
}

.reveal-up.is-visible {
  opacity: 1;
  transform: none;
}

/* Unused .reveal-fade styles removed */

/* Staggered animations for card grids */
.card-grid .card:nth-child(1) { transition-delay: 0.1s; transition-property: transform;}
.card-grid .card:nth-child(2) { transition-delay: 0.2s; transition-property: transform;}
.card-grid .card:nth-child(3) { transition-delay: 0.3s; transition-property: transform;}
.card-grid .card:nth-child(4) { transition-delay: 0.1s; transition-property: transform;}
.card-grid .card:nth-child(5) { transition-delay: 0.2s; transition-property: transform;}
.card-grid .card:nth-child(6) { transition-delay: 0.3s; transition-property: transform;}

/* Enhanced hover effects for interactive elements */
.nav-link {
  position: relative;
  transition: var(--transition);
}



/* Brand logo hover animation */
.brand {
  transition: var(--transition);
}

.brand:hover {
  transform: scale(1.05);
}

.brand-icon {
  transition: var(--transition);
}

/* Enhanced button interactions */
.footer-links a {
  position: relative;
  overflow: hidden;
}

/* Smooth scrolling enhancements */
html {
  scroll-behavior: smooth;
}

/* Loading state animations */
@keyframes shimmer {
  0% { background-position: -1000px 0; }
  100% { background-position: 1000px 0; }
}

/* Unused .loading shimmer removed */

/* Glow animations for accent elements */
@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 20px rgba(0, 238, 255, 0.3);
  }
  50% {
    box-shadow: 0 0 30px rgba(0, 238, 255, 0.6);
  }
}

/* Unused .pill-accent/.icon-wrap.accent glow assignment removed */

/* Breathing animation for hero elements */
@keyframes breathe {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.02);
  }
}

/* removed duplicate hardcoded hero::before; now using theme variable */

/* Enhanced interactive feedback */
*:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--radius);
}

/* Universal Separator System */
.separator:not(.site-header) {
  position: relative;
}

.separator::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 1px;
  background: linear-gradient(to right, transparent 0%, var(--line) 25%, var(--line) 75%, transparent 100%);
  opacity: 0.6;
}

/* Top separator variant */
.separator.separator--top::after {
  top: 0;
  bottom: auto;
}

/* Full width separator */
.separator.separator--full::after {
  left: 0;
  transform: none;
  width: 100%;
  background: linear-gradient(to right, transparent 0%, var(--line) 15%, var(--line) 85%, transparent 100%);
}

/* Subtle separator */
.separator.separator--subtle::after {
  background: linear-gradient(to right, transparent 0%, var(--line-subtle) 30%, var(--line-subtle) 70%, transparent 100%);
  width: 60%;
}

/* Underline for nav links */
.nav-link {
  position: relative;
  transition: var(--transition);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(to right, transparent 0%, var(--accent) 20%, var(--accent) 80%, transparent 100%);
  transform: scaleX(0);
  transition: transform 0.3s var(--ease);
  border-radius: 1px;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

/* Smooth transitions for all interactive elements */
a, button, input, textarea, select {
  transition: var(--transition);
}

/* Improved performance for animations */
.card,
.pill,
.icon-wrap,
.appstore-cta,
.social {
  will-change: transform;
}

/* Disable animations for reduced motion users */

@media (prefers-reduced-motion: reduce) {
  .reveal-up { opacity:1 !important; transform:none !important; transition:none !important; }
}


@media (max-width: 1200px) {
  .hero {
    padding: var(--space-20) 0;
  }
  
  .panel-card {
    width: min(900px, 90vw);
    height: calc(100vh - 180px);
    gap: var(--space-6);
  }
  
  .panel-copy {
    flex: 0 0 42%;
    padding: var(--space-10) var(--space-6) var(--space-10) 0;
  }
  
  .panel-copy .sub {
    font-size: 16px;
  }
  
  .panel-media .media-frame {
    height: 80%;
  }
}

@media (max-width: 900px) {
  /* Navigation fixes for mobile */
  .nav {
    padding: 8px 0;
  }

  .hero {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    padding: var(--space-16) 0;
    min-height: 80vh;
    max-width: 80vw;
    margin-inline: auto;
  }

  .hero-visual {
    margin-top: var(--space-12);
  }

  .hero-ctas{
    margin-bottom: 0;
  }

  section:not(.deep-features){
    width: 80vw;
    margin-inline: auto;
  }

  .card-grid.three,
  .card-grid.six {
    grid-template-columns: 1fr;
    gap: var(--space-6);
    margin: var(--space-12) 0;
  }

  .card-grid .card {
    max-width: 100%;
  }

  /* removed unused .step-media img */
  .site-footer{
    padding-block: var(--space-12);
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: var(--space-12);
    text-align: center;
    justify-items: center;
  }

  .footer-column {
    align-items: center;
  }

  .footer-center {
    order: -1;
  }

  .footer-social{
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .footer-column:last-child{
    align-items: center;
  }

  .social-item{
    flex-direction: row-reverse;
  }


  .nav-links {
    display: none;
  }
  
  .hs .section-head {
    margin-bottom: 4vh;
  }
  
  .hs__sticky {
    top: calc(60px + 70px);
    height: calc(100vh - 130px);
  }
  
  .panel-card {
    flex-direction: column;
    height: calc(100vh - 160px);
    width: min(600px, 92vw);
    gap: var(--space-6);
    align-items: center;
  }
  
  .panel-copy {
    flex: 0 0 auto;
    padding: var(--space-8) var(--space-6);
    text-align: center;
    order: 2;
  }
  
  .panel-copy .h2 {
    margin-bottom: var(--space-6);
    margin-inline: auto;
  }
  
  .panel-copy .sub {
    font-size: 15px;
    max-width: 50ch;
    margin-inline: auto;
  }
  
  .panel-media {
    flex: 1;
    order: 1;
    width: 100%;
    max-width: 400px;
  }
  
  .panel-media .media-frame {
    transform: perspective(800px) rotateX(-5deg);
    height: 100%;
  }
  
  .panel-media .media-frame:hover {
    transform: perspective(800px) rotateX(-2deg) translateY(-6px);
  }
  
  .appstore-cta.custom.small {
    padding: var(--space-2) var(--space-3);
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .container {
    max-width: 80vw;
  }

  .hero {
    padding: var(--space-12) 0;
    text-align: center;
  }

  .hero-ctas {
    flex-direction: column;
    gap: var(--space-6);
  }

  .hero-badges {
    flex-direction: column;
    gap: var(--space-4);
    margin-top: var(--space-4);
  }

  .hero-badges .ph-badge-hero img {
    width: 220px;
    height: auto;
  }

  .badges {
    justify-content: center;
    gap: var(--space-2);
  }

  .pill {
    font-size: 12px;
    padding: var(--space-2) var(--space-3);
  }

  .card {
    padding: var(--space-6);
  }

  .card-grid {
    gap: var(--space-5);
    margin: var(--space-10) 0;
  }

  .card-grid.three,
  .card-grid.six {
    grid-template-columns: 1fr;
    gap: var(--space-5);
  }

  .icon-wrap {
    width: 40px;
    height: 40px;
  }

  .icon-wrap .icon {
    width: 18px;
    height: 18px;
  }

  .appstore-cta.custom {
    padding: var(--space-3) var(--space-5);
    gap: var(--space-2);
  }

  .appstore-cta.custom .apple-icon {
    width: 20px;
    height: 20px;
  }

  .appstore-cta.custom .store-text {
    font-size: 14px;
  }

  .appstore-cta.custom.large {
    padding: var(--space-4) var(--space-6);
  }

  .hs__panel {
    padding: 0 4vw;
  }

}

/* ========================================
   TIMELINE COMPONENT - FUTURE VISION SECTION
   ======================================== */

/* Timeline Container - Main wrapper */
.timeline-container {
  position: relative;
  margin: var(--space-16) auto;
  padding: var(--space-8) 0;
  max-width: 1200px;
  width: 100%;
}

/* Timeline Track - Horizontal line container */
.timeline-track {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: clamp(1rem, 4vw, 3rem); /* Responsive gap: 16px min, 4vw preferred, 48px max */
  width: 100%;
  max-width: 1200px; /* Contained within parent */
  margin: 0 auto;
  padding: 0 var(--space-6); /* Add padding to prevent overflow */
}

/* Animated timeline line with traveling light */
.timeline-track::before {
  content: '';
  position: absolute;
  top: 60px; /* Position at node center (120px node height / 2) */
  left: 10%; /* Start roughly at first node center */
  right: 10%; /* End roughly at last node center */
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--glass-border) 0%,
    var(--glass-border) 45%,
    var(--accent) 50%,
    var(--glass-border) 55%,
    var(--glass-border) 100%
  );
  background-size: 400% 100%;
  z-index: 1;
  border-radius: 1px;
  animation: timelineGlow 20s ease-in-out infinite;
}

/* Timeline Item - Individual phase */
.timeline-item {
  position: relative;
  flex: 0 0 280px; /* Fixed width instead of flex: 1 */
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  z-index: 2;
  transition: all 0.4s var(--ease);
}

.timeline-item:hover {
  transform: translateY(-8px);
}

/* Timeline Node - Circle dots */
.timeline-node {
  position: relative;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: var(--glass);
  border: 3px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-6);
  transition: all 0.4s var(--ease);
  backdrop-filter: blur(var(--blur));
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.timeline-node::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s var(--ease);
  z-index: -1;
}

.timeline-item:hover .timeline-node {
  border-color: var(--accent);
  box-shadow: var(--shadow-lg), 0 0 40px rgba(0, 238, 255, 0.3);
  transform: scale(1.05);
}

.timeline-item:hover .timeline-node::before {
  opacity: 1;
}

/* Timeline Node Icon */
.timeline-node .icon {
  width: 48px;
  height: 48px;
  color: var(--accent);
  transition: all 0.3s var(--ease);
}

.timeline-item:hover .timeline-node .icon {
  color: var(--ink);
  transform: scale(1.1);
}

/* Timeline Content - Text content */
.timeline-content {
  flex: 1;
  max-width: 320px; /* More space for content */
  min-width: 260px; /* Ensures minimum readable width */
}

.timeline-title {
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 var(--space-4);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.timeline-description {
  font-size: 15px;
  line-height: 1.6;
  color: var(--muted);
  margin-block: 0 var(--space-4);
  max-width: 90%;
  margin-inline: auto; /* Center on desktop */
}

.timeline-timing {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  font-style: italic;
  opacity: 0.9;
  margin: 0;
}

/* Animated spotlight effect - each node gets featured in sequence */
.timeline-item:nth-child(1) .timeline-node { animation: timelineSpotlight1 40s ease-in-out infinite; }
.timeline-item:nth-child(2) .timeline-node { animation: timelineSpotlight2 40s ease-in-out infinite; }
.timeline-item:nth-child(3) .timeline-node { animation: timelineSpotlight3 40s ease-in-out infinite; }
.timeline-item:nth-child(4) .timeline-node { animation: timelineSpotlight4 40s ease-in-out infinite; }

/* Title spotlight animations */
.timeline-item:nth-child(1) .timeline-title { animation: titleSpotlight1 40s ease-in-out infinite; }
.timeline-item:nth-child(2) .timeline-title { animation: titleSpotlight2 40s ease-in-out infinite; }
.timeline-item:nth-child(3) .timeline-title { animation: titleSpotlight3 40s ease-in-out infinite; }
.timeline-item:nth-child(4) .timeline-title { animation: titleSpotlight4 40s ease-in-out infinite; }


/* Timeline Light Animation */
@keyframes timelineGlow {
  0% {
    background-position: 150% 0;
  }
  100% {
    background-position: -150% 0;
  }
}

/* Timeline Spotlight Animations - Gradual fade in/out with 2% gaps */
@keyframes timelineSpotlight1 {
  0% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
  5% {
    border-color: var(--accent);
    background: rgba(0, 238, 255, 0.1);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 238, 255, 0.2);
  }
  23% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
  100% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
}

@keyframes timelineSpotlight2 {
  0%, 25% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
  30% {
    border-color: var(--accent);
    background: rgba(0, 238, 255, 0.1);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 238, 255, 0.2);
  }
  48% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
  100% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
}

@keyframes timelineSpotlight3 {
  0%, 50% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
  55% {
    border-color: var(--accent);
    background: rgba(0, 238, 255, 0.1);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 238, 255, 0.2);
  }
  73% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
  100% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
}

@keyframes timelineSpotlight4 {
  0%, 75% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
  80% {
    border-color: var(--accent);
    background: rgba(0, 238, 255, 0.1);
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0, 238, 255, 0.2);
  }
  98% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
  100% {
    border-color: var(--glass-border);
    background: var(--glass);
    box-shadow: var(--shadow-md);
  }
}

/* Title spotlight animations - Gradual fade in/out with 2% gaps */
@keyframes titleSpotlight1 {
  0% { color: var(--ink); }
  5% { color: var(--accent); }
  23% { color: var(--ink); }
  100% { color: var(--ink); }
}

@keyframes titleSpotlight2 {
  0%, 25% { color: var(--ink); }
  30% { color: var(--accent); }
  48% { color: var(--ink); }
  100% { color: var(--ink); }
}

@keyframes titleSpotlight3 {
  0%, 50% { color: var(--ink); }
  55% { color: var(--accent); }
  73% { color: var(--ink); }
  100% { color: var(--ink); }
}

@keyframes titleSpotlight4 {
  0%, 75% { color: var(--ink); }
  80% { color: var(--accent); }
  98% { color: var(--ink); }
  100% { color: var(--ink); }
}

/* ========================================
   TIMELINE RESPONSIVE BREAKPOINTS
   ======================================== */

/* Tablet - Vertical Timeline */
@media (max-width: 1300px) {
  /* Future section responsive fixes */
  .timeline-container {
    width: 90vw;
    margin-left: auto;
    margin-right: auto;
    padding: var(--space-6) var(--space-4);
  }

  .value-title {
    font-size: clamp(28px, 4vw, 40px);
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
  }

  .value-subtitle {
    font-size: 16px;
    max-width: 100%;
    padding: 0 var(--space-2);
  }

  .timeline-track {
    flex-direction: column;
    align-items: center;
    gap: 8rem; /* Reduced gap for tablet vertical layout */
  }

  /* Vertical animated timeline line */
  .timeline-track::before {
    top: 60px;
    bottom: 60px;
    left: 50%;
    right: auto;
    width: 2px;
    height: auto;
    background: linear-gradient(
      to bottom,
      var(--glass-border) 0%,
      var(--glass-border) 45%,
      var(--accent) 50%,
      var(--glass-border) 55%,
      var(--glass-border) 100%
    );
    background-size: 100% 400%;
    transform: translateX(-50%);
    animation: timelineGlowVertical 4s ease-in-out infinite;
  }

  .timeline-item {
    flex-direction: row;
    text-align: left;
    max-width: 600px;
    width: 100%;
    flex: 1;
  }

  .timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
  }

  .timeline-node {
    flex-shrink: 0;
    margin-bottom: 0;
    margin-left: var(--space-6);
    margin-right: var(--space-6);
  }

  .timeline-content {
    max-width: none;
    flex: 1;
  }

  /* Reset margin-inline auto for tablet reversed layout */
  .timeline-description {
    margin-inline: 0;
  }

  /* Remove right margin on odd items (1st, 3rd) that are right-aligned */
  .timeline-item:nth-child(odd) .timeline-description {
    margin-right: 0;
  }

  /* Ensure text alignment and remove margins for reversed items */
  .timeline-item:nth-child(odd) .timeline-content {
    text-align: right;
    padding-right: 0;
    margin-right: 0;
  }

  /* FORCE OVERRIDE margin-inline auto for odd items */
  .timeline-item:nth-child(odd) .timeline-description {
    margin-inline: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

}

/* Vertical Animation Keyframe */
@keyframes timelineGlowVertical {
  0% {
    background-position: 0 150%;
  }
  100% {
    background-position: 0 -150%;
  }
}

/* Mobile - Simple Stack */
@media (max-width: 900px) {
  /* Future section mobile fixes */
  .timeline-container {
    margin: var(--space-12) auto;
    padding: var(--space-6) var(--space-3);
    margin-left: auto;
    margin-right: auto;
    * {
      min-width: 0;
      max-width: 80vw;
      }
  }

  .timeline-track::before{
    top: 80px;
  }

  .value-title {
    font-size: clamp(24px, 6vw, 36px);
    max-width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    padding: 0 var(--space-2);
  }

  .value-subtitle {
    font-size: 15px;
    max-width: 100%;
    padding: 0 var(--space-3);
    line-height: 1.6;
  }

  .timeline-track {
    gap: 4rem; /* Reduced gap for mobile */
  }

  .timeline-track::before {
    top: 120px;
    height: 80%;
    left: 64px; /* Align with center of 80px icons (40px + padding adjustment) */
    transform: none;
  }

  .timeline-item {
    flex-direction: row;
    text-align: left;
    max-width: none;
    flex: 1;
  }

  .timeline-item:nth-child(odd) {
    flex-direction: row;
  }

  .timeline-item:nth-child(odd) .timeline-content {
    text-align: left;
  }

  /* RESET tablet margin rules for mobile - all items left aligned */
  .timeline-description {
    margin-inline: 0 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .timeline-item:nth-child(odd) .timeline-description {
    margin-inline: 0 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
  }

  .timeline-node {
    width: 80px;
    height: 80px;
    margin-left: 0;
    margin-right: var(--space-5);
  }

  .timeline-node .icon {
    width: 32px;
    height: 32px;
  }

  .timeline-title {
    font-size: 18px;
    max-width: 80%;
  }

  .timeline-description {
    font-size: 14px;
    line-height: 1.5;
    width: 80%;
  }
}

/* Small Mobile - Ultra compact */
@media (max-width: 600px) {
  /* Future section small mobile fixes */
  .timeline-container {
    width: 80vw;
    padding: var(--space-4) var(--space-2);

    *{
      min-width: 0;
      max-width: 80vw;
    }
  }

  .value-title {
    font-size: clamp(20px, 7vw, 32px);
    line-height: 1.2;
    padding: 0 var(--space-3);
    text-align: center;
  }

  .value-subtitle {
    font-size: 14px;
    padding: 0 var(--space-4);
    text-align: center;
    line-height: 1.5;
  }

  .timeline-track::before {
    left: 52px; /* Align with center of 60px icons (30px + padding adjustment) */
    transform: none;
    
  }

  .timeline-node {
    width: 60px;
    height: 60px;
    margin-right: var(--space-4);
  }

  .timeline-node .icon {
    width: 24px;
    height: 24px;
  }

  .timeline-title {
    font-size: 16px;
    margin-bottom: var(--space-3);
    max-width: 160px;
  }

  .timeline-description {
    font-size: 13px;
    line-height: 1.5;
    width: 80%;
  }

  .timeline-timing {
    font-size: 11px;
  }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
  .timeline-item,
  .timeline-node,
  .timeline-node .icon {
    transition: none;
  }

  .timeline-item:hover {
    transform: none;
  }

  .timeline-item:hover .timeline-node {
    transform: none;
  }

  /* Static timeline for users who prefer reduced motion */
  .timeline-track::before {
    animation: none;
    background: var(--glass-border);
  }
}

@media (max-width: 400px) {
  /* Navigation fixes for extra small mobile */
  .container {
    width: min(1100px, 98vw);
  }

  .h1 {
    font-size: clamp(32px, 8vw, 48px);
  }

  .subhead {
    font-size: 16px;
  }

  .card {
    padding: var(--space-5);
  }

  .card-grid {
    gap: var(--space-4);
    margin: var(--space-8) 0;
  }

  .card-grid.three,
  .card-grid.six {
    grid-template-columns: 1fr;
    gap: var(--space-4);
  }

  .footer-social .social {
    width: 40px;
    height: 40px;
  }

  .footer-social .social .icon {
    width: 18px;
    height: 18px;
  }
}


  /* Fix for mobile browser UI space */
  @supports (height: 100dvh) {
    body {
      min-height: 100dvh;
    }
  }

  /* Fallback for older browsers */
  @supports not (height: 100dvh) {
    body {
      min-height: 100vh;
      min-height: -webkit-fill-available;
    }
  }