/* Scoped Styles for TruInterview Hero Section */
.is-style-hero-section {
  /* Design Tokens */
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-tertiary: #f1f5f9;
  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --color-brand: #4f46e5;
  --color-brand-hover: #3730a3;
  --color-brand-glow: rgba(79, 70, 229, 0.08);
  --color-accent: #06b6d4;
  --color-accent-glow: rgba(6, 182, 212, 0.15);
  --color-accent-gradient: linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --color-border: #e2e8f0;
  --color-border-hover: #cbd5e1;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;
  --space-20: 80px;
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px 0 rgba(15, 23, 42, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(15, 23, 42, 0.05), 0 2px 4px -2px rgba(15, 23, 42, 0.05);
  --shadow-lg: 0 10px 25px -3px rgba(15, 23, 42, 0.05), 0 4px 12px -4px rgba(15, 23, 42, 0.05);
  --shadow-xl: 0 20px 30px -5px rgba(15, 23, 42, 0.07), 0 10px 15px -6px rgba(15, 23, 42, 0.07);
  --shadow-premium: 0 20px 50px -12px rgba(79, 70, 229, 0.08);
  --transition-smooth: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);

  position: relative;
  padding-top: 120px;
  padding-bottom: var(--space-20);
  background-image: 
    radial-gradient(circle at 85% 15%, rgba(79, 70, 229, 0.04), transparent 450px),
    radial-gradient(circle at 15% 85%, rgba(6, 182, 212, 0.04), transparent 450px);
  overflow: hidden;
  width: 100%;
}

.is-style-hero-section .stripe-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.4;
  background-image: 
    linear-gradient(var(--color-border) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-border) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 50%, black 60%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse at 50% 50%, black 60%, transparent 100%);
}

.is-style-hero-section .hero-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: var(--space-16);
}

.is-style-hero-section .hero-content {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.is-style-hero-section .badge {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  padding: 6px 14px;
  background: var(--color-brand-glow);
  color: var(--color-brand);
  border: 1px solid rgba(79, 70, 229, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.is-style-hero-section .hero-title {
  font-size: clamp(2.5rem, 1.8rem + 3.2vw, 3.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, var(--text-primary) 30%, #475569 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  text-wrap: balance;
  margin-bottom: 0.5rem;
}

.is-style-hero-section .hero-description {
  font-size: clamp(1rem, 0.95rem + 0.3vw, 1.15rem);
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 560px;
  line-height: 1.7;
}

.is-style-hero-section .hero-actions-wrapper {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  margin-top: var(--space-2);
}

.is-style-hero-section .hero-actions {
  display: flex;
  gap: var(--space-4);
}

.is-style-hero-section .hero-fud {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: var(--space-2);
  margin-left: var(--space-1);
}

.is-style-hero-section .hero-fud-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--text-muted);
}

.is-style-hero-section .hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.is-style-hero-section .hero-image-wrapper {
  position: relative;
  width: 100%;
  border-radius: var(--radius-lg);
  padding: var(--space-3);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow: var(--shadow-xl), var(--shadow-premium);
  transition: var(--transition-smooth);
}

.is-style-hero-section .hero-image-wrapper:hover {
  transform: translateY(-4px) rotate(0.5deg);
  box-shadow: 0 30px 60px -15px rgba(79, 70, 229, 0.15);
}

.is-style-hero-section .hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  border-radius: calc(var(--radius-lg) - var(--space-3));
  border: 1px solid var(--color-border);
}

.is-style-hero-section .status-widget {
  position: absolute;
  top: 30px;
  left: -20px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border: 1px solid var(--color-border);
  padding: 10px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
  animation: float-widget 4s ease-in-out infinite alternate;
}

.is-style-hero-section .pulse-dot {
  width: 8px;
  height: 8px;
  background-color: #10b981;
  border-radius: 50%;
  position: relative;
}

.is-style-hero-section .pulse-dot::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #10b981;
  border-radius: 50%;
  animation: pulse-ring 1.8s cubic-bezier(0.45, 0, 0, 1) infinite;
}

