@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Outfit:wght@500;700&display=swap');

:root {
  --bg-primary: #020617; /* Deep midnight blue */
  --bg-secondary: #0f172a;
  --text-main: #f8fafc;
  --text-secondary: #94a3b8;
  --primary-blue: #4b8df8; /* TeamSpawn App Primary Blue */
  --primary-blue-hover: #3a75d3;
  --accent-primary: #4b8df8;
  --accent-primary-hover: #6ea5fa;
  --accent-pink: #f472b6;
  --accent-orange: #fbbf24;
  --accent-blue-soft: rgba(75, 141, 248, 0.12);
  --border-color: rgba(255, 255, 255, 0.1);
  --font-main: 'Inter', sans-serif;
  --font-heading: 'Outfit', sans-serif;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.2);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --glass-bg: rgba(15, 23, 42, 0.8);
  --glass-border: rgba(255, 255, 255, 0.1);
}

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

body {
  background-color: transparent;
  color: var(--text-main);
  font-family: var(--font-main);
  overflow-x: hidden;
  line-height: 1.6;
  position: relative;
}

.bg-main {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(75, 141, 248, 0.12) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(75, 141, 248, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 50% 50%, rgba(244, 114, 182, 0.02) 0%, transparent 50%),
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  background-attachment: fixed;
  z-index: -3;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("https://www.transparenttextures.com/patterns/p6.png");
  opacity: 0.1;
  pointer-events: none;
  z-index: -2; /* Sit behind the globe but above the gradient */
}

/* Animated Background Blobs */
.blob-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(61, 148, 255, 0.1) 0%, transparent 70%);
  border-radius: 50%;
  filter: blur(80px);
  animation: drift 20s infinite alternate ease-in-out;
}

.blob-1 { top: -100px; left: -100px; }
.blob-2 { bottom: -200px; right: -100px; animation-duration: 25s; animation-delay: -5s; }
.blob-3 { top: 40%; left: 60%; background: radial-gradient(circle, rgba(0, 115, 234, 0.05) 0%, transparent 70%); animation-duration: 30s; }


#three-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

/* Navigation */
nav {
  position: fixed;
  top: 1rem;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 6rem);
  max-width: 1200px;
  padding: 0.6rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 100px;
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-brand:hover {
  opacity: 0.9;
  transform: scale(1.02);
}

.nav-logo {
  height: 44px;
  width: auto;
  display: block;
}

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

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

.nav-links a:not(.btn):hover {
  color: var(--primary-blue);
}

.nav-links a.btn,
.nav-links .btn-primary {
  color: #ffffff;
}

.nav-links .btn-primary:hover {
  color: #ffffff;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding: 140px 2rem 3rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
  pointer-events: none; /* Let clicks pass through to the 3D globe */
  user-select: none; /* Prevent accidental text selection */
}

.hero-content {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.hero-content h1 {
  font-family: var(--font-heading);
  font-size: clamp(2.8rem, 5.2vw, 4.75rem);
  line-height: 1.08;
  margin-bottom: 1.5rem;
  color: var(--text-main);
  font-weight: 700;
  letter-spacing: -0.04em;
  text-shadow: 0 4px 24px rgba(0, 0, 0, 0.7);
}

.accent-text {
  color: var(--primary-blue);
  position: relative;
  display: inline-block;
}

.accent-text::after {
  content: '';
  position: absolute;
  bottom: 8px;
  left: 0;
  width: 100%;
  height: 8px;
  background: var(--accent-primary);
  z-index: -1;
  opacity: 0.4;
}

.hero-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.6;
}

.hero .hero-description {
  font-size: clamp(1.2rem, 2vw, 1.45rem);
  color: #f8fafc;
  font-weight: 500;
  max-width: 760px;
  margin: 0 auto 2.5rem;
  line-height: 1.55;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.9), 0 0 30px rgba(2, 6, 23, 0.95);
  opacity: 1;
  display: block;
}

.hero-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-bottom: 4rem;
}

.hero-btn {
  padding: 1.25rem 3.5rem;
  font-size: 1.1rem;
}

.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  z-index: 10;
  pointer-events: none;
}

