/* CSS Reset and Base Styles */
*,
*::before,
*::after {
  box-sizing: border-box;
}

* {
  margin: 0;
  padding: 0;
}

/* Root Variables */
:root {
  /* Elevated minimalist color palette inspired by Cluely and Dia */
  --color-background: #ffffff;
  --color-background-alt: #F8FAFC;
  --color-text-primary: #0F172A;
  --color-text-secondary: #475569;
  --color-white: #ffffff;
  
  /* Soft accent colors */
  --color-blue-bg: #f7fafe;
  --color-blue-text: #2563eb;
  --color-pink-bg: #fdf2f8;
  --color-pink-text: #9333ea;
  --color-teal-bg: #f0fdfa;
  --color-teal-text: #0d9488;
  
  /* Primary brand color with variations */
  --color-primary: #2563eb;
  --color-primary-dark: #1d4ed8;
  --color-primary-light: #dbeafe;
  
  /* Additional UI colors */
  --color-border: #e2e8f0;
  --color-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.03);
  --color-shadow-md: 0 4px 10px rgba(0, 0, 0, 0.03);
  --color-shadow-lg: 0 6px 20px rgba(0, 0, 0, 0.04);
  
  --font-family-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-size-5xl: 3rem;
  
  --spacing-xs: 0.5rem;
  --spacing-sm: 0.75rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  --spacing-4xl: 6rem;
  
  --border-radius-sm: 8px;
  --border-radius-md: 12px;
  --border-radius-lg: 16px;
}

/* Base Styles */
html {
  font-size: 16px;
  line-height: 1.6;
  scroll-behavior: smooth;
}

/* Sticky Navigation */
.nav-container {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.02);
  transition: all 0.3s ease;
  padding: 16px 0;
}

.nav-container.scrolled {
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

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

.nav-logo a {
  font-weight: 600;
  font-size: var(--font-size-lg);
  color: var(--color-text-primary);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-link {
  color: var(--color-text-secondary);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-base);
  transition: all 0.2s ease;
  position: relative;
}

.nav-link:after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-primary);
  transition: width 0.2s ease;
}

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

.nav-link:hover:after {
  width: 100%;
}

.nav-button {
  background-color: var(--color-primary);
  color: white;
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  font-size: var(--font-size-sm);
}

.nav-button:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-1px);
}

