/* home.css - Enhanced styles for the homepage */

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
    z-index: 1;
    background-image: url('../assets/images/background1.png');
    background-size: cover;
    background-position: center;
}
  
  .hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    z-index: 0;
  }
  
  .hero-content {
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    margin: 0 auto;
    position: relative;
    z-index: 2;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    margin-bottom: 1.5rem;
    background: linear-gradient(to right, #ffffff, #93c5fd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1.2;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    animation: fadeInDown 1s ease-out;
  }
  
  .hero-subtitle {
    font-size: clamp(1rem, 4vw, 1.25rem);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeIn 1s ease-out 0.3s forwards;
    opacity: 0;
  }
  
  .hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    animation: fadeIn 1s ease-out 0.6s forwards;
    opacity: 0;
  }
  
  /* Floating Musical Notes */
  .floating-notes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
  }
  
  .note {
    position: absolute;
    color: rgba(255, 255, 255, 0.1);
    font-size: 2rem;
    animation: floatUp 20s linear infinite;
  }
  
  @keyframes floatUp {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) rotate(45deg); /* Reduced rotation */
        opacity: 0;
    }
}
  
  /* Features Section */
  .features {
    position: relative;
    background: rgba(17, 24, 39, 0.5);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
  }
  
  .features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
  }
  
  .feature-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
  }
  
  .feature-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
    border-color: rgba(59, 130, 246, 0.3);
  }
  
  .feature-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    color: var(--primary-light);
    font-size: 1.875rem;
    border-radius: 50%;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
  }
  
  .feature-icon::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0.3;
    transition: all 0.3s ease;
  }
  
  .feature-card:hover .feature-icon {
    transform: scale(1.1);
    color: var(--text-white);
  }
  
  .feature-card:hover .feature-icon::before {
    opacity: 0.8;
    transform: scale(1.1);
  }
  
  .feature-card h3 {
    font-size: var(--text-xl);
    color: var(--text-white);
    margin-bottom: 1rem;
  }
  
  .feature-card p {
    color: var(--text-light);
    font-size: var(--text-base);
  }
  
  /* How It Works Section */
  .how-it-works {
    position: relative;
    overflow: hidden;
  }
  
  .how-it-works::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.4), rgba(49, 46, 129, 0.4));
    z-index: -1;
  }
  
  .steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    position: relative;
  }
  
  .step {
    text-align: center;
    position: relative;
  }
  
  .step-number {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--text-white);
    font-size: var(--text-2xl);
    font-weight: 700;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3);
  }
  
  .step-number::before {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    z-index: -1;
    opacity: 0.3;
    animation: pulse 2s infinite;
  }
  
  .step h3 {
    font-size: var(--text-2xl);
    color: var(--text-white);
    margin-bottom: 1rem;
  }
  
  .step p {
    color: var(--text-light);
    font-size: var(--text-base);
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
  }
  
  @keyframes pulse {
    0% {
      transform: scale(1);
      opacity: 0.3;
    }
    50% {
      transform: scale(1.2);
      opacity: 0.1;
    }
    100% {
      transform: scale(1);
      opacity: 0.3;
    }
  }
  
  /* Testimonials Section */
  .testimonials {
    position: relative;
    background: rgba(17, 24, 39, 0.5);
  }
  
  .testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><text x="30" y="50" font-size="80" fill="rgba(255,255,255,0.03)">♪</text></svg>');
    opacity: 0.1;
    z-index: 0;
  }
  
  .testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    position: relative;
    z-index: 1;
  }
  
  .testimonial-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
  }
  
  .testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transform: translateY(-100%);
    transition: all 0.3s ease;
  }
  
  .testimonial-card:hover {
    transform: translateY(-10px);
    background: var(--bg-card-hover);
    box-shadow: 0 20px 30px rgba(0, 0, 0, 0.2);
  }
  
  .testimonial-card:hover::before {
    transform: translateY(0);
  }
  
  /* Call to Action Section */
  .cta {
    position: relative;
    text-align: center;
    overflow: hidden;
  }
  
  .cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(59, 130, 246, 0.3), rgba(79, 70, 229, 0.3));
    z-index: -1;
  }
  
  .cta h2 {
    font-size: clamp(2rem, 6vw, 3rem);
    color: var(--text-white);
    margin-bottom: 1.5rem;
  }
  
  .cta p {
    font-size: var(--text-lg);
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto 3rem;
  }
  
  /* Animations */
  @keyframes fadeIn {
    from {
      opacity: 0;
    }
    to {
      opacity: 1;
    }
  }
  
  @keyframes fadeInDown {
    from {
      opacity: 0;
      transform: translateY(-20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  @keyframes fadeInUp {
    from {
      opacity: 0;
      transform: translateY(20px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
  
  /* Responsive styles are included in main.css */