/* ===============================================
   FORMAS.AI - WELCOME PAGE
   Modern Glassy Minimal Design
   =============================================== */

/* ========== CSS VARIABLES ========== */
:root {
  /* Colors - Dark Minimal Palette */
  --primary-bg: #0a0a0a;
  --secondary-bg: #141414;
  --tertiary-bg: #1a1a1a;
  --text-primary: #ffffff;
  --text-secondary: #a0a0a0;
  --text-muted: #666666;
  --border-color: #2a2a2a;
  --border-subtle: #1a1a1a;
  
  /* Glassy Effects */
  --glass-bg: rgba(26, 26, 26, 0.6);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-hover: rgba(42, 42, 42, 0.8);
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 16px;
  --spacing-md: 24px;
  --spacing-lg: 48px;
  --spacing-xl: 80px;
  
  /* Border Radius */
  --radius-sm: 12px;
  --radius-md: 24px;
  --radius-lg: 32px;
  
  /* Transitions */
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET & BASE ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  background: var(--primary-bg);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 20px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: rgba(10, 10, 10, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-subtle);
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 20px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.logo img {
  height: 32px;
}

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

.nav-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition-smooth);
}

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

.nav-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.nav-btn:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 24px;
  cursor: pointer;
}

/* ========== CONTAINER ========== */
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

.container-wide {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 60px;
}

/* ========== HERO VIDEO SECTION ========== */
.hero-video-section {
  position: relative;
  width: 100%;
  height: 85vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-video-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(10, 10, 10, 0.3), rgba(10, 10, 10, 0.7));
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video-content {
  text-align: center;
  z-index: 10;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-headline {
  font-size: 56px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -0.03em;
  text-shadow: 0 4px 16px rgba(0, 0, 0, 0.8);
}

.hero-headline .gradient-text {
  background: linear-gradient(90deg, #ffffff, #a0a0a0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  color: var(--text-primary);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

.hero-cta {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 16px 32px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.hero-cta:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ========== SECTION TITLE ========== */
.section-title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-bottom: var(--spacing-lg);
  letter-spacing: -0.02em;
  opacity: 0;
}

.section-title.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

/* ========== USE CASES SECTION ========== */
.use-cases {
  padding: var(--spacing-xl) 0;
}

.use-cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-top: var(--spacing-lg);
}

.use-case-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
  opacity: 0;
}

.use-case-card.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.use-case-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.use-case-icon {
  font-size: 32px;
  margin-bottom: 16px;
  display: block;
}

.use-case-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.use-case-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== PARTNERS SECTION ========== */
.partners {
  padding: var(--spacing-xl) 0;
  background: var(--secondary-bg);
}

.partners-container {
  background: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
}

.logos-grid {
  display: grid;
  grid-template-columns: repeat(9, 1fr);
  gap: 32px 40px;
  margin-top: var(--spacing-md);
  align-items: center;
  justify-items: center;
}

.logo-item {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
}

.logo-item.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.logo-item:hover {
  transform: translateY(-4px);
  opacity: 1;
}

.logo-item img {
  max-width: 100%;
  max-height: 100%;
  filter: brightness(1.2) grayscale(0.3);
  transition: var(--transition-smooth);
}

.logo-item:hover img {
  filter: brightness(1.5) grayscale(0);
}

/* ========== FEATURES SECTION ========== */
.features {
  padding: var(--spacing-xl) 0;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: var(--spacing-lg);
}

.feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
  opacity: 0;
}

.feature-card.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.feature-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.feature-icon {
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  opacity: 0.9;
}

.feature-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== TESTIMONIALS SECTION ========== */
.testimonials {
  padding: var(--spacing-xl) 0;
  background: var(--secondary-bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: var(--spacing-lg);
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
  opacity: 0;
  display: flex;               /* keep text at top and author at bottom */
  flex-direction: column;
}

.testimonial-card.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.testimonial-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.testimonial-quote {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;            /* push author block to bottom for alignment */
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--tertiary-bg);
  border: 1px solid var(--border-color);
}

.testimonial-info {
  flex: 1;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}

.testimonial-role-inline {
  font-weight: 500;
  color: var(--text-muted);
}

.testimonial-role {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.testimonial-country {
  display: flex;
  align-items: center;
  gap: 6px;
}

.country-flag {
  font-size: 16px;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--border-color);
  overflow: hidden;
}