body {
  font-family: 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
  background-color: var(--color-background);
  color: var(--color-text-primary);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  line-height: 1.7;
  letter-spacing: -0.01em;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3 {
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: var(--spacing-md);
  letter-spacing: -0.025em;
  color: var(--color-text-primary);
}

h1 {
  font-size: clamp(var(--font-size-3xl), 6vw, var(--font-size-5xl));
  font-weight: 600;
  line-height: 1.1;
  text-align: center;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: 500;
  text-align: center;
  margin-bottom: var(--spacing-md);
}

h3 {
  font-size: var(--font-size-xl);
  font-weight: 500;
  margin-bottom: var(--spacing-md);
}

p {
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: var(--spacing-lg);
  font-size: var(--font-size-base);
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

/* Layout */
.container {
  width: 92%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

section {
  padding: var(--spacing-4xl) 0;
  position: relative;
  overflow: hidden;
}

section::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-border);
  opacity: 0.5;
}

/* Hero Section */
.hero {
  padding: var(--spacing-5xl) 0;
  text-align: center;
  background: radial-gradient(
    circle at center,
    #dbeafe 0%,
    #bfdbfe 50%,
    #93c5fd 100%
  );
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.4) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

.logo-container {
  display: flex;
  justify-content: center;
  margin-bottom: var(--spacing-3xl);
}

.app-logo {
  width: 64px;
  height: 64px;
  border-radius: 12px;
  box-shadow: var(--color-shadow-sm);
}

.hero-subtitle {
  font-size: var(--font-size-xl);
  color: var(--color-text-primary);
  max-width: 600px;
  margin: 0 auto var(--spacing-3xl);
  letter-spacing: -0.01em;
  line-height: 1.5;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.hero-cta {
  display: flex;
  justify-content: center;
  margin-top: var(--spacing-2xl);
}

.cta-button {
  background-color: white;
  color: var(--color-primary-dark);
  padding: 12px 32px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: -0.01em;
  display: inline-block;
  font-size: var(--font-size-base);
}

.cta-button:hover {
  background-color: white;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* New Built For People Who Section */
.built-for-section-new {
  background-color: #f8f9fa; /* bg-gray-50 */
  padding: 4rem 0; /* py-16 mobile */
  overflow: hidden;
}

@media (min-width: 768px) { /* md breakpoint */
  .built-for-section-new {
    padding: 6rem 0; /* py-24 desktop */
  }
}

.built-for-section-new .section-title {
  text-align: center;
  font-size: 2.5rem; /* ~40px */
  font-weight: 700;
  color: #111827; /* text-gray-900 */
  margin-bottom: 4rem; /* mb-16 */
}

.two-column-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) { /* md breakpoint */
  .two-column-grid {
    grid-template-columns: 35% 1fr;
    gap: 7rem; /* Further increased for more breathing room */
  }
}

.left-column {
  display: flex;
  justify-content: center;
}

.headings-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.heading-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 1.5rem; /* text-2xl */
  font-weight: 600; /* font-semibold */
  color: #1f2937; /* text-gray-800 */
  opacity: 0.65; /* Increased opacity for inactive items */
  transition: opacity 0.4s ease, transform 0.4s ease;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.75rem;
  position: relative; /* For the underline pseudo-element */
}

.heading-item .heading-text {
  white-space: nowrap;
  position: relative; /* For the underline pseudo-element */
}

.heading-item.active .heading-text::after {
  content: '';
  position: absolute;
  bottom: -5px; /* Adjust as needed for spacing */
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #4f46e5; /* Indigo color, or use a CSS variable */
  transform-origin: left;
  animation: growUnderline 0.3s ease-out forwards;
}

@keyframes growUnderline {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

.heading-item.active {
  opacity: 1;
  color: #111827; /* text-gray-900 */
  transform: translateX(10px);
}

.heading-emoji {
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.heading-item.active .heading-emoji {
    transform: scale(1.2);
}

.right-column {
  position: relative;
  min-height: 280px; /* Adjusted height */
}

.content-card {
  background-color: white;
  border-radius: 1.5rem; /* rounded-3xl approx */
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.07), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
  padding: 2.5rem; /* px-10 py-10 */
  position: relative;
  height: 100%;
  min-height: 280px;
}

.content-slide {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}

.thought-bubble {
  background-color: #e5e7eb; /* bg-gray-200 */
  padding: 0.75rem 1.25rem;
  border-radius: 1.5rem;
  font-size: 1.125rem;
  line-height: 1.6;
  color: #374151; /* text-gray-700 */
  display: inline-block;
  align-self: flex-start;
  max-width: 90%;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.thought-bubble:nth-child(2) {
  align-self: flex-end;
  background-color: #e5e7eb; /* bg-gray-200 */
}

.thought-bubble:nth-child(3) {
   max-width: 80%;
}

/* Inner Monologue Animation Styles */
.inner-monologue-box {
  background-color: #f9fafb; /* bg-neutral-50 */
  border-radius: 0.75rem; /* rounded-xl */
  padding: 1.5rem 2rem;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1), 0 0 0 1px #dbeafe; /* shadow-md & ring-1 ring-blue-100 */
  max-width: 28rem; /* max-w-md */
  margin: 0 auto; /* Center in the column */
  font-family: 'SFMono-Regular', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  min-height: 280px; /* Match other cards */
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.monologue-line {
  font-size: 1.125rem; /* text-lg */
  color: #334155; /* text-slate-700 */
  margin-bottom: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  min-height: 1.5em; /* Reserve space to prevent layout shift */
  white-space: pre-line;
  overflow: hidden;
}

.monologue-line.visible {
  opacity: 1;
  transform: translateY(0);
}

.monologue-line.typing::after {
  content: '|';
  animation: blink 1s step-end infinite;
  margin-left: 2px;
  color: #64748b; /* text-slate-500 */
}

@keyframes blink {
  from, to { opacity: 1; }
  50% { opacity: 0; }
}

/* Search Frustration Animation (Card 2) Styles */
.search-animation-container {
  position: relative;
  width: 100%;
  max-width: 320px; /* Adjust as needed */
  min-height: 280px; /* Match other cards */
  margin: 0 auto; /* Center in the column */
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 1000px; /* For potential 3D effects if desired later */
}

.app-mockup {
  position: absolute;
  width: 90%; /* Slightly smaller than container */
  height: 80%; /* Adjust as needed */
  background-color: #ffffff; /* White background for app screens */
  border-radius: 12px; /* Rounded corners for app frames */
  box-shadow: 0 5px 15px rgba(0,0,0,0.1), 0 2px 5px rgba(0,0,0,0.05); /* Subtle shadow */
  overflow: hidden;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: flex;
  flex-direction: column; /* To position thought bubble easily */
  align-items: center;
  justify-content: center; /* Center content for simple mockups */
  padding: 1rem;
}

.app-mockup.active {
  opacity: 1;
  z-index: 10;
}

.app-screen-content {
  width: 100%;
  height: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 0.8rem;
  color: #333;
  overflow-y: auto; /* For scrolling effect in photos/notes */
}

/* Photos App Mockup */
.photos-app .app-screen-content {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  padding: 5px;
}
.photo-grid-item {
  background-color: #e0e0e0; /* Placeholder for images */
  border-radius: 4px;
  height: 60px; /* Adjust as needed */
}
.photo-grid-item.active-scroll {
  border: 2px solid #007aff; /* Simulate focus/scroll target */
}

/* Notes App Mockup */
.notes-app .app-screen-content {
  padding: 10px;
}
.note-list-item {
  padding: 8px 0;
  border-bottom: 1px solid #f0f0f0;
}
.note-list-item:last-child {
  border-bottom: none;
}
.note-highlight {
  background-color: #fffbe6; /* Light yellow highlight */
  font-weight: 600;
}

/* Calendar App Mockup */
.calendar-app .app-screen-content {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 1rem;
  color: #8e8e93;
}

/* Overlay Thought Bubble */
.overlay-thought {
  position: absolute;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: rgba(0, 0, 0, 0.75);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  font-weight: 500;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  z-index: 20; /* Above app mockup */
  white-space: nowrap;
}

.overlay-thought.visible {
  opacity: 1;
}

/* iMessage Chat Animation (Card 3) Styles */
.imessage-chat-container {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* 12px */
  padding: 1rem; /* 16px */
  width: 100%;
  max-width: 320px; /* Consistent with other cards */
  min-height: 280px; /* Consistent with other cards */
  margin: 0 auto;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  overflow-y: auto; /* In case messages overflow, though animation should fit */
  /* Hide scrollbar for Firefox */
  scrollbar-width: none;
  /* Hide scrollbar for IE, Edge */
  -ms-overflow-style: none;
}

/* Hide scrollbar for Chrome, Safari and Opera */
.imessage-chat-container::-webkit-scrollbar {
  display: none;
}

.message-bubble {
  padding: 0.625rem 1rem; /* 10px 16px */
  border-radius: 1.25rem; /* 20px */
  max-width: 75%;
  line-height: 1.4;
  font-size: 0.95rem; /* Slightly larger for readability */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}

.message-bubble.visible {
  opacity: 1;
  transform: translateY(0);
}

.sender-brother {
  background-color: #e5e5ea; /* iOS gray bubble */
  color: #000000;
  align-self: flex-start;
  border-bottom-left-radius: 0.25rem; /* Slight flattening for tail effect */
}

.sender-you {
  background-color: #007aff; /* iOS blue bubble */
  color: #ffffff;
  align-self: flex-end;
  border-bottom-right-radius: 0.25rem; /* Slight flattening for tail effect */
}

/* Carousel Dots */
.carousel-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-top: 1.5rem; /* Spacing from the content above */
  padding-bottom: 1rem;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #d1d5db; /* gray-300 */
  margin: 0 5px;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

.dot:hover {
  background-color: #9ca3af; /* gray-400 */
}

.dot.active {
  background-color: #4f46e5; /* Indigo, same as active heading underline */
  transform: scale(1.2);
}

/* Alpine.js transition classes */
.transition-all {
  transition-property: all;
  transition-duration: 800ms;
  transition-timing-function: ease;
}

.transition-opacity {
  transition-property: opacity;
  transition-duration: 800ms;
  transition-timing-function: ease;
}

.opacity-0 {
  opacity: 0;
}

.opacity-100 {
  opacity: 1;
}

/* Transform utilities */
.transform {
  --tw-translate-x: 0;
  --tw-translate-y: 0;
  --tw-rotate: 0;
  --tw-skew-x: 0;
  --tw-skew-y: 0;
  --tw-scale-x: 1;
  --tw-scale-y: 1;
  transform: translateX(var(--tw-translate-x)) translateY(var(--tw-translate-y)) rotate(var(--tw-rotate))
    skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
}

.translate-y-0 {
  --tw-translate-y: 0px;
}

.translate-y-4 {
  --tw-translate-y: 1rem;
}

.-translate-y-4 {
  --tw-translate-y: -1rem;
}

/* Text center utility classes */
.text-center {
  text-align: center;
}

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

/* Responsive styles */
@media (max-width: 768px) {
  .carousel-container {
    height: 460px;
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .carousel-slide {
    padding: 2.5rem 1.5rem;
    max-width: 100%;
    border-radius: var(--border-radius-lg);
  }
  
  .slide-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
  }
  
  .slide-title {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
  }
  
  .slide-text {
    font-size: 1rem;
    line-height: 1.7;
  }
  
  .built-for-section {
    padding: 3rem 0;
  }
  
  .built-for-section h2 {
    font-size: 1.875rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
    margin-bottom: 1.5rem;
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .carousel-container {
    height: 500px;
  }
  
  .carousel-slide {
    padding: 1.75rem 1.25rem;
    max-width: 100%;
    border-radius: 20px;
  }
  
  .slide-text {
    gap: 0.5rem;
  }
  
  .slide-icon {
    font-size: 2.75rem;
    margin-bottom: 0.75rem;
  }
  
  .slide-title {
    font-size: 1.375rem;
    margin-bottom: 1.25rem;
  }
}

/* Styles for strong elements in people cards */
.people-card strong {
  color: var(--color-text-primary);
  font-weight: 500;
}

/* Add responsive styles for the vertical layout */
@media (max-width: 768px) {
  .people-cards-container {
    gap: 48px;
  }
  
  .built-for-section h2 {
    font-size: 32px;
    padding: 24px 0;
  }
  
  .people-card h3 {
    font-size: 24px;
  }
  
  .people-card p {
    font-size: 16px;
  }
}

.people-card h3 {
  font-size: var(--font-size-lg);
  margin-bottom: var(--spacing-md);
}

.people-card p {
  font-size: var(--font-size-base);
  margin-bottom: var(--spacing-md);
}

.card-list {
  margin-bottom: var(--spacing-md);
}

.card-list li {
  margin-bottom: var(--spacing-xs);
}

/* Features Section */
.features-section {
  background-color: var(--color-white);
  padding: var(--spacing-4xl) 0;
}

.features-intro {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-3xl);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-2xl);
}

.feature-card {
  background-color: var(--color-white);
  padding: 24px;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  transition: all 0.2s ease-in-out;
  border-bottom: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
}

.feature-card:nth-child(1):hover {
  border-bottom-color: var(--color-blue-text);
}

.feature-card:nth-child(2):hover {
  border-bottom-color: var(--color-pink-text);
}

.feature-card:nth-child(3):hover {
  border-bottom-color: var(--color-teal-text);
}

.feature-card:nth-child(4):hover {
  border-bottom-color: var(--color-primary);
}

.feature-card h3 {
  margin-bottom: var(--spacing-md);
}

.feature-card p {
  margin-bottom: 0;
}

/* How It Works Section */
.how-it-works-section {
  background: linear-gradient(to bottom, #ffffff, #f8fafc);
  padding: var(--spacing-5xl) 0;
  position: relative;
}

.how-it-works-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100%;
  background: radial-gradient(circle at 30% 50%, rgba(219, 234, 254, 0.3) 0%, rgba(255, 255, 255, 0) 70%);
  z-index: -1;
}

.how-it-works-container {
  display: flex;
  flex-direction: row;
  gap: var(--spacing-2xl);
  align-items: center;
}

.steps-container {
  flex: 1;
  max-width: 500px;
}

.step-item {
  background-color: var(--color-white);
  padding: 24px;
  border-radius: 16px;
  margin-bottom: var(--spacing-lg);
  opacity: 0.7;
  transform: translateX(-10px);
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.03);
  position: relative;
}

.step-item.active {
  opacity: 1;
  transform: translateX(0);
  box-shadow: 0 6px 20px rgba(0,0,0,0.04);
  border-left: 3px solid var(--color-primary);
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-weight: 500;
  margin-right: var(--spacing-md);
  font-size: 14px;
}

.screenshots-container {
  flex: 1;
  position: relative;
  height: 500px;
}

.screenshot {
  position: absolute;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.screenshot.active {
  opacity: 1;
  transform: translateY(0);
}

.screenshot img {
  max-height: 500px;
  border-radius: 24px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.06);
  border: 1px solid var(--color-border);
  transition: all 0.3s ease;
}

.screenshot.active img {
  transform: translateY(-5px);
}

.step-indicators {
  display: flex;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-lg);
}

