/* Modern Visual Effects */

/* Modern Cards */
.glass {
  background: #FFFFFF;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-base);
}

.glass-card {
  background: #FFFFFF;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-base);
  border-radius: 16px;
  transition: var(--transition-base);
}

.glass-card .glass-card,
.surface .glass-card,
.glass-card .surface {
  background: #FAFBFC;
  border-color: var(--color-border);
  box-shadow: none;
}

/* Problems section cards */
.problems-card--map {
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.08) 0%, rgba(46, 134, 171, 0.02) 100%);
  border-color: rgba(46, 134, 171, 0.2);
}

.problems-card--analysis {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(46, 204, 113, 0.02) 100%);
  border-color: rgba(46, 204, 113, 0.2);
}

.problems-card--ops {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.08) 0%, rgba(155, 89, 182, 0.02) 100%);
  border-color: rgba(155, 89, 182, 0.2);
}

/* Features section cards - Blue theme with variations */
.features-card--scheduling {
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.06) 0%, rgba(46, 134, 171, 0.01) 100%);
  border-left: 3px solid rgba(46, 134, 171, 0.5);
}

.features-card--billing {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.06) 0%, rgba(46, 204, 113, 0.01) 100%);
  border-left: 3px solid rgba(46, 204, 113, 0.5);
}

.features-card--payments {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.06) 0%, rgba(52, 152, 219, 0.01) 100%);
  border-left: 3px solid rgba(52, 152, 219, 0.5);
}

.features-card--access {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.06) 0%, rgba(155, 89, 182, 0.01) 100%);
  border-left: 3px solid rgba(155, 89, 182, 0.5);
}

.features-card--locations {
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.06) 0%, rgba(230, 126, 34, 0.01) 100%);
  border-left: 3px solid rgba(230, 126, 34, 0.5);
}

.features-card--analytics {
  background: linear-gradient(135deg, rgba(241, 196, 15, 0.06) 0%, rgba(241, 196, 15, 0.01) 100%);
  border-left: 3px solid rgba(241, 196, 15, 0.6);
}

.features-card--portal {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.06) 0%, rgba(231, 76, 60, 0.01) 100%);
  border-left: 3px solid rgba(231, 76, 60, 0.5);
}

/* Built For section cards */
.built-for-card--clubs {
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.08) 0%, rgba(46, 134, 171, 0.02) 100%);
  border-color: rgba(46, 134, 171, 0.2);
}

.built-for-card--pros {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(46, 204, 113, 0.02) 100%);
  border-color: rgba(46, 204, 113, 0.2);
}

.built-for-card--academy {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.08) 0%, rgba(155, 89, 182, 0.02) 100%);
  border-color: rgba(155, 89, 182, 0.2);
}

/* Why Choose / Objections section cards */
.objection-card {
  background: linear-gradient(135deg, rgba(52, 73, 94, 0.04) 0%, rgba(52, 73, 94, 0.01) 100%);
  border-color: rgba(52, 73, 94, 0.15);
  position: relative;
  overflow: hidden;
}

.objection-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: rgba(46, 134, 171, 0.1);
  line-height: 1;
}

/* Metrics section cards */
.card.metric-card {
  background: linear-gradient(135deg, #FFFFFF 0%, #F8FAFC 100%) !important;
  border: 1px solid var(--color-border);
  text-align: center;
  padding: var(--space-lg);
}

.card.metric-card .metric-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.1) 0%, rgba(46, 134, 171, 0.05) 100%);
}

.card.metric-card.metric-card--time .metric-icon {
  color: #2E86AB;
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.15) 0%, rgba(46, 134, 171, 0.05) 100%);
}

.card.metric-card.metric-card--check .metric-icon {
  color: #2ECC71;
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.15) 0%, rgba(46, 204, 113, 0.05) 100%);
}

.card.metric-card.metric-card--support .metric-icon {
  color: #9B59B6;
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.15) 0%, rgba(155, 89, 182, 0.05) 100%);
}

.card.metric-card h3 {
  font-size: var(--text-2xl);
  font-weight: var(--font-weight-bold);
  color: var(--color-text);
  margin: 0 0 var(--space-xs);
}

.card.metric-card p {
  color: var(--color-text-muted);
  margin: 0;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(46, 134, 171, 0.25);
}

.glass-card .glass-card:hover,
.surface .glass-card:hover {
  transform: none;
  box-shadow: none;
  border-color: var(--color-border);
}

