/* Modern Visual Effects */

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

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

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

/* Problems section cards */
.problems-card--map {
  background: var(--color-surface);
  border-color: rgba(59, 158, 191, 0.12);
}

.problems-card--analysis {
  background: var(--color-surface);
  border-color: rgba(46, 204, 113, 0.12);
}

.problems-card--ops {
  background: var(--color-surface);
  border-color: rgba(155, 89, 182, 0.12);
}

/* Built For section cards */
.built-for-card--clubs {
  background: var(--color-surface);
  border-color: rgba(59, 158, 191, 0.12);
}

.built-for-card--pros {
  background: var(--color-surface);
  border-color: rgba(46, 204, 113, 0.12);
}

.built-for-card--academy {
  background: var(--color-surface);
  border-color: rgba(59, 158, 191, 0.12);
}

/* Why Choose / Objections section cards */
.objection-card {
  background: var(--color-surface);
  border-color: var(--color-border);
  position: relative;
  overflow: hidden;
}

.objection-card::before {
  content: '"';
  position: absolute;
  top: -10px;
  left: 10px;
  font-size: 80px;
  font-family: var(--font-family-display);
  color: rgba(59, 158, 191, 0.08);
  line-height: 1;
}

/* Metrics section cards */
.card.metric-card {
  background: var(--color-surface) !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: var(--color-brand-glow);
}

.card.metric-card.metric-card--time .metric-icon {
  color: var(--color-brand);
  background: var(--color-brand-glow);
}

.card.metric-card.metric-card--check .metric-icon {
  color: var(--color-accent);
  background: rgba(46, 204, 113, 0.10);
}

.card.metric-card.metric-card--support .metric-icon {
  color: var(--color-brand-light);
  background: var(--color-brand-glow);
}

.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(59, 158, 191, 0.15);
}

.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(59, 158, 191, 0.40), rgba(59, 158, 191, 0.05), rgba(59, 158, 191, 0.20));
}

.gradient-border::before {
  content: '';
  position: absolute;
  inset: 2px;
  background: var(--color-surface);
  border-radius: 14px;
  z-index: -1;
}

/* Neumorphism (soft) */
.neuro-card {
  background: var(--color-surface);
  border-radius: 20px;
  box-shadow: 
    12px 12px 24px rgba(0, 0, 0, 0.3),
    -12px -12px 24px rgba(255, 255, 255, 0.02);
  transition: all 0.3s ease;
}

.neuro-card:hover {
  box-shadow: 
    16px 16px 32px rgba(0, 0, 0, 0.4),
    -16px -16px 32px rgba(255, 255, 255, 0.03);
}

/* 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;
}

/* Icon containers with gradient backgrounds */
.flip-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  display: grid;
  place-items: center;
  background: var(--color-brand-glow);
  border: 1px solid rgba(59, 158, 191, 0.15);
  color: var(--color-brand);
  box-shadow: none;
  transition: var(--transition-base);
}

/* Base icon gradient — fallback + sizing */
.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(59, 158, 191, 0.15);
  color: #FFFFFF;
  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.15);
}

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

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

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

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

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

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

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

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

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

/* 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.15);
}

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

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

.flip-card__back {
  background: linear-gradient(135deg, var(--color-brand-dark) 0%, #1a4a5e 100%);
  color: #FFFFFF;
  transform: rotateY(180deg);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.flip-card__front {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-base);
}

.built-for-card--fees {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.built-for-card--upgrade {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.built-for-card--cancel {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.built-for-card--billing {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.built-for-card--data {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.built-for-card--demo {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.built-for-card--simplicity {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.built-for-card--customer {
  background: var(--color-surface);
  border-color: var(--color-border);
}

.built-for-card--innovative {
  background: var(--color-surface);
  border-color: var(--color-border);
}

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

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

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

/* Mesh gradient background */
.mesh-gradient {
  background: var(--color-background);
}

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

.card-selectable:hover {
  border-color: rgba(59, 158, 191, 0.25);
  transform: translateY(-2px);
}

.card-selected {
  border-color: var(--color-brand);
  background: var(--color-brand-glow);
  box-shadow: 
    0 0 0 4px rgba(59, 158, 191, 0.06),
    0 8px 24px rgba(59, 158, 191, 0.08);
}

/* 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%,
    var(--color-text) 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.08);
  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;
}
