/* Tailor - Cinematic Fashion Experience */

:root {
  --black: #0a0a0a;
  --white: #fafaf9;
  --cream: #f5f5f4;
  --stone: #e7e5e4;
  --charcoal: #292524;
  --slate: #57534e;
  --fog: #a8a29e;

  --accent: #2563eb;
  --accent-light: #60a5fa;
  --purple: #7c3aed;

  --shadow-soft: 0 8px 32px rgba(0, 0, 0, 0.08);
  --shadow-medium: 0 16px 48px rgba(0, 0, 0, 0.12);
  --shadow-heavy: 0 24px 64px rgba(0, 0, 0, 0.16);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', sans-serif;
  background: var(--white);
  color: var(--charcoal);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', 'SF Pro Display', 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
  letter-spacing: -0.025em;
}

/* Navigation */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 250, 249, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.nav-container {
  max-width: 1600px;
  margin: 0 auto;
  padding: 1.25rem 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  transition: all 0.3s;
}

.logo-icon {
  width: 28px;
  height: 28px;
}

.logo-text {
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--black);
}

.logo-divider {
  width: 1px;
  height: 20px;
  background: rgba(0, 0, 0, 0.15);
  margin: 0 0.5rem;
}

.logo-product {
  font-weight: 500;
  font-size: 1rem;
  color: var(--slate);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--slate);
  text-decoration: none;
  font-size: 0.9375rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--black);
}

.nav-cta {
  background: var(--black);
  color: var(--white);
  padding: 0.625rem 1.5rem;
  border-radius: 3rem;
  font-weight: 600;
  transition: all 0.3s;
}

.nav-cta:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.mobile-menu-btn {
  display: none;
}

/* Hero Cinematic */
.hero-cinematic {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.7);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.2) 100%);
}

.hero-content-cinematic {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 1100px;
  padding: 0 2rem;
  color: white;
  animation: fadeInUp 1s ease backwards;
}

.hero-content-cinematic h1 {
  font-size: clamp(3rem, 8vw, 7rem);
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.03em;
}

.hero-accent {
  background: linear-gradient(135deg, #60a5fa 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-content-cinematic p {
  font-size: 1.375rem;
  line-height: 1.7;
  margin-bottom: 2.5rem;
  opacity: 0.95;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 4rem;
}

.btn-hero-primary {
  padding: 1.125rem 2.5rem;
  background: white;
  color: var(--black);
  border-radius: 3rem;
  font-weight: 700;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: var(--shadow-medium);
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-heavy);
}

.btn-hero-secondary {
  padding: 1.125rem 2.5rem;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: white;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  border-radius: 3rem;
  font-weight: 600;
  font-size: 1.0625rem;
  text-decoration: none;
  transition: all 0.3s;
}

.btn-hero-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
}

.hero-stats-float {
  position: absolute;
  bottom: 4rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 3rem;
  z-index: 2;
}

.stat-float {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1rem;
  padding: 1.5rem 2rem;
  text-align: center;
  color: white;
  min-width: 140px;
}