/* Gradient borders */
.gradient-border {
  position: relative;
  background: var(--color-surface);
  border-radius: 16px;
  padding: 2px;
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.50), rgba(255, 255, 255, 0.5), rgba(46, 134, 171, 0.25));
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: #FFFFFF;
  border-radius: 14px;
  z-index: -1;
}

/* Neumorphism (soft) */
.neuro-card {
  background: #f8fafc;
  border-radius: 20px;
  box-shadow: 
    12px 12px 24px rgba(15, 76, 117, 0.08),
    -12px -12px 24px rgba(255, 255, 255, 0.9);
  transition: all 0.3s ease;
}

.neuro-card:hover {
  box-shadow: 
    16px 16px 32px rgba(15, 76, 117, 0.12),
    -16px -16px 32px rgba(255, 255, 255, 1);
}

/* Modern shadows */
.shadow-soft {
  box-shadow: 
    0 2px 8px rgba(15, 76, 117, 0.04),
    0 1px 2px rgba(15, 76, 117, 0.02);
}

.shadow-medium {
  box-shadow: 
    0 8px 24px rgba(15, 76, 117, 0.08),
    0 2px 8px rgba(15, 76, 117, 0.04);
}

.shadow-strong {
  box-shadow: 
    0 16px 48px rgba(15, 76, 117, 0.12),
    0 4px 16px rgba(15, 76, 117, 0.08);
}

.shadow-glow {
  box-shadow: 
    0 0 20px rgba(93, 173, 226, 0.22),
    0 0 40px rgba(93, 173, 226, 0.10);
}

/* Gradient overlays */
.gradient-overlay {
  position: relative;
  overflow: hidden;
}

.gradient-overlay::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(15, 76, 117, 0.05) 0%,
    rgba(37, 150, 190, 0.05) 100%
  );
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gradient-overlay:hover::after {
  opacity: 1;
}

/* Animated underlines */
.animated-underline {
  position: relative;
  display: inline-block;
}

.animated-underline::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, rgba(93, 173, 226, 0.2), rgba(93, 173, 226, 0.8));
  transition: width 0.3s ease;
}

.animated-underline:hover::after {
  width: 100%;
}

/* Icon containers with gradient backgrounds */
.icon-gradient {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--color-brand) 0%, var(--color-brand-light) 100%);
  box-shadow:
    0 4px 12px rgba(46, 134, 171, 0.25),
    0 8px 24px rgba(46, 134, 171, 0.15);
  transition: var(--transition-base);
}

.icon-gradient:hover {
  transform: translateY(-2px) scale(1.02);
}

