/* ============================================
   GRIPPY SOX CLUB — Premium Visual Layer
   ============================================
   Luxury-tier effects, micro-interactions,
   and visual sophistication
   ============================================ */

/* ---- Gradient Text Utility ---- */
.gradient-text {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-pink) 50%, var(--color-accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  background-size: 200% auto;
}

.gradient-text--animate {
  animation: gradientText 6s ease-in-out infinite;
}

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

/* ---- Hero Premium Upgrade ---- */
.hero {
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(196, 120, 138, 0.08) 0%, transparent 70%),
    radial-gradient(ellipse 60% 80% at 20% 60%, rgba(61, 110, 142, 0.06) 0%, transparent 70%),
    linear-gradient(160deg, var(--color-cream) 0%, var(--color-warm-white) 50%, var(--color-primary-50) 100%);
}

.hero__title em {
  color: var(--color-primary);
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__title em::after {
  background: linear-gradient(90deg, var(--color-primary-200), var(--color-pink-200));
  height: 10px;
  opacity: 0.5;
}

/* ---- Premium Float Cards ---- */
.hero__float-card {
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.6);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(255, 255, 255, 0.4) inset;
}

/* ---- Glassmorphism Card Hover ---- */
.product-card:hover,
.feature-card:hover,
.testimonial-card:hover {
  box-shadow:
    0 12px 40px rgba(61, 110, 142, 0.12),
    0 0 0 1px rgba(61, 110, 142, 0.08);
}

/* ---- Product Card Premium ---- */
.product-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-pink), var(--color-accent));
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
  z-index: 3;
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
}

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

/* ---- Feature Card Gradient Border on Hover ---- */
.feature-card {
  position: relative;
  background: white;
}

.feature-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: var(--radius-xl);
  padding: 1px;
  background: linear-gradient(135deg, var(--color-primary-200), var(--color-pink-200), var(--color-accent-light));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--duration-normal) var(--ease-out);
}

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

.feature-card:hover {
  border-color: transparent;
}

/* ---- Testimonial Card Premium ---- */
.testimonial-card {
  position: relative;
  overflow: hidden;
}

.testimonial-card::after {
  content: '\201C';
  position: absolute;
  top: -10px;
  right: 16px;
  font-family: var(--font-display);
  font-size: 120px;
  color: var(--color-primary-50);
  line-height: 1;
  pointer-events: none;
  z-index: 0;
}

.testimonial-card > * {
  position: relative;
  z-index: 1;
}

/* ---- Premium Stats Section ---- */
.bg-primary.section {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, #4A8AAF 100%);
}

.stat__number {
  font-size: var(--text-5xl);
  line-height: 1;
  margin-bottom: var(--space-3);
}

.stat__label {
  font-size: var(--text-sm);
  letter-spacing: var(--tracking-wide);
}

/* ---- Section Divider Curve ---- */
.section-divider {
  position: relative;
}

.section-divider::before {
  content: '';
  position: absolute;
  top: -1px;
  left: 0;
  right: 0;
  height: 60px;
  background: inherit;
  clip-path: ellipse(70% 100% at 50% 100%);
  z-index: 1;
}

/* ---- CTA Section Premium ---- */
.cta-section {
  background:
    radial-gradient(ellipse at 30% 0%, rgba(196, 120, 138, 0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 100%, rgba(232, 148, 90, 0.2) 0%, transparent 50%),
    linear-gradient(160deg, var(--color-primary-dark) 0%, var(--color-primary) 40%, #4A8AAF 100%);
  background-size: 100% 100%;
}

.cta-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

/* ---- Premium Button Upgrades ---- */
.btn--primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  box-shadow:
    0 2px 8px rgba(61, 110, 142, 0.3),
    0 0 0 1px rgba(61, 110, 142, 0.1) inset;
}

.btn--primary:hover {
  box-shadow:
    0 6px 24px rgba(61, 110, 142, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transform: translateY(-2px);
}

.btn--accent {
  background: linear-gradient(135deg, var(--color-accent) 0%, var(--color-accent-light) 100%);
  box-shadow:
    0 2px 8px rgba(232, 148, 90, 0.3),
    0 0 0 1px rgba(232, 148, 90, 0.1) inset;
}

.btn--accent:hover {
  box-shadow:
    0 6px 24px rgba(232, 148, 90, 0.35),
    0 0 0 1px rgba(255, 255, 255, 0.15) inset;
  transform: translateY(-2px);
}

.btn--outline:hover {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(61, 110, 142, 0.2);
}

/* ---- Shimmer Loading Effect ---- */
.shimmer {
  position: relative;
  overflow: hidden;
}

.shimmer::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.15) 50%,
    transparent 100%
  );
  animation: shimmer 3s ease-in-out infinite;
}

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

/* ---- Press Logos Bar ---- */
.press-logos {
  padding: var(--space-12) 0;
  border-top: 1px solid var(--color-border-light);
  border-bottom: 1px solid var(--color-border-light);
  background: white;
}

.press-logos__label {
  text-align: center;
  font-size: var(--text-xs);
  font-weight: var(--weight-bold);
  letter-spacing: var(--tracking-widest);
  text-transform: uppercase;
  color: var(--color-light-muted);
  margin-bottom: var(--space-8);
}

.press-logos__grid {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-12);
  flex-wrap: wrap;
}

.press-logo {
  font-family: var(--font-display);
  font-size: var(--text-xl);
  color: var(--color-taupe);
  opacity: 0.5;
  transition: opacity var(--duration-normal) var(--ease-out);
  white-space: nowrap;
  letter-spacing: var(--tracking-tight);
  user-select: none;
}

