/* ===================================
   HUB Modern Section Styles
   Apple-Inspired Clean & Minimal Design
   =================================== */

.hub-modern-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden;
  background: #ffffff;
  background-image: radial-gradient(
      circle at 20% 50%,
      rgba(220, 83, 16, 0.03) 0%,
      transparent 50%
    ),
    radial-gradient(
      circle at 80% 80%,
      rgba(220, 83, 16, 0.02) 0%,
      transparent 50%
    );
}

.hub-modern-container {
  max-width: 1400px;
  width: 100%;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  padding: 0 40px;
}

/* ===================================
   Animated Background Decorations - Removed
   =================================== */

.hub-bg-decoration {
  display: none;
}

/* ===================================
   Content Card - Clean Apple Style
   =================================== */

.hub-content-card {
  background: transparent;
  padding: 0;
  max-width: 100%;
  margin: 0 auto;
  text-align: left;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 55% 1fr;
  gap: 60px;
  align-items: center;
  min-height: 85vh;
}

.hub-content-wrapper {
  position: relative;
  z-index: 2;
  margin-left: 0;
  max-width: 100%;
  padding: 0 20px;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  backdrop-filter: none;
}

.hub-content-wrapper.animate-in {
  opacity: 1;
  transform: translateX(0);
}

.hub-content-card::before {
  display: none;
}

.hub-content-card:hover {
  transform: none;
  box-shadow: none;
}

/* ===================================
   Badge - Subtle and Elegant
   =================================== */

.hub-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(220, 83, 16, 0.15);
  color: #dc5310;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.3px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
  animation: badgePulse 2s ease-in-out infinite;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@keyframes badgePulse {
  0%,
  100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.hub-badge:hover {
  background: rgba(220, 83, 16, 0.2);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.hub-badge-icon {
  width: 14px;
  height: 14px;
  color: #dc5310;
  animation: iconFloat 1.5s ease-in-out infinite;
}

@keyframes iconFloat {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-3px);
  }
}

@keyframes pulse-badge {
  0%,
  100% {
    box-shadow: 0 4px 15px rgba(220, 83, 16, 0.3);
  }
  50% {
    box-shadow: 0 4px 25px rgba(220, 83, 16, 0.5);
  }
}

/* ===================================
   Typography - Apple San Francisco Style
   =================================== */

.hub-title {
  font-size: 96px;
  font-weight: 700;
  color: #dc5310;
  margin: 0 0 20px 0;
  line-height: 1.05;
  letter-spacing: -3px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    system-ui, sans-serif;
}

.hub-title .highlight {
  color: #dc5310;
}

.hub-subtitle {
  font-size: 28px;
  font-weight: 500;
  color: #666;
  margin: 0 0 24px 0;
  line-height: 1.4;
  letter-spacing: -0.5px;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI",
    system-ui, sans-serif;
}

@keyframes gradientShift {
  0%,
  100% {
    background-position: 0% center;
  }
  50% {
    background-position: 100% center;
  }
}

.hub-description {
  font-size: 18px;
  font-weight: 400;
  color: #666;
  margin: 0 0 32px 0;
  line-height: 1.6;
  letter-spacing: 0;
  max-width: 100%;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI",
    system-ui, sans-serif;
}

/* ===================================
   Feature Pills - Minimalist Design
   =================================== */

.hub-features {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
  justify-content: flex-start;
}

.hub-feature-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: rgba(245, 245, 247, 0.9);
  backdrop-filter: blur(10px);
  border: none;
  border-radius: 100px;
  color: #1d1d1f;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: default;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.hub-feature-pill::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(220, 83, 16, 0.1) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.3s ease;
}

.hub-feature-pill:hover::before {
  opacity: 1;
}

.hub-feature-pill svg {
  width: 18px;
  height: 18px;
  color: #dc5310;
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
  position: relative;
  z-index: 1;
}

.hub-feature-pill:hover {
  background: rgba(232, 232, 237, 0.95);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  /* GSAP will handle translateY */
}

/* GSAP will handle icon rotation and scale */

/* ===================================
   Image Container - Left Side Full Height
   =================================== */

.hub-image-container {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 85vh;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hub-image-wrapper {
  position: relative;
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 25px 100px rgba(0, 0, 0, 0.2), 0 10px 30px rgba(0, 0, 0, 0.15);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  height: 85vh;
  max-width: none;
  will-change: transform;
  perspective: 1000px;
  transform-style: preserve-3d;
}

.hub-image-wrapper:hover {
  box-shadow: 0 35px 120px rgba(0, 0, 0, 0.25), 0 15px 40px rgba(0, 0, 0, 0.2);
}

.hub-image-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(220, 83, 16, 0.1) 0%,
    transparent 50%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
  z-index: 1;
}