.mouse {
  width: 26px;
  height: 42px;
  border: 2px solid #ffffff;
  border-radius: 14px;
  position: relative;
  background: rgba(15, 23, 42, 0.4);
  box-shadow: 0 0 12px rgba(255, 255, 255, 0.6), 0 4px 16px rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.mouse::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 9px;
  background: #ffffff;
  border-radius: 3px;
  box-shadow: 0 0 8px rgba(255, 255, 255, 0.9);
  animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
  0% { opacity: 1; transform: translateX(-50%) translateY(0); }
  100% { opacity: 0; transform: translateX(-50%) translateY(15px); }
}

/* Buttons */
.btn {
  padding: 0.8rem 2rem;
  border-radius: 50px;
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: auto; /* Re-enable clicks for buttons */
}

.btn-primary {
  background-color: var(--primary-blue);
  color: #fff;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(75, 141, 248, 0.25);
}

.btn-secondary {
  background-color: #fff;
  color: var(--text-main);
  border: 1px solid var(--border-color);
}

.btn-secondary:hover {
  background-color: var(--bg-secondary);
  transform: translateY(-2px);
}

/* Board Mockup */
.status-done { background: var(--accent-green); }
.status-working { background: var(--accent-orange); }
.status-stuck { background: var(--accent-pink); }

/* Product Showcase */
.product-showcase {
  max-width: 1200px;
  margin: 6rem auto;
  padding: 0 2rem;
  perspective: 2000px;
}

.image-container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.product-image {
  width: 90%;
  height: auto;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 
    0 50px 100px -20px rgba(0, 0, 0, 0.15),
    0 30px 60px -30px rgba(0, 0, 0, 0.2),
    inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  display: block;
  transform: rotateX(15deg) rotateY(-20deg) rotateZ(5deg);
  transform-style: preserve-3d;
  animation: float-3d 8s ease-in-out infinite;
  transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.product-image:hover {
  transform: rotateX(10deg) rotateY(-10deg) rotateZ(2deg) scale(1.02);
}

@keyframes float-3d {
  0% { transform: translateY(0px) rotateX(15deg) rotateY(-20deg) rotateZ(5deg); }
  50% { transform: translateY(-30px) rotateX(18deg) rotateY(-15deg) rotateZ(6deg); }
  100% { transform: translateY(0px) rotateX(15deg) rotateY(-20deg) rotateZ(5deg); }
}

.product-showcase:nth-child(even) .product-image {
  transform: rotateX(15deg) rotateY(20deg) rotateZ(-5deg);
  animation-name: float-3d-reverse;
}

@keyframes float-3d-reverse {
  0% { transform: translateY(0px) rotateX(15deg) rotateY(20deg) rotateZ(-5deg); }
  50% { transform: translateY(-30px) rotateX(18deg) rotateY(15deg) rotateZ(-6deg); }
  100% { transform: translateY(0px) rotateX(15deg) rotateY(20deg) rotateZ(-5deg); }
}

/* Features */

.features {
  padding: 6rem 4rem;
  background: var(--bg-primary);
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.section-head {
  text-align: center;
  margin-bottom: 4rem;
}

.section-head h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.feature-card {
  padding: 2.5rem;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--border-color);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.08);
}

.feature-icon {
  width: 56px;
  height: 56px;
  margin-bottom: 2rem;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 1.25rem;
  box-shadow: 0 8px 16px rgba(0,0,0,0.1);
}