.step-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--color-text-secondary);
  opacity: 0.3;
  margin: 0 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.step-dot.active {
  opacity: 1;
  background-color: var(--color-primary);
  transform: scale(1.5);
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Fade-in animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Card animations */
.feature-card, .people-card {
  opacity: 0;
  transform: translateY(15px);
  transition: all 0.4s ease-out;
}

.feature-card.visible, .people-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.people-card:nth-child(2) {
  transition-delay: 0.1s;
}

.people-card:nth-child(3) {
  transition-delay: 0.2s;
}

.feature-card:nth-child(2) {
  transition-delay: 0.1s;
}

.feature-card:nth-child(3) {
  transition-delay: 0.2s;
}

.feature-card:nth-child(4) {
  transition-delay: 0.3s;
}

/* Footer */
.site-footer {
  background-color: var(--color-background-alt);
  padding: var(--spacing-2xl) 0;
  text-align: center;
  color: var(--color-text-secondary);
  border-top: 1px solid var(--color-border);
}

.site-footer p {
  font-size: var(--font-size-sm);
}

/* Media Queries */
@media (max-width: 768px) {
  .people-cards-container {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }
  
  .people-card {
    width: 100%;
    margin-bottom: var(--spacing-md);
  }
  
  .features-grid {
    flex-direction: column;
    align-items: center;
  }
  
  .feature-card {
    width: 100%;
    margin-bottom: var(--spacing-lg);
    max-width: 100%;
  }
  
  .how-it-works-container {
    flex-direction: column;
  }
  
  .steps-container,
  .screenshots-container {
    width: 100%;
  }
  
  .screenshots-container {
    margin-top: var(--spacing-xl);
  }
  
  .nav-content {
    flex-direction: column;
    gap: 16px;
  }
  
  .nav-container {
    padding: 16px 0;
  }
  
  h1 {
    font-size: clamp(var(--font-size-2xl), 5vw, var(--font-size-4xl));
  }
  
  h2 {
    font-size: var(--font-size-2xl);
  }
  
  .hero {
    padding: var(--spacing-3xl) 0;
  }
  
  .container {
    padding: 0 var(--spacing-lg);
  }
  
  section {
    padding: var(--spacing-3xl) 0;
  }
  
  h1 {
    font-size: clamp(var(--font-size-2xl), 8vw, var(--font-size-4xl));
  }
  
  h2 {
    font-size: var(--font-size-2xl);
  }
}

@media (max-width: 600px) {
  h1 {
    font-size: var(--font-size-3xl);
  }
  
  h2 {
    font-size: var(--font-size-2xl);
  }
  
  section {
    padding: var(--spacing-3xl) 0;
  }
  
  section::after {
    width: 100px;
  }
  
  .cta-button {
    padding: 12px 24px;
  }
  
  .screenshots-container {
    height: 350px;
  }
  
  .screenshot img {
    max-height: 350px;
    max-width: 90%;
  }
  
  .step-item {
    padding: var(--spacing-md);
  }
  
  .step-number {
    width: 30px;
    height: 30px;
    font-size: 0.9rem;
  }
  
  .people-card:hover,
  .feature-card:hover {
    transform: none;
  }
}