.hub-image-wrapper:hover .hub-image-glow {
  opacity: 1;
}

.hub-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
  transform-origin: center center;
}

/* GSAP will handle the scale animation on scroll */

/* ===================================
   CTA Button - Apple Style
   =================================== */

.hub-cta-button {
  display: none;
}

/* ===================================
   Responsive Design
   =================================== */

@media (max-width: 1400px) {
  .hub-content-wrapper {
    margin-left: -180px;
    padding: 50px 50px 50px 0;
  }

  .hub-image-wrapper {
    height: 75vh;
  }

  .hub-image-container {
    min-height: 75vh;
  }
}

@media (max-width: 1024px) {
  .hub-content-card {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 0 40px;
    min-height: auto;
  }

  .hub-image-container {
    min-height: 60vh;
  }

  .hub-image-wrapper {
    height: 60vh;
  }

  .hub-content-wrapper {
    margin-left: 0;
    padding: 40px 30px;
    max-width: 100%;
  }

  .hub-title {
    font-size: 56px;
  }

  .hub-subtitle {
    font-size: 26px;
  }

  .hub-description {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
  .hub-modern-section {
    padding: 60px 20px;
  }

  .hub-content-card {
    padding: 0 20px;
  }

  .hub-content-wrapper {
    padding: 40px 30px;
  }

  .hub-image-container {
    min-height: 40vh;
  }

  .hub-title {
    font-size: 40px;
    letter-spacing: -0.01em;
  }

  .hub-subtitle {
    font-size: 22px;
  }

  .hub-description {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .hub-features {
    gap: 8px;
    margin-bottom: 32px;
  }

  .hub-feature-pill {
    padding: 8px 16px;
    font-size: 13px;
  }

  .hub-feature-pill svg {
    width: 16px;
    height: 16px;
  }

  .hub-cta-button {
    font-size: 16px;
    padding: 12px 22px;
  }

  .hub-image-wrapper {
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .hub-content-wrapper {
    padding: 30px 20px;
  }

  .hub-title {
    font-size: 32px;
  }

  .hub-subtitle {
    font-size: 21px;
  }

  .hub-description {
    font-size: 17px;
  }

  .hub-badge {
    font-size: 11px;
    padding: 6px 12px;
  }

  .hub-badge-icon {
    width: 12px;
    height: 12px;
  }

  .hub-features {
    margin-bottom: 40px;
  }

  .hub-image-wrapper {
    max-width: 100%;
  }
}

/* ===================================
   Animation Performance Optimizations
   =================================== */

/* Initial hidden state */
.hub-badge,
.hub-title,
.hub-subtitle,
.hub-description,
.hub-feature-pill,
.hub-image-wrapper,
.hub-cta-button {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Animated state */
.hub-badge.animate-in,
.hub-title.animate-in,
.hub-subtitle.animate-in,
.hub-description.animate-in,
.hub-feature-pill.animate-in,
.hub-image-wrapper.animate-in,
.hub-cta-button.animate-in {
  opacity: 1;
  transform: translateY(0);
}

/* Specific animations for different elements */
.hub-badge {
  transition-duration: 0.6s;
}

.hub-title {
  transition-duration: 0.8s;
  transition-delay: 0.1s;
}

.hub-subtitle {
  transition-duration: 0.7s;
  transition-delay: 0.2s;
}

.hub-description {
  transition-duration: 0.7s;
  transition-delay: 0.3s;
}

.hub-feature-pill {
  transition-duration: 0.6s;
  transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.hub-image-wrapper {
  transition-duration: 1s;
  transition-delay: 0.4s;
  transform: translateY(50px) scale(0.95);
}

.hub-image-wrapper.animate-in {
  transform: translateY(0) scale(1);
}

.hub-cta-button {
  transition-duration: 0.7s;
  transition-delay: 0.5s;
}

.hub-title,
.hub-subtitle,
.hub-description,
.hub-badge,
.hub-feature-pill,
.hub-image-wrapper,
.hub-cta-button {
  will-change: transform, opacity;
}

/* Smooth transitions for all interactive elements */
.hub-feature-pill svg,
.hub-badge-icon,
.hub-cta-button svg {
  will-change: transform;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hub-main-image {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.hub-cta-button {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Prevent text selection during animations */
.hub-title,
.hub-subtitle {
  user-select: none;
  -webkit-user-select: none;
}

/* ===================================
   Additional Hover Effects
   =================================== */

.hub-badge:hover {
  cursor: default;
}

.hub-cta-button:active {
  transform: scale(0.97);
}

/* ===================================
   Dark Mode Support - Removed
   =================================== */
