/* UXPlay Landing Page - Clean & Playful with Floating Captures */

/* Design Tokens - Matching Icon Colors */
:root {
  --bg-base: #f8fafc;
  --bg-white: #ffffff;
  --bg-cream: #f1f5f9;

  /* Tag backgrounds - softer versions of brand colors */
  --bg-soft-blue: #dbeafe;
  --bg-soft-mint: #d1fae5;
  --bg-soft-coral: #fee2e2;
  --bg-soft-purple: #ede9fe;

  --text-primary: #1e293b;
  --text-secondary: #475569;
  --text-muted: #64748b;

  /* Brand colors from icon */
  --color-primary: #4B7BE5;
  --color-primary-light: #7BA3F0;
  --color-mint: #5BBFAA;
  --color-coral: #F0846B;

  /* Tag colors */
  --color-blue: #4B7BE5;
  --color-purple: #8b5cf6;
  --color-green: #5BBFAA;
  --color-orange: #F0846B;
  --color-pink: #ec4899;

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(75, 123, 229, 0.1);
  --shadow-lg: 0 12px 40px rgba(75, 123, 229, 0.15);
  --shadow-xl: 0 24px 60px rgba(0, 0, 0, 0.15);

  --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 100px;

  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

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

/* Container */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Typography */
h1, h2, h3 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-primary);
}

h1 {
  font-size: clamp(36px, 6vw, 56px);
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(28px, 4vw, 40px);
  letter-spacing: -0.02em;
}

h3 {
  font-size: 20px;
  font-weight: 600;
}

p {
  color: var(--text-secondary);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  border-radius: var(--radius-full);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary {
  background: var(--color-primary);
  color: white;
}

.btn-primary:hover {
  background: #3d6dd4;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(75, 123, 229, 0.3);
}

.btn-secondary {
  background: transparent;
  color: var(--text-primary);
  border: 2px solid #e4e4e7;
}

.btn-secondary:hover {
  background: var(--bg-base);
  border-color: #d4d4d8;
}

.btn-large {
  padding: 18px 36px;
  font-size: 18px;
}

/* Header */
header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 24px;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1100px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 10px 10px 10px 20px;
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--shadow-sm);
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 20px;
  font-weight: 800;
}

.logo-icon {
  flex-shrink: 0;
}

.header-nav {
  display: flex;
  gap: 32px;
}

.header-nav a {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition);
}

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

.header-cta .btn {
  padding: 10px 20px;
  font-size: 14px;
}

/* Hero Section */
#hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 120px 24px 80px;
  overflow: hidden;
  background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

