/* Import fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

@font-face {
  font-family: 'Bebas Neue';
  src: url('/static/media/BebasNeue-Regular.woff2') format('woff2'),
       url('/static/media/BebasNeue-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Variables */
:root {
  --color-primary: #6366F1;
  --color-secondary: #4F46E5;
  --color-accent: #4338CA;
  --color-dark: #1F2937;
  --color-darker: #0F172A;
  --color-light: #F9FAFB;
  --color-gray-300: #D1D5DB;
  --color-gray-400: #9CA3AF;
  --color-gray-800: #1F2937;
}

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

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--color-darker);
  color: white;
  overflow-x: hidden;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

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

button {
  cursor: pointer;
  border: none;
  outline: none;
}

svg {
  width: 24px;
  height: 24px;
}

/* Layout */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

.min-h-screen {
  min-height: 100vh;
}

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-center {
  justify-content: center;
}

.gap-12 {
  gap: 3rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-2 {
  gap: 0.5rem;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.z-0 {
  z-index: 0;
}

.z-10 {
  z-index: 10;
}

.z-20 {
  z-index: 20;
}

.z-30 {
  z-index: 30;
}

.z-1000 {
  z-index: 1000;
}

/* Typography */
.font-bebas {
  font-family: 'Bebas Neue', sans-serif;
}

.text-5xl {
  font-size: 3rem;
}

.text-2xl {
  font-size: 1.5rem;
}

.text-xl {
  font-size: 1.25rem;
}

.text-sm {
  font-size: 0.875rem;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

.leading-tight {
  line-height: 1.2;
}

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

.text-primary {
  color: var(--color-primary);
}

.text-gray-300 {
  color: var(--color-gray-300);
}

.text-gray-400 {
  color: var(--color-gray-400);
}

/* Components */
.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.logo {
  height: 3rem;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-link {
  font-weight: 500;
  transition: color 0.3s;
}

.nav-link:hover {
  color: var(--color-primary);
}

.menu-button {
  background: transparent;
  color: white;
  display: none;
}

/* Hero section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3rem;
  flex-grow: 1;
  padding: 3rem 0;
}

.hero-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  width: 100%;
}

.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.2;
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.btn {
  font-weight: 700;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  transition: all 0.3s;
}

.btn-primary {
  background-color: var(--color-primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  height: 100%;
}

.btn-primary:hover {
  background-color: var(--color-secondary);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.6);
}

.btn-outline {
  background-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(6px);
  color: white;
  border: 1px solid var(--color-primary);
  position: relative;
}

.btn-outline:hover {
  border-color: rgba(99, 102, 241, 0.7);
}

.copy-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  height: 1.25rem;
  width: 1.25rem;
  color: var(--color-gray-400);
  transition: color 0.3s;
}

.btn-outline:hover .copy-icon {
  color: white;
}

.promo-text {
  display: flex;
  flex-direction: column;
}

.promo-code {
  font-family: 'Bebas Neue', sans-serif;
  color: #deff00;
  font-size: 1.25rem;
}

/* Case showcase */
.case-showcase {
  position: relative;
  width: 100%;
}

.glow-bg {
  position: absolute;
  width: 16rem;
  height: 16rem;
  background-color: var(--color-primary);
  border-radius: 50%;
  mix-blend-mode: multiply;
  filter: blur(100px);
  opacity: 0.2;
  animation: pulse 4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.glow-bg-top {
  top: -5rem;
  left: -5rem;
}

.glow-bg-bottom {
  bottom: -5rem;
  right: -5rem;
  background-color: var(--color-secondary);
  animation-delay: 2s;
}

.case-card {
  position: relative;
  background-color: rgba(31, 41, 55, 0.2);
  backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  padding: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.3);
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
  transform: rotate(3deg);
  transition: transform 0.5s;
}

.case-card:hover {
  transform: rotate(0);
}

.case-img {
  border-radius: 0.5rem;
  width: 100%;
  height: auto;
}

.case-info {
  margin-top: 1rem;
  text-align: center;
}

.case-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  color: var(--color-primary);
  margin-bottom: 0.25rem;
}

.case-price {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.case-button {
  width: 100%;
  background-color: var(--color-primary);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  transition: background-color 0.3s;
}

.case-button:hover {
  background-color: var(--color-secondary);
}

.floating-card {
  position: absolute;
  background-color: rgba(31, 41, 55, 0.2);
  backdrop-filter: blur(16px);
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 0 25px rgba(99, 102, 241, 0.4);
  transition: transform 0.5s;
}

.floating-card-1 {
  top: 25%;
  right: -3rem;
  border: 1px solid rgba(79, 70, 229, 0.3);
  transform: rotate(-6deg);
}

.floating-card-1:hover {
  transform: rotate(0);
}

.floating-card-2 {
  bottom: 25%;
  left: -4rem;
  border: 1px solid rgba(67, 56, 202, 0.3);
  transform: rotate(12deg);
}

.floating-card-2:hover {
  transform: rotate(0);
}

.floating-image {
  border-radius: 0.5rem;
}

.floating-image-1 {
  width: 9rem;
}

.floating-image-2 {
  width: 8rem;
}

/* Features section */
.features {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding: 4rem 0;
}

.feature-card {
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(8px);
  border-radius: 1rem;
  padding: 1.5rem;
  border: 1px solid rgba(99, 102, 241, 0.2);
  transition: all 0.3s;
}

.feature-card:hover {
  border-color: rgba(99, 102, 241, 0.5);
  transform: translateY(-0.5rem);
}

.feature-icon {
  width: 4rem;
  height: 4rem;
  background-color: var(--color-primary);
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.feature-card:nth-child(2) .feature-icon {
  background-color: var(--color-secondary);
}

.feature-card:nth-child(3) .feature-icon {
  background-color: var(--color-accent);
}

.feature-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.feature-description {
  color: var(--color-gray-300);
}

/* Footer */
.footer {
  padding: 1.5rem 0;
  border-top: 1px solid var(--color-gray-800);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.copyright {
  color: var(--color-gray-400);
  font-size: 0.875rem;
}

.social-links {
  display: flex;
  gap: 1.5rem;
  margin-top: 1rem;
}

.social-link {
  color: var(--color-gray-400);
  transition: color 0.3s;
}

.social-link:hover {
  color: var(--color-primary);
}

/* Background elements */
.video-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
  z-index: 0;
}

.gradient-overlay {
  background: linear-gradient(180deg, rgba(15, 23, 42, 0) 0%, rgba(15, 23, 42, 1) 100%);
}

.particle {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.particle-1 {
  top: 25%;
  left: 25%;
  width: 1.5rem;
  height: 1.5rem;
  background-color: var(--color-primary);
  animation-delay: 0s;
}

.particle-2 {
  top: 33%;
  right: 25%;
  width: 2rem;
  height: 2rem;
  background-color: var(--color-secondary);
  animation-delay: 1s;
}

.particle-3 {
  bottom: 25%;
  left: 33%;
  width: 1rem;
  height: 1rem;
  background-color: var(--color-accent);
  animation-delay: 2s;
}

.particle-4 {
  top: 66%;
  right: 33%;
  width: 1.25rem;
  height: 1.25rem;
  background-color: var(--color-primary);
  animation-delay: 3s;
}

/* Toast notifications */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
}

.toast {
  background-color: #333;
  color: #fff;
  padding: 15px 20px;
  border-radius: 8px;
  margin-bottom: 10px;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  font-size: 16px;
}

.toast.show {
  opacity: 1;
}

.toast.success {
  background-color: var(--color-accent);
}

.toast.error {
  background-color: #EF4444;
}

.toast-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.7);
  transform-origin: left;
}

/* Clip path */
.clip-slant {
  clip-path: polygon(5% 0, 100% 0, 95% 100%, 0% 100%);
}

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

@keyframes pulse {
  0%, 100% { opacity: 0.2; }
  50% { opacity: 0.15; }
}

/* Responsive styles */
@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .hero {
    flex-direction: row;
  }
  
  .hero-content, .case-showcase {
    width: 50%;
  }
  
  .text-5xl {
    font-size: 4.5rem;
  }
  
  .features {
    grid-template-columns: repeat(3, 1fr);
  }
  
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
  }
  
  .social-links {
    margin-top: 0;
  }
  
  .menu-button {
    display: none;
  }
}

@media (max-width: 767px) {
  .menu-button {
    display: block;
  }
  
  .nav-desktop {
    display: none;
  }
} 