/* Feature icon color variants */
.icon-gradient--scheduling {
  background: linear-gradient(135deg, #2E86AB 0%, #59B3D9 100%);
  box-shadow: 0 4px 12px rgba(46, 134, 171, 0.3);
}

.icon-gradient--map {
  background: linear-gradient(135deg, #2E86AB 0%, #59B3D9 100%);
  box-shadow: 0 4px 12px rgba(46, 134, 171, 0.3);
}

.icon-gradient--analysis {
  background: linear-gradient(135deg, #2ECC71 0%, #58D68D 100%);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.icon-gradient--ops {
  background: linear-gradient(135deg, #9B59B6 0%, #BB8FCE 100%);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
}

.icon-gradient--billing {
  background: linear-gradient(135deg, #2ECC71 0%, #58D68D 100%);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.icon-gradient--payments {
  background: linear-gradient(135deg, #3498DB 0%, #5DADE2 100%);
  box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.icon-gradient--access {
  background: linear-gradient(135deg, #9B59B6 0%, #BB8FCE 100%);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
}

.icon-gradient--locations {
  background: linear-gradient(135deg, #E67E22 0%, #F5B041 100%);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

.icon-gradient--analytics {
  background: linear-gradient(135deg, #F39C12 0%, #F7DC6F 100%);
  box-shadow: 0 4px 12px rgba(243, 156, 18, 0.3);
}

.icon-gradient--portal {
  background: linear-gradient(135deg, #E74C3C 0%, #F1948A 100%);
  box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

/* Built For section icons */
.icon-gradient--clubs {
  background: linear-gradient(135deg, #2E86AB 0%, #59B3D9 100%);
  box-shadow: 0 4px 12px rgba(46, 134, 171, 0.3);
}

.icon-gradient--pros {
  background: linear-gradient(135deg, #2ECC71 0%, #58D68D 100%);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.icon-gradient--academy {
  background: linear-gradient(135deg, #9B59B6 0%, #BB8FCE 100%);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
}

.built-for-card--fees {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(46, 204, 113, 0.02) 100%);
  border-color: rgba(46, 204, 113, 0.2);
}

.built-for-card--upgrade {
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.08) 0%, rgba(46, 134, 171, 0.02) 100%);
  border-color: rgba(46, 134, 171, 0.2);
}

.built-for-card--cancel {
  background: linear-gradient(135deg, rgba(231, 76, 60, 0.08) 0%, rgba(231, 76, 60, 0.02) 100%);
  border-color: rgba(231, 76, 60, 0.2);
}

.built-for-card--billing {
  background: linear-gradient(135deg, rgba(52, 152, 219, 0.08) 0%, rgba(52, 152, 219, 0.02) 100%);
  border-color: rgba(52, 152, 219, 0.2);
}

.built-for-card--data {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.08) 0%, rgba(155, 89, 182, 0.02) 100%);
  border-color: rgba(155, 89, 182, 0.2);
}

.built-for-card--demo {
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.08) 0%, rgba(230, 126, 34, 0.02) 100%);
  border-color: rgba(230, 126, 34, 0.2);
}

.built-for-card--simplicity {
  background: linear-gradient(135deg, rgba(46, 134, 171, 0.08) 0%, rgba(46, 134, 171, 0.02) 100%);
  border-color: rgba(46, 134, 171, 0.2);
}

.built-for-card--customer {
  background: linear-gradient(135deg, rgba(46, 204, 113, 0.08) 0%, rgba(46, 204, 113, 0.02) 100%);
  border-color: rgba(46, 204, 113, 0.2);
}

.built-for-card--innovative {
  background: linear-gradient(135deg, rgba(155, 89, 182, 0.08) 0%, rgba(155, 89, 182, 0.02) 100%);
  border-color: rgba(155, 89, 182, 0.2);
}

.icon-gradient--simplicity {
  background: linear-gradient(135deg, #2E86AB 0%, #59B3D9 100%);
  box-shadow: 0 4px 12px rgba(46, 134, 171, 0.3);
}

.icon-gradient--customer {
  background: linear-gradient(135deg, #2ECC71 0%, #58D68D 100%);
  box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.icon-gradient--innovative {
  background: linear-gradient(135deg, #9B59B6 0%, #BB8FCE 100%);
  box-shadow: 0 4px 12px rgba(155, 89, 182, 0.3);
}

/* Floating decorative elements */
.decorative-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle at 30% 30%, rgba(46, 134, 171, 0.15), transparent 60%);
  top: -250px;
  right: -200px;
  animation: float 8s ease-in-out infinite;
}

.blob-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle at 30% 30%, rgba(46, 204, 113, 0.12), transparent 60%);
  bottom: -200px;
  left: -150px;
  animation: float 10s ease-in-out infinite reverse;
}

/* Mesh gradient background */
.mesh-gradient {
  background: 
    radial-gradient(at 0% 0%, rgba(46, 134, 171, 0.06) 0px, transparent 50%),
    radial-gradient(at 100% 0%, rgba(46, 204, 113, 0.04) 0px, transparent 50%),
    radial-gradient(at 100% 100%, rgba(46, 134, 171, 0.04) 0px, transparent 50%),
    radial-gradient(at 0% 100%, rgba(155, 89, 182, 0.04) 0px, transparent 50%),
    #FAFBFC;
}

/* Card selection state */
.card-selectable {
  cursor: pointer;
  transition: var(--transition-base);
  border: 2px solid transparent;
}

.card-selectable:hover {
  border-color: rgba(46, 134, 171, 0.3);
  transform: translateY(-2px);
}

.card-selected {
  border-color: var(--color-brand);
  background: rgba(46, 134, 171, 0.04);
  box-shadow: 
    0 0 0 4px rgba(46, 134, 171, 0.08),
    0 8px 24px rgba(46, 134, 171, 0.12);
}

/* Backdrop blur sections */
.backdrop-section {
  position: relative;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

/* Gradient text with shine effect */
.gradient-text-shine {
  background: linear-gradient(
    90deg,
    var(--color-brand) 0%,
    var(--color-brand-light) 40%,
    #FFFFFF 50%,
    var(--color-brand-light) 60%,
    var(--color-brand) 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmer 3s linear infinite;
}

/* Interactive button effects */
.btn-modern {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-modern::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn-modern:hover::before {
  width: 300px;
  height: 300px;
}

.btn-modern:active {
  transform: scale(0.95);
}

/* Parallax container */
.parallax-container {
  position: relative;
  overflow: hidden;
}

.parallax-layer {
  position: absolute;
  inset: 0;
  will-change: transform;
}
