/* ==========================================================================
   D2C SKINCARE AI AGENT — PILOT PROJECT PAGE
   Design System: Dark-first, Glassmorphism, Premium Gradients
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --bg-primary: #0A0E1A;
  --bg-surface: #111827;
  --bg-card: #1A1F2E;
  --bg-card-hover: #222840;
  --bg-glass: rgba(26, 31, 46, 0.7);

  --text-primary: #F1F5F9;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;

  --border-subtle: rgba(148, 163, 184, 0.12);
  --border-glow: rgba(139, 92, 246, 0.3);

  --accent-gradient: linear-gradient(135deg, #8B5CF6 0%, #06B6D4 50%, #10B981 100%);
  --accent-purple: #8B5CF6;
  --accent-cyan: #06B6D4;
  --accent-green: #10B981;

  --whatsapp: #25D366;
  --instagram-gradient: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  --linkedin: #0A66C2;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, monospace;

  --shadow-glow: 0 0 60px rgba(139, 92, 246, 0.15);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.5);

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

  --transition-fast: 0.15s ease;
  --transition-smooth: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-spring: 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);

  --container-max: 1200px;
}

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

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  min-height: 100vh;
  line-height: 1.6;
  background-color: var(--bg-primary);
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; background: transparent; }
img { max-width: 100%; display: block; }

/* ===== LAYOUT ===== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

/* ===== ANIMATED BACKGROUND ===== */
.bg-gradient-blur {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.bg-gradient-blur::before,
.bg-gradient-blur::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.3;
  animation: float 20s ease-in-out infinite;
}

.bg-gradient-blur::before {
  width: 600px;
  height: 600px;
  background: var(--accent-purple);
  top: -200px;
  right: -100px;
  animation-delay: -5s;
}

.bg-gradient-blur::after {
  width: 500px;
  height: 500px;
  background: var(--accent-cyan);
  bottom: -200px;
  left: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -50px) scale(1.1); }
  66% { transform: translate(-20px, 30px) scale(0.9); }
}

/* ===== HEADER ===== */
.pilot-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-bottom: 1px solid var(--border-subtle);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  gap: 1rem;
}

.back-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.back-link:hover { color: var(--text-primary); }

.header-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.brand-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-green);
  box-shadow: 0 0 8px var(--accent-green);
  animation: pulse 2s ease-in-out infinite;
}

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

.brand-label {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-primary);
}

.pilot-badge {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  padding: 0.2rem 0.5rem;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.15);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.3);
}

.btn-demo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
  background: var(--whatsapp);
  color: #fff;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
}
.btn-demo:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

/* ===== HERO ===== */
.pilot-hero {
  padding-top: clamp(4rem, 8vw, 8rem);
  padding-bottom: clamp(4rem, 8vw, 6rem);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-eyebrow {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.eyebrow-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--accent-purple);
}

.eyebrow-divider {
  color: var(--text-dim);
  font-size: 0.75rem;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.gradient-text {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.25rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
}

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

.stat-value {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
  cursor: pointer;
  border: none;
  white-space: nowrap;
}

.btn-primary {
  background: var(--whatsapp);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-muted);
  color: var(--text-primary);
}

.btn-airtable {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  background: #fff;
  color: #0A0E1A;
  border-radius: var(--radius-full);
  transition: all var(--transition-smooth);
}
.btn-airtable:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(255, 255, 255, 0.2);
}

/* ===== VISUAL FRAMES ===== */
.visual-frame {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: all var(--transition-smooth);
}
.visual-frame:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.frame-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
}