.stat-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-text {
  font-size: 0.8125rem;
  opacity: 0.9;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

/* Interactive Demo Section */
.interactive-demo-section {
  background: var(--cream);
  max-width: 100%;
  padding: 8rem 3rem;
}

.demo-showcase-header {
  text-align: center;
  margin-bottom: 5rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.demo-showcase-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

.demo-showcase-header p {
  font-size: 1.25rem;
  color: var(--slate);
}

.interactive-demo-container {
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  min-height: 700px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.demo-search-box {
  width: 100%;
  max-width: 700px;
  background: white;
  border: 2px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.5rem;
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-soft);
  position: relative;
  overflow: hidden;
  z-index: 10;
}

.demo-search-box:hover {
  border-color: var(--accent);
  box-shadow: 0 16px 48px rgba(37, 99, 235, 0.15);
  transform: translateY(-4px);
}

.demo-search-box.active {
  border-color: var(--accent);
  box-shadow: 0 24px 64px rgba(37, 99, 235, 0.2);
  transform: translateY(-8px) scale(1.02);
}

.search-icon {
  color: var(--slate);
  flex-shrink: 0;
  transition: all 0.3s;
}

.demo-search-box:hover .search-icon {
  color: var(--accent);
  transform: rotate(90deg);
}

.demo-search-box input {
  flex: 1;
  background: none;
  border: none;
  outline: none;
  font-size: 1.0625rem;
  color: var(--black);
  font-family: inherit;
}

.demo-search-box input::placeholder {
  color: var(--fog);
}

.search-shimmer {
  position: absolute;
  inset: -2px;
  background: linear-gradient(90deg, transparent, rgba(37, 99, 235, 0.2), transparent);
  opacity: 0;
  animation: shimmer 2s infinite;
}

.demo-search-box:hover .search-shimmer {
  opacity: 1;
}

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

.ai-processing {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.ai-processing.show {
  opacity: 1;
}

.processing-dots {
  display: flex;
  gap: 0.5rem;
}

.processing-dots span {
  width: 10px;
  height: 10px;
  background: var(--accent);
  border-radius: 50%;
  animation: dotBounce 1.4s ease-in-out infinite;
}

.processing-dots span:nth-child(2) {
  animation-delay: 0.2s;
}

.processing-dots span:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotBounce {
  0%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-16px); }
}

.ai-processing p {
  color: var(--slate);
  font-size: 0.9375rem;
  font-weight: 500;
}

.demo-results {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s;
}

.demo-results.show {
  opacity: 1;
  pointer-events: all;
}

.result-card {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.25rem;
  overflow: hidden;
  opacity: 0;
  transform: translateY(40px) scale(0.9);
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: var(--shadow-soft);
}

.demo-results.show .result-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.result-card:nth-child(1) {
  transition-delay: 0s;
}

.result-card:nth-child(2) {
  transition-delay: 0.15s;
}

.result-card:nth-child(3) {
  transition-delay: 0.3s;
}

.result-card:hover {
  transform: translateY(-12px) scale(1.03);
  box-shadow: var(--shadow-heavy);
  border-color: var(--accent);
}

.result-image {
  position: relative;
  aspect-ratio: 3/4;
  overflow: hidden;
}

.result-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.result-card:hover .result-image img {
  transform: scale(1.1);
}

.result-match {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: var(--accent);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 2rem;
  font-size: 0.8125rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.3);
}

.result-info {
  padding: 1.5rem;
}

.result-info h4 {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.result-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.75rem;
}

.result-reason {
  font-size: 0.875rem;
  color: var(--slate);
  line-height: 1.6;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(0, 0, 0, 0.06);
}

/* Section Cinematic */
.section-cinematic {
  max-width: 1600px;
  margin: 0 auto;
  padding: 8rem 3rem;
}

/* What We Do - Story Blocks */
.what-section {
  background: var(--white);
}

.what-header {
  text-align: center;
  margin-bottom: 6rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.what-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1.5rem;
}

.what-header p {
  font-size: 1.25rem;
  color: var(--slate);
  line-height: 1.7;
}

.story-block {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 5rem;
  margin-bottom: 8rem;
  align-items: center;
}

.story-block.reverse {
  grid-template-columns: 1fr 1.2fr;
}

.story-block.reverse .story-visual {
  order: 2;
}

.story-visual {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  box-shadow: var(--shadow-heavy);
}

.story-visual img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.8s ease;
}

.story-block:hover .story-visual img {
  transform: scale(1.05);
}


.story-content h3 {
  font-size: clamp(1.75rem, 3vw, 3rem);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.story-lead {
  font-size: 1.25rem;
  color: var(--slate);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}

.story-features {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.feature-point {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.point-icon {
  width: 28px;
  height: 28px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  font-weight: 700;
  flex-shrink: 0;
}

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

.feature-point strong {
  font-weight: 600;
  color: var(--black);
  font-size: 1rem;
}

.feature-point span {
  font-size: 0.9375rem;
  color: var(--slate);
}

.story-metric {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: var(--cream);
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.metric-big {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.metric-label {
  font-size: 1rem;
  color: var(--slate);
  font-weight: 600;
}

/* Features Gallery */
.features-cinematic {
  background: var(--cream);
  padding: 8rem 3rem;
}

.features-header {
  text-align: center;
  margin-bottom: 5rem;
}

.features-header h2 {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  margin-bottom: 1rem;
}

.features-header p {
  font-size: 1.25rem;
  color: var(--slate);
}

.features-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.feature-card {
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: all 0.4s ease;
  box-shadow: var(--shadow-soft);
}

.feature-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-heavy);
}

.feature-image {
  position: absolute;
  inset: 0;
}

.feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

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

.feature-label {
  display: inline-block;
  padding: 0.375rem 0.875rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2rem;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
  opacity: 0;
  transition: opacity 0.3s;
}

.feature-card:hover .feature-label {
  opacity: 1;
}

.feature-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.6) 60%, transparent 100%);
  color: white;
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}

