/**
 * Glass-Morphism & Modern UI Styles
 * Migrated from seo-aura-builder Tailwind design
 * Author: SEOFUXX Team
 */

@charset "UTF-8";

/* ========== CSS VARIABLEN FÜR GLASS-EFFEKTE ========== */
:root {
      /* Glass effect tokens */
      --glass-bg: hsl(230 25% 15% / 0.7);
      --glass-bg-dark: hsl(230 25% 10% / 0.5);
      --glass-border: hsl(280 70% 55% / 0.25);
      --glass-glow: hsl(280 70% 55% / 0.15);

      /* Gradient tokens */
      --gradient-primary: linear-gradient(135deg, hsl(280 70% 55%), hsl(300 70% 45%));
      --gradient-glass: linear-gradient(135deg, hsl(230 25% 18% / 0.8), hsl(230 25% 12% / 0.6));
      --gradient-hero: radial-gradient(ellipse at top, hsl(280 70% 55% / 0.15), transparent 50%);
      --gradient-glow: radial-gradient(circle, hsl(280 70% 55% / 0.3), transparent 70%);

      /* Shadow tokens */
      --shadow-glass: 0 8px 32px hsl(0 0% 0% / 0.4), inset 0 1px 0 hsl(280 70% 55% / 0.1);
      --shadow-glow: 0 0 40px hsl(280 70% 55% / 0.25);
      --shadow-card: 0 4px 24px hsl(0 0% 0% / 0.5);
}

html[data-theme='light'] {
      /* Glass effect tokens - Light Mode */
      --glass-bg: hsl(0 0% 100% / 0.7);
      --glass-bg-dark: hsl(0 0% 98% / 0.5);
      --glass-border: hsl(280 70% 55% / 0.2);
      --glass-glow: hsl(280 70% 55% / 0.1);

      /* Shadow tokens - Light Mode */
      --shadow-glass: 0 8px 32px hsl(0 0% 0% / 0.1), inset 0 1px 0 hsl(280 70% 55% / 0.05);
      --shadow-glow: 0 0 40px hsl(280 70% 55% / 0.15);
      --shadow-card: 0 4px 24px hsl(0 0% 0% / 0.1);
}

/* ========== GLASS-MORPHISM KOMPONENTEN ========== */

/**
 * Glass Card - Hauptkomponente für moderne Karten
 */
.glass-card {
      position: relative;
      overflow: hidden;
      border-radius: 0.75rem;
      border: 1px solid var(--glass-border);
      backdrop-filter: blur(16px);
      -webkit-backdrop-filter: blur(16px);
      background: linear-gradient(135deg, var(--glass-bg), var(--glass-bg-dark));
      box-shadow: var(--shadow-glass);
      cursor: default;
      transition:
            transform 0.3s ease,
            box-shadow 0.3s ease;
}

.glass-card::before {
      content: '';
      position: absolute;
      inset: 0;
      opacity: 0.3;
      background: var(--gradient-hero);
      pointer-events: none;
}

.glass-card:hover {
      /* transform: translateY(-2px); */
      box-shadow: var(--shadow-glow), var(--shadow-glass);
}

/**
 * Glass Input - Moderne Eingabefelder
 */
.glass-input {
      position: relative;
      border-radius: 0.5rem;
      border: 1px solid var(--glass-border);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      padding: 0.75rem 1rem;
      background: hsl(230 25% 12% / 0.8);
      color: hsl(0 0% 95%);
      transition: all 0.3s ease;
}

html[data-theme='light'] .glass-input {
      background: hsl(0 0% 98% / 0.8);
}

.glass-input:focus {
      outline: none;
      border-color: hsl(280 70% 55%);
      box-shadow: var(--shadow-glow);
}

.glass-input::placeholder {
      color: hsl(230 10% 60%);
      opacity: 0.7;
}

/* ========== GRADIENT TEXT UTILITIES ========== */

/**
 * Gradient Text - Farbverlauf auf Text
 */
.gradient-text {
      background: var(--gradient-primary);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
}

.gradient-text-primary {
      background: linear-gradient(135deg, hsl(280 70% 55%) 0%, hsl(300 70% 55%) 100%);
      -webkit-background-clip: text;
      background-clip: text;
      color: transparent;
}

/* ========== GLOW EFFECTS ========== */

/**
 * Glow Effect - Leuchtender Rand
 */
.glow-effect {
      position: relative;
}

.glow-effect::after {
      content: '';
      position: absolute;
      inset: -4px;
      z-index: -1;
      border-radius: 0.75rem;
      opacity: 0.4;
      filter: blur(16px);
      background: var(--gradient-primary);
      transition: opacity 0.3s ease;
}

.glow-effect:hover::after {
      opacity: 0.6;
}

/**
 * Hero Glow - Großer dekorativer Glow-Effekt
 */