/* Floating Captures */
.floating-captures {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.capture-card {
  position: absolute;
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transition: transform 0.1s ease-out;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: visible;
}

.capture-browser {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: var(--bg-base);
  border-bottom: 1px solid #eee;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

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

.browser-dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #e4e4e7;
}

.browser-url {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
}

.capture-content {
  padding: 8px;
  overflow: hidden;
  border-radius: 0 0 var(--radius-md) var(--radius-md);
}

.capture-mockup {
  width: 100%;
  height: 80px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

/* Mockup variations */
.capture-mockup.stripe,
.capture-mockup.notion,
.capture-mockup.airbnb {
  background: #f8f8f8;
}

.capture-mockup.linear,
.capture-mockup.spotify {
  background: #1a1a2e;
}

.capture-mockup.figma {
  background: #2c2c2c;
}

.mock-nav {
  height: 8px;
  background: #e5e5e5;
  margin-bottom: 8px;
}

.mock-hero {
  padding: 8px;
}

.mock-text {
  height: 6px;
  background: #d4d4d4;
  border-radius: 3px;
  margin-bottom: 6px;
}

.mock-text.short { width: 60%; }
.mock-text.light { background: #444; }

.mock-sidebar {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 25%;
  background: #f0f0f0;
}

.mock-sidebar.dark { background: #111; }

.mock-main {
  margin-left: 25%;
  padding: 8px;
}

.mock-main.dark { background: #1a1a2e; }

.mock-toolbar {
  height: 8px;
  background: #444;
  margin-bottom: 8px;
}

.mock-canvas {
  position: relative;
  height: 60px;
  background: #3a3a3a;
}

.mock-shape {
  position: absolute;
  width: 30px;
  height: 30px;
  background: #667eea;
  border-radius: 4px;
  top: 15px;
  left: 20px;
}

.mock-shape.small {
  width: 20px;
  height: 20px;
  background: #f59e0b;
  left: 60px;
  top: 25px;
}

.mock-grid {
  display: flex;
  gap: 4px;
}

.mock-card {
  width: 24px;
  height: 24px;
  background: #333;
  border-radius: 4px;
}

.mock-search {
  height: 12px;
  background: #e5e5e5;
  border-radius: 6px;
  margin-bottom: 8px;
}

.mock-listing {
  width: 35px;
  height: 30px;
  background: #e5e5e5;
  border-radius: 4px;
}

.capture-tag {
  position: absolute;
  bottom: -10px;
  right: 12px;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  border-radius: var(--radius-full);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 2px solid var(--bg-white);
}

.capture-tag.blue { background: var(--bg-soft-blue); color: var(--color-blue); }
.capture-tag.purple { background: var(--bg-soft-purple); color: var(--color-purple); }
.capture-tag.green { background: var(--bg-soft-mint); color: var(--color-mint); }
.capture-tag.pink { background: #fce7f3; color: var(--color-pink); }
.capture-tag.orange { background: var(--bg-soft-coral); color: var(--color-coral); }

/* Position captures */
.capture-1 {
  width: 180px;
  top: 12%;
  left: 3%;
  transform: rotate(-8deg);
}

.capture-2 {
  width: 160px;
  top: 45%;
  left: 5%;
  transform: rotate(5deg);
}

.capture-3 {
  width: 150px;
  bottom: 12%;
  left: 8%;
  transform: rotate(-3deg);
}

.capture-4 {
  width: 170px;
  top: 15%;
  right: 4%;
  transform: rotate(6deg);
}

.capture-5 {
  width: 155px;
  top: 48%;
  right: 6%;
  transform: rotate(-5deg);
}

.capture-6 {
  width: 165px;
  bottom: 15%;
  right: 5%;
  transform: rotate(4deg);
}

/* Hero Center Content */
.hero-center {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero-logo-large {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 32px;
}

.hero-logo-large svg {
  filter: drop-shadow(0 12px 40px rgba(0, 0, 0, 0.15));
}

.hero-center h1 {
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 18px;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 32px;
}

.hero-cta {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.hero-note {
  font-size: 14px;
  color: var(--text-muted);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 24px;
  color: var(--text-muted);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--bg-base);
  border-radius: var(--radius-full);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.section-header p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 12px auto 0;
}

/* Features */
#features {
  padding: 80px 0;
  background: var(--bg-white);
}

.features-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.feature-item {
  text-align: center;
}

.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.feature-icon.blue {
  background: var(--bg-soft-blue);
  color: var(--color-primary);
}

.feature-icon.mint {
  background: var(--bg-soft-mint);
  color: var(--color-mint);
}

.feature-icon.coral {
  background: var(--bg-soft-coral);
  color: var(--color-coral);
}

.feature-icon.purple {
  background: var(--bg-soft-purple);
  color: var(--color-purple);
}

.feature-item h3 {
  font-size: 18px;
  margin-bottom: 8px;
}

.feature-item p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
}

.bento-visual {
  margin-top: 20px;
}

.mini-capture {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  padding: 16px;
  border: 1px solid #e2e8f0;
  position: relative;
  height: 100px;
}

.mini-screen {
  width: 100%;
  height: 60px;
  background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
  border-radius: var(--radius-sm);
  position: relative;
}

.mini-screen::after {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: 40%;
  height: 6px;
  background: #cbd5e1;
  border-radius: 3px;
}

.mini-cursor {
  position: absolute;
  bottom: 20px;
  right: 24px;
  width: 16px;
  height: 16px;
  background: var(--color-primary);
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(75, 123, 229, 0.4);
}

.mini-dots {
  display: flex;
  gap: 4px;
  padding: 8px 10px;
  background: var(--bg-base);
  border-bottom: 1px solid #eee;
}

.mini-dots span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d4d4d4;
}

.mini-content {
  height: 100px;
  position: relative;
  background: linear-gradient(135deg, #f8f8f8 0%, #fff 100%);
}

.capture-flash {
  position: absolute;
  inset: 0;
  background: rgba(79, 70, 229, 0.1);
  animation: flash 2s infinite;
}

@keyframes flash {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.export-badges {
  display: flex;
  gap: 8px;
  margin-top: 16px;
  flex-wrap: wrap;
}

.export-badge {
  padding: 6px 12px;
  background: var(--bg-white);
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-full);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-secondary);
}

/* How It Works */
#how-it-works {
  padding: 100px 0;
  background: var(--bg-base);
}

.steps-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}

.step-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  width: 260px;
  position: relative;
  box-shadow: var(--shadow-sm);
  border: 1px solid #eee;
}

.step-number {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  background: var(--color-primary);
  color: white;
  border-radius: 50%;
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-illustration {
  width: 72px;
  height: 72px;
  background: var(--bg-base);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 16px auto 20px;
  font-size: 32px;
}

.step-card h3 {
  margin-bottom: 8px;
}

.step-card p {
  font-size: 14px;
  color: var(--text-muted);
}

.step-arrow {
  font-size: 24px;
  color: var(--text-muted);
}

/* Trust Section */
#trust {
  padding: 100px 0;
  background: var(--bg-white);
}

.trust-card {
  background: linear-gradient(135deg, var(--bg-soft-mint) 0%, #ecfdf5 100%);
  border-radius: var(--radius-xl);
  padding: 60px;
  text-align: center;
  border: 1px solid rgba(91, 191, 170, 0.2);
}

.trust-icon {
  font-size: 48px;
  margin-bottom: 20px;
}

.trust-card h2 {
  margin-bottom: 12px;
}

.trust-card > p {
  font-size: 18px;
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto 40px;
}

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

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-white);
  padding: 16px 20px;
  border-radius: var(--radius-md);
  font-size: 15px;
  text-align: left;
}

