/* mobile-optimization-fixes.css */
/* Fixed mobile styles for AI Music Volt */

/* Fix Header covering hero section */
@media (max-width: 768px) {
  .main-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(15, 15, 15, 0.95) !important;
    backdrop-filter: blur(20px) !important;
  }
  
  .hero {
    padding-top: 80px; /* Space for fixed header */
  }
  
  .hero-content {
    padding-top: 1rem;
  }
}

/* Fix Mobile Menu Visibility */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
  }
  
  .mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #F9C30E; /* Yellow color for visibility */
    border-radius: 2px;
    transition: all 0.3s ease;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
    background-color: #fff;
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -7px);
    background-color: #fff;
  }
}

/* Fix CTA Buttons */
@media (max-width: 768px) {
  .cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    align-items: center;
  }
  
  .btn {
    width: 100%;
    max-width: 375px;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    text-align: center;
    justify-content: center;
    border-radius: 8px;
  }
  
  .btn-primary, .btn-secondary {
    min-height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* Fix Who Are AI Music Volt Guides For - 2 per row */
@media (max-width: 768px) and (min-width: 481px) {
  .audience-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem;
  }
  
  .audience-card {
    min-height: 200px;
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .audience-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Fix What Is AI Music Volt Section */
@media (max-width: 768px) {
  .brand-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .brand-stats {
    display: flex;
    justify-content: space-between;
    margin: 2rem 0;
    gap: 1rem;
    flex-direction: row;
  }
  
  .stat {
    text-align: center;
    flex: 1;
  }
  
  .stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #F9C30E;
    margin-bottom: 0.5rem;
  }
  
  .stat-label {
    font-size: 0.8rem;
    color: var(--mid-grey);
  }
  
  .brand-text .btn {
    width: 100%;
    max-width: 280px;
    margin: 0 auto;
    display: block;
  }
  
  .visual-showcase {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-top: 2rem;
  }
  
  .floating-card {
    padding: 1.5rem;
    text-align: center;
    width: auto;
    max-width: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    transform: none;
  }
}

/* Fix Tools Section - Collapsible Cards */
@media (max-width: 768px) {
  .tool-card {
    position: relative;
    padding-bottom: 5rem;
  }
  
  .tool-highlights,
  .tool-ideal,
  .tool-price,
  .tool-download {
    display: none;
  }
  
  .tool-card.active .tool-highlights,
  .tool-card.active .tool-ideal,
  .tool-card.active .tool-price,
  .tool-card.active .tool-download {
    display: block;
  }
  
  .tool-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-content: center;
  }
  
  .tool-toggle {
    display: block;
    width: 100%;
    text-align: center;
    background: transparent;
    border: 1px solid #F9C30E;
    color: #F9C30E;
    padding: 0.75rem;
    border-radius: 6px;
    margin: 1rem 0;
    cursor: pointer;
  }
  
  .tool-card.active .tool-toggle {
    background: rgba(249, 195, 14, 0.1);
  }
}

/* Fix What You Get Section - 2 per row */
@media (max-width: 768px) and (min-width: 481px) {
  .features-showcase {
    grid-template-columns: 1fr 1fr !important;
    gap: 1.5rem;
  }
  
  .feature-column {
    gap: 1.5rem;
  }
}

@media (max-width: 480px) {
  .features-showcase {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* Fix Comparison Section - Mobile Friendly */
@media (max-width: 768px) {
  .comparison-table {
    display: none;
  }
  
  .mobile-comparison {
    display: block;
  }
  
  .mobile-comparison-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }
  
  .mobile-tool-card {
    background: var(--graphite);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid var(--dark-grey);
  }
  
  .mobile-tool-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
  }
  
  .mobile-tool-name {
    font-weight: 700;
    font-size: 1.1rem;
    color: #F9C30E;
  }
  
  .mobile-tool-best {
    font-size: 0.9rem;
    color: var(--mid-grey);
  }
  
  .mobile-tool-difficulty {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }
  
  .mobile-tool-difficulty.easy {
    background: rgba(76, 175, 80, 0.2);
    color: #4CAF50;
  }
  
  .mobile-tool-difficulty.medium {
    background: rgba(255, 152, 0, 0.2);
    color: #FF9800;
  }
  
  .mobile-tool-features {
    margin: 1rem 0;
  }
  
  .mobile-tool-feature {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--dark-grey);
  }
  
  .mobile-tool-feature:last-child {
    border-bottom: none;
  }
  
  .feature-label {
    font-weight: 600;
    color: var(--mid-grey);
  }
  
  .feature-value {
    text-align: right;
    flex: 1;
    margin-left: 1rem;
  }
  
  .mobile-tool-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1.5rem;
  }
  
  .mobile-tool-actions .btn {
    flex: 1;
    min-height: 44px;
  }
}

