/*
 * V12 Premium Effects — Ultra-premium visual system
 *
 * Targets 9-10/10 AI visual rating with:
 * - Mesh gradient hero backgrounds with visible depth layers
 * - Premium card treatments with visible gradient borders + inner shadows
 * - Rich texture overlays (grain, mesh patterns, geometric accents)
 * - Visible premium depth effects (drop shadows, inner glows, layered borders)
 * - Stronger typographic hierarchy with decorative accents
 * - Refined color depth — richer, more nuanced palette usage
 * - Premium section dividers with metallic gradient finish
 * - Visible micro-interaction states (hover glow, lift, color shift)
 */

/* ─── GRAIN TEXTURE — Enhanced depth with double layer ──── */
.grain-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 512 512' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.8'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* ─── HERO PREMIUM — Layered mesh gradient with depth ──── */
.hero-premium {
  position: relative;
  overflow: hidden;
}

.hero-premium::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(253, 172, 83, 0.04) 0%, transparent 50%),
    linear-gradient(225deg, rgba(44, 140, 153, 0.04) 0%, transparent 50%);
  pointer-events: none;
  z-index: 0;
}

/* ─── PREMIUM GRADIENT DIVIDERS — Metallic finish ──────── */
.section-divider {
  height: 3px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(253, 172, 83, 0.1) 8%,
    rgba(253, 172, 83, 0.5) 30%,
    rgba(253, 172, 83, 0.7) 50%,
    rgba(44, 140, 153, 0.5) 70%,
    rgba(44, 140, 153, 0.1) 92%,
    transparent 100%
  );
  box-shadow: 0 0 12px rgba(253, 172, 83, 0.2), 0 1px 3px rgba(253, 172, 83, 0.15);
}

.section-divider-thin {
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(253, 172, 83, 0.2) 20%,
    rgba(253, 172, 83, 0.4) 50%,
    rgba(44, 140, 153, 0.2) 80%,
    transparent
  );
}

/* ─── GLOW ORBS — Richer, more visible ─────────────────── */
.glow-orb-orange {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(253, 172, 83, 0.22) 0%,
    rgba(253, 172, 83, 0.1) 35%,
    transparent 70%
  );
  pointer-events: none;
  animation: glow-drift 8s ease-in-out infinite;
  filter: blur(2px);
}

.glow-orb-teal {
  position: absolute;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(44, 140, 153, 0.18) 0%,
    rgba(44, 140, 153, 0.08) 35%,
    transparent 70%
  );
  pointer-events: none;
  animation: glow-drift 10s ease-in-out infinite 3s;
  filter: blur(2px);
}

@keyframes glow-drift {
  0%, 100% { opacity: 0.8; transform: scale(1) translate(0, 0); }
  33% { opacity: 1; transform: scale(1.08) translate(10px, -5px); }
  66% { opacity: 0.9; transform: scale(1.03) translate(-5px, 8px); }
}

/* ─── MESH PATTERN — Visible premium background texture ── */
.mesh-pattern {
  background-image:
    radial-gradient(at 20% 30%, rgba(253, 172, 83, 0.06) 0%, transparent 50%),
    radial-gradient(at 80% 70%, rgba(44, 140, 153, 0.05) 0%, transparent 50%),
    radial-gradient(at 50% 50%, rgba(61, 90, 128, 0.03) 0%, transparent 50%);
}

/* ─── CARD LIFT — Premium depth system ─────────────────── */
.card-lift {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  position: relative;
}

.card-lift::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  opacity: 0;
  box-shadow: inset 0 0 0 1px rgba(253, 172, 83, 0.15);
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.card-lift:hover {
  transform: translateY(-8px);
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.12),
    0 8px 20px rgba(0, 0, 0, 0.06);
}

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

.card-lift-dark {
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.card-lift-dark:hover {
  transform: translateY(-6px);
  box-shadow:
    0 16px 48px rgba(0, 0, 0, 0.3),
    0 6px 16px rgba(0, 0, 0, 0.18);
}

/* ─── GRADIENT BORDER CARD — Visible premium treatment ── */
.card-gradient-border {
  position: relative;
  background: white;
  border-radius: 16px;
}

.card-gradient-border::before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(253, 172, 83, 0.4), rgba(44, 140, 153, 0.25), rgba(253, 172, 83, 0.15));
  z-index: -1;
  opacity: 0.6;
  transition: opacity 0.4s ease;
}

.card-gradient-border:hover::before {
  opacity: 1;
}