.country-name {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ========== PRICING CTA SECTION ========== */
.pricing-cta {
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.pricing-cta-content {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
}

.pricing-cta-content.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.pricing-cta-title {
  font-size: 40px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.pricing-cta-description {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 32px;
}

.pricing-cta-button {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 16px 40px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.pricing-cta-button:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

/* ========== FOOTER ========== */
.footer {
  padding: 60px 0 40px;
  background: var(--secondary-bg);
  border-top: 1px solid var(--border-subtle);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
  opacity: 0;
}

.footer-content.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.footer-section-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

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

.footer-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-smooth);
}

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

.footer-bottom {
  padding-top: 32px;
  border-top: 1px solid var(--border-subtle);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-primary);
}

.footer-logo img {
  height: 28px;
}

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

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  opacity: 0;
  transition: opacity 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
}

/* ========== ANNOUNCEMENT BANNER ========== */
.announcement-banner {
  background: linear-gradient(135deg, var(--secondary-bg), var(--primary-bg));
  border-bottom: 1px solid var(--border-subtle);
  padding: 16px 0;
  text-align: center;
}

.announcement-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  opacity: 0;
  animation: fadeInUp 0.8s ease-out forwards;
}

.announcement-badge {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  padding: 6px 14px;
  border-radius: var(--radius-md);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-primary);
}

.announcement-text {
  color: var(--text-secondary);
  font-size: 14px;
}

.announcement-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
  transition: var(--transition-smooth);
  border-bottom: 1px solid transparent;
}

.announcement-link:hover {
  border-bottom-color: var(--text-primary);
}

/* ========== CAPABILITIES SHOWCASE ========== */
.capabilities {
  padding: var(--spacing-xl) 0;
  background: var(--secondary-bg);
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: var(--spacing-lg);
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

.capability-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px;
  transition: var(--transition-smooth);
  opacity: 0;
}

.capability-card.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.capability-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.capability-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}

.capability-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.capability-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 16px;
}

.capability-link {
  color: var(--text-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition-smooth);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.capability-link:hover {
  opacity: 0.8;
}

/* ========== INNOVATION SECTION ========== */
.innovation {
  padding: var(--spacing-xl) 0;
}

.innovation-content {
  max-width: 900px;
  margin: 0 auto var(--spacing-lg);
  text-align: center;
  opacity: 0;
}

.innovation-content.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.innovation-description {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: var(--spacing-lg);
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  transition: var(--transition-smooth);
  opacity: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 160px;
}

.stat-card.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.stat-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.stat-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: block;
}

.stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.stat-rating {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  max-height: 80px;
}

.stat-rating-number {
  font-size: 36px;
  font-weight: 700;
  color: var(--text-primary);
}

.stat-stars {
  display: flex;
  gap: 4px;
  align-items: center;
}

.star-icon {
  width: 24px;
  height: 24px;
  color: #FFD700;
  transition: transform 0.3s ease, filter 0.3s ease;
  cursor: pointer;
  transform-origin: center;
}

.star-icon.filled {
  color: #FFD700;
}

.star-icon.partial {
  color: #FFD700;
}

/* Apple dock magnifier effect for stars */
.star-icon:hover {
  transform: scale(1.5);
  filter: brightness(1.3) drop-shadow(0 0 8px rgba(255, 215, 0, 0.6));
  z-index: 10;
}

/* Magnify adjacent stars on hover (dock effect) */
.stat-stars:hover .star-icon:not(:hover) {
  transform: scale(1.15);
}

/* Dimmed stars when hovering on another */
.stat-stars .star-icon {
  position: relative;
}

.country-flags-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  max-height: 80px;
}

.country-flags-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: nowrap;
}

.country-flag-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--glass-bg);
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  margin-left: -8px;
  position: relative;
  z-index: 1;
  opacity: 0.3;
  overflow: hidden;
}

.country-flag-circle:first-child {
  margin-left: 0;
}

/* Fade from center - 8 flags total, center is 4-5 (Singapore & Spain) */
.country-flag-circle:nth-child(4),
.country-flag-circle:nth-child(5) {
  opacity: 1;
}

.country-flag-circle:nth-child(3),
.country-flag-circle:nth-child(6) {
  opacity: 0.75;
}

.country-flag-circle:nth-child(2),
.country-flag-circle:nth-child(7) {
  opacity: 0.5;
}

