/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1f2937 100%);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

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

.pill {
  position: absolute;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.pill-1 {
  width: 60px;
  height: 20px;
  top: 20%;
  left: 10%;
  animation: float 6s ease-in-out infinite;
}

.pill-2 {
  width: 80px;
  height: 25px;
  top: 60%;
  right: 15%;
  animation: float 8s ease-in-out infinite reverse;
}

.pill-3 {
  width: 50px;
  height: 18px;
  top: 80%;
  left: 20%;
  animation: float 7s ease-in-out infinite;
}

.pill-4 {
  width: 70px;
  height: 22px;
  top: 30%;
  right: 30%;
  animation: float 9s ease-in-out infinite reverse;
}

.pill-5 {
  width: 45px;
  height: 16px;
  top: 10%;
  right: 50%;
  animation: float 5s ease-in-out infinite;
}

.pill-6 {
  width: 55px;
  height: 19px;
  top: 70%;
  right: 10%;
  animation: float 6.5s ease-in-out infinite reverse;
}

.molecule {
  position: absolute;
  width: 80px;
  height: 80px;
}

.molecule-1 {
  top: 15%;
  right: 20%;
  animation: rotate 15s linear infinite;
}

.molecule-2 {
  bottom: 20%;
  left: 15%;
  animation: rotate 20s linear infinite reverse;
}

.atom {
  position: absolute;
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  backdrop-filter: blur(5px);
}

.molecule .atom:nth-child(1) {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.molecule .atom:nth-child(2) {
  top: 20%;
  left: 20%;
}

.molecule .atom:nth-child(3) {
  bottom: 20%;
  right: 20%;
}

.cross {
  position: absolute;
  color: rgba(255, 255, 255, 0.15);
  font-size: 2rem;
  font-weight: bold;
}

.cross-1 {
  top: 25%;
  left: 60%;
  animation: pulse 4s ease-in-out infinite;
}

.cross-2 {
  top: 65%;
  left: 40%;
  animation: pulse 6s ease-in-out infinite reverse;
}

.cross-3 {
  top: 45%;
  right: 25%;
  animation: pulse 5s ease-in-out infinite;
}

/* Animations */
@keyframes float {

  0%,
  100% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

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

  to {
    transform: rotate(360deg);
  }
}

@keyframes pulse {

  0%,
  100% {
    opacity: 0.1;
    transform: scale(1);
  }

  50% {
    opacity: 0.3;
    transform: scale(1.2);
  }
}

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

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Header */
.header {
  position: relative;
  z-index: 10;
  padding: 1rem 0;
}

.nav {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-size: 1.5rem;
  font-weight: 700;
}

.logo i {
  font-size: 2rem;
  color: #4ade80;
}

/* Main Content */
.main {
  position: relative;
  z-index: 5;
  padding: 2rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  min-height: 80vh;
}

.hero-content {
  animation: fadeInUp 1s ease-out;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: white;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

.highlight {
  color: #4ade80;
}

.gradient-text {
  background: linear-gradient(45deg, #4ade80, #06b6d4);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.benefits {
  display: flex;
  gap: 2rem;
  margin-bottom: 3rem;
}

.benefit {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: white;
  font-weight: 500;
}

.benefit i {
  color: #4ade80;
  font-size: 1.2rem;
}

.cta-button {
  background: linear-gradient(45deg, #4ade80, #06b6d4);
  color: white;
  border: none;
  padding: 1rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
  margin-bottom: 1rem;
}

.cta-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(74, 222, 128, 0.4);
}

.cta-button:active {
  transform: translateY(0);
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

/* Hero Visual */
.hero-visual {
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: slideInRight 1s ease-out;
}

.pharmacy-icon {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-radius: 50%;
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.pharmacy-icon i {
  font-size: 5rem;
  color: #4ade80;
}

.stats-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  width: 100%;
}

.stat-card {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 1.5rem;
  border-radius: 15px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: transform 0.3s ease;
}

.stat-card:hover {
  transform: translateY(-5px);
}

.stat-number {
  font-size: 1.5rem;
  font-weight: 700;
  color: #4ade80;
  margin-bottom: 0.5rem;
}

.stat-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

/* Modal Styles */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(5px);
}

.modal-content {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  position: relative;
  animation: fadeInUp 0.5s ease-out;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.close {
  color: rgba(255, 255, 255, 0.7);
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
  z-index: 1001;
}

.close:hover {
  color: white;
}

.modal-header {
  text-align: center;
  padding: 2rem 2rem 1rem;
  color: white;
}

.modal-header h2 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.modal-header p {
  color: rgba(255, 255, 255, 0.8);
}

.waitlist-form {
  padding: 0 2rem 2rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 1rem;
  backdrop-filter: blur(10px);
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.2);
}

.submit-btn {
  width: 100%;
  background: linear-gradient(45deg, #4ade80, #06b6d4);
  color: white;
  border: none;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

/* Success Message */
.success-message {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: linear-gradient(135deg, #4ade80, #06b6d4);
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  color: white;
  z-index: 1001;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  min-width: 300px;
}

.success-message.hidden {
  display: none;
}

.success-content i {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.success-content h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.success-content p {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-visual {
    display: none;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .benefits {
    flex-direction: column;
    gap: 2rem;
    align-items: center;
    margin: 3rem 0;
  }

  .benefit {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    width: 100%;
    max-width: 280px;
    text-align: center;
    transition: transform 0.3s ease;
  }

  .benefit:hover {
    transform: translateY(-5px);
  }

  .benefit i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
  }

  .benefit span {
    font-size: 1.1rem;
    font-weight: 600;
  }

  .stats-cards {
    grid-template-columns: 1fr;
  }

  .pharmacy-icon {
    width: 150px;
    height: 150px;
  }

  .pharmacy-icon i {
    font-size: 3.5rem;
  }

  .modal-content {
    margin: 10% auto;
    width: 95%;
  }

  .container {
    padding: 0 1rem;
  }

  .cta-button {
    margin: 0 auto;
    display: flex;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .benefits {
    margin: 2rem 0;
  }

  .benefit {
    padding: 1.25rem 1.5rem;
    max-width: 260px;
  }

  .benefit i {
    font-size: 1.8rem;
  }

  .benefit span {
    font-size: 1rem;
  }
}