/* ============================================================================
   ULTRA-PREMIUM UI/UX ENHANCEMENTS
   ============================================================================
   Final polish layer for enterprise-grade experience
   ============================================================================ */

/* ══════════════════════════════════════════════════════════════════════════
   SOFTER CARD GLOW EFFECTS
   ══════════════════════════════════════════════════════════════════════════ */

.revolutionary-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    800px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 186, 137, 0.06),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: -1;
}

.revolutionary-card:hover::before {
  opacity: 1;
}

.revolutionary-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: 
    0 0 60px rgba(212, 186, 137, 0.03),
    inset 0 1px 1px rgba(255, 255, 255, 0.03);
  opacity: 0;
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.revolutionary-card:hover::after {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════════════
   PREMIUM CONTACT CARD
   ══════════════════════════════════════════════════════════════════════════ */

.contact-section {
  background: linear-gradient(
    135deg,
    rgba(18, 18, 20, 0.95) 0%,
    rgba(24, 24, 28, 0.98) 100%
  );
  border: 1px solid rgba(212, 186, 137, 0.15);
  box-shadow: 
    0 40px 100px rgba(0, 0, 0, 0.8),
    inset 0 1px 1px rgba(255, 255, 255, 0.05),
    0 0 80px rgba(212, 186, 137, 0.05);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 186, 137, 0.3) 50%,
    transparent
  );
}

.contact-form-wrap {
  position: relative;
}

.form-input,
.form-textarea {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text);
  padding: 14px 18px;
  border-radius: 8px;
  font-family: var(--sans);
  font-size: 14px;
  width: 100%;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(10px);
}

.form-input:hover,
.form-textarea:hover {
  border-color: rgba(212, 186, 137, 0.2);
  background: rgba(255, 255, 255, 0.03);
}

.form-input:focus,
.form-textarea:focus {
  outline: none;
  border-color: rgba(212, 186, 137, 0.5);
  background: rgba(255, 255, 255, 0.04);
  box-shadow: 
    0 0 0 4px rgba(212, 186, 137, 0.08),
    0 10px 30px rgba(212, 186, 137, 0.15);
  transform: translateY(-2px);
}

.submit-btn {
  background: linear-gradient(
    135deg,
    rgba(212, 186, 137, 1) 0%,
    rgba(235, 225, 203, 1) 100%
  );
  color: #050506;
  border: none;
  padding: 16px 32px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 10px 30px rgba(212, 186, 137, 0.3),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.submit-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.2) 0%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity 0.4s ease;
}

.submit-btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 20px 50px rgba(212, 186, 137, 0.4),
    0 0 60px rgba(212, 186, 137, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.submit-btn:hover::before {
  opacity: 1;
}

.submit-btn:active {
  transform: translateY(-2px) scale(1.01);
  transition-duration: 0.1s;
}

/* ══════════════════════════════════════════════════════════════════════════
   PREMIUM FOOTER
   ══════════════════════════════════════════════════════════════════════════ */

.footer {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 6, 0) 0%,
    rgba(5, 5, 6, 0.8) 20%,
    rgba(5, 5, 6, 1) 100%
  );
  border-top: 1px solid rgba(212, 186, 137, 0.1);
  position: relative;
  padding: 100px 0 40px;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(212, 186, 137, 0.3) 50%,
    transparent
  );
}

.footer-nav li a {
  color: var(--text-soft);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-block;
  position: relative;
}

.footer-nav li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--accent-primary);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-nav li a:hover {
  color: var(--accent-primary);
  transform: translateX(4px);
}

.footer-nav li a:hover::after {
  width: 100%;
}

.footer-watermark {
  font-size: clamp(60px, 15vw, 180px);
  font-weight: 900;
  letter-spacing: -0.05em;
  background: linear-gradient(
    135deg,
    rgba(212, 186, 137, 0.03) 0%,
    rgba(212, 186, 137, 0.08) 50%,
    rgba(212, 186, 137, 0.03) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
  background-size: 200% 200%;
  background-position: var(--wm-x, 50%) 50%;
}

.footer-watermark-link:hover .footer-watermark {
  background: linear-gradient(
    135deg,
    rgba(212, 186, 137, 0.08) 0%,
    rgba(212, 186, 137, 0.15) 50%,
    rgba(212, 186, 137, 0.08) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 80px rgba(212, 186, 137, 0.2));
}

.back-to-top {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-soft);
  padding: 12px 24px;
  border-radius: 6px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top:hover {
  background: rgba(212, 186, 137, 0.1);
  border-color: rgba(212, 186, 137, 0.3);
  color: var(--accent-primary);
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(212, 186, 137, 0.2);
}

.back-to-top svg {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.back-to-top:hover svg {
  transform: translateY(-4px);
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO PM VALUE PROPOSITION SECTION
   ══════════════════════════════════════════════════════════════════════════ */

.pm-value-hero {
  position: relative;
  padding: 80px 0;
  background: linear-gradient(
    180deg,
    rgba(5, 5, 6, 0) 0%,
    rgba(18, 18, 20, 0.4) 50%,
    rgba(5, 5, 6, 0) 100%
  );
  border-top: 1px solid rgba(212, 186, 137, 0.1);
  border-bottom: 1px solid rgba(212, 186, 137, 0.1);
  margin: 60px 0;
}

.pm-value-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.pm-value-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 12px;
  padding: 32px;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.pm-value-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  background: radial-gradient(
    600px circle at var(--mouse-x, 50%) var(--mouse-y, 50%),
    rgba(212, 186, 137, 0.08),
    transparent 40%
  );
  opacity: 0;
  transition: opacity 0.5s ease;
  pointer-events: none;
}

.pm-value-card:hover {
  transform: translateY(-8px);
  border-color: rgba(212, 186, 137, 0.2);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.6),
    0 0 60px rgba(212, 186, 137, 0.1);
}

.pm-value-card:hover::before {
  opacity: 1;
}

.pm-value-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(
    135deg,
    rgba(212, 186, 137, 0.1) 0%,
    rgba(212, 186, 137, 0.05) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 24px;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.pm-value-card:hover .pm-value-icon {
  transform: scale(1.1) rotate(5deg);
  background: linear-gradient(
    135deg,
    rgba(212, 186, 137, 0.2) 0%,
    rgba(212, 186, 137, 0.1) 100%
  );
  box-shadow: 0 10px 30px rgba(212, 186, 137, 0.2);
}

.pm-value-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 12px;
  letter-spacing: -0.01em;
}

.pm-value-desc {
  font-size: 14px;
  color: var(--text-soft);
  line-height: 1.7;
}

.pm-value-stat {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent-primary);
  margin-top: 16px;
  letter-spacing: -0.02em;
}

