/* MGER Services Landing Page - Enhanced with Effects */

:root {
  --bg-primary: #030712;
  --bg-secondary: #0f172a;
  --bg-card: #1e293b;
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --accent: #8b5cf6;
  --accent-hover: #7c3aed;
  --accent-light: rgba(139, 92, 246, 0.1);
  --gradient: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%);
  --gradient-color: linear-gradient(135deg, #6366f1 0%, #ec4899 50%, #f59e0b 100%);
  --gradient-vault: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
  --border: rgba(255, 255, 255, 0.1);
  --success: #22c55e;
  --color-accent: #ec4899;
  --vault-accent: #3b82f6;
  --twitch-accent: #9146ff;
  --twitch-accent-dark: #772ce8;
  --gradient-twitch: linear-gradient(135deg, #9146ff 0%, #772ce8 100%);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== ANIMATIONS ========== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInDown {
  from { opacity: 0; transform: translateY(-40px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(50px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

@keyframes floatReverse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(12px); }
}

@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.9; }
}

@keyframes glow {
  0%, 100% { box-shadow: 0 0 20px rgba(139, 92, 246, 0.3); }
  50% { box-shadow: 0 0 50px rgba(139, 92, 246, 0.6); }
}

@keyframes shimmer {
  0% { background-position: -200% center; }
  100% { background-position: 200% center; }
}

@keyframes rotateGradient {
  0% { filter: hue-rotate(0deg); }
  100% { filter: hue-rotate(360deg); }
}

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

@keyframes spin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes slideInScale {
  from { opacity: 0; transform: scale(0.8) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}

@keyframes borderGlow {
  0%, 100% { border-color: rgba(139, 92, 246, 0.3); }
  50% { border-color: rgba(139, 92, 246, 0.8); }
}

@keyframes colorShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  50% { border-color: transparent; }
}

@keyframes ripple {
  0% { transform: scale(1); opacity: 1; }
  100% { transform: scale(1.5); opacity: 0; }
}

@keyframes shake {
  0%, 100% { transform: translateX(0); }
  25% { transform: translateX(-5px); }
  75% { transform: translateX(5px); }
}

@keyframes morphBg {
  0%, 100% { border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%; }
  50% { border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%; }
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.6s ease;
}

.btn:hover::before {
  left: 100%;
}

.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.2) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s;
}

.btn:hover::after {
  opacity: 1;
}

.btn-primary {
  background: var(--gradient);
  background-size: 200% 200%;
  color: white;
  box-shadow: 0 4px 20px rgba(139, 92, 246, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.2);
  animation: colorShift 5s ease infinite;
}

.btn-primary:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.5);
}

.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
  border-color: var(--accent);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.btn-white {
  background: white;
  color: var(--bg-primary);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.3);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 40px rgba(255, 255, 255, 0.4);
}

.btn-lg {
  padding: 14px 28px;
  font-size: 15px;
}

.vault-btn {
  background: var(--gradient-vault);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.4);
  animation: none;
}

.vault-btn:hover {
  box-shadow: 0 10px 40px rgba(59, 130, 246, 0.5);
}

.twitch-btn {
  background: var(--gradient-twitch);
  box-shadow: 0 4px 20px rgba(145, 70, 255, 0.4);
  animation: none;
}

.twitch-btn:hover {
  box-shadow: 0 10px 40px rgba(145, 70, 255, 0.5);
}

.btn-disabled {
  opacity: 0.5;
  cursor: not-allowed;
  pointer-events: none;
}