/* Pricing Section */
.pricing {
  padding: 100px 5%;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-color);
  border-radius: 24px;
  padding: 40px;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), border-color 0.3s ease;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.pricing-card:hover {
  transform: translateY(-10px);
  border-color: var(--primary-blue);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

.pricing-card.featured {
  background: #fff;
  border: 2px solid var(--primary-blue);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.pricing-badge {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary-blue);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

.pricing-card h3 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.price {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 20px;
  display: flex;
  align-items: baseline;
}

.price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-left: 5px;
}

.pricing-card p {
  color: var(--text-secondary);
  margin-bottom: 30px;
  line-height: 1.6;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 40px 0;
  flex-grow: 1;
}

.pricing-features li {
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
}

.pricing-features li::before {
  content: "✓";
  color: var(--primary-blue);
  font-weight: bold;
}

.pricing-card .btn {
  width: 100%;
}

/* Footer */
footer {
  padding: 4rem;
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 10;
}

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

.footer-brand {
  display: inline-block;
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.footer-brand:hover {
  opacity: 0.9;
}

.footer-logo {
  height: 38px;
  width: auto;
  display: block;
}

@media (max-width: 992px) {
  .hero-content h1 {
    font-size: 3rem;
  }
  nav {
    padding: 1rem 2rem;
  }
  .hero {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}


/* Side Panel */
.side-panel {
  position: fixed;
  top: 120px;
  left: -420px;
  width: 370px;
  height: auto;
  max-height: calc(100vh - 150px);
  background: rgba(10, 15, 30, 0.9);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: none;
  border-radius: 0 20px 20px 0;
  padding: 28px 24px;
  box-sizing: border-box;
  transition: left 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  overflow-y: auto;
  color: var(--text-main);
  box-shadow: 12px 0 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255,255,255,0.04) inset;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.side-panel.open {
  left: 0;
}

.close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  font-size: 20px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  z-index: 10;
}

.close-btn:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
  border-color: rgba(239, 68, 68, 0.3);
  transform: rotate(90deg);
}

/* Profile Header Section */
.panel-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 10px;
}

.avatar-container {
  position: relative;
  width: 68px;
  height: 68px;
  flex-shrink: 0;
}

.panel-avatar {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-color);
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.avatar-container:hover .panel-avatar {
  transform: scale(1.05);
}

.status-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #0a0f1e;
  background-color: #4b8df8;
  box-shadow: 0 0 8px rgba(75, 141, 248, 0.6);
}

/* Dynamic dot states */
.status-dot.active,
.status-dot.working,
.status-dot.sleeping,
.status-dot.vacation {
  background-color: #4b8df8;
  box-shadow: 0 0 10px #4b8df8;
}

.header-details {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.panel-name {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
  margin: 0;
}

.panel-role {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary-blue);
  letter-spacing: 0.5px;
}

