/* Premium Polish Layer — McGuire Management */

/* 1. HERO — Bigger, bolder, more atmospheric */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -20%;
  width: 80%;
  height: 80%;
  background: radial-gradient(ellipse, rgba(245, 158, 11, 0.12) 0%, transparent 70%);
  animation: hero-pulse 8s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(ellipse, rgba(251, 113, 133, 0.08) 0%, transparent 70%);
  animation: hero-pulse 10s ease-in-out infinite alternate-reverse;
  pointer-events: none;
  z-index: 0;
}

@keyframes hero-pulse {
  0% { transform: scale(1) translate(0, 0); opacity: 0.6; }
  100% { transform: scale(1.15) translate(2%, -3%); opacity: 1; }
}

/* 2. TEXT — More dramatic headings */
h1, .hero-title {
  letter-spacing: -0.03em !important;
  line-height: 0.95 !important;
}

.gradient-text {
  background-size: 200% auto;
  animation: gradient-shimmer 4s linear infinite;
}

@keyframes gradient-shimmer {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}

/* 3. CARDS — Lift + depth */
.feature-card, .card, [class*="card"] {
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.3s ease !important;
}

.feature-card:hover, .card:hover, [class*="card"]:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 20px 60px rgba(245, 158, 11, 0.08), 
              0 8px 20px rgba(0,0,0,0.3) !important;
}

/* 4. BUTTONS — Premium feel */
.btn-primary, .btn, [class*="btn-primary"] {
  position: relative;
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.btn-primary::after, .btn::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(45deg, transparent 40%, rgba(255,255,255,0.1) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn-primary:hover::after, .btn:hover::after {
  transform: translateX(100%);
}

.btn-primary:active, .btn:active {
  transform: scale(0.97) !important;
}

/* 5. IMAGES — Premium Jess framing */
img[src*="jess"][src*="nobg"] {
  filter: drop-shadow(0 20px 40px rgba(245, 158, 11, 0.15)) drop-shadow(0 8px 16px rgba(0,0,0,0.3));
  transition: filter 0.5s ease, transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

img[src*="jess"][src*="nobg"]:hover {
  filter: drop-shadow(0 24px 48px rgba(245, 158, 11, 0.2)) drop-shadow(0 12px 24px rgba(0,0,0,0.4));
  transform: translateY(-4px);
}

img[src*="jess"]:not([src*="nobg"]):not([src*="avatar"]):not([src*="favicon"]) {
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.4), 0 0 0 1px rgba(245, 158, 11, 0.1);
}

/* 6. SCROLL REVEAL — Stagger children */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger child elements */
.fade-up.visible > *:nth-child(1) { transition-delay: 0s; }
.fade-up.visible > *:nth-child(2) { transition-delay: 0.1s; }
.fade-up.visible > *:nth-child(3) { transition-delay: 0.15s; }
.fade-up.visible > *:nth-child(4) { transition-delay: 0.2s; }

/* 7. SECTION DIVIDERS — Subtle amber line */
section + section::before {
  content: "";
  display: block;
  width: 80px;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(245, 158, 11, 0.4), transparent);
  margin: 0 auto 4rem;
}

/* 8. NOISE TEXTURE — Subtle depth */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* 9. NAV — More premium glass effect */
nav, .navbar, header {
  backdrop-filter: blur(20px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
}

/* 10. SMOOTH SCROLL with scroll-snap hint */
html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: rgba(245, 158, 11, 0.3) transparent;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(245, 158, 11, 0.3);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(245, 158, 11, 0.5);
}

/* 11. SELECTION — On brand */
::selection {
  background: rgba(245, 158, 11, 0.3);
  color: #fff;
}

/* 12. LINKS — Animated underline */
a:not(.btn):not(.nav-link):not([class*="btn"]) {
  text-decoration: none;
  background-image: linear-gradient(rgba(245, 158, 11, 0.4), rgba(245, 158, 11, 0.4));
  background-size: 0% 1px;
  background-repeat: no-repeat;
  background-position: left bottom;
  transition: background-size 0.3s ease;
}

a:not(.btn):not(.nav-link):not([class*="btn"]):hover {
  background-size: 100% 1px;
}

/* 13. RESPONSIVE polish */
@media (max-width: 768px) {
  section + section::before {
    width: 40px;
    margin-bottom: 2rem;
  }
  
  h1, .hero-title {
    letter-spacing: -0.02em !important;
  }
}