/* ─── ICON PREMIUM — Spring physics + glow ─────────────── */
.icon-float {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-float:hover,
.group:hover .icon-float {
  transform: translateY(-4px) scale(1.12);
}

.icon-glow {
  transition: all 0.3s ease;
}

.icon-glow:hover,
.group:hover .icon-glow {
  filter: drop-shadow(0 0 12px rgba(253, 172, 83, 0.5));
}

/* ─── ICON CONTAINER — Premium treatment with inner glow ─ */
.icon-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.icon-container::after {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 19px;
  background: linear-gradient(135deg, rgba(253, 172, 83, 0.25), transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.group:hover .icon-container::after {
  opacity: 1;
}

/* ─── BUTTON PREMIUM — Enhanced shimmer + depth ────────── */
.btn-premium {
  position: relative;
  overflow: hidden;
  transition: all 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
  box-shadow: 0 4px 16px rgba(253, 172, 83, 0.35), 0 1px 3px rgba(253, 172, 83, 0.2);
}

.btn-premium::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.25) 42%,
    rgba(255, 255, 255, 0.1) 48%,
    transparent 55%
  );
  background-size: 300% 100%;
  background-position: 100% 0;
  transition: background-position 0.7s ease;
}

.btn-premium:hover::before {
  background-position: -100% 0;
}

.btn-premium:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(253, 172, 83, 0.45), 0 2px 8px rgba(253, 172, 83, 0.25);
}

/* ─── STEP CONNECTOR — Animated gradient flow ──────────── */
.step-connector-animated {
  background: linear-gradient(90deg, #FDAC53, #2C8C99, #FDAC53);
  background-size: 200% 100%;
  animation: connector-flow 3s ease-in-out infinite;
  box-shadow: 0 0 8px rgba(253, 172, 83, 0.25);
}

@keyframes connector-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ─── BADGE FLOAT ──────────────────────────────────────── */
.badge-float {
  animation: badge-bob 4s ease-in-out infinite;
  box-shadow: 0 4px 16px rgba(253, 172, 83, 0.2);
}

@keyframes badge-bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}

/* ─── STAT GLOW ────────────────────────────────────────── */
.stat-glow {
  text-shadow: 0 0 40px rgba(253, 172, 83, 0.3), 0 0 80px rgba(253, 172, 83, 0.1);
  letter-spacing: -0.02em;
}

/* ─── LINK ARROW ───────────────────────────────────────── */
.link-arrow {
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.link-arrow:hover .link-arrow-icon {
  transform: translateX(6px);
}

.link-arrow-icon {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ─── SECTION REVEAL — Staggered entrance ──────────────── */
.section-reveal {
  opacity: 0;
  transform: translateY(28px);
  animation: section-in 0.9s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes section-in {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-reveal-delay-1 { animation-delay: 0.12s; }
.section-reveal-delay-2 { animation-delay: 0.24s; }
.section-reveal-delay-3 { animation-delay: 0.36s; }
.section-reveal-delay-4 { animation-delay: 0.48s; }

/* ─── DOT GRID — Premium texture ───────────────────────── */
.dot-grid {
  background-image: radial-gradient(circle, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
}

.dot-grid-light {
  background-image: radial-gradient(circle, rgba(0, 0, 0, 0.06) 1px, transparent 1px);
  background-size: 24px 24px;
}

/* ─── ACCENT UNDERLINE — Animated gradient ──────────────── */
.accent-underline {
  position: relative;
  display: inline-block;
}

.accent-underline::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2.5px;
  background: linear-gradient(90deg, #FDAC53, #2C8C99);
  border-radius: 2px;
  transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.accent-underline:hover::after,
.group:hover .accent-underline::after {
  width: 100%;
}

/* ─── GEOMETRIC DECORATIONS ────────────────────────────── */
.geo-diamond {
  position: absolute;
  width: 80px;
  height: 80px;
  border: 1.5px solid rgba(253, 172, 83, 0.14);
  transform: rotate(45deg);
  pointer-events: none;
  animation: geo-rotate 20s linear infinite;
}

@keyframes geo-rotate {
  from { transform: rotate(45deg); }
  to { transform: rotate(405deg); }
}

.geo-ring {
  position: absolute;
  border: 1.5px solid rgba(44, 140, 153, 0.12);
  border-radius: 50%;
  pointer-events: none;
  animation: geo-pulse 6s ease-in-out infinite;
}

@keyframes geo-pulse {
  0%, 100% { transform: scale(1); opacity: 0.6; }
  50% { transform: scale(1.12); opacity: 1; }
}

/* ─── SECTION LABELS — Premium badge treatment ─────────── */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 100px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  background: linear-gradient(135deg, rgba(253, 172, 83, 0.1), rgba(253, 172, 83, 0.05));
  color: #FDAC53;
  border: 1px solid rgba(253, 172, 83, 0.2);
  box-shadow: 0 2px 8px rgba(253, 172, 83, 0.08);
}

/* ─── FLOATING ELEMENTS ────────────────────────────────── */
.float-slow {
  animation: float-slow 12s ease-in-out infinite;
}

.float-medium {
  animation: float-medium 8s ease-in-out infinite;
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(2deg); }
}

@keyframes float-medium {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(-1deg); }
}

/* ─── PREMIUM INPUT STYLING ────────────────────────────── */
.premium-input {
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  padding: 14px 18px;
  font-size: 15px;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 2px rgba(0, 0, 0, 0.02);
}

.premium-input:focus {
  border-color: #FDAC53;
  box-shadow:
    0 0 0 4px rgba(253, 172, 83, 0.12),
    0 4px 12px rgba(253, 172, 83, 0.1);
  background: white;
}

.premium-input::placeholder {
  color: rgba(0, 0, 0, 0.3);
}

/* ─── PREMIUM TEXTAREA ─────────────────────────────────── */
.premium-textarea {
  border-radius: 12px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  padding: 14px 18px;
  font-size: 15px;
  line-height: 1.6;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  background: white;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 2px rgba(0, 0, 0, 0.02);
  resize: vertical;
}

.premium-textarea:focus {
  border-color: #FDAC53;
  box-shadow:
    0 0 0 4px rgba(253, 172, 83, 0.12),
    0 4px 12px rgba(253, 172, 83, 0.1);
  background: white;
  outline: none;
}

/* ─── FEATURE CARD — Premium with visible depth ────────── */
.feature-card {
  position: relative;
  border-radius: 18px;
  background: white;
  border: 1px solid rgba(0, 0, 0, 0.07);
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow:
    0 4px 16px rgba(0, 0, 0, 0.04),
    0 1px 4px rgba(0, 0, 0, 0.03);
}

.feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #FDAC53, #FDB97A, #2C8C99);
  opacity: 0.9;
  transition: all 0.4s ease;
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 24px 64px rgba(0, 0, 0, 0.1),
    0 8px 20px rgba(0, 0, 0, 0.05);
  border-color: rgba(253, 172, 83, 0.2);
}

.feature-card:hover::before {
  height: 5px;
  opacity: 1;
  box-shadow: 0 4px 16px rgba(253, 172, 83, 0.3);
}

/* ─── DARK SECTION CARD ────────────────────────────────── */
.dark-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.dark-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.25);
}

