/* =========================================
   VitalEdge - Premium Link Hub Styles
   ========================================= */

/* --- CSS Variables --- */
:root {
  /* Colors */
  --bg-color: #050816;
  --surface-color: #0B1020;
  --primary-blue: #3B82F6;
  --primary-blue-glow: rgba(96, 165, 250, 0.5);
  --secondary-blue: #60A5FA;
  --text-primary: #FFFFFF;
  --text-secondary: #94A3B8;
  --border-color: rgba(59, 130, 246, 0.15);
  --glass-border: rgba(96, 165, 250, 0.15);
  --glass-bg: #10182B;

  /* Typography */
  --font-main: 'Outfit', sans-serif;

  /* Effects */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --blur-amount: blur(16px);
}

/* --- Base Reset & Typography --- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

/* --- Ambient Background Effects --- */
.ambient-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.4;
  animation: float 10s infinite alternate ease-in-out;
}

.blue-glow-1 {
  top: -10%;
  left: -10%;
  width: 50vw;
  height: 50vw;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
}

.blue-glow-2 {
  bottom: -20%;
  right: -10%;
  width: 60vw;
  height: 60vw;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.1) 0%, rgba(0, 0, 0, 0) 70%);
  animation-delay: -5s;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(20px, 30px) scale(1.1);
  }
}

/* --- Layout Container --- */
.container {
  max-width: 600px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

/* --- Hero Section --- */
.hero {
  text-align: center;
  margin-bottom: 1rem;
}

.logo-container {
  margin-bottom: 1rem;
  display: inline-block;
}

.logo {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6), 0 0 60px rgba(96, 165, 250, 0.3);
}

.brand-name {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin-bottom: 0.25rem;
  background: linear-gradient(to right, #fff, #ccc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.mission {
  color: var(--text-secondary);
  font-size: 1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

/* --- Glassmorphism Components --- */
.glass-card {
  background: var(--glass-bg);
  backdrop-filter: var(--blur-amount);
  -webkit-backdrop-filter: var(--blur-amount);
  border: 1px solid var(--glass-border);
  border-radius: 20px;
  padding: 1.5rem;
  transition: transform var(--transition-normal), box-shadow var(--transition-normal), border-color var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.glass-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.glass-card:hover {
  transform: translateY(-4px);
  border-color: rgba(96, 165, 250, 0.4);
  box-shadow: 0 15px 35px rgba(5, 8, 22, 0.8), 0 0 20px rgba(59, 130, 246, 0.2);
}

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

/* Holographic shimmer on hover */
.glass-card::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    45deg,
    transparent 30%,
    rgba(96, 165, 250, 0.05) 50%,
    transparent 70%
  );
  transform: rotate(0deg);
  transition: transform 0.8s ease;
  pointer-events: none;
}

.glass-card:hover::after {
  transform: rotate(180deg);
}

/* --- Offers Section --- */
.offer h2 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.offer .highlight {
  color: var(--text-secondary);
  font-weight: 400;
  font-size: 1rem;
}

.offer-desc {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
}

/* Spotlight Card (Primary Offer) */
.spotlight-card {
  border: 1px solid rgba(59, 130, 246, 0.3);
  background: linear-gradient(180deg, rgba(11, 16, 32, 0.8) 0%, var(--glass-bg) 100%);
}

.spotlight-card:hover {
  border-color: rgba(96, 165, 250, 0.6);
  box-shadow: 0 15px 40px rgba(59, 130, 246, 0.15);
}

.badge-container {
  display: flex;
  justify-content: flex-end;
  margin-top: -0.5rem;
  margin-bottom: 0.5rem;
}

.badge {
  background: rgba(59, 130, 246, 0.15);
  color: var(--secondary-blue);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(96, 165, 250, 0.3);
  font-weight: 600;
}

/* --- Buttons --- */
.btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  text-align: center;
  transition: all var(--transition-normal);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.btn-text {
  font-size: 1.05rem;
}

.btn-subtext {
  font-size: 0.75rem;
  font-weight: 400;
  opacity: 0.8;
  margin-top: 2px;
}

.btn-primary {
  background: var(--primary-blue);
  color: white;
  border: none;
}

.btn-primary:hover {
  background: var(--secondary-blue);
  transform: translateY(-2px);
}

.btn-glow {
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4);
}

.btn-glow:hover {
  box-shadow: 0 0 30px rgba(96, 165, 250, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Button ripple effect container */
.btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease-out, height 0.4s ease-out;
}

.btn:active::after {
  width: 300px;
  height: 300px;
  opacity: 0;
}

/* --- Section Titles --- */
.section-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 1rem;
  padding-left: 0.5rem;
  display: flex;
  align-items: center;
}

.section-title::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 2px;
  background: var(--primary-blue);
  margin-right: 10px;
}

/* --- Products Grid --- */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.product-card {
  display: flex;
  align-items: center;
  padding: 1.25rem;
  gap: 1.25rem;
  text-decoration: none;
  border-radius: 16px;
}