/* ========== NAVIGATION ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 12px 0;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(3, 7, 18, 0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 8px 0;
  animation: fadeInDown 0.5s ease;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 18px;
  font-weight: 700;
  transition: all 0.3s ease;
}

.logo:hover {
  transform: scale(1.05);
}

.logo:hover .logo-icon {
  animation: shake 0.5s ease;
}

.logo-icon {
  width: 36px;
  height: 36px;
  background: var(--gradient);
  background-size: 200% 200%;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 18px;
  animation: colorShift 5s ease infinite, pulse 3s ease-in-out infinite;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:hover {
  color: var(--text-primary);
}

.nav-links a:hover::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu-btn span {
  width: 22px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ========== HERO SECTION ========== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
  overflow: hidden;
}

.hero .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-content {
  z-index: 1;
  animation: fadeInLeft 1s ease;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: var(--accent-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
  border-radius: 100px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 20px;
  animation: bounce 2s ease-in-out infinite, borderGlow 3s ease infinite;
}

.badge-icon {
  font-size: 14px;
  animation: spin 4s linear infinite;
}

.hero h1 {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 4s linear infinite;
}

.hero-subtitle {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: 32px;
  max-width: 450px;
  line-height: 1.7;
  animation: fadeInUp 1s ease 0.3s both;
}

.hero-buttons {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  animation: fadeInUp 1s ease 0.5s both;
}

.hero-stats {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 24px;
  padding: 20px 32px;
  background: rgba(255,255,255,0.03);
  border-radius: 12px;
  border: 1px solid var(--border);
  animation: fadeInUp 1s ease 0.7s both, borderGlow 4s ease infinite;
  transition: all 0.3s ease;
  width: 100%;
}

.hero-stats:hover {
  background: rgba(255,255,255,0.06);
  transform: translateY(-3px);
}

.stat {
  display: flex;
  flex-direction: column;
  text-align: center;
  flex: 1;
}

.stat-value {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 12px;
  color: var(--text-muted);
}

.stat-divider {
  width: 1px;
  height: 30px;
  background: var(--border);
  flex-shrink: 0;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  animation: fadeInRight 1s ease;
}

.app-preview {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--bg-card);
  border-radius: 14px;
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  width: 100%;
  max-width: 320px;
  position: relative;
  overflow: hidden;
}

.app-preview::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s;
}

.app-preview:hover::before {
  opacity: 1;
}

.app-preview {
  animation: float 4s ease-in-out infinite;
}

.app-preview:hover {
  transform: translateX(15px) scale(1.03);
  box-shadow: 0 15px 50px rgba(0,0,0,0.4);
}

.color-preview:hover {
  border-color: var(--color-accent);
  box-shadow: 0 15px 50px rgba(236, 72, 153, 0.3);
}

.vault-preview:hover {
  border-color: var(--vault-accent);
  box-shadow: 0 15px 50px rgba(59, 130, 246, 0.3);
}

.twitch-preview:hover {
  border-color: var(--twitch-accent);
  box-shadow: 0 15px 50px rgba(145, 70, 255, 0.3);
}

.app-preview span {
  font-size: 16px;
  font-weight: 600;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(139, 92, 246, 0.25) 0%, transparent 50%),
    radial-gradient(ellipse at 30% 80%, rgba(236, 72, 153, 0.2) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 60%, rgba(59, 130, 246, 0.15) 0%, transparent 40%);
  pointer-events: none;
  animation: rotateGradient 25s linear infinite;
}

/* ========== SECTION STYLES ========== */
section {
  padding: 80px 0;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 48px;
  animation: fadeInUp 0.8s ease;
}

.section-badge {
  display: inline-block;
  padding: 6px 14px;
  background: var(--accent-light);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  animation: pulse 2s ease-in-out infinite;
}

.color-badge {
  background: rgba(236, 72, 153, 0.1);
  color: var(--color-accent);
}

.vault-badge {
  background: rgba(59, 130, 246, 0.1);
  color: var(--vault-accent);
}

.twitch-badge {
  background: rgba(145, 70, 255, 0.1);
  color: var(--twitch-accent);
}

.section-header h2 {
  font-size: 36px;
  font-weight: 800;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.section-header p {
  font-size: 16px;
  color: var(--text-secondary);
  max-width: 500px;
  margin: 0 auto;
}

/* ========== APPS OVERVIEW ========== */
.apps-overview {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.apps-overview::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
  animation: rotateGradient 40s linear infinite;
}

.apps-overview::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  animation: shimmer 3s linear infinite;
}

.apps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  position: relative;
  width: 100%;
}