.country-flag-circle:nth-child(1),
.country-flag-circle:nth-child(8) {
  opacity: 0.3;
}

.country-flag-circle:hover {
  transform: scale(1.25);
  z-index: 10;
  opacity: 1 !important;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
}

.stat-progress-pill {
  width: 100%;
  max-width: 200px;
  height: 12px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  overflow: hidden;
  margin: 0 auto;
  border: none;
  position: relative;
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.stat-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, #00D9FF 0%, #0099FF 100%);
  border-radius: 12px;
  transition: width 2s ease-in-out;
  box-shadow: 0 0 8px rgba(0, 217, 255, 0.4);
  position: relative;
  overflow: hidden;
  width: 0 !important;
}

.stat-card.visible .stat-progress-fill {
  width: 85% !important;
}

.stat-progress-fill::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(90deg, 
    transparent 0%, 
    rgba(255, 255, 255, 0.3) 50%, 
    transparent 100%);
  animation: shimmer 2s infinite;
}

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

.stat-models-pills {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex: 1;
  max-height: 80px;
}

.model-pill {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 2px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-left: -8px;
  transition: var(--transition-smooth);
  position: relative;
  z-index: 1;
  opacity: 0.3;
}

.model-pill:first-child {
  margin-left: 0;
}

/* Fade from center - 6 model pills total, center is 3-4 */
.model-pill:nth-child(3),
.model-pill:nth-child(4) {
  opacity: 1;
}

.model-pill:nth-child(2),
.model-pill:nth-child(5) {
  opacity: 0.65;
}

.model-pill:nth-child(1),
.model-pill:nth-child(6) {
  opacity: 0.3;
}

.model-pill:hover {
  transform: translateY(-4px) scale(1.1);
  z-index: 10;
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
  opacity: 1 !important;
}

.model-pill-img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.design-examples-stack,
.designer-avatars-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  max-height: 80px;
}

.design-examples-row,
.designer-avatars-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.design-example-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: var(--transition-smooth);
  margin-left: -8px;
  position: relative;
  z-index: 1;
  background: var(--glass-bg);
  opacity: 0.3;
}

.design-example-circle:first-child {
  margin-left: 0;
}

/* Fade from center - 10 designs total, center is 5-6 */
.design-example-circle:nth-child(5),
.design-example-circle:nth-child(6) {
  opacity: 1;
}

.design-example-circle:nth-child(4),
.design-example-circle:nth-child(7) {
  opacity: 0.8;
}

.design-example-circle:nth-child(3),
.design-example-circle:nth-child(8) {
  opacity: 0.6;
}

.design-example-circle:nth-child(2),
.design-example-circle:nth-child(9) {
  opacity: 0.45;
}

.design-example-circle:nth-child(1),
.design-example-circle:nth-child(10) {
  opacity: 0.3;
}

.design-example-circle:hover {
  transform: scale(1.25);
  z-index: 10;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  opacity: 1 !important;
}

.design-example-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Designer Avatars - Same style as designs */
.designer-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--border-color);
  transition: var(--transition-smooth);
  margin-left: -8px;
  position: relative;
  z-index: 1;
  background: var(--glass-bg);
  opacity: 0.3;
}

.designer-avatar-circle:first-child {
  margin-left: 0;
}

/* Fade from center - 6 avatars total, center is 3-4 */
.designer-avatar-circle:nth-child(3),
.designer-avatar-circle:nth-child(4) {
  opacity: 1;
}

.designer-avatar-circle:nth-child(2),
.designer-avatar-circle:nth-child(5) {
  opacity: 0.65;
}

.designer-avatar-circle:nth-child(1),
.designer-avatar-circle:nth-child(6) {
  opacity: 0.3;
}

.designer-avatar-circle:hover {
  transform: scale(1.25);
  z-index: 10;
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.5);
  opacity: 1 !important;
}

.designer-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ========== WORKFLOW INTEGRATION ========== */
.workflow {
  padding: var(--spacing-xl) 0;
  background: var(--secondary-bg);
}

.workflow-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 32px;
  margin-top: var(--spacing-lg);
}

.workflow-step {
  position: relative;
  opacity: 0;
}