.panel-location {
  font-size: 0.78rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Status Badge */
.panel-status-badge-container {
  display: flex;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Badge specific themes */
.status-badge.badge-active { background: rgba(16, 185, 129, 0.15); border-color: rgba(16, 185, 129, 0.25); color: #34d399; }
.status-badge.badge-working { background: rgba(75, 141, 248, 0.15); border-color: rgba(75, 141, 248, 0.25); color: #7db0fb; }
.status-badge.badge-sleeping { background: rgba(245, 158, 11, 0.15); border-color: rgba(245, 158, 11, 0.25); color: #fbbf24; }
.status-badge.badge-vacation { background: rgba(236, 72, 153, 0.15); border-color: rgba(236, 72, 153, 0.25); color: #f472b6; }

/* Meta Grid */
.meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 14px;
  padding: 14px;
}

.meta-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.meta-label {
  font-size: 0.72rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.meta-value {
  font-size: 0.85rem;
  font-weight: 500;
  color: #f1f5f9;
}

/* Activity section titles */
.section-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  display: block;
  margin-bottom: 8px;
}

/* Work Screenshot container */
.panel-work-container {
  display: flex;
  flex-direction: column;
}

.screenshot-container {
  position: relative;
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 20px rgba(0,0,0,0.4);
}

.panel-image {
  width: 100%;
  display: block;
  transition: transform 0.5s ease;
}

.screenshot-container:hover .panel-image {
  transform: scale(1.03);
}

/* Description Area */
.panel-desc-container {
  display: flex;
  flex-direction: column;
}

.panel-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 14px;
}

/* Action Buttons */
.panel-actions {
  display: flex;
  margin-top: auto; /* Push to bottom of the card */
  padding-top: 15px;
}

.btn-action-primary {
  background: var(--accent-primary);
  color: #fff;
  border: none;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(75, 141, 248, 0.25);
  text-align: center;
  width: 100%;
}

.btn-action-primary:hover {
  background: var(--primary-blue-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(75, 141, 248, 0.35);
}

/* ==========================================================================
   HIGH-CONVERSION LANDING PAGE ENHANCEMENTS
   ========================================================================== */

/* Trust Bar Marquee */
.trust-bar {
  padding: 3rem 2rem;
  background: rgba(2, 6, 23, 0.4);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  position: relative;
  z-index: 10;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.marquee-container {
  overflow: hidden;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  display: flex;
}

.marquee-content {
  display: flex;
  gap: 6rem;
  animation: marquee-scroll 35s linear infinite;
  width: max-content;
}

.trust-logo {
  display: flex;
  align-items: center;
  color: var(--text-secondary);
  opacity: 0.65;
  transition: all 0.3s ease;
}

.trust-logo:hover {
  color: var(--primary-blue);
  opacity: 1;
  transform: scale(1.05);
}

@keyframes marquee-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ==========================================================================
   WHY #1, WHY #2, WHY #3 VIDEO CARDS & AVATARS
   ========================================================================== */

.why-videos-section {
  padding: 6rem 2rem 4rem;
  position: relative;
  z-index: 10;
  max-width: 1360px;
  margin: 0 auto;
}

.why-container-box {
  background: rgba(2, 6, 23, 0.85);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 32px;
  padding: 4.5rem 3.5rem 3.5rem;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.7), 0 0 50px rgba(75, 141, 248, 0.06);
  position: relative;
}

.why-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.2rem;
  margin: 3.5rem 0 1rem;
}

.why-card {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  position: relative;
  margin-top: 2.6rem;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: rgba(75, 141, 248, 0.4);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(75, 141, 248, 0.15);
}

.why-watermark {
  position: absolute;
  top: -38px;
  left: 20px;
  font-family: var(--font-heading);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
  color: rgba(75, 141, 248, 0.08);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(75, 141, 248, 0.35) 0%, transparent 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  user-select: none;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.why-card:hover .why-watermark {
  transform: translateY(-4px);
  background: linear-gradient(to bottom, rgba(75, 141, 248, 0.55) 0%, transparent 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.why-video-preview {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #020617;
  border-top-left-radius: 19px;
  border-top-right-radius: 19px;
}

.why-thumbnail {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.3s ease;
}

.why-card:hover .why-thumbnail {
  transform: scale(1.06);
  filter: brightness(1.08);
}

.why-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(2, 6, 23, 0.25) 0%, rgba(2, 6, 23, 0.75) 100%);
  pointer-events: none;
}

.why-duration {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #f8fafc;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 5px;
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 2;
}

.why-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(75, 141, 248, 0.9);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.85);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 25px rgba(75, 141, 248, 0.6);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 2;
}

.why-card:hover .why-play-btn {
  transform: translate(-50%, -50%) scale(1.15);
  background: var(--primary-blue-hover);
  box-shadow: 0 0 35px rgba(75, 141, 248, 0.9);
}

.why-card-content {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  gap: 1.1rem;
  position: relative;
}

.why-title,
.why-summary,
.why-card-action {
  position: relative;
  z-index: 2;
}

.why-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
}

.why-summary {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.why-avatar-container {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  margin-top: 0.25rem;
}

.why-avatar-wrapper {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  flex-shrink: 0;
}

.why-avatar-img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-blue);
}

.why-avatar-status {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: #22c55e;
  border: 2px solid #0f172a;
  box-shadow: 0 0 8px #22c55e;
}

.why-avatar-info {
  display: flex;
  flex-direction: column;
}

.why-avatar-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f8fafc;
}

.why-avatar-role {
  font-size: 0.74rem;
  color: var(--primary-blue);
  font-weight: 500;
}

.why-quote-box {
  background: rgba(75, 141, 248, 0.06);
  border-left: 3px solid var(--primary-blue);
  padding: 0.85rem 1.1rem;
  border-radius: 0 10px 10px 0;
  font-size: 0.83rem;
  font-style: italic;
  color: #cbd5e1;
  line-height: 1.55;
}

.why-card-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.why-watch-link {
  color: var(--primary-blue);
  font-size: 0.85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}

.why-card:hover .why-watch-link {
  gap: 10px;
}

.why-external-link {
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  transition: all 0.2s ease;
  pointer-events: auto;
}