.app-card {
  position: relative;
  padding: 24px;
  min-width: 0;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;
  animation: slideInScale 0.8s ease both;
}

.app-card:nth-child(1) { animation-delay: 0.1s; }
.app-card:nth-child(2) { animation-delay: 0.2s; }
.app-card:nth-child(3) { animation-delay: 0.3s; }

.mystery-card:hover {
  border-color: #8b5cf6;
  box-shadow: 0 25px 60px rgba(139, 92, 246, 0.2);
}

.app-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.app-card:hover::before {
  transform: scaleX(1);
}

.app-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(255,255,255,0.05) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.3s;
  pointer-events: none;
}

.app-card:hover::after {
  opacity: 1;
}

.coming-soon-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  animation: pulse 2s ease-in-out infinite, glow 3s ease infinite;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
}

.new-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  padding: 5px 12px;
  background: linear-gradient(135deg, #3b82f6, #8b5cf6);
  color: white;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 20px;
  box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
  animation: pulse 2s ease-in-out infinite;
}

.app-card:hover {
  transform: translateY(-10px) rotateX(2deg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.4);
}

.color-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 25px 60px rgba(236, 72, 153, 0.2);
}

.vault-card:hover {
  border-color: var(--vault-accent);
  box-shadow: 0 25px 60px rgba(59, 130, 246, 0.2);
}

.twitch-card:hover {
  border-color: var(--twitch-accent);
  box-shadow: 0 25px 60px rgba(145, 70, 255, 0.2);
}

.app-card-icon {
  margin-bottom: 16px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.app-card-icon svg {
  width: 60px;
  height: 60px;
}

.app-card:hover .app-card-icon {
  transform: scale(1.1) rotate(3deg);
  filter: drop-shadow(0 8px 15px rgba(0,0,0,0.3));
}

.app-card h3 {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

.app-tagline {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.app-features {
  list-style: none;
  margin-bottom: 20px;
}

.app-features li {
  padding: 4px 0;
  padding-left: 20px;
  position: relative;
  font-size: 12px;
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.app-features li:hover {
  color: var(--text-primary);
  transform: translateX(8px);
}

.app-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--success);
  font-weight: bold;
  font-size: 12px;
  transition: transform 0.3s ease;
}

.app-features li:hover::before {
  transform: scale(1.3);
}

.app-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.app-actions .btn {
  width: 100%;
  font-size: 13px;
  padding: 10px 16px;
}

/* ========== APP SECTIONS ========== */
.app-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.color-section {
  background: var(--bg-secondary);
}

.color-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(236, 72, 153, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: morphBg 10s ease-in-out infinite, float 8s ease-in-out infinite;
}

.color-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(99, 102, 241, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: morphBg 12s ease-in-out infinite reverse;
}

.vault-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: morphBg 10s ease-in-out infinite, floatReverse 8s ease-in-out infinite;
}

.vault-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: morphBg 12s ease-in-out infinite reverse;
}

.twitch-section {
  background: var(--bg-secondary);
}

.twitch-section::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(145, 70, 255, 0.15) 0%, transparent 70%);
  pointer-events: none;
  animation: morphBg 10s ease-in-out infinite, float 8s ease-in-out infinite;
}

.twitch-section::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -100px;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(119, 44, 232, 0.1) 0%, transparent 70%);
  pointer-events: none;
  animation: morphBg 12s ease-in-out infinite reverse;
}

.app-section-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  position: relative;
}

.app-section-content.reverse {
  direction: rtl;
}

.app-section-content.reverse > * {
  direction: ltr;
}

.app-section-info {
  animation: fadeInLeft 0.8s ease;
}