.workflow-step.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.workflow-step-number {
  width: 48px;
  height: 48px;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.workflow-step-title {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
}

.workflow-step-description {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
}

/* ========== ENTERPRISE SECTION ========== */
.enterprise {
  padding: var(--spacing-xl) 0;
  background: var(--primary-bg);
}

.enterprise-header {
  text-align: center;
  max-width: 800px;
  margin: 0 auto var(--spacing-lg);
}

.enterprise-intro {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  margin-top: 20px;
}

.enterprise-features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 60px;
}

.enterprise-feature-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  transition: var(--transition-smooth);
  text-align: center;
  opacity: 0;
}

.enterprise-feature-title-row {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.enterprise-feature-title-row .coming-soon-badge {
  margin-top: 0;
}

.enterprise-feature-card.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.enterprise-feature-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}

.enterprise-icon {
  font-size: 48px;
  margin-bottom: 24px;
  display: block;
}

.enterprise-feature-title {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 12px;
}

.enterprise-feature-description {
  color: var(--text-secondary);
  font-size: 15px;
  line-height: 1.6;
}

.enterprise-cta-container {
  text-align: center;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

.enterprise-cta-button {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 18px 48px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.enterprise-cta-button:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.4);
}

.enterprise-cta-subtitle {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 16px;
}

/* ========== COMMUNITY SECTION ========== */
.community {
  padding: var(--spacing-xl) 0;
  background: var(--secondary-bg);
}

.community-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.community-stat {
  text-align: center;
  opacity: 0;
}

.community-stat.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.community-stat-number {
  font-size: 42px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 8px;
  display: block;
}

.community-stat-label {
  color: var(--text-secondary);
  font-size: 14px;
  font-weight: 500;
}

.community-links {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.community-link-card {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-decoration: none;
  transition: var(--transition-smooth);
  opacity: 0;
}

.community-link-card.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.community-link-card:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
}

.community-link-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  display: block;
  color: white;
  stroke: white;
  transition: var(--transition-smooth);
}

.community-link-card:hover .community-link-icon {
  transform: scale(1.1);
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.5));
}

.community-link-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.community-link-description {
  color: var(--text-secondary);
  font-size: 13px;
  line-height: 1.5;
}

/* ========== FAQ SECTION ========== */
.faq {
  padding: var(--spacing-xl) 0;
}

.faq-list {
  max-width: 800px;
  margin: var(--spacing-lg) auto 0;
}

.faq-item {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  margin-bottom: 16px;
  overflow: hidden;
  transition: var(--transition-smooth);
  opacity: 0;
}

.faq-item.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

.faq-question:hover {
  color: var(--text-primary);
  opacity: 0.8;
}

.faq-icon {
  font-size: 20px;
  transition: transform 0.3s ease;
  color: var(--text-secondary);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 24px;
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 0 24px 24px;
}

.faq-answer p {
  color: var(--text-secondary);
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* ========== FINAL CTA SECTION ========== */
.final-cta {
  padding: var(--spacing-xl) 0;
  background: var(--secondary-bg);
  text-align: center;
}

.final-cta-content {
  max-width: 700px;
  margin: 0 auto;
  opacity: 0;
}

.final-cta-content.visible {
  animation: fadeInUp 0.6s ease-out forwards;
}

.final-cta-title {
  font-size: 44px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.final-cta-description {
  color: var(--text-secondary);
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 40px;
}

.final-cta-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.final-cta-primary {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 16px 40px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.final-cta-primary:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.final-cta-secondary {
  background: transparent;
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 16px 40px;
  border-radius: var(--radius-md);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  text-decoration: none;
  display: inline-block;
}

.final-cta-secondary:hover {
  border-color: var(--glass-border);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.final-stats {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding-top: 40px;
  border-top: 1px solid var(--border-subtle);
}

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

.final-stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-primary);
  display: block;
  margin-bottom: 6px;
}

.final-stat-label {
  color: var(--text-secondary);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 500;
}

/* ========== STUDIOS SHOWCASE ========== */
.studios-showcase {
  width: 100%;
  background: var(--primary-bg);
}

/* Temporarily hide Art Studio until ready */
#art-studio { display: none !important; }

.studio-section {
  padding: var(--spacing-xl) 0;
  background: var(--primary-bg);
}

.studio-section-alt {
  background: var(--secondary-bg);
}

/* Studio Introduction */
.studio-intro {
  margin-bottom: 48px;
}

.studio-title-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.studio-title-row .coming-soon-badge {
  margin-top: 0; /* align badge inline with title */
}

.studio-title {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  color: var(--text-primary);
}

.studio-description {
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 800px;
}

.coming-soon-badge {
  display: inline-block;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 11px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 12px;
}

/* Studio Content: Canvas Left, Examples Right */
.studio-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}

/* Main Studio Canvas/Preview */
.studio-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
  position: sticky;
  top: 120px;
  width: 100%;
  height: 100%;
}