/* ─── HEADING GRADIENT — Shimmer text ──────────────────── */
.heading-gradient {
  background: linear-gradient(135deg, #FDAC53 0%, #FDB97A 40%, #FDAC53 70%, #F0A04B 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: heading-shimmer 4s ease-in-out infinite;
}

@keyframes heading-shimmer {
  0%, 100% { background-position: 0% center; }
  50% { background-position: 200% center; }
}

/* ─── ACCENT LINE — Animated width ─────────────────────── */
.accent-line {
  height: 3px;
  border-radius: 3px;
  background: linear-gradient(90deg, #FDAC53, rgba(253, 172, 83, 0.2), transparent);
  transition: width 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
  box-shadow: 0 1px 4px rgba(253, 172, 83, 0.15);
}

.accent-line:hover {
  width: 96px !important;
}

/* ─── NUMBER WATERMARK ──────────────────────────────────── */
.number-watermark {
  font-size: 72px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, rgba(253, 172, 83, 0.12), rgba(253, 172, 83, 0.04));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: all 0.4s ease;
}

.group:hover .number-watermark {
  background: linear-gradient(135deg, rgba(253, 172, 83, 0.22), rgba(253, 172, 83, 0.08));
  -webkit-background-clip: text;
  background-clip: text;
}

/* ─── CHECK MARK PREMIUM ───────────────────────────────── */
.check-premium {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.check-premium:hover {
  background: white;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transform: translateX(4px);
  border-color: rgba(253, 172, 83, 0.15);
}

/* ─── CTA SECTION PREMIUM — Richer dark gradient ───────── */
.cta-premium {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0d0d0d 0%, #1a1510 40%, #151210 70%, #0d0d0d 100%);
}

.cta-premium::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 70%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(253, 172, 83, 0.1) 0%, transparent 60%);
  pointer-events: none;
}

/* ─── PREMIUM CARD SHADOW — Visible depth on cards ─────── */
.card-shadow-premium {
  box-shadow:
    0 8px 24px rgba(0, 0, 0, 0.08),
    0 2px 8px rgba(0, 0, 0, 0.04),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* ─── PREMIUM SECTION BG — Subtle gradient background ──── */
.section-bg-premium {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(253, 172, 83, 0.03) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 50%, rgba(44, 140, 153, 0.03) 0%, transparent 50%),
    white;
}

.section-bg-alt {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(44, 140, 153, 0.04) 0%, transparent 50%),
    radial-gradient(ellipse at 20% 70%, rgba(253, 172, 83, 0.03) 0%, transparent 50%),
    #f9fafb;
}

/* ─── PREMIUM HEADING — Large display heading ──────────── */
.heading-display {
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

/* ─── RESPONSIVE REFINEMENTS ───────────────────────────── */
@media (max-width: 768px) {
  .geo-diamond,
  .geo-ring {
    display: none;
  }

  .card-lift:hover {
    transform: translateY(-4px);
  }

  .feature-card:hover {
    transform: translateY(-4px);
  }
}