.app-section-info h2 {
  font-size: 32px;
  font-weight: 800;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.app-description {
  font-size: 15px;
  color: var(--text-secondary);
  margin-bottom: 24px;
  line-height: 1.7;
}

.features-list {
  margin-bottom: 28px;
}

.feature-item {
  display: flex;
  gap: 14px;
  margin-bottom: 18px;
  padding: 14px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.feature-item::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s;
}

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

.feature-item:hover {
  background: rgba(255,255,255,0.03);
  transform: translateX(10px);
}

.feature-icon {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 10px;
  flex-shrink: 0;
  transition: all 0.4s ease;
}

.feature-item:hover .feature-icon {
  transform: scale(1.15) rotate(10deg);
  box-shadow: 0 8px 25px rgba(139, 92, 246, 0.3);
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  stroke: var(--accent);
}

.color-icon-small {
  background: rgba(236, 72, 153, 0.1);
}

.color-icon-small svg {
  stroke: var(--color-accent);
}

.vault-icon-small {
  background: rgba(59, 130, 246, 0.1);
}

.vault-icon-small svg {
  stroke: var(--vault-accent);
}

.twitch-icon-small {
  background: rgba(145, 70, 255, 0.1);
}

.twitch-icon-small svg {
  stroke: var(--twitch-accent);
}

.feature-item h4 {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 2px;
}

.feature-item p {
  font-size: 13px;
  color: var(--text-secondary);
}

/* ========== COLOR MOCKUP ========== */
.app-section-visual {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeInRight 0.8s ease;
}

.color-mockup {
  background: var(--bg-card);
  border-radius: 20px;
  padding: 32px;
  border: 1px solid var(--border);
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  animation: float 6s ease-in-out infinite;
  position: relative;
}

.color-mockup::before {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 22px;
  background: var(--gradient);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.4s;
}

.color-mockup:hover::before {
  opacity: 0.5;
}

.color-mockup:hover {
  transform: scale(1.08) rotate(2deg);
  box-shadow: 0 30px 70px rgba(236, 72, 153, 0.3);
}

.color-swatches {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 24px;
}

.swatch {
  width: 65px;
  height: 65px;
  border-radius: 12px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  position: relative;
}

.swatch::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 12px;
  box-shadow: inset 0 0 0 2px rgba(255,255,255,0.2);
  opacity: 0;
  transition: opacity 0.3s;
}

.swatch:hover::after {
  opacity: 1;
}

.swatch:hover {
  transform: scale(1.2) rotate(8deg) translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.4);
  z-index: 1;
}

.swatch:nth-child(1) { animation: bounce 2s ease-in-out infinite; animation-delay: 0s; }
.swatch:nth-child(2) { animation: bounce 2s ease-in-out infinite; animation-delay: 0.1s; }
.swatch:nth-child(3) { animation: bounce 2s ease-in-out infinite; animation-delay: 0.2s; }
.swatch:nth-child(4) { animation: bounce 2s ease-in-out infinite; animation-delay: 0.3s; }
.swatch:nth-child(5) { animation: bounce 2s ease-in-out infinite; animation-delay: 0.4s; }
.swatch:nth-child(6) { animation: bounce 2s ease-in-out infinite; animation-delay: 0.5s; }

.format-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
}

.format-badge {
  padding: 6px 12px;
  background: var(--bg-secondary);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  transition: all 0.4s ease;
  cursor: pointer;
}

.format-badge:hover {
  background: var(--accent-light);
  color: var(--accent);
  transform: translateY(-4px) scale(1.1);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

/* ========== VAULT MOCKUP ========== */
.vault-mockup {
  text-align: center;
  animation: floatReverse 6s ease-in-out infinite;
}

.vault-shield {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  animation: glow 4s ease-in-out infinite;
  border-radius: 50%;
}

.vault-shield::before {
  content: '';
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 130, 246, 0.2) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.vault-shield > svg {
  width: 130px;
  height: 130px;
  filter: drop-shadow(0 20px 40px rgba(59, 130, 246, 0.5));
  transition: all 0.4s ease;
}

.vault-mockup:hover .vault-shield > svg {
  transform: scale(1.15);
  filter: drop-shadow(0 30px 60px rgba(59, 130, 246, 0.6));
}

.shield-check {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 55px;
  height: 55px;
  background: var(--bg-card);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(0,0,0,0.3);
  animation: pulse 2s ease-in-out infinite;
}

.shield-check svg {
  width: 28px;
  height: 28px;
}

.security-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.security-badge {
  padding: 8px 14px;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--vault-accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.security-badge:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
  background: rgba(59, 130, 246, 0.2);
}

.security-badge:nth-child(1) { animation: fadeInUp 0.5s ease 0.1s both; }
.security-badge:nth-child(2) { animation: fadeInUp 0.5s ease 0.2s both; }
.security-badge:nth-child(3) { animation: fadeInUp 0.5s ease 0.3s both; }

/* ========== TWITCH MOCKUP ========== */
.twitch-mockup {
  text-align: center;
  animation: float 6s ease-in-out infinite;
}

.twitch-logo-big {
  position: relative;
  width: 160px;
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--twitch-accent);
  filter: drop-shadow(0 20px 40px rgba(145, 70, 255, 0.5));
  transition: all 0.4s ease;
}