.product-icon {
  width: 45px;
  height: 45px;
  background: rgba(59, 130, 246, 0.05);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--secondary-blue);
  border: 1px solid rgba(96, 165, 250, 0.15);
  transition: all var(--transition-normal);
}

.product-card:hover .product-icon {
  background: rgba(59, 130, 246, 0.15);
  color: #FFFFFF;
  transform: scale(1.05);
}

.product-info {
  flex: 1;
}

.product-info h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.btn-link {
  font-size: 0.85rem;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: color var(--transition-fast);
}

.product-card:hover .btn-link {
  color: var(--secondary-blue);
}

.btn-link i {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.product-card:hover .btn-link i {
  transform: translateX(4px);
}

/* --- Resources List --- */
.resource-list {
  padding: 0.5rem;
}

.resource-item {
  display: flex;
  align-items: center;
  padding: 1rem;
  border-radius: 12px;
  transition: background var(--transition-fast);
}

.resource-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.resource-item:not(:last-child) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.03);
  margin-bottom: 0.25rem;
}

.resource-icon {
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 24px;
  text-align: center;
}

.discord-icon {
  color: #5865F2;
}

.guide-icon {
  color: #f39c12;
}

.resource-text {
  flex: 1;
  font-size: 1rem;
  font-weight: 500;
}

.arrow-icon {
  color: var(--text-secondary);
  font-size: 0.8rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: all var(--transition-normal);
}

.resource-item:hover .arrow-icon {
  opacity: 1;
  transform: translateX(0);
}

/* --- Socials --- */
.socials {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  padding-bottom: 2rem;
}

.social-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  color: var(--text-secondary);
  transition: all var(--transition-normal);
}

.social-icon:hover {
  color: white;
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Instagram Gradient Hover */
.social-icon[aria-label="Instagram"]:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
}

/* YouTube Hover */
.social-icon[aria-label="YouTube"]:hover {
  background: #ff0000;
  border-color: transparent;
}

/* Discord Hover */
.social-icon[aria-label="Discord"]:hover {
  background: #5865F2;
  border-color: transparent;
}

/* --- Animations --- */
.slide-up {
  opacity: 0;
  position: relative;
  top: 20px;
  animation: slideUp var(--transition-slow) forwards;
}

.delay-1 {
  animation-delay: 0.1s;
}

.delay-2 {
  animation-delay: 0.2s;
}

.delay-3 {
  animation-delay: 0.3s;
}

.delay-4 {
  animation-delay: 0.4s;
}

.delay-5 {
  animation-delay: 0.5s;
}

.delay-6 {
  animation-delay: 0.6s;
}

.delay-7 {
  animation-delay: 0.7s;
}

@keyframes slideUp {
  0% {
    opacity: 0;
    top: 20px;
  }

  100% {
    opacity: 1;
    top: 0;
  }
}

/* --- Responsive (Desktop improvements) --- */
@media (min-width: 480px) {
  .grid-2 {
    grid-template-columns: 1fr 1fr;
  }
}

/* --- Direct Response Copy Styles --- */
.pre-headline {
  color: var(--secondary-blue);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.5rem;
  display: block;
}

/* Product Cover */
.product-cover-section {
  display: flex;
  justify-content: center;
  margin: 1rem 0;
}

.cover-wrapper {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 30px rgba(59, 130, 246, 0.2);
  border: 1px solid var(--glass-border);
}

.product-cover {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--transition-slow);
}

.placeholder-cover {
  background: linear-gradient(135deg, var(--surface-color) 0%, var(--bg-color) 100%);
  padding: 4rem 2rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  min-height: 250px;
}

.placeholder-cover h2 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  background: linear-gradient(to right, #fff, var(--secondary-blue));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.placeholder-cover p {
  color: var(--text-secondary);
  font-size: 1rem;
}

.cover-wrapper:hover .product-cover {
  transform: scale(1.02);
}

/* Trust Section */
.trust-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0.5rem;
  margin-bottom: 0.5rem;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  color: var(--text-secondary);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  flex: 1;
}

.trust-item i {
  color: var(--secondary-blue);
  font-size: 1.1rem;
  margin-bottom: 0.2rem;
}

/* Benefit Stack */
.benefit-stack .glass-card {
  padding: 1.5rem;
}

.benefit-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.benefit-list li {
  display: flex;
  align-items: center;
  font-size: 1.05rem;
  font-weight: 500;
  color: #fff;
}

.check-icon {
  color: var(--secondary-blue);
  /* Blue for positive benefits */
  font-size: 1.25rem;
  margin-right: 1rem;
  filter: drop-shadow(0 0 5px rgba(96, 165, 250, 0.4));
}

/* CTA Refinements */
.cta-card {
  padding: 1rem;
}

.btn-large {
  padding: 1.25rem 1rem;
}

.btn-large .btn-text {
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}