.hero-glow {
      position: absolute;
      z-index: -1;
      opacity: 0.2;
      filter: blur(48px);
      background: var(--gradient-glow);
      pointer-events: none;
}

/**
 * Glow Pulse Animation
 */
.glow-pulse {
      animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
      0%,
      100% {
            box-shadow: 0 0 20px hsl(280 70% 55% / 0.3);
      }
      50% {
            box-shadow: 0 0 40px hsl(280 70% 55% / 0.5);
      }
}

/* ========== ANIMATION KEYFRAMES ========== */

/**
 * Float Animation - Schwebende Elemente
 */
.floating-element {
      animation: float 6s ease-in-out infinite;
}

@keyframes float {
      0%,
      100% {
            transform: translateY(0px);
      }
      50% {
            transform: translateY(-20px);
      }
}

/**
 * Fade In Animation
 */
.fade-in {
      animation: fadeIn 0.6s ease-out forwards;
}

.fade-in-up {
      animation: fadeInUp 0.6s ease-out forwards;
}

@keyframes fadeIn {
      from {
            opacity: 0;
      }
      to {
            opacity: 1;
      }
}

@keyframes fadeInUp {
      from {
            opacity: 0;
            transform: translateY(20px);
      }
      to {
            opacity: 1;
            transform: translateY(0);
      }
}

/**
 * Scale In Animation
 */
.scale-in {
      animation: scaleIn 0.4s ease-out forwards;
}

@keyframes scaleIn {
      from {
            opacity: 0;
            transform: scale(0.9);
      }
      to {
            opacity: 1;
            transform: scale(1);
      }
}

/**
 * Staggered Animation Delays
 */
.delay-100 {
      animation-delay: 0.1s;
}
.delay-200 {
      animation-delay: 0.2s;
}
.delay-300 {
      animation-delay: 0.3s;
}
.delay-400 {
      animation-delay: 0.4s;
}
.delay-500 {
      animation-delay: 0.5s;
}
.delay-600 {
      animation-delay: 0.6s;
}
.delay-700 {
      animation-delay: 0.7s;
}

/* ========== STAT CARD KOMPONENTE ========== */

.stat-card {
      padding: 1.5rem;
      text-align: center;
      transition: all 0.3s ease;
}

.stat-card:hover {
      /* transform: scale(1.05); */
      box-shadow: var(--shadow-glow), var(--shadow-glass);
}

.stat-value {
      font-size: 1.5rem;
      font-weight: 700;
}

@media (min-width: 768px) {
      .stat-value {
            font-size: 1.875rem;
      }
}

.stat-label {
      margin-top: 0.25rem;
      font-size: 0.75rem;
      color: hsl(230 10% 60%);
}

@media (min-width: 768px) {
      .stat-label {
            font-size: 0.875rem;
      }
}

/* ========== FEATURE ICON KOMPONENTE ========== */

.feature-icon {
      display: flex;
      height: 3rem;
      width: 3rem;
      align-items: center;
      justify-content: center;
      border-radius: 0.5rem;
      background: var(--gradient-primary);
      box-shadow: var(--shadow-glow);
      color: white;
}

.feature-icon i,
.feature-icon svg {
      width: 1.5rem;
      height: 1.5rem;
}

/* ========== PRIMARY/SECONDARY BUTTONS ========== */

.primary-button {
      position: relative;
      overflow: hidden;
      border-radius: 0.5rem;
      padding: 0.75rem 1.5rem;
      font-weight: 600;
      color: white;
      background: var(--gradient-primary);
      box-shadow: var(--shadow-glow);
      border: none;
      cursor: pointer;
      transition: all 0.3s ease;
}

.primary-button:hover {
      /* transform: scale(1.05); */
      box-shadow: 0 0 50px hsl(280 70% 55% / 0.4);
}

.secondary-button {
      border-radius: 0.5rem;
      border: 1px solid hsl(280 70% 55%);
      padding: 0.75rem 1.5rem;
      font-weight: 600;
      color: hsl(280 70% 55%);
      background: transparent;
      cursor: pointer;
      transition: all 0.3s ease;
}

.secondary-button:hover {
      background: hsl(280 70% 55%);
      color: white;
}

/* ========== QUICK NAV BUTTON ========== */

/**
 * Quick Nav Button - Für Template-Navigation und ähnliche Filter-Buttons
 * Entspricht dem Original: bg-muted/50 text-sm hover:bg-primary/20 hover:text-primary
 */
.quick-nav-button {
      padding: 0.5rem 1rem;
      border-radius: 0.5rem;
      font-size: 0.875rem;
      border: none;
      cursor: pointer;
      background: var(--glass-bg);
      color: hsl(230 10% 60%);
      transition: all 0.2s ease;
}

.quick-nav-button:hover {
      background: hsl(280 70% 55% / 0.2);
      color: hsl(280 70% 55%);
}