.twitch-logo-big::before {
  content: '';
  position: absolute;
  inset: -20px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(145, 70, 255, 0.2) 0%, transparent 70%);
  animation: pulse 3s ease-in-out infinite;
}

.twitch-mockup:hover .twitch-logo-big {
  transform: scale(1.15);
  filter: drop-shadow(0 30px 60px rgba(145, 70, 255, 0.6));
}

.live-indicators {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.live-dot {
  width: 12px;
  height: 12px;
  background: #eb0400;
  border-radius: 50%;
  animation: pulse 1.5s ease-in-out infinite;
  box-shadow: 0 0 10px rgba(235, 4, 0, 0.6);
}

.live-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}

.twitch-badges {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.twitch-badge-item {
  padding: 8px 14px;
  background: rgba(145, 70, 255, 0.1);
  border-radius: 8px;
  font-size: 11px;
  font-weight: 600;
  color: var(--twitch-accent);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.twitch-badge-item:hover {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 10px 25px rgba(145, 70, 255, 0.3);
  background: rgba(145, 70, 255, 0.2);
}

.twitch-badge-item:nth-child(1) { animation: fadeInUp 0.5s ease 0.1s both; }
.twitch-badge-item:nth-child(2) { animation: fadeInUp 0.5s ease 0.2s both; }
.twitch-badge-item:nth-child(3) { animation: fadeInUp 0.5s ease 0.3s both; }

/* ========== VALUES SECTION ========== */
.values {
  background: var(--bg-secondary);
  position: relative;
  overflow: hidden;
}

.values::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 400px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.12) 0%, transparent 70%);
  pointer-events: none;
  animation: pulse 8s ease-in-out infinite;
}

.values::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  position: relative;
}

.value-card {
  padding: 26px 22px;
  background: var(--bg-card);
  border-radius: 16px;
  border: 1px solid var(--border);
  text-align: center;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  animation: slideInScale 0.6s ease both;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }
.value-card:nth-child(4) { animation-delay: 0.4s; }

.value-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.value-card:hover::before {
  opacity: 0.08;
}

.value-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 3px;
  background: var(--gradient);
  transition: width 0.4s ease;
}

.value-card:hover::after {
  width: 60%;
}

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

.value-card:hover {
  transform: translateY(-12px) scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 20px 50px rgba(139, 92, 246, 0.25);
}

.value-icon {
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-light);
  border-radius: 12px;
  margin: 0 auto 18px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.value-card:hover .value-icon {
  transform: scale(1.2) rotate(15deg);
  background: var(--accent);
  box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

.value-card:hover .value-icon svg {
  stroke: white;
}

.value-icon svg {
  width: 26px;
  height: 26px;
  stroke: var(--accent);
  transition: stroke 0.3s ease;
}

.value-card h3 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 10px;
}

.value-card p {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  background: var(--bg-primary);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse, rgba(139, 92, 246, 0.1) 0%, transparent 60%);
  pointer-events: none;
  animation: morphBg 15s ease-in-out infinite;
}

.contact-form-container {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  animation: fadeInUp 0.8s ease;
}