/* ══════════════════════════════════════════════════════════════════════════
   UNIVERSAL HOVER EFFECTS
   ══════════════════════════════════════════════════════════════════════════ */

.action-card,
.dropdown-link,
.pill-label,
.quick-select-btn,
.sig-action,
.glossary-btn {
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.action-card:hover,
.dropdown-link:hover,
.pill-label:hover,
.quick-select-btn:hover,
.sig-action:hover,
.glossary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(212, 186, 137, 0.15);
}

/* ══════════════════════════════════════════════════════════════════════════
   MOBILE OPTIMIZATIONS
   ══════════════════════════════════════════════════════════════════════════ */

@media (max-width: 860px) {
  .pm-value-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .pm-value-card {
    padding: 24px;
  }

  .contact-section {
    padding: 40px 24px;
  }

  .footer {
    padding: 60px 0 30px;
  }

  .footer-watermark {
    font-size: clamp(40px, 12vw, 100px);
  }

  /* Disable hover effects on touch devices */
  .revolutionary-card:hover,
  .pm-value-card:hover,
  .action-card:hover {
    transform: none;
    box-shadow: var(--shadow-bento);
  }

  .revolutionary-card:hover::before,
  .pm-value-card:hover::before {
    opacity: 0;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   PREMIUM LOADING ANIMATION
   ══════════════════════════════════════════════════════════════════════════ */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   PM INTEL SECTION - Professional Intelligence Dashboard
   ══════════════════════════════════════════════════════════════════════════ */

.pm-intel-section {
  padding: 120px 0;
  position: relative;
}

.pm-intel-header {
  text-align: center;
  margin-bottom: 60px;
}

.pm-intel-eyebrow {
  display: inline-block;
  font-family: var(--mono);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-primary);
  margin-bottom: 16px;
  padding: 6px 16px;
  border: 1px solid rgba(212, 186, 137, 0.3);
  border-radius: 100px;
  background: rgba(212, 186, 137, 0.05);
}

.pm-intel-headline {
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
  margin: 0;
}

.pm-intel-headline em {
  color: var(--text-soft);
  font-weight: 400;
}

.pm-intel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.pm-intel-card {
  position: relative;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 32px 24px;
  transition: all 0.25s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.pm-intel-card:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.pm-intel-visual {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  transition: all 0.25s ease;
}

.pm-intel-card:hover .pm-intel-visual {
  background: rgba(255, 255, 255, 0.1);
  transform: none;
}

.pm-intel-value {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 700;
  color: var(--text);
  margin-bottom: 4px;
  line-height: 1;
}

.pm-intel-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-soft);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  transition: all 0.25s ease;
}

.pm-intel-context {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.5;
  transition: all 0.25s ease;
}

.pm-intel-card:hover .pm-intel-context {
  color: rgba(255, 255, 255, 0.65);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
  .pm-intel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .pm-intel-section {
    padding: 80px 0;
  }
  
  .pm-intel-grid {
    grid-template-columns: 1fr;
  }
  
  .pm-intel-card {
    padding: 20px;
  }
}

.reveal {
  animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.reveal.delay-1 {
  animation-delay: 0.1s;
}

.reveal.delay-2 {
  animation-delay: 0.2s;
}

.reveal.delay-3 {
  animation-delay: 0.3s;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO ENHANCEMENTS
   ══════════════════════════════════════════════════════════════════════════ */

/* Download CV Button Hover */
.btn-cv {
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.btn-cv:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 8px 24px rgba(212, 186, 137, 0.4) !important;
  filter: brightness(1.08) !important;
}

.btn-cv:active {
  transform: translateY(0) scale(0.97) !important;
  filter: brightness(0.95) !important;
}

/* Primary CTA: INITIATE ENGAGEMENT */
.hero-primary-cta {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
  color: var(--bg) !important;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: 8px;
  padding: 13px 32px;
  text-decoration: none !important;
  box-shadow: 0 2px 10px rgba(212, 186, 137, 0.35);
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.hero-primary-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212, 186, 137, 0.5);
  filter: brightness(1.08);
}

.hero-primary-cta:active {
  transform: scale(0.97);
  filter: brightness(0.95);
}

.hero-primary-cta svg {
  transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-primary-cta:hover svg {
  transform: translateX(3px);
}

/* Shimmer Animation */
.hero-primary-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  pointer-events: none;
}

.hero-primary-cta:hover::after {
  animation: shimmer 0.5s ease-in-out;
}

@keyframes shimmer {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* ══════════════════════════════════════════════════════════════════════════
   ACCESSIBILITY & REDUCED MOTION
   ══════════════════════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