.press-logo:hover {
  opacity: 0.8;
}

@media (max-width: 768px) {
  .press-logos__grid {
    gap: var(--space-8);
  }
  .press-logo {
    font-size: var(--text-md);
  }
}

/* ---- Founder Quote / Brand Statement ---- */
.brand-statement {
  padding: var(--space-24) 0;
  background:
    radial-gradient(ellipse at 50% 50%, rgba(61, 110, 142, 0.03) 0%, transparent 70%),
    var(--color-warm-white);
}

.brand-statement__inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.brand-statement__quote {
  font-family: var(--font-display);
  font-size: var(--text-3xl);
  line-height: var(--leading-snug);
  color: var(--color-dark);
  margin-bottom: var(--space-8);
  position: relative;
}

.brand-statement__quote::before {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-pink));
  margin: 0 auto var(--space-8);
  border-radius: var(--radius-full);
}

.brand-statement__author {
  display: inline-flex;
  align-items: center;
  gap: var(--space-4);
}

.brand-statement__avatar {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--color-primary-100), var(--color-pink-100));
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--weight-bold);
  color: var(--color-primary);
  font-size: var(--text-md);
}

.brand-statement__name {
  font-weight: var(--weight-semibold);
  color: var(--color-dark);
  font-size: var(--text-sm);
}

.brand-statement__role {
  font-size: var(--text-xs);
  color: var(--color-light-muted);
}

@media (max-width: 640px) {
  .brand-statement__quote {
    font-size: var(--text-xl);
  }
}

/* ---- Animated Counter ---- */
.counter[data-counting="true"] {
  transition: none;
}

/* ---- Trust Bar Premium ---- */
.trust-bar {
  background:
    linear-gradient(90deg, rgba(61, 110, 142, 0.02) 0%, rgba(196, 120, 138, 0.02) 50%, rgba(232, 148, 90, 0.02) 100%),
    white;
}

.trust-item__icon {
  background: linear-gradient(135deg, var(--color-primary-50), var(--color-primary-100));
  box-shadow: 0 2px 8px rgba(61, 110, 142, 0.1);
}

/* ---- Marquee Premium ---- */
.marquee {
  background: linear-gradient(90deg, var(--color-primary-dark), var(--color-primary), var(--color-primary-dark));
  padding: var(--space-5) 0;
}

/* ---- Comparison Premium ---- */
.comparison__side--new {
  background:
    radial-gradient(ellipse at 80% 20%, rgba(61, 110, 142, 0.06) 0%, transparent 60%),
    var(--color-primary-50);
  box-shadow: 0 4px 24px rgba(61, 110, 142, 0.08);
}

/* ---- Blog Card Premium ---- */
.blog-card {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.blog-card__image {
  transition: transform var(--duration-slow) var(--ease-out);
}

.blog-card:hover .blog-card__image {
  transform: scale(1.03);
}

/* ---- Newsletter Form Premium ---- */
.newsletter-form input {
  border: 2px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.newsletter-form input:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(232, 148, 90, 0.2);
}

/* ---- Premium Announcement Bar ---- */
.announcement-bar {
  background: linear-gradient(90deg, var(--color-dark), var(--color-charcoal), var(--color-dark));
  padding: var(--space-3) var(--space-4);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
}

/* ---- Header Glass Effect Premium ---- */
.site-header {
  background: rgba(254, 252, 249, 0.85);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.site-header.scrolled {
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

/* ---- Logo Icon Premium ---- */
.logo-icon {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  box-shadow: 0 2px 8px rgba(61, 110, 142, 0.2);
  border-radius: var(--radius-md);
}

/* ---- Gift Section Premium ---- */
.bg-sand {
  background:
    radial-gradient(ellipse at 80% 30%, rgba(196, 120, 138, 0.04) 0%, transparent 50%),
    var(--color-sand);
}

/* ---- Footer Premium ---- */
.site-footer {
  background:
    radial-gradient(ellipse at 20% 0%, rgba(61, 110, 142, 0.08) 0%, transparent 50%),
    var(--color-dark);
}

.footer-social a {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social a:hover {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(61, 110, 142, 0.3);
  transform: translateY(-2px);
}

/* ---- Cart Drawer Premium ---- */
.cart-drawer {
  box-shadow: -20px 0 60px rgba(0, 0, 0, 0.15);
}

/* ---- Selection Colors ---- */
::selection {
  background: rgba(196, 120, 138, 0.25);
  color: var(--color-dark);
}

/* ---- Premium Image Placeholder ---- */
.hero__image-container {
  background: linear-gradient(135deg, var(--color-primary-100) 0%, var(--color-primary-200) 50%, var(--color-pink-100) 100%);
  box-shadow:
    0 32px 64px rgba(61, 110, 142, 0.2),
    0 0 0 1px rgba(61, 110, 142, 0.05);
}

/* ---- Noise Texture Overlay (Subtle) ---- */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0.015;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 0;
}

.hero > * {
  position: relative;
  z-index: 1;
}

/* ---- Smooth scroll indicator ---- */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-8);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-2);
  color: var(--color-light-muted);
  font-size: var(--text-xs);
  letter-spacing: var(--tracking-wider);
  text-transform: uppercase;
  animation: scrollBounce 2s ease-in-out infinite;
}

.scroll-indicator__line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--color-primary-200), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(8px); }
}

@media (max-width: 1024px) {
  .scroll-indicator { display: none; }
}

/* ---- Reduced Motion Override ---- */
@media (prefers-reduced-motion: reduce) {
  .gradient-text--animate,
  .shimmer::after {
    animation: none;
  }
  .scroll-indicator {
    animation: none;
  }
}