.is-style-hero-section .dialogue-widget {
  position: absolute;
  bottom: 40px;
  right: -20px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(79, 70, 229, 0.15);
  padding: var(--space-4);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  max-width: 260px;
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  animation: float-widget-delayed 4s ease-in-out infinite alternate;
}

.is-style-hero-section .dialogue-speaker {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-brand);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: var(--space-1);
}

.is-style-hero-section .dialogue-text {
  font-size: 0.85rem;
  color: var(--text-primary);
  font-weight: 500;
  line-height: 1.4;
}

.is-style-hero-section .waveform-anim {
  display: flex;
  align-items: center;
  gap: 2px;
  height: 12px;
}

.is-style-hero-section .waveform-bar {
  width: 2px;
  height: 100%;
  background-color: var(--color-brand);
  border-radius: 1px;
  animation: bounce-bar 1s ease-in-out infinite alternate;
}
.is-style-hero-section .waveform-bar:nth-child(2) { animation-delay: 0.2s; }
.is-style-hero-section .waveform-bar:nth-child(3) { animation-delay: 0.4s; }
.is-style-hero-section .waveform-bar:nth-child(4) { animation-delay: 0.1s; }
.is-style-hero-section .waveform-bar:nth-child(5) { animation-delay: 0.3s; }

.is-style-hero-section .tech-logobar {
  margin-top: var(--space-12);
  padding-top: var(--space-6);
  border-top: 1px solid var(--color-border);
  width: 100%;
}

.is-style-hero-section .tech-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-6);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  font-weight: 600;
  font-size: 0.9rem;
}

.is-style-hero-section .google-dots {
  display: flex;
  gap: 3px;
}

.is-style-hero-section .g-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}
.is-style-hero-section .g-blue { background-color: #4285F4; }
.is-style-hero-section .g-red { background-color: #EA4335; }
.is-style-hero-section .g-yellow { background-color: #FBBC05; }
.is-style-hero-section .g-green { background-color: #34A853; }

/* Buttons */
.is-style-hero-section .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  text-decoration: none;
  cursor: pointer;
  transition: var(--transition-smooth);
  min-height: 44px;
  border: none;
}

.is-style-hero-section .btn-primary {
  background: var(--color-brand);
  color: #ffffff;
  box-shadow: 0 4px 14px var(--color-brand-glow);
}

.is-style-hero-section .btn-primary:hover {
  background: var(--color-brand-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.2);
}

.is-style-hero-section .btn-secondary {
  background: var(--bg-secondary);
  color: var(--text-primary);
  border: 1px solid var(--color-border);
}

.is-style-hero-section .btn-secondary:hover {
  border-color: var(--color-border-hover);
  background: var(--bg-tertiary);
  transform: translateY(-2px);
}

/* Animations */
@keyframes pulse-ring {
  0% { transform: scale(0.95); opacity: 0.5; }
  50% { opacity: 0.3; }
  100% { transform: scale(2.4); opacity: 0; }
}

@keyframes float-widget {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

@keyframes float-widget-delayed {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

@keyframes bounce-bar {
  0% { transform: scaleY(0.4); }
  100% { transform: scaleY(1.2); }
}

@media (max-width: 968px) {
  .is-style-hero-section .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space-10);
  }
  .is-style-hero-section .hero-actions-wrapper {
    align-items: center;
  }
  .is-style-hero-section .hero-actions {
    justify-content: center;
  }
  .is-style-hero-section .hero-description {
    margin: 0 auto;
  }
  .is-style-hero-section .status-widget {
    left: 10px;
  }
  .is-style-hero-section .dialogue-widget {
    right: 10px;
  }
}

@media (max-width: 640px) {
  .is-style-hero-section {
    padding-top: 120px;
    padding-bottom: var(--space-12);
  }
  .is-style-hero-section .status-widget, 
  .is-style-hero-section .dialogue-widget {
    position: static;
    margin: var(--space-2) auto;
    animation: none;
    max-width: 100%;
    width: 100%;
  }
  .is-style-hero-section .hero-image-wrapper {
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
  }
  .is-style-hero-section .tech-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}