.studio-canvas {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Example Cards */
.studio-examples {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.example-card {
  background: transparent;
  overflow: hidden;
  transition: var(--transition-smooth);
}

.example-card:hover {
  transform: translateY(-2px);
}

/* Example Visuals: Before/After with Reveal Effect */
.example-visuals {
  position: relative;
  width: 100%;
  margin-bottom: 16px;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 16 / 9;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.example-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.example-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.5s ease;
}

/* Fade effect when changing use cases */
.example-image img.fading {
  opacity: 0;
}

/* Before image is on the bottom */
.example-image:first-child {
  z-index: 1;
}

/* After image is on top with clip-path reveal */
.example-image:last-child {
  z-index: 2;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated state */
.example-visuals.revealing .example-image:last-child {
  clip-path: inset(0 0% 0 0);
}

/* Elegant vertical reveal line */
.example-visuals::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0%;
  width: 3px;
  height: 100%;
  background: linear-gradient(
    to bottom,
    transparent,
    rgba(255, 255, 255, 0.9) 20%,
    rgba(255, 255, 255, 0.9) 80%,
    transparent
  );
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.6),
              0 0 40px rgba(255, 255, 255, 0.3);
  z-index: 3;
  opacity: 0;
  transition: all 2s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.example-visuals.revealing::after {
  opacity: 1;
  left: 100%;
}

.example-badge {
  position: absolute;
  top: 16px;
  z-index: 4;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 10px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: opacity 0.3s ease;
}

/* Position badges */
.example-image:first-child .example-badge {
  left: 16px;
}

.example-image:last-child .example-badge {
  right: 16px;
}

/* Fade badges during reveal */
.example-visuals.revealing .example-image:first-child .example-badge {
  opacity: 0.5;
}

.example-visuals.revealing .example-image:last-child .example-badge {
  opacity: 1;
}

/* Example Info */
.example-info {
  padding: 0;
}

.example-info h3 {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.example-info p {
  font-size: 15px;
  line-height: 1.5;
  color: var(--text-secondary);
}

/* ========== CHAT DEMO SECTION ========== */
.chat-demo-section {
  padding: var(--spacing-xl) 0;
  background: var(--secondary-bg);
}

.chat-subtitle {
  text-align: center;
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 20px; /* tightened spacing under subtitle */
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.chat-demo-container {
  max-width: 900px;
  margin: 0 auto;
  background: transparent;                 /* container not visible */
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  border-radius: 0;
  padding: 0;                               /* zero padding to maximize size */
  min-height: 600px;
  display: flex;
  flex-direction: column;
  gap: 20px;                                /* tighter internal gap */
}

.chat-demo-prompt {
  background: var(--tertiary-bg);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 24px;
  font-family: 'Monaco', 'Menlo', monospace;
  font-size: 16px;
  color: var(--text-primary);
  min-height: 80px;
  display: flex;
  align-items: center;
}

.typing-text {
  flex: 1;
  line-height: 1.5;
}

.typing-cursor {
  display: inline-block;
  margin-left: 2px;
  animation: blink 1s step-end infinite;
  color: var(--text-primary);
}

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

.chat-demo-result {
  display: flex;
  gap: 20px;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.chat-demo-result.is-visible {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.result-before,
.result-after {
  flex: 1;
  position: relative;
  opacity: 0;
  transition: opacity 0.6s ease;
  aspect-ratio: 1 / 1; /* always square */
  min-height: 0; /* let aspect-ratio control height */
}

.result-image-before,
.result-image-after {
  position: absolute;
  inset: 0; /* fill container */
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-md);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border: 1px solid var(--glass-border);
}

.result-image-after {
  opacity: 0;
  transition: opacity 0.4s ease;
}

.result-image-after.is-visible {
  opacity: 1;
}

.result-label {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  padding: 6px 16px;
  border-radius: var(--radius-sm);
  font-size: 12px;
  font-weight: 600;
  color: var(--text-primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 10;
}

/* Loading State */
.result-loading {
  display: none;
  position: absolute; /* overlay over image */
  inset: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: var(--radius-md);
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: none;
  box-shadow: none;
  transition: opacity 0.3s ease;
}

/* Progress Bar Pill */
.loading-pill {
  position: relative;
  width: 200px;
  height: 48px;
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(100, 200, 255, 0.3);
  overflow: hidden;
  box-shadow: 
    inset 0 2px 8px rgba(0, 0, 0, 0.3),
    0 0 20px rgba(100, 200, 255, 0.1);
}

.loading-pill-fill {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, 
    rgba(100, 200, 255, 0.6),
    rgba(150, 220, 255, 0.8),
    rgba(100, 200, 255, 0.6)
  );
  border-radius: 24px;
  transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 
    0 0 20px rgba(100, 200, 255, 0.6),
    0 0 40px rgba(100, 200, 255, 0.4),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
  animation: glow 1.5s ease-in-out infinite;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 
      0 0 20px rgba(100, 200, 255, 0.6),
      0 0 40px rgba(100, 200, 255, 0.4),
      inset 0 0 20px rgba(255, 255, 255, 0.3);
  }
  50% {
    box-shadow: 
      0 0 30px rgba(100, 200, 255, 0.8),
      0 0 60px rgba(100, 200, 255, 0.6),
      inset 0 0 30px rgba(255, 255, 255, 0.4);
  }
}

.loading-pill-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  z-index: 1;
  text-shadow: 0 0 10px rgba(100, 200, 255, 0.5);
  animation: textPulse 1.5s ease-in-out infinite;
}

@keyframes textPulse {
  0%, 100% { 
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(100, 200, 255, 0.5);
  }
  50% { 
    opacity: 1;
    text-shadow: 0 0 20px rgba(100, 200, 255, 0.8);
  }
}

/* AI Models Logos Section */
.ai-models-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 40px;
  margin-top: 8px;        /* closer to subtitle */
  margin-bottom: 32px;    /* slightly tighter below */
  padding: 0 20px;
  opacity: 0.9;
}

.ai-model-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.model-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;              /* bring label closer to icon */
}

.ai-model-logo:hover {
  opacity: 1;
  transform: translateY(-4px);
}

.model-logo-img {
  height: 48px;          /* +20% size */
  width: auto;
  object-fit: contain;
  filter: none;
  opacity: 1;
  transition: var(--transition-smooth);
}

.ai-model-logo:hover .model-logo-img {
  opacity: 1;
}

.model-name {
  font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 11px;        /* +10% size */
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: var(--text-secondary);
  opacity: 0.7;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.ai-model-logo:hover .model-name {
  opacity: 1;
  color: var(--text-primary);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 992px) {
  .hero-video-section {
    height: 70vh;
    min-height: 500px;
  }
  
  .hero-headline {
    font-size: 44px;
  }
  
  .container {
    padding: 0 40px;
  }
  
  .studio-content {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  
  .studio-main {
    position: relative;
    top: 0;
    height: auto;
    aspect-ratio: 16 / 9;
    max-width: 800px;
    margin: 0 auto;
  }
  
  .studio-examples {
    gap: 28px;
  }
  
  .container-wide {
    padding: 0 40px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  
  .enterprise-features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  
  .enterprise-feature-card {
    padding: 32px 24px;
  }
  
  .workflow-steps {
    grid-template-columns: 1fr;
  }
  
  .partners-container {
    padding: 40px 32px;
  }
  
  .logos-grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 28px 36px;
  }
  
  .logo-item {
    width: 70px;
    height: 70px;
  }
}

@media (max-width: 768px) {
  .navbar {
    padding: 16px 24px;
  }
  
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: var(--primary-bg);
    border-left: 1px solid var(--border-color);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: right 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .menu-toggle {
    display: block;
    z-index: 1000;
  }
  
  .hero-video-section {
    height: 60vh;
    min-height: 400px;
  }
  
  .hero-headline {
    font-size: 36px;
  }
  
  .hero-description {
    font-size: 16px;
  }
  
  .section-title {
    font-size: 32px;
  }
  
  .studio-title {
    font-size: 32px;
  }
  
  .studio-description {
    font-size: 16px;
  }
  
  .chat-demo-container {
    padding: 0;                              /* keep zero on tablets */
    min-height: 500px;
  }
  
  .chat-demo-prompt {
    font-size: 14px;
    padding: 20px;
  }
  
  .chat-demo-result {
    flex-direction: column;
    gap: 16px;
  }

  .result-before,
  .result-after {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  
  .result-loading {
    height: 100%;
  }
  
  .loading-pill {
    width: 180px;
    height: 44px;
  }
  
  .pricing-cta-title,
  .final-cta-title {
    font-size: 32px;
  }
  
  .container {
    padding: 0 24px;
  }
  
  .container-wide {
    padding: 0 24px;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr); /* 2x3 layout on phones */
    gap: 16px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .enterprise-features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  
  .enterprise-feature-card {
    padding: 28px 20px;
  }
  
  .enterprise-icon {
    font-size: 40px;
    margin-bottom: 16px;
  }
  
  .enterprise-intro {
    font-size: 16px;
  }
  
  :root {
    --spacing-xl: 60px;
  }
  
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .announcement-content {
    flex-direction: column;
    gap: 8px;
  }
  
  .final-stats {
    gap: 32px;
  }
  
  .final-cta-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .final-cta-primary,
  .final-cta-secondary {
    width: 100%;
    max-width: 300px;
  }
  
  /* ========== TABLET REVEAL EFFECT OPTIMIZATION ========== */
  
  .studio-intro {
    margin-bottom: 32px; /* Reduce from 48px */
  }
  
  .studio-section {
    padding: 50px 0; /* Slightly reduce section padding */
  }
  
  .studio-content {
    grid-template-columns: 1fr; /* Stack on tablets */
    gap: 32px;
  }
  
  .studio-main {
    position: static; /* Remove sticky on tablet */
  }
  
  .studio-examples {
    gap: 28px;
  }
  
  .example-visuals {
    margin-bottom: 16px;
  }
  
  .example-info h3 {
    font-size: 18px;
  }
  
  .example-info p {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .hero-video-section {
    height: 50vh;
    min-height: 350px;
  }
  
  .hero-headline {
    font-size: 28px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .studio-title {
    font-size: 28px;
  }
  
  .studio-description {
    font-size: 15px;
  }
  
  /* Fix studio main videos/images to maintain aspect ratio on mobile */
  .studio-main {
    aspect-ratio: auto !important;
  }
  
  .studio-canvas {
    object-fit: contain !important;
    background: rgba(0, 0, 0, 0.5);
  }
  
  .chat-demo-container {
    padding: 0;                              /* keep zero on phones */
    min-height: 400px;
  }
  
  .chat-demo-result {
    position: relative;
    gap: 0;
    min-height: 0;
  }

  .result-before {
    opacity: 1;
  }

  .result-after {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
  }

  .result-after .result-label {
    opacity: 0;
    transition: opacity 0.3s ease;
  }

  .chat-demo-result.after-visible .result-after .result-label {
    opacity: 1;
  }

  .chat-demo-result.after-visible .result-before .result-label {
    opacity: 0;
  }

  .chat-demo-prompt {
    font-size: 13px;
    padding: 16px;
    min-height: 70px;
  }

  .result-before,
  .result-after {
    aspect-ratio: 1 / 1;
    min-height: 0;
  }
  
  .result-loading {
    height: 100%;
  }
  
  .loading-pill {
    width: 160px;
    height: 40px;
  }
  
  .loading-pill-text {
    font-size: 12px;
  }
  
  .ai-models-logos {
    gap: 24px;
    margin-top: 40px;
    padding: 24px 12px;
  }
  
  .model-logo-img {
    height: 28px;
  }
  
  /* REMOVED OLD CONFLICTING STYLES - Using new reveal effect styles below */
  
  .partners-container {
    padding: 32px 24px;
  }
  
  .logos-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 20px 24px;
  }
  
  .logo-item {
    width: 60px;
    height: 60px;
  }
  
  .stats-grid {
    grid-template-columns: 1fr; /* keep single column to avoid layout jumping */
    gap: 16px;
  }

  /* Reduce motion-induced layout shifts for stats on small screens */
  .stat-card.visible {
    animation: none;
    opacity: 1;
  }
  
  .community-stats {
    grid-template-columns: 1fr;
  }
}

/* Very Small Screens */
@media (max-width: 480px) {
  .partners-container {
    padding: 24px 20px;
  }
  
  .logos-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
  
  .logo-item {
    width: 50px;
    height: 50px;
  }
  
  /* ========== MOBILE REVEAL EFFECT OPTIMIZATION ========== */
  /* Tighten spacing and optimize for mobile screens */
  
  .studio-intro {
    margin-bottom: 24px; /* Reduce from 48px */
  }
  
  .studio-section {
    padding: 40px 0; /* Reduce section padding */
  }
  
  .studio-content {
    grid-template-columns: 1fr; /* Stack on mobile */
    gap: 24px;
  }
  
  .studio-examples {
    gap: 24px; /* Reduce gap between cards */
  }
  
  .example-card {
    margin-bottom: 0; /* Remove any extra margin */
  }
  
  .example-visuals {
    aspect-ratio: 16 / 10; /* Slightly taller for better mobile viewing */
    margin-bottom: 12px; /* Tight spacing to text below */
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4); /* Slightly smaller shadow */
  }
  
  .example-badge {
    font-size: 8px;
    padding: 4px 10px;
    top: 10px;
    border-radius: 16px;
  }
  
  .example-image:first-child .example-badge {
    left: 10px;
  }
  
  .example-image:last-child .example-badge {
    right: 10px;
  }
  
  .example-info {
    padding: 0;
    margin-top: 0;
  }
  
  .example-info h3 {
    font-size: 16px;
    margin-bottom: 6px;
    line-height: 1.3;
  }
  
  .example-info p {
    font-size: 13px;
    line-height: 1.4;
  }
  
  /* Ensure reveal line is visible on mobile */
  .example-visuals::after {
    width: 2px; /* Slightly thinner on mobile */
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.6),
                0 0 30px rgba(255, 255, 255, 0.3);
  }
}

/* ========== COOKIE CONSENT BANNER ========== */
.cookie-banner {
  position: fixed;
  bottom: -200px;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 20px;
  opacity: 0;
  transition: bottom 0.5s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
}

/* ========== MODAL (Generic) ========== */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9998;
}

.modal-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  z-index: 9999;
}

.modal.show {
  opacity: 1;
  pointer-events: auto;
}

.modal-dialog {
  width: 100%;
  max-width: 720px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.6);
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  border-bottom: 1px solid var(--glass-border);
}

