/* Xiang (响) Classical Music App - Website Styles */
/* Elegant, minimal design inspired by classical music heritage */

:root {
    --color-cream: #FDF8F3;
    --color-cream-dark: #F5EDE4;
    --color-burgundy: #8B2635;
    --color-burgundy-light: #A63D4C;
    --color-gold: #C9A961;
    --color-gold-light: #D4BC7E;
    --color-charcoal: #2C2C2C;
    --color-gray: #6B6B6B;
    --color-gray-light: #9B9B9B;
    --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', Georgia, serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
}

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

body {
    font-family: var(--font-sans);
    background-color: var(--color-cream);
    color: var(--color-charcoal);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4 {
    font-family: var(--font-serif);
    font-weight: 600;
    line-height: 1.4;
}

h1 {
    font-size: 3rem;
    letter-spacing: 0.05em;
}

h2 {
    font-size: 2.25rem;
    margin-bottom: 1.5rem;
    color: var(--color-burgundy);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
    color: var(--color-gray);
}

a {
    color: var(--color-burgundy);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-burgundy-light);
}

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

/* Header & Navigation */
header {
    background: linear-gradient(to bottom, var(--color-cream-dark), var(--color-cream));
    border-bottom: 1px solid rgba(139, 38, 53, 0.1);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-burgundy), var(--color-burgundy-light));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
}

.logo-icon-img {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
}

.logo-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-charcoal);
}

.hero-logo {
    width: 120px;
    height: 120px;
    border-radius: 24px;
    margin-bottom: 1.5rem;
    box-shadow: 0 8px 32px rgba(139, 38, 53, 0.2);
}

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

.nav-links a {
    color: var(--color-gray);
    font-size: 0.95rem;
    font-weight: 500;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: var(--color-burgundy);
}

.nav-links a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
    padding: 6rem 0 8rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%238b2635' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: 4rem;
    color: var(--color-burgundy);
    margin-bottom: 0.5rem;
}

.hero .subtitle {
    font-family: var(--font-serif);
    font-size: 1.75rem;
    color: var(--color-gray);
    margin-bottom: 1.5rem;
    font-weight: 400;
}

.hero .tagline {
    font-size: 1.25rem;
    color: var(--color-gray);
    max-width: 600px;
    margin: 0 auto 3rem;
    line-height: 1.8;
}

.hero-decoration {
    width: 80px;
    height: 2px;
    background: linear-gradient(to right, transparent, var(--color-gold), transparent);
    margin: 2rem auto;
}

/* Sections */
.section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.feature-card {
    background: white;
    padding: 2.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

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

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--color-cream-dark), var(--color-cream));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
}

.feature-card h3 {
    color: var(--color-charcoal);
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--color-gray);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* Screenshots Section */
.screenshots-section {
    background: var(--color-cream-dark);
    padding: 5rem 0;
}

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

.screenshot-item {
    text-align: center;
}

.screenshot-frame {
    background: white;
    padding: 1rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
}

.screenshot-frame img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    display: block;
}

.screenshot-item h4 {
    font-family: var(--font-serif);
    color: var(--color-charcoal);
    margin-bottom: 0.5rem;
}

.screenshot-item p {
    font-size: 0.9rem;
    color: var(--color-gray-light);
}

/* About Section */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    font-size: 1.1rem;
    line-height: 2;
    color: var(--color-gray);
}

.about-text p {
    margin-bottom: 1.5rem;
}

.mission-box {
    background: linear-gradient(135deg, var(--color-burgundy), var(--color-burgundy-light));
    color: white;
    padding: 3rem;
    border-radius: 16px;
    margin: 3rem 0;
    text-align: center;
}

.mission-box h3 {
    color: var(--color-gold);
    margin-bottom: 1rem;
}

.mission-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 0;
}

/* Privacy/Content Pages */
.content-page {
    padding: 4rem 0 6rem;
    min-height: calc(100vh - 200px);
}

.content-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 3rem 4rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.content-wrapper h1 {
    color: var(--color-burgundy);
    margin-bottom: 0.5rem;
    font-size: 2.5rem;
}

.content-wrapper .last-updated {
    color: var(--color-gray-light);
    font-size: 0.9rem;
    margin-bottom: 2rem;
    display: block;
}

.content-wrapper h2 {
    font-size: 1.5rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: var(--color-charcoal);
}

.content-wrapper h3 {
    font-size: 1.2rem;
    margin-top: 1.5rem;
    color: var(--color-charcoal);
}

.content-wrapper ul,
.content-wrapper ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.content-wrapper li {
    margin-bottom: 0.5rem;
    color: var(--color-gray);
}

/* Contact Page */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.contact-card {
    background: var(--color-cream);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
}

.contact-card .icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card h3 {
    margin-bottom: 0.5rem;
}

.contact-card p {
    margin-bottom: 0;
    color: var(--color-gray);
}

.contact-card a {
    color: var(--color-burgundy);
    font-weight: 500;
}

/* Footer */
footer {
    background: var(--color-charcoal);
    color: rgba(255, 255, 255, 0.8);
    padding: 3rem 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    margin-bottom: 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--color-gold);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    text-align: center;
}

.footer-bottom .copyright {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.5rem;
}

.footer-bottom .icp {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .icp a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom .musical-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background: var(--color-burgundy);
    color: white;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn:hover {
    background: var(--color-burgundy-light);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(139, 38, 53, 0.3);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--color-burgundy);
    color: var(--color-burgundy);
}

.btn-outline:hover {
    background: var(--color-burgundy);
    color: white;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2.25rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .hero {
        padding: 4rem 0 5rem;
    }

    .hero h1 {
        font-size: 2.75rem;
    }

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

    .hero .tagline {
        font-size: 1rem;
        padding: 0 1rem;
    }

    nav {
        flex-direction: column;
        gap: 1rem;
        padding: 0 1rem;
    }

    .nav-links {
        gap: 1.5rem;
    }

    .container {
        padding: 0 1rem;
    }

    .section {
        padding: 3rem 0;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .screenshots-grid {
        grid-template-columns: 1fr;
    }

    .content-wrapper {
        padding: 2rem;
        margin: 0 1rem;
    }

    .mission-box {
        padding: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
}

/* Decorative Elements */
.gold-accent {
    color: var(--color-gold);
}

.divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(to right, var(--color-gold), var(--color-gold-light));
    margin: 2rem auto;
    border-radius: 2px;
}

/* App Store Badge Placeholder */
.app-badges {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.app-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--color-charcoal);
    color: white;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.app-badge:hover {
    background: #3d3d3d;
    color: white;
}

.app-badge .icon {
    font-size: 1.5rem;
}
