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

body {
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #000;
  color: #fff;
}

.glow-text {
  text-shadow: 0 0 20px rgba(168, 85, 247, 0.5),
               0 0 40px rgba(168, 85, 247, 0.3);
}

.samsung-logo {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: 0.3em;
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.loader-spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(255, 255, 255, 0.2);
  border-top-color: #a855f7;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

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

.loader-active {
  opacity: 1;
  pointer-events: all;
  transition: opacity 0.5s ease;
}

.particle-bg {
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(168, 85, 247, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
  animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 1; }
}

.phone-mockup {
  perspective: 1000px;
}

.phone-device {
  width: 280px;
  height: 560px;
  margin: 0 auto;
  border-radius: 40px;
  padding: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5),
              0 0 100px rgba(168, 85, 247, 0.3);
  transition: all 0.5s ease;
}

.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
  border-radius: 32px;
  position: relative;
  overflow: hidden;
}

.phone-notch {
  width: 120px;
  height: 28px;
  background: #000;
  border-radius: 0 0 20px 20px;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.phone-3d {
  perspective: 1500px;
  animation: float 6s ease-in-out infinite;
}

.phone-device-3d {
  width: 320px;
  height: 640px;
  margin: 0 auto;
  border-radius: 45px;
  padding: 14px;
  box-shadow: 0 30px 60px -15px rgba(0, 0, 0, 0.6),
              0 0 120px rgba(59, 130, 246, 0.4);
  transform: rotateY(-15deg) rotateX(5deg);
  transition: transform 0.5s ease;
  animation: rotate3d 20s ease-in-out infinite;
}

.phone-screen-3d {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #1e1b4b, #0f172a);
  border-radius: 35px;
  position: relative;
  overflow: hidden;
}

@keyframes rotate3d {
  0%, 100% { transform: rotateY(-15deg) rotateX(5deg); }
  50% { transform: rotateY(15deg) rotateX(-5deg); }
}

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

.stat-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-around;
  padding: 20px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 900;
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.cta-button {
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  animation: pulse-glow 2s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
  width: 300px;
  height: 300px;
}

@keyframes pulse-glow {
  0%, 100% {
    box-shadow: 0 0 30px rgba(168, 85, 247, 0.6),
                0 0 60px rgba(59, 130, 246, 0.4);
  }
  50% {
    box-shadow: 0 0 50px rgba(168, 85, 247, 0.8),
                0 0 100px rgba(59, 130, 246, 0.6);
  }
}

.glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.glass-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(168, 85, 247, 0.3);
  transform: translateY(-5px);
}

.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(168, 85, 247, 0.2);
}

.color-option {
  transition: all 0.3s ease;
  cursor: pointer;
  background: none;
  border: none;
}

.color-option:hover {
  transform: scale(1.1);
}

.comparison-table th {
  font-weight: 700;
  font-size: 1.125rem;
}

.comparison-table td {
  font-size: 1rem;
}

.custom-scrollbar::-webkit-scrollbar {
  width: 8px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  border-radius: 4px;
}

.floating-button {
  background: linear-gradient(135deg, #a855f7, #3b82f6);
  transition: all 0.3s ease;
}

@keyframes fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fade-in-up {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slide-in {
  from {
    transform: translateX(400px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes bounce-in {
  0% {
    transform: scale(0);
    opacity: 0;
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.animate-fade-in {
  animation: fade-in 1s ease-out;
}

.animate-fade-in-up {
  animation: fade-in-up 1s ease-out;
}

.animate-fade-in-up-delay {
  animation: fade-in-up 1s ease-out 0.3s both;
}

.animate-fade-in-up-delay-2 {
  animation: fade-in-up 1s ease-out 0.6s both;
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}

.animate-slide-in {
  animation: slide-in 0.4s ease-out;
}

.animate-bounce-in {
  animation: bounce-in 0.5s ease-out;
}

@media (max-width: 768px) {
  .phone-device {
    width: 200px;
    height: 400px;
  }
  
  .phone-device-3d {
    width: 240px;
    height: 480px;
  }
  
  .stat-number {
    font-size: 1.5rem;
  }
  
  .glow-text {
    font-size: 2.5rem !important;
  }
}