.modal-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0;
}

.modal-close {
  background: transparent;
  border: none;
  color: var(--text-primary);
  font-size: 22px;
  cursor: pointer;
}

.modal-body {
  padding: 20px 24px;
  color: var(--text-secondary);
  line-height: 1.7;
}

.modal-footer {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  padding: 16px 24px 24px 24px;
}

.modal-secondary,
.modal-primary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 10px 18px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.modal-primary:hover,
.modal-secondary:hover {
  background: var(--glass-hover);
  transform: translateY(-1px);
}
.cookie-banner.show {
  bottom: 20px;
  opacity: 1;
}

.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--glass-bg);
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px 32px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.cookie-text {
  flex: 1;
}

.cookie-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 8px 0;
}

.cookie-description {
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-shrink: 0;
}

.cookie-accept-btn {
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 12px 32px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.cookie-accept-btn:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}

.cookie-learn-more {
  appearance: none;
  -webkit-appearance: none;
  background: var(--glass-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  padding: 10px 20px;
  border-radius: 9999px; /* pill */
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-smooth);
  white-space: nowrap;
}

.cookie-learn-more:hover {
  background: var(--glass-hover);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Responsive Cookie Banner */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 16px;
  }
  
  .cookie-banner.show {
    bottom: 16px;
  }
  
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px;
    gap: 20px;
  }
  
  .cookie-actions {
    width: 100%;
    flex-direction: column;
    gap: 12px;
  }
  
  .cookie-accept-btn {
    width: 100%;
    text-align: center;
  }
  
  .cookie-learn-more {
    width: 100%;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .cookie-banner {
    padding: 12px;
  }
  
  .cookie-banner.show {
    bottom: 12px;
  }
  
  .cookie-content {
    padding: 16px 20px;
  }
  
  .cookie-title {
    font-size: 15px;
  }
  
  .cookie-description {
    font-size: 13px;
  }
  
  .cookie-accept-btn {
    padding: 10px 24px;
    font-size: 13px;
  }
}