/* ========== BADGE MIT PULSE ========== */

.pulse-badge {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.5rem 1rem;
      border-radius: 9999px;
      border: 1px solid hsl(280 70% 55% / 0.3);
      background: hsl(280 70% 55% / 0.1);
}

.pulse-badge .pulse-dot {
      height: 0.5rem;
      width: 0.5rem;
      border-radius: 9999px;
      background: hsl(280 70% 55%);
      animation: pulse 2s infinite;
}

@keyframes pulse {
      0%,
      100% {
            opacity: 1;
      }
      50% {
            opacity: 0.5;
      }
}

/* ========== SOCIAL ICON HOVER EFFECTS ========== */

.social-icon {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 2.5rem;
      height: 2.5rem;
      border-radius: 0.5rem;
      color: hsl(230 10% 60%);
      background: transparent;
      border: 1px solid transparent;
      transition: all 0.3s ease;
}

.social-icon:hover {
      color: hsl(280 70% 55%);
      background: hsl(280 70% 55% / 0.1);
      border-color: var(--glass-border);
      /* transform: translateY(-2px); */
}

.social-icon.twitter:hover {
      color: #1da1f2;
}
.social-icon.github:hover {
      color: #f0f6fc;
}
.social-icon.mail:hover {
      color: hsl(280 70% 55%);
}

/* ========== PRICING CARD ENHANCEMENTS ========== */

.pricing-card {
      height: 100%;
      display: flex;
      flex-direction: column;
}

.pricing-card .pricing-features {
      flex: 1;
}

.pricing-card.featured {
      border-color: hsl(280 70% 55%);
      box-shadow: var(--shadow-glow), var(--shadow-glass);
}

.pricing-popular-badge {
      position: absolute;
      top: -0.75rem;
      left: 50%;
      transform: translateX(-50%);
      padding: 0.25rem 1rem;
      border-radius: 9999px;
      background: var(--gradient-primary);
      color: white;
      font-size: 0.75rem;
      font-weight: 600;
      white-space: nowrap;
}

/* ========== MOBILE RESPONSIVE IMPROVEMENTS ========== */

/* Hero Section Mobile */
@media (max-width: 575.98px) {
      .hero-title {
            font-size: 2rem !important;
            line-height: 1.2;
      }

      .hero-subtitle {
            font-size: 1rem;
      }

      .stat-card {
            padding: 1rem;
      }

      .stat-value {
            font-size: 1.25rem;
      }

      .stat-label {
            font-size: 0.7rem;
      }

      /* Pricing Cards Stack */
      .pricing-card {
            margin-bottom: 1rem;
      }

      /* Feature Cards */
      .feature-icon {
            height: 2.5rem;
            width: 2.5rem;
      }

      .feature-icon i {
            font-size: 1rem;
      }

      /* Footer Mobile */
      #footer .col-md-3 {
            text-align: center;
            margin-bottom: 1.5rem;
      }

      #footer .d-flex.gap-3 {
            justify-content: center;
      }

      /* Section Titles */
      .section-title {
            font-size: 1.5rem !important;
      }

      /* Glass Input Mobile */
      .glass-input {
            font-size: 16px; /* Prevents iOS zoom on focus */
      }
}

/* Tablet Improvements */
@media (min-width: 576px) and (max-width: 991.98px) {
      .hero-title {
            font-size: 2.5rem !important;
      }

      .stat-value {
            font-size: 1.5rem;
      }
}

/* Large Screen Enhancements */
@media (min-width: 1200px) {
      .hero-title {
            font-size: 4rem !important;
      }

      .feature-icon {
            height: 4rem;
            width: 4rem;
      }

      .feature-icon i {
            font-size: 1.75rem;
      }
}

/* ========== FOOTER LINK HOVER EFFECTS ========== */

#footer a {
      transition:
            color 0.2s ease,
            transform 0.2s ease;
}

#footer a:hover {
      color: hsl(280 70% 55%) !important;
}

#footer ul li:hover {
      /* transform: translateX(4px); */
}

#footer ul li {
      transition: transform 0.2s ease;
}

/* ========== SMOOTH SCROLL BEHAVIOR ========== */

html {
      scroll-behavior: smooth;
}

/* ========== FOCUS STATES FOR ACCESSIBILITY ========== */

.primary-button:focus,
.secondary-button:focus,
.glass-input:focus {
      outline: 2px solid hsl(280 70% 55%);
      outline-offset: 2px;
}

/* ========== REDUCED MOTION PREFERENCE ========== */

@media (prefers-reduced-motion: reduce) {
      *,
      *::before,
      *::after {
            animation-duration: 0.01ms !important;
            animation-iteration-count: 1 !important;
            transition-duration: 0.01ms !important;
      }

      .floating-element {
            animation: none;
      }

      .glass-card:hover {
            transform: none;
      }
}