.frame-dots {
  display: flex;
  gap: 0.375rem;
}
.frame-dots span {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.frame-dots span:nth-child(1) { background: #FF5F57; }
.frame-dots span:nth-child(2) { background: #FFBD2E; }
.frame-dots span:nth-child(3) { background: #28CA41; }

.frame-title {
  flex: 1;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
}

.frame-status {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--accent-green);
}

.frame-img {
  width: 100%;
  height: auto;
  display: block;
}

.hero-visual {
  position: relative;
}

.workflow-frame {
  transform: perspective(1000px) rotateY(-3deg) rotateX(2deg);
  transition: transform var(--transition-smooth);
}
.workflow-frame:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
}

/* ===== SECTIONS ===== */
.section-block {
  padding-block: clamp(5rem, 10vw, 8rem);
  position: relative;
}

.section-dark {
  background: var(--bg-surface);
}

.section-accent {
  background: var(--accent-gradient);
  position: relative;
  overflow: hidden;
}
.section-accent::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
}

.section-header {
  margin-bottom: 3.5rem;
}
.section-header.centered {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent-purple);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.section-desc {
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--text-muted);
  max-width: 64ch;
}
.section-header.centered .section-desc {
  margin-inline: auto;
}

/* ===== CAPABILITIES GRID ===== */
.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.cap-card {
  padding: 2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  transition: all var(--transition-smooth);
}
.cap-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.cap-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--cap-color, var(--accent-purple)) 15%, transparent);
  color: var(--cap-color, var(--accent-purple));
  margin-bottom: 1.25rem;
}

.cap-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.cap-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ===== DEMO SHOWCASE ===== */
.demo-showcase {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.demo-card {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 4rem;
  align-items: center;
}

.demo-card.reversed {
  grid-template-columns: 380px 1fr;
}
.demo-card.reversed .demo-context {
  order: 2;
}
.demo-card.reversed .demo-phone {
  order: 1;
}

.demo-number {
  font-family: var(--font-mono);
  font-size: 3rem;
  font-weight: 800;
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  opacity: 0.4;
  line-height: 1;
  margin-bottom: 0.5rem;
  display: block;
}

.demo-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.demo-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.demo-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.highlight-tag {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  background: rgba(139, 92, 246, 0.1);
  color: var(--accent-purple);
  border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Phone Frame */
.phone-frame {
  position: relative;
  background: #1a1a2e;
  border-radius: 32px;
  padding: 12px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  box-shadow: var(--shadow-elevated), 0 0 0 1px rgba(255, 255, 255, 0.05);
  overflow: hidden;
  max-width: 320px;
  margin: 0 auto;
}

.phone-notch {
  width: 100px;
  height: 24px;
  background: #1a1a2e;
  border-radius: 0 0 16px 16px;
  margin: 0 auto 0;
  position: relative;
  z-index: 2;
}

.phone-screen {
  width: 100%;
  border-radius: 20px;
  display: block;
}

/* ===== WORKFLOW SECTION ===== */
.large-frame {
  max-width: 100%;
}

.workflow-stages {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
  margin-top: 3rem;
}

.stage-card {
  position: relative;
  padding: 1.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.stage-color-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--stage-color);
}

.stage-label {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--stage-color);
  margin-bottom: 0.5rem;
  display: block;
}

.stage-card h3 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.stage-card p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* ===== DATA MODEL ===== */
.data-showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.data-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: all var(--transition-smooth);
}
.data-card:hover {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.data-card-header {
  display: flex;
  gap: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 1px solid var(--border-subtle);
  overflow-x: auto;
}

.data-tab {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.625rem 0.875rem;
  color: var(--text-dim);
  white-space: nowrap;
  border-bottom: 2px solid transparent;
  transition: all var(--transition-fast);
}
.data-tab.active {
  color: var(--accent-purple);
  border-bottom-color: var(--accent-purple);
  background: rgba(139, 92, 246, 0.05);
}

.data-frame {
  border: none;
  border-radius: 0;
  box-shadow: none;
}

.data-table-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

.table-info-card {
  padding: 1.5rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-smooth);
}
.table-info-card:hover {
  transform: translateY(-3px);
  border-color: var(--border-glow);
}

.table-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.table-info-card h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

.table-info-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-bottom: 0.75rem;
}