.feature-card:hover .feature-info {
  transform: translateY(0);
  opacity: 1;
}

.feature-info h4 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: white;
}

.feature-info p {
  font-size: 0.9375rem;
  opacity: 0.9;
}

/* Onboarding Cinematic */
.onboarding-cinematic {
  background: var(--white);
  padding: 0;
  max-width: 100%;
}

.onboarding-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 90vh;
}

.onboarding-visual {
  position: relative;
  overflow: hidden;
}

.onboarding-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.onboarding-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem;
  background: var(--cream);
}

.onboarding-content h2 {
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  margin-bottom: 1.5rem;
  line-height: 1.15;
}

.onboarding-lead {
  font-size: 1.25rem;
  color: var(--slate);
  margin-bottom: 3rem;
  line-height: 1.7;
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.step-item {
  display: flex;
  gap: 1.5rem;
}

.step-num {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  min-width: 3rem;
}

.step-info h4 {
  font-size: 1.375rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.step-info p {
  color: var(--slate);
  line-height: 1.7;
}

.btn-onboarding {
  display: inline-flex;
  padding: 1.125rem 2.5rem;
  background: var(--black);
  color: white;
  border-radius: 3rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.3s;
  align-self: flex-start;
}

.btn-onboarding:hover {
  background: var(--charcoal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-medium);
}

/* Social Proof */
.proof-cinematic {
  background: linear-gradient(135deg, #fafaf9 0%, #f5f5f4 100%);
  text-align: center;
}

.proof-content {
  max-width: 1000px;
  margin: 0 auto;
}

.proof-quote-large {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1.4;
  color: var(--black);
  margin-bottom: 3rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.proof-results {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.result-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.result-value {
  font-family: -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
}

.result-label {
  font-size: 0.875rem;
  color: var(--slate);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.proof-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

.author-avatar {
  width: 56px;
  height: 56px;
  background: var(--black);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
}

.author-name {
  font-weight: 700;
  color: var(--black);
  margin-bottom: 0.25rem;
  font-size: 1.0625rem;
}

.author-role {
  color: var(--slate);
  font-size: 0.9375rem;
}

/* CTA Section */
.cta-cinematic {
  background: var(--black);
  color: white;
  text-align: center;
}

.cta-content {
  max-width: 800px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: white;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.cta-content p {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.btn-cta-large {
  display: inline-flex;
  padding: 1.25rem 3rem;
  background: white;
  color: var(--black);
  border-radius: 3rem;
  font-weight: 700;
  font-size: 1.125rem;
  text-decoration: none;
  transition: all 0.3s;
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
}

.btn-cta-large:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(255, 255, 255, 0.3);
}

/* Footer */
.footer-cinematic {
  background: var(--black);
  color: var(--fog);
  padding: 4rem 3rem 2rem;
}

.footer-content-cinematic {
  max-width: 1600px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-bottom: 3rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-logo img {
  width: 28px;
  height: 28px;
  filter: invert(1);
}

.footer-logo span {
  font-weight: 700;
  font-size: 1.125rem;
  color: white;
}

.footer-brand p {
  color: var(--fog);
  font-size: 1rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 3rem;
}

.footer-column h4 {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

.footer-column a {
  color: var(--fog);
  text-decoration: none;
  font-size: 0.9375rem;
  transition: color 0.2s;
}

.footer-column a:hover {
  color: white;
}

.footer-bottom {
  max-width: 1600px;
  margin: 0 auto;
  text-align: center;
  padding-top: 3rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  font-size: 0.875rem;
  color: var(--slate);
}

/* Modal */
.feature-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.feature-modal.show {
  display: flex;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(20px);
}

.modal-content {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1200px;
  max-height: 90vh;
  background: white;
  border-radius: 1.5rem;
  padding: 3rem;
  box-shadow: var(--shadow-heavy);
  overflow-y: auto;
  animation: slideUp 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px) scale(0.95);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.2s;
}

.modal-close:hover {
  background: var(--stone);
  transform: rotate(90deg);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Demo Modal Styles */
.demo-header {
  text-align: center;
  margin-bottom: 3rem;
}

.demo-header h3 {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
}

.demo-header p {
  font-size: 1.125rem;
  color: var(--slate);
}

.demo-visual {
  background: var(--cream);
  border-radius: 1.5rem;
  padding: 3rem;
  margin-bottom: 3rem;
}

.demo-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.demo-step {
  background: var(--cream);
  border-radius: 1rem;
  padding: 2rem;
}

.demo-step-number {
  width: 40px;
  height: 40px;
  background: var(--accent);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.125rem;
  margin-bottom: 1.25rem;
}

.demo-step h4 {
  font-size: 1.125rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.demo-step p {
  color: var(--slate);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.chat-demo {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.chat-message {
  display: flex;
  gap: 1rem;
  animation: fadeInUp 0.5s ease backwards;
}

.chat-message.user {
  flex-direction: row-reverse;
}

.chat-avatar {
  width: 40px;
  height: 40px;
  background: var(--stone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.chat-bubble {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1.25rem;
  padding: 1rem 1.5rem;
  max-width: 70%;
  font-size: 0.9375rem;
  line-height: 1.6;
}

.chat-message.user .chat-bubble {
  background: var(--accent);
  color: white;
  border: none;
}

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

.outfit-item {
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 1rem;
  overflow: hidden;
  animation: fadeInUp 0.6s ease backwards;
}

.outfit-image {
  aspect-ratio: 3/4;
  overflow: hidden;
}

.outfit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.outfit-info {
  padding: 1rem;
}

.outfit-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--slate);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.outfit-name {
  font-weight: 600;
  color: var(--black);
  font-size: 0.9375rem;
}

/* Tag Animation */
.tag-animated {
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 2rem;
  font-size: 0.875rem;
  font-weight: 500;
  display: inline-block;
  opacity: 0;
  transform: scale(0.5);
  animation: tagPop 0.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

@keyframes tagPop {
  0% {
    opacity: 0;
    transform: scale(0.5) translateY(-20px);
  }
  70% {
    transform: scale(1.1) translateY(0);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.desc-title,
.desc-text {
  animation: fadeInUp 0.6s ease forwards;
}

/* Responsive */
@media (max-width: 1200px) {
  .story-block,
  .story-block.reverse,
  .onboarding-split {
    grid-template-columns: 1fr;
  }

  .story-block.reverse .story-visual {
    order: 0;
  }

  .features-gallery {
    grid-template-columns: repeat(2, 1fr);
  }

  .onboarding-content {
    padding: 4rem 2rem;
  }

  .outfit-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

  .showcase-grid {
    grid-template-columns: 1fr;
    height: auto;
  }

  .showcase-large,
  .showcase-small {
    min-height: 400px;
  }
}

@media (max-width: 768px) {
  .nav-container {
    padding: 1rem 1.5rem;
  }

  .logo-text {
    display: none;
  }

  .logo-divider {
    display: none;
  }

  .nav-links {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: rgba(250, 250, 249, 0.98);
    backdrop-filter: blur(20px);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .mobile-menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
  }

  .mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--black);
    transition: all 0.3s;
  }

  .section-cinematic {
    padding: 4rem 1.5rem;
  }

  .hero-cinematic {
    height: auto;
    min-height: 100vh;
    padding: 6rem 1.5rem 4rem;
  }

  .hero-content-cinematic {
    padding: 0 1rem;
  }

  .hero-content-cinematic h1 {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }

  .hero-content-cinematic p {
    font-size: 1.125rem;
  }

  .hero-stats-float {
    position: static;
    transform: none;
    flex-direction: column;
    gap: 1rem;
    margin-top: 3rem;
    width: 100%;
  }

  .stat-float {
    width: 100%;
  }

  .interactive-demo-container {
    padding: 2rem 1rem;
  }

  .demo-results {
    grid-template-columns: 1fr;
  }

  .features-gallery {
    grid-template-columns: 1fr;
  }

  .story-block {
    gap: 2rem;
    margin-bottom: 4rem;
  }

  .story-content h3 {
    font-size: 2rem;
  }

  .story-lead {
    font-size: 1.0625rem;
  }

  .onboarding-content {
    padding: 3rem 2rem;
  }

  .onboarding-content h2 {
    font-size: 2rem;
  }

  .proof-quote-large {
    font-size: 1.75rem;
  }

  .proof-results {
    gap: 2rem;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1.0625rem;
  }

  .footer-content-cinematic {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .showcase-grid {
    height: auto;
  }

  .showcase-large,
  .showcase-small {
    min-height: 300px;
  }
}
