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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  overflow-x: hidden;
  background: #0a0a0f;
}

/* ========== NAVBAR ========== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(20px);
  padding: 1rem 5%;
  box-shadow: 0 4px 30px rgba(139, 92, 246, 0.1);
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.logo-icon {
  width: 42px;
  height: 42px;
  transition: transform 0.3s ease;
  display: block;
}

.logo:hover .logo-icon {
  transform: rotate(5deg) scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav-links a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #8b5cf6, #ec4899);
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #fff;
}

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

.lang-selector {
  background: rgba(139, 92, 246, 0.15);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: #ffffff;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
  outline: none;
}

.lang-selector option {
  background: #1a0f2e;
  color: #ffffff;
  padding: 0.5rem;
  font-weight: 500;
}

.lang-selector:hover {
  background: rgba(139, 92, 246, 0.25);
  border-color: rgba(139, 92, 246, 0.6);
}

.lang-selector:focus {
  border-color: #8b5cf6;
  box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

/* ========== HERO SECTION ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5%;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0f 0%, #1a0f2e 50%, #0a0a0f 100%);
}

/* Animated gradient background */
.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 50% 50%, 
    rgba(139, 92, 246, 0.15) 0%, 
    transparent 50%);
  animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Hand-drawn purple surface */
.hero::after {
  content: '';
  position: absolute;
  top: 10%;
  left: 5%;
  width: 600px;
  height: 600px;
  background: radial-gradient(ellipse at 30% 40%, 
    rgba(139, 92, 246, 0.3) 0%, 
    rgba(168, 85, 247, 0.2) 30%,
    transparent 70%);
  filter: blur(60px);
  border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%;
  animation: morphShape 15s ease-in-out infinite;
}

@keyframes morphShape {
  0%, 100% {
    border-radius: 60% 40% 70% 30% / 40% 60% 30% 70%;
    transform: rotate(0deg) scale(1);
  }
  33% {
    border-radius: 40% 60% 50% 50% / 60% 30% 70% 40%;
    transform: rotate(120deg) scale(1.1);
  }
  66% {
    border-radius: 70% 30% 40% 60% / 50% 70% 30% 60%;
    transform: rotate(240deg) scale(0.9);
  }
}

.hero-content {
  max-width: 600px;
  z-index: 10;
  position: relative;
}

.hero-title {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, #fff 0%, #8b5cf6 50%, #ec4899 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: fadeInUp 0.8s ease-out;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
  margin-bottom: 2.5rem;
  animation: fadeInUp 0.8s ease-out 0.2s both;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  color: white;
  text-decoration: none;
  background: linear-gradient(135deg, #8b5cf6 0%, #6366f1 50%, #ec4899 100%);
  border-radius: 50px;
  border: none;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  animation: fadeInUp 0.8s ease-out 0.4s both;
  box-shadow: 0 10px 40px rgba(139, 92, 246, 0.4);
}

.cta-button::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.5s ease;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 50px rgba(139, 92, 246, 0.6);
}

.arrow {
  transition: transform 0.3s ease;
}

.cta-button:hover .arrow {
  transform: translateX(5px);
}

/* ========== ARTISTIC PATTERNS ========== */
.patterns-container {
  display: flex;
  gap: 2rem;
  align-items: center;
  z-index: 10;
  position: relative;
}

.pattern {
  width: 180px;
  height: 180px;
  border-radius: 20px;
  position: relative;
  animation: float 6s ease-in-out infinite;
  transition: transform 0.3s ease;
}

.pattern:hover {
  transform: scale(1.05) rotate(5deg);
}

.pattern:nth-child(1) {
  animation-delay: 0s;
}

.pattern:nth-child(2) {
  animation-delay: 0.5s;
}

.pattern:nth-child(3) {
  animation-delay: 1s;
}

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

/* Pattern 1 - Modern Dark Teal */
.pattern-1 {
  background: linear-gradient(135deg, #06b6d4 0%, #0891b2 100%);
  box-shadow: 0 20px 60px rgba(6, 182, 212, 0.5);
}

.pattern-1::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
  height: 80%;
  background: 
    radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4) 0%, transparent 50%),
    conic-gradient(from 45deg, 
      #06b6d4, 
      #22d3ee, 
      #67e8f9, 
      #a5f3fc, 
      #0891b2,
      #06b6d4);
  border-radius: 50% 40% 60% 50% / 60% 50% 50% 40%;
  animation: rotate 10s linear infinite;
}

/* Pattern 2 - Vivid Modern Yellow */
.pattern-2 {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 20px 60px rgba(251, 191, 36, 0.5);
}

.pattern-2::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  height: 90%;
  background: 
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.4) 0%, transparent 40%),
    linear-gradient(135deg, 
      #fde047 0%, 
      #fbbf24 25%,
      #f59e0b 50%,
      #d97706 75%,
      #b45309 100%);
  clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
  animation: rotate 10s ease-in-out infinite, pulse 3s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Pattern 3 - Vivid Orange/Maroon */
.pattern-3 {
  background: linear-gradient(135deg, #f97316 0%, #991b1b 100%);
  box-shadow: 0 20px 60px rgba(249, 115, 22, 0.4);
}

.pattern-3::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    radial-gradient(circle at 80% 50%, rgba(255, 255, 255, 0.2) 0%, transparent 50%),
    conic-gradient(from 0deg at 50% 50%, 
      #f97316 0deg,
      #fb923c 72deg,
      #dc2626 144deg,
      #991b1b 216deg,
      #7f1d1d 288deg,
      #f97316 360deg);
  clip-path: polygon(50% 0%, 90% 20%, 100% 60%, 75% 100%, 25% 100%, 0% 60%, 10% 20%);
  animation: rotate 12s linear infinite;
}

@keyframes rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .patterns-container {
    gap: 1.5rem;
  }

  .pattern {
    width: 140px;
    height: 140px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    gap: 1.5rem;
  }

  .hero {
    flex-direction: column;
    justify-content: center;
    gap: 3rem;
    padding: 120px 5% 60px;
  }

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

  .patterns-container {
    flex-direction: row;
    gap: 1rem;
  }

  .pattern {
    width: 100px;
    height: 100px;
  }
}

@media (max-width: 640px) {
  .navbar {
    padding: 1rem 4%;
  }

  .nav-links {
    display: none;
  }

  .logo {
    font-size: 1.25rem;
  }

  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .pattern {
    width: 80px;
    height: 80px;
  }
}

/* Mobile Menu Toggle */
.mobile-menu-btn {
  display: none;
  background: rgba(139, 92, 246, 0.2);
  border: 1px solid rgba(139, 92, 246, 0.4);
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-btn:hover {
  background: rgba(139, 92, 246, 0.3);
}

.mobile-nav {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(10, 10, 15, 0.98);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.2);
  z-index: 999;
  animation: slideDown 0.3s ease-out;
}

.mobile-nav.active {
  display: block;
}

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

.mobile-nav a {
  display: block;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  padding: 1rem;
  border-bottom: 1px solid rgba(139, 92, 246, 0.1);
  font-weight: 500;
  transition: all 0.3s ease;
}

.mobile-nav a:hover {
  background: rgba(139, 92, 246, 0.1);
  padding-left: 1.5rem;
}

.mobile-nav .lang-selector {
  width: 100%;
  margin-top: 1rem;
}

@media (max-width: 640px) {
  .mobile-menu-btn {
    display: block;
  }
}