/* Fix FAQ Section */
@media (max-width: 768px) {
  .faq-item {
    text-align: left;
  }
  
  .faq-question {
    text-align: left;
    padding-right: 2rem;
  }
  
  .faq-answer {
    text-align: left;
  }
  
  .faq-question::after {
    content: '+';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    color: #F9C30E;
    transition: transform 0.3s ease;
  }
  
  .faq-item.active .faq-question::after {
    content: '-';
  }
}

/* Fix Footer */
@media (max-width: 768px) {
  .main-footer {
    padding: 3rem 0 2rem;
  }
  
  .footer-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }
  
  .footer-brand {
    text-align: center;
  }
  
  .footer-tagline {
    margin: 1rem 0;
    max-width: 100%;
  }
  
  .payment-security {
    margin-top: 1.5rem;
  }
  
  .payment-badges {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
  }
  
  .stripe-badge {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }
  
  .security-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
  }
  
  .footer-links {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  
  .footer-section h4 {
    margin-bottom: 1rem;
    color: #F9C30E;
  }
  
  .footer-section a {
    display: block;
    padding: 0.5rem 0;
    color: var(--mid-grey);
    text-decoration: none;
  }
  
  .footer-section a:hover {
    color: #F9C30E;
  }
  
  .footer-highlight {
    color: #F9C30E !important;
    font-weight: 600;
  }
  
  .footer-trust .trust-indicators {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 2rem 0;
  }
  
  .trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
  }
  
  .footer-bottom-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--dark-grey);
  }
}

/* Additional Mobile Improvements */
@media (max-width: 768px) {
  /* Improve spacing */
  .section {
    padding: 3rem 0;
  }
  
  .section-title {
    text-align: center;
    margin-bottom: 2rem;
  }
  
  .section-title h2 {
    font-size: 1.75rem;
    margin-bottom: 3rem;
  }
  
  .section-title p {
    font-size: 1rem;
    line-height: 1.6;
  }
  
  /* Improve card layouts */
  .audience-card,
  .feature-card,
  .tool-card {
    padding: 1.5rem;
    border-radius: 12px;
  }
  
  /* Ensure proper text hierarchy */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.75rem; }
  h3 { font-size: 1.5rem; }
  h4 { font-size: 1.25rem; }
  
  /* Improve button visibility */
  .btn-primary {
    background: #F9C30E;
    color: #0F0F0F;
    font-weight: 600;
    margin: 0 auto;
  }
  
  .btn-secondary {
    border: 2px solid #F9C30E;
    color: #F9C30E;
    background: transparent;
    margin: 0 auto;
  }
}
/* Fix comparison section display */
@media (min-width: 769px) {
  /* Hide mobile comparison on desktop */
  .mobile-comparison {
    display: none !important;
  }
  
  /* Show desktop comparison on desktop */
  .comparison-table {
    display: block !important;
  }
}

@media (max-width: 768px) {
  /* Hide desktop comparison on mobile */
  .comparison-table {
    display: none !important;
  }
  
  /* Show mobile comparison on mobile */
  .mobile-comparison {
    display: block !important;
  }
}

/* Ensure mobile menu works properly */
@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: flex !important;
    position: relative;
    z-index: 1001;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: var(--graphite);
    padding: 80px 2rem 2rem;
    transition: right 0.3s ease-in-out;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
  }
  
  .main-nav.active {
    right: 0;
  }
  
  body.menu-open {
    overflow: hidden;
  }
  
  body.menu-open::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
  }
  
  /* Ensure header stays above menu overlay */
  .main-header {
    z-index: 1002;
  }
}