/* SoundTrack Website Styles */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    outline-color: #5B4B8A;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header and Navigation */
header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

/* Header for support and privacy pages */
.page-header-bg header {
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #5B4B8A;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    height: 28px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: #5B4B8A;
}

/* Main Content */
main {
    margin-top: 80px;
}

/* Home Page Styles */
.home-body {
    background: linear-gradient(135deg, #5B4B8A 0%, #6B5B95 100%);
    min-height: 100vh;
}

.hero {
    text-align: center;
    padding: 4rem 0;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    display: inline-block;
    background: #ff6b6b;
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.app-store-badge {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.app-store-badge:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

/* Features Section */
.features {
    background: white;
    padding: 4rem 0;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.feature-card p {
    color: #666;
}

/* Offline Section */
.offline-section {
    background: linear-gradient(135deg, #5B4B8A 0%, #6B5B95 100%);
    padding: 4rem 0;
    color: white;
}

.offline-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.offline-intro {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
}

.offline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

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

.offline-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.25);
}

.offline-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.offline-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.offline-card p {
    color: rgba(255, 255, 255, 0.9);
}

/* Privacy Section (Home Page) */
.privacy-section {
    background: #f8f9fa;
    padding: 4rem 0;
}

.privacy-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.privacy-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.privacy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.privacy-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid #e8f4fd;
}

.privacy-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(91, 75, 138, 0.15);
    border-color: #5B4B8A;
}

.privacy-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.privacy-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.privacy-card p {
    color: #666;
}

/* Download Section */
.download-section {
    background: linear-gradient(135deg, #5B4B8A 0%, #6B5B95 100%);
    padding: 4rem 0;
    text-align: center;
    color: white;
}

.download-section h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-section p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Platform availability note */
.platform-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: center;
    font-style: italic;
}

/* Support and Privacy Page Styles */
.support-body,
.privacy-body {
    background: #f8f9fa;
}

.support-body .container,
.privacy-body .container {
    max-width: 1200px;
}

.privacy-body .container {
    max-width: 900px;
}

.page-header {
    background: linear-gradient(135deg, #5B4B8A 0%, #6B5B95 100%);
    color: white;
    padding: 4rem 0 3rem 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-header p {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Support Page Specific Styles */
.support-content {
    padding: 3rem 0;
}

.support-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.faq-section h2 {
    color: #333;
    margin-bottom: 2rem;
    font-size: 2rem;
}

.faq-item {
    background: white;
    border-radius: 10px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    background: #5B4B8A;
    color: white;
    padding: 1rem 1.5rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s ease;
    border: none;
    width: 100%;
    text-align: left;
    font-family: inherit;
    font-size: inherit;
}

.faq-question:hover {
    background: #45396a;
}

.faq-question:focus-visible {
    background: #45396a;
    outline: 2px solid white;
    outline-offset: -6px;
}

.faq-answer {
    padding: 1.5rem;
    background: white;
    display: none;
}

.faq-answer.active {
    display: block;
}

.faq-answer ul,
.faq-answer ol {
    margin-left: 2rem;
    padding-left: 1rem;
}

.contact-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.contact-card h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info {
    margin-bottom: 1.5rem;
}

.contact-info p {
    margin-bottom: 0.5rem;
    color: #666;
}

.contact-info a {
    color: #5B4B8A;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

.response-time {
    background: #e8f4fd;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #5B4B8A;
    margin-top: 1rem;
}

/* Support Form Styles */
.support-form {
    margin-top: 2rem;
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: #2c3e50;
    font-size: 0.95rem;
    letter-spacing: 0.025em;
}

.form-group label .required {
    color: #e74c3c;
    margin-left: 2px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 1.25rem;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 1rem;
    font-family: inherit;
    background: white;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #5B4B8A;
    box-shadow: 0 0 0 4px rgba(91, 75, 138, 0.08), 0 4px 12px rgba(0, 0, 0, 0.08);
    outline: none;
    transform: translateY(-1px);
}

.form-group input:hover:not(:focus),
.form-group select:hover:not(:focus),
.form-group textarea:hover:not(:focus) {
    border-color: #d1d9e6;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 1rem center;
    background-repeat: no-repeat;
    background-size: 1rem;
    padding-right: 3rem;
    appearance: none;
}

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #9ca3af;
    opacity: 1;
}

.submit-btn {
    background: linear-gradient(135deg, #5B4B8A 0%, #6B5B95 100%);
    color: white;
    padding: 1.25rem 2.5rem;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    box-shadow: 0 4px 12px rgba(91, 75, 138, 0.3);
    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;
}

.submit-btn:hover {
    background: linear-gradient(135deg, #4a3d73 0%, #5a4a85 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(91, 75, 138, 0.4);
}

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

.submit-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(91, 75, 138, 0.3);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.troubleshooting {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
}

.troubleshooting h2 {
    color: #333;
    margin-bottom: 1.5rem;
}

.troubleshooting-steps {
    list-style: none;
    counter-reset: step-counter;
}

.troubleshooting-steps li {
    counter-increment: step-counter;
    margin-bottom: 1rem;
    padding-left: 3rem;
    position: relative;
}

.troubleshooting-steps li::before {
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: #5B4B8A;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

/* Privacy Page Specific Styles */
.privacy-content {
    background: white;
    margin: 2rem 0;
    padding: 3rem;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.last-updated {
    background: #e8f4fd;
    padding: 1rem;
    border-radius: 8px;
    border-left: 4px solid #5B4B8A;
    margin-bottom: 2rem;
    font-size: 0.9rem;
}

.privacy-content h2 {
    color: #333;
    margin: 2rem 0 1rem 0;
    font-size: 1.8rem;
    border-bottom: 2px solid #5B4B8A;
    padding-bottom: 0.5rem;
}

.privacy-content h3 {
    color: #444;
    margin: 1.5rem 0 0.5rem 0;
    font-size: 1.3rem;
}

.privacy-content p {
    margin-bottom: 1rem;
    color: #555;
}

.privacy-content ul,
.privacy-content ol {
    margin: 1rem 0 1rem 2rem;
    color: #555;
}

.privacy-content li {
    margin-bottom: 0.5rem;
}

.highlight-box {
    background: #f0f8ff;
    border: 1px solid #5B4B8A;
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlight-box h4 {
    color: #5B4B8A;
    margin-bottom: 0.5rem;
}

.highlight-box a {
    color: #5B4B8A;
    text-decoration: none;
}

/* Footer */
footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

.support-body footer,
.privacy-body footer {
    margin-top: 3rem;
}

footer p {
    margin-bottom: 0.5rem;
}

footer a {
    color: #5B4B8A;
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Buy me a coffee button styling */
.footer-support {
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid #555;
    text-align: center;
}

.footer-support p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
}

.support-appreciation {
    margin-top: 2rem;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.support-appreciation h4 {
    color: #333;
    margin-bottom: 0.75rem;
    font-size: 1.2rem;
}

.support-appreciation p {
    color: #666;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

/* Media Queries */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .support-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-card {
        position: static;
    }
    
    .page-header h1 {
        font-size: 2rem;
    }
    
    .privacy-content {
        padding: 2rem;
        margin: 1rem 0;
    }
    
    .support-form {
        margin-top: 1rem;
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.875rem 1rem;
    }
    
    .submit-btn {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
} 