.why-external-link:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Embedded Tech Stack Marquee */
.trust-bar-embedded {
  padding: 3rem 0 1rem;
  text-align: center;
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 2.5rem;
}

/* Video Lightbox Modal */
.video-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 1.5rem;
}

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

.video-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 23, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.video-modal-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 920px;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 25px 65px rgba(0, 0, 0, 0.8), 0 0 40px rgba(75, 141, 248, 0.15);
  transform: scale(0.92);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.video-modal.active .video-modal-container {
  transform: scale(1);
}

.video-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(2, 6, 23, 0.6);
}

.video-modal-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
}

.video-modal-close {
  background: rgba(255, 255, 255, 0.08);
  border: none;
  color: #fff;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 1.4rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.video-modal-close:hover {
  background: #ef4444;
  transform: scale(1.08);
}

.video-modal-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
}

.video-modal-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* How It Works Steps Layout */
.how-it-works {
  padding: 8rem 4rem;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

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

.step-card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem 2.5rem;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.step-card:hover {
  transform: translateY(-8px);
  border-color: rgba(75, 141, 248, 0.2);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15), 0 0 24px rgba(75, 141, 248, 0.05);
}

.step-number {
  position: absolute;
  top: -32px;
  left: 28px;
  font-family: var(--font-heading);
  font-size: 5.5rem;
  font-weight: 700;
  line-height: 1;
  color: rgba(75, 141, 248, 0.08);
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(75, 141, 248, 0.15) 0%, transparent 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-card h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  margin-bottom: 1rem;
  color: #fff;
  font-weight: 600;
}

.step-card p {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Testimonials Grid Layout */
.testimonials-section {
  padding: 8rem 4rem;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-top: 4rem;
}

.testimonial-card {
  background: var(--glass-bg);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid var(--glass-border);
  border-radius: 24px;
  padding: 3rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 2.5rem;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: scale(1.02);
  border-color: rgba(75, 141, 248, 0.15);
}

.testimonial-content {
  font-size: 1.15rem;
  line-height: 1.65;
  color: #f1f5f9;
  font-weight: 400;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.author-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.author-details h5 {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  color: #fff;
  margin-bottom: 2px;
  font-weight: 600;
}

.author-details p {
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* FAQ Collapsible Accordion */
.faq-section {
  padding: 8rem 4rem;
  position: relative;
  z-index: 10;
  max-width: 900px;
  margin: 0 auto;
}

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 4rem;
}

.faq-item {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid var(--border-color);
  border-radius: 16px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(15, 23, 42, 0.5);
}

.faq-item.open {
  border-color: rgba(75, 141, 248, 0.25);
  background: rgba(15, 23, 42, 0.6);
}

.faq-trigger {
  width: 100%;
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.faq-icon {
  font-size: 1.5rem;
  color: var(--primary-blue);
  transition: transform 0.3s ease;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  color: #f472b6;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1), padding 0.3s ease;
  padding: 0 2rem;
}

.faq-item.open .faq-content {
  max-height: 300px;
  padding-bottom: 2rem;
}

.faq-content p {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

/* Final bottom CTA card */
.final-cta {
  padding: 8rem 4rem;
  position: relative;
  z-index: 10;
  max-width: 1200px;
  margin: 0 auto;
}

.final-cta-card {
  background: radial-gradient(circle at 10% 20%, rgba(75, 141, 248, 0.12) 0%, transparent 45%),
              radial-gradient(circle at 90% 80%, rgba(75, 141, 248, 0.08) 0%, transparent 45%),
              rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 32px;
  padding: 6rem 4rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.3);
}

.final-cta-card h2 {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
  max-width: 700px;
}

.final-cta-card p {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 600px;
  line-height: 1.6;
}

.cta-buttons {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .why-container-box {
    padding: 3.5rem 2rem 2.5rem;
    border-radius: 24px;
  }
  .steps-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }
  .final-cta-card {
    padding: 4rem 2rem;
  }
  .final-cta-card h2 {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .why-container-box {
    padding: 2.5rem 1.25rem 2rem;
    border-radius: 20px;
  }
  .why-cards-grid {
    grid-template-columns: 1fr;
  }
}