.contact-form {
  background: var(--bg-card);
  border-radius: 20px;
  border: 1px solid var(--border);
  padding: 36px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.contact-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.contact-form:hover::before,
.contact-form:focus-within::before {
  transform: scaleX(1);
}

.contact-form:hover,
.contact-form:focus-within {
  border-color: var(--accent);
  box-shadow: 0 20px 60px rgba(139, 92, 246, 0.15);
  transform: translateY(-5px);
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  overflow: hidden;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  margin-bottom: 22px;
  position: relative;
}

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text-primary);
  transition: color 0.3s ease;
}

.form-group:focus-within label {
  color: var(--accent);
}

.required {
  color: #ef4444;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-secondary);
  border: 2px solid var(--border);
  border-radius: 10px;
  font-size: 14px;
  color: var(--text-primary);
  font-family: inherit;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 4px var(--accent-light), 0 8px 25px rgba(139, 92, 246, 0.15);
  transform: translateY(-2px);
  background: var(--bg-card);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-muted);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
}

.char-count {
  position: absolute;
  right: 12px;
  bottom: 12px;
  font-size: 11px;
  color: var(--text-muted);
  pointer-events: none;
  transition: color 0.3s ease;
}

.form-group:focus-within .char-count {
  color: var(--accent);
}

.form-actions {
  margin-top: 28px;
  text-align: center;
}

.form-message {
  margin-bottom: 24px;
  padding: 16px;
  border-radius: 10px;
  font-size: 14px;
  text-align: center;
  animation: slideInScale 0.5s ease;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  animation: shake 0.5s ease;
}

/* ========== FOOTER ========== */
.footer {
  background: var(--bg-secondary);
  padding: 60px 0 30px;
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand p {
  margin-top: 12px;
  color: var(--text-secondary);
  font-size: 13px;
}

.footer-brand .logo:hover .logo-icon {
  animation: spin 0.8s ease;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-col h4 {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 16px;
  color: var(--text-muted);
}

.footer-col a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 13px;
  margin-bottom: 10px;
  transition: all 0.3s ease;
  position: relative;
  padding-left: 0;
}

.footer-col a::before {
  content: '→';
  position: absolute;
  left: -20px;
  opacity: 0;
  transition: all 0.3s ease;
}

.footer-col a:hover {
  color: var(--text-primary);
  padding-left: 20px;
}

.footer-col a:hover::before {
  opacity: 1;
  left: 0;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .apps-grid { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .app-card { padding: 20px; }
}

@media (max-width: 1024px) {
  .hero .container {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .hero-content { order: 1; }
  .hero-visual { order: 2; }
  .hero h1 { font-size: 38px; }
  .hero-subtitle { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-stats { justify-content: center; }
  .apps-grid { grid-template-columns: repeat(2, 1fr); }

  .app-section-content {
    grid-template-columns: 1fr;
    gap: 40px;
    text-align: center;
  }

  .app-section-content.reverse { direction: ltr; }
  .app-section-visual { order: -1; }
  .features-list { text-align: left; max-width: 400px; margin: 0 auto 28px; }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-content { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 20px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .mobile-menu-btn { display: flex; }
  .mobile-menu-btn.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .mobile-menu-btn.active span:nth-child(2) { opacity: 0; }
  .mobile-menu-btn.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

  .hero { padding: 80px 0 50px; }
  .hero h1 { font-size: 30px; }
  .hero-buttons { flex-direction: column; }
  .hero-stats { flex-direction: column; gap: 16px; }
  .stat-divider { width: 50px; height: 1px; }

  section { padding: 60px 0; }
  .section-header h2, .app-section-info h2 { font-size: 26px; }
  .section-header { margin-bottom: 36px; }

  .apps-grid { grid-template-columns: 1fr; }
  .app-card { padding: 24px; }
  .app-actions { flex-direction: column; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-links { grid-template-columns: 1fr; gap: 24px; }

  .color-swatches { gap: 10px; }
  .swatch { width: 55px; height: 55px; }

  .form-row { grid-template-columns: 1fr; }
  .contact-form { padding: 24px; }
}