.trust-check {
  width: 24px;
  height: 24px;
  background: var(--color-mint);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  flex-shrink: 0;
}

/* Use Cases */
#use-cases {
  padding: 100px 0;
  background: var(--bg-base);
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.persona-card {
  background: var(--bg-white);
  border-radius: var(--radius-xl);
  padding: 32px;
  text-align: center;
  border: 1px solid #eee;
  transition: all var(--transition);
}

.persona-card:hover {
  border-color: var(--color-primary-light);
  box-shadow: var(--shadow-md);
}

.persona-avatar {
  font-size: 48px;
  margin-bottom: 16px;
}

.persona-card h3 {
  margin-bottom: 8px;
  color: var(--color-primary);
}

.persona-card p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
}

/* CTA Section */
#cta {
  padding: 100px 0;
  background: var(--bg-white);
}

.cta-card {
  background: var(--bg-base);
  border-radius: var(--radius-xl);
  padding: 80px 40px;
  text-align: center;
}

.cta-emoji {
  font-size: 56px;
  display: block;
  margin-bottom: 24px;
}

.cta-card h2 {
  margin-bottom: 12px;
}

.cta-card p {
  font-size: 18px;
  color: var(--text-muted);
  margin-bottom: 32px;
}

/* Footer */
footer {
  padding: 32px 0;
  background: var(--bg-white);
  border-top: 1px solid #eee;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-logo {
  font-size: 18px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 14px;
  color: var(--text-muted);
  transition: color var(--transition);
}

.footer-links a:hover {
  color: var(--text-primary);
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-muted);
}

/* Animations */
.animate-in {
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Responsive */
@media (max-width: 1024px) {
  .capture-card {
    display: none;
  }

  .capture-1, .capture-4 {
    display: block;
    width: 140px;
  }

  .features-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .header-nav {
    display: none;
  }

  .capture-card {
    display: none;
  }

  #hero {
    padding: 100px 20px 60px;
    min-height: auto;
  }

  .hero-logo-large svg {
    width: 40px;
    height: 40px;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta .btn {
    width: 100%;
    max-width: 280px;
  }

  .scroll-indicator {
    display: none;
  }

  .features-row {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .steps-row {
    flex-direction: column;
    gap: 32px;
  }

  .step-arrow {
    transform: rotate(90deg);
  }

  .step-card {
    width: 100%;
    max-width: 300px;
  }

  .trust-card {
    padding: 40px 24px;
  }

  .trust-grid {
    grid-template-columns: 1fr;
  }

  .persona-grid {
    grid-template-columns: 1fr;
  }

  .cta-card {
    padding: 48px 24px;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 8px 8px 8px 16px;
  }

  .logo {
    font-size: 18px;
  }

  section {
    padding: 60px 0;
  }

  .section-header h2 {
    font-size: 28px;
  }
}
