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

:root {
  --primary-purple: #2D1B69;
  --dark-purple: #1A0F3A;
  --accent-purple: #4C3A9B;
  --light-purple: #6B5B95;
  --text-light: #E8E3F3;
  --text-muted: #B8B3C7;
  --black: #0A0A0A;
  --gradient: linear-gradient(135deg, var(--dark-purple) 0%, var(--primary-purple) 50%, var(--accent-purple) 100%);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--gradient);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* Background Animation */
.background-animation {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  overflow: hidden;
}

.floating-shapes {
  position: absolute;
  width: 100%;
  height: 100%;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(1px);
  animation: float 20s infinite ease-in-out;
}

.shape-1 {
  width: 300px;
  height: 300px;
  top: 10%;
  left: -10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 200px;
  height: 200px;
  top: 60%;
  right: -5%;
  animation-delay: -5s;
}

.shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 70%;
  animation-delay: -10s;
}

.shape-4 {
  width: 100px;
  height: 100px;
  top: 80%;
  left: 20%;
  animation-delay: -15s;
}

.shape-5 {
  width: 250px;
  height: 250px;
  top: 5%;
  right: 20%;
  animation-delay: -7s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg);
    opacity: 0.3;
  }
  25% {
    transform: translateY(-30px) rotate(90deg);
    opacity: 0.1;
  }
  50% {
    transform: translateY(-60px) rotate(180deg);
    opacity: 0.2;
  }
  75% {
    transform: translateY(-30px) rotate(270deg);
    opacity: 0.1;
  }
}

/* Main Container */
.container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  position: relative;
}

.content {
  max-width: 600px;
  width: 100%;
  text-align: center;
  animation: fadeInUp 1s ease-out;
}

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

/* Logo Section */
.logo-section {
  margin-bottom: 3rem;
  animation: logoGlow 2s ease-in-out infinite alternate;
}

.logo-container {
  display: inline-block;
  padding: 1rem;
  border-radius: 20px;
  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;
}

.logo-container:hover {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.08);
}

.logo {
  height: 80px;
  width: auto;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
}

@keyframes logoGlow {
  from {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.3));
  }
  to {
    filter: drop-shadow(0 0 30px rgba(255, 255, 255, 0.5));
  }
}

/* Hero Section */
.hero-section {
  margin-bottom: 2.5rem;
}

.hero-title {
  font-size: clamp(2.5rem, 8vw, 4.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title .line {
  display: block;
  animation: slideInLeft 0.8s ease-out forwards;
  opacity: 0;
}

.hero-title .line:nth-child(1) {
  animation-delay: 0.2s;
}

.hero-title .line:nth-child(2) {
  animation-delay: 0.4s;
}

.hero-title .line:nth-child(3) {
  animation-delay: 0.6s;
}

.highlight {
  background: linear-gradient(135deg, #E8E3F3, #B8B3C7, #E8E3F3);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: shimmer 3s ease-in-out infinite;
}

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

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

/* Description Section */
.description-section {
  margin-bottom: 3rem;
}

.description {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--text-muted);
  animation: fadeIn 1s ease-out 0.8s both;
}

.description strong {
  color: var(--text-light);
  font-weight: 600;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Email Signup Section */
.signup-section {
  margin-bottom: 3rem;
  animation: fadeInUp 1s ease-out 1s both;
}

.email-form {
  max-width: 400px;
  margin: 0 auto;
}

.form-group {
  position: relative;
  margin-bottom: 1rem;
}

.email-input {
  width: 100%;
  padding: 1rem 1.5rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-light);
  outline: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.email-input::placeholder {
  color: var(--text-muted);
}

.email-input:focus {
  border-color: var(--accent-purple);
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.02);
}

.submit-btn {
  width: 100%;
  padding: 1rem 2rem;
  margin-top: 1rem;
  font-size: 1rem;
  font-weight: 600;
  background: linear-gradient(135deg, var(--accent-purple), var(--light-purple));
  border: none;
  border-radius: 50px;
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  position: relative;
  overflow: hidden;
}

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

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

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(76, 58, 155, 0.4);
}

.arrow-icon {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.submit-btn:hover .arrow-icon {
  transform: translateX(5px);
}

.form-subtitle {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* Social Section */
.social-section {
  margin-bottom: 2rem;
  animation: fadeInUp 1s ease-out 1.2s both;
}

.social-text {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50px;
  color: var(--text-light);
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(255, 255, 255, 0.1);
}

.social-link svg {
  width: 20px;
  height: 20px;
}

.instagram:hover {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  border-color: transparent;
}

/* Footer */
.footer-section {
  animation: fadeIn 1s ease-out 1.4s both;
}

.copyright {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.7;
}

/* Modal */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
}

.modal-overlay.show {
  opacity: 1;
  visibility: visible;
}

.modal {
  background: var(--gradient);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  max-width: 400px;
  width: 90%;
  text-align: center;
  transform: scale(0.8);
  transition: transform 0.3s ease;
  backdrop-filter: blur(20px);
}

.modal-overlay.show .modal {
  transform: scale(1);
}

.success-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 1rem;
  background: linear-gradient(135deg, #4ade80, #22c55e);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: successPulse 0.6s ease-out;
}

.success-icon svg {
  width: 30px;
  height: 30px;
  color: white;
  stroke-width: 3;
}

@keyframes successPulse {
  0% {
    transform: scale(0);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.modal h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.modal p {
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.modal-close {
  padding: 0.8rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50px;
  color: var(--text-light);
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  .content {
    max-width: 100%;
  }
  
  .logo {
    height: 60px;
  }
  
  .hero-title {
    font-size: clamp(2rem, 10vw, 3rem);
  }
  
  .description {
    font-size: 1.1rem;
  }
  
  .email-input,
  .submit-btn {
    font-size: 0.9rem;
  }
  
  .social-link {
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
  
  .shape-1,
  .shape-2,
  .shape-3,
  .shape-4,
  .shape-5 {
    opacity: 0.5;
  }
}

@media (max-width: 480px) {
  .hero-title .line {
    font-size: 2rem;
  }
  
  .description {
    font-size: 1rem;
  }
  
  .social-links {
    flex-direction: column;
    align-items: center;
  }
  
  .modal {
    padding: 1.5rem;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  .floating-shapes {
    display: none;
  }
}

/* Focus styles for accessibility */
.email-input:focus,
.submit-btn:focus,
.social-link:focus,
.modal-close:focus {
  outline: 2px solid var(--accent-purple);
  outline-offset: 2px;
}