.record-count {
  font-family: var(--font-mono);
  font-size: 0.625rem;
  font-weight: 600;
  padding: 0.2rem 0.625rem;
  border-radius: var(--radius-full);
  background: rgba(16, 185, 129, 0.12);
  color: var(--accent-green);
}

/* ===== TECH STACK ===== */
.tech-stack-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1.25rem;
}

.tech-card {
  padding: 1.75rem 1rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-smooth);
}
.tech-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-glow);
  box-shadow: var(--shadow-glow);
}

.tech-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.tech-card h4 {
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.tech-card p {
  font-size: 0.6875rem;
  color: var(--text-dim);
  font-weight: 500;
}

/* ===== AIRTABLE CTA ===== */
.airtable-cta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
}

/* ===== CONNECT GRID ===== */
.connect-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.connect-card {
  position: relative;
  padding: 2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-smooth);
  overflow: hidden;
}
.connect-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
}

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

.whatsapp-card::before { background: var(--whatsapp); }
.whatsapp-card:hover { border-color: rgba(37, 211, 102, 0.4); }
.whatsapp-card .connect-icon { color: var(--whatsapp); }

.instagram-card::before { background: var(--instagram-gradient); }
.instagram-card:hover { border-color: rgba(225, 48, 108, 0.4); }
.instagram-card .connect-icon { color: #E1306C; }

.linkedin-card::before { background: var(--linkedin); }
.linkedin-card:hover { border-color: rgba(10, 102, 194, 0.4); }
.linkedin-card .connect-icon { color: var(--linkedin); }

.connect-icon {
  margin-bottom: 1rem;
}

.connect-card h3 {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.connect-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.connect-action {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--accent-purple);
}

/* ===== CREATOR CARD ===== */
.creator-card {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: var(--bg-glass);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-card);
}

.creator-photo {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid rgba(139, 92, 246, 0.3);
  flex-shrink: 0;
}

.creator-info {
  flex: 1;
}

.creator-info h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.creator-role {
  font-size: 0.875rem;
  color: var(--accent-purple);
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.creator-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.creator-btn {
  flex-shrink: 0;
}

/* ===== FOOTER ===== */
.pilot-footer {
  border-top: 1px solid var(--border-subtle);
  padding-block: 2rem;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-dim);
}
.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition-fast);
}
.footer-links a:hover { color: var(--accent-purple); }

.footer-copy {
  font-family: var(--font-mono);
  font-size: 0.6875rem;
  color: var(--text-dim);
}

/* ===== SCROLL ANIMATIONS ===== */
.cap-card,
.demo-card,
.stage-card,
.data-card,
.table-info-card,
.tech-card,
.connect-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cap-card.visible,
.demo-card.visible,
.stage-card.visible,
.data-card.visible,
.table-info-card.visible,
.tech-card.visible,
.connect-card.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
  .hero-visual {
    max-width: 600px;
    margin: 0 auto;
  }
  .workflow-frame {
    transform: none;
  }
  .capabilities-grid { grid-template-columns: repeat(2, 1fr); }
  .workflow-stages { grid-template-columns: repeat(2, 1fr); }
  .data-table-grid { grid-template-columns: repeat(3, 1fr); }
  .tech-stack-grid { grid-template-columns: repeat(3, 1fr); }
  .airtable-cta { flex-direction: column; text-align: center; }
}

@media (max-width: 768px) {
  .header-brand { display: none; }
  
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  
  .demo-card,
  .demo-card.reversed {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .demo-card.reversed .demo-context { order: 1; }
  .demo-card.reversed .demo-phone { order: 2; }
  
  .phone-frame { max-width: 280px; }
  
  .capabilities-grid { grid-template-columns: 1fr; }
  .workflow-stages { grid-template-columns: 1fr; }
  .data-showcase { grid-template-columns: 1fr; }
  .data-table-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
  .connect-grid { grid-template-columns: 1fr; }
  
  .creator-card {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .data-table-grid { grid-template-columns: 1fr; }
  .tech-stack-grid { grid-template-columns: repeat(2, 1fr); }
}
