/* 
  Sound Map - Marketing Website Styles
  Design: Modern, Apple-inspired, clean, responsive.
*/

:root {
    --primary-color: #0071e3;
    --primary-gradient: linear-gradient(135deg, #0071e3 0%, #00c6ff 100%);
    --bg-color: #ffffff;
    --secondary-bg: #f5f5f7;
    --text-color: #1d1d1f;
    --text-muted: #86868b;
    --border-radius: 18px;
    --card-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --container-width: 1100px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

ul {
    list-style: none;
}

/* Layout */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

/* Navigation */
nav {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.nav-logo {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-color);
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-size: 0.9rem;
    font-weight: 500;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 120px 0 80px;
    background: radial-gradient(circle at top, #f0f7ff 0%, #ffffff 70%);
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
    background: linear-gradient(to right, #1d1d1f, #434343);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
}

.btn-primary {
    background: var(--text-color);
    color: #fff;
}

.btn-primary:hover {
    background: #000;
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-bg);
    color: var(--text-color);
}

.btn-secondary:hover {
    background: #e8e8ed;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.feature-card {
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
    transition: var(--transition);
}

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

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
}

.feature-card p {
    color: var(--text-muted);
}

/* Pricing Table */
.pricing-section {
    background: var(--secondary-bg);
    border-radius: 40px;
    margin: 40px 20px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
}

.pricing-table-container {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--card-shadow);
}

th,
td {
    padding: 20px 30px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

th {
    background: #fafafa;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--text-muted);
}

.price-col {
    width: 30%;
}

.check-icon {
    color: #34c759;
    font-weight: bold;
}

/* FAQ Accordion */
.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-question {
    padding: 20px 0;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-answer {
    padding-bottom: 20px;
    color: var(--text-muted);
    display: none;
    /* Logic handled by summary/details if we use that, or just stay simple */
}

/* Using details/summary for CSS-only accordion */
details.faq-item {
    border-bottom: 1px solid #f0f0f0;
}

details.faq-item summary {
    padding: 24px 0;
    font-weight: 600;
    font-size: 1.1rem;
    cursor: pointer;
    list-style: none;
    position: relative;
    outline: none;
}

details.faq-item summary::-webkit-details-marker {
    display: none;
}

details.faq-item summary::after {
    content: '+';
    float: right;
    font-size: 1.5rem;
    color: var(--primary-color);
}

details[open].faq-item summary::after {
    content: '−';
}

details.faq-item p {
    padding-bottom: 24px;
    color: var(--text-muted);
}

/* Privacy/Terms Content Styles */
.legal-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 100px 20px;
}

.legal-content h1 {
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 1.5rem;
    margin: 40px 0 20px;
}

.legal-content p,
.legal-content li {
    color: #424245;
    margin-bottom: 15px;
}

.legal-content ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 20px;
}

/* Premium Subscription Disclosure */
.subscription-disclosure {
    background: #fff;
    border: 1px solid #e0e0e0;
    padding: 30px;
    border-radius: var(--border-radius);
    margin-top: 40px;
    font-size: 0.9rem;
}

.subscription-disclosure h4 {
    margin-bottom: 15px;
}

.subscription-disclosure ul {
    list-style: none;
    margin: 0;
}

.subscription-disclosure li {
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
}

.subscription-disclosure li::before {
    content: "•";
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

/* Footer */
footer {
    padding: 60px 0;
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    text-align: center;
}

.footer-links {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--text-color);
}

.copyright {
    color: #b0b0b5;
    font-size: 0.8rem;
}

/* Form Styles */
.form-container {
    max-width: 500px;
    margin: 100px auto;
    background: #fff;
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--card-shadow);
    border: 1px solid #f0f0f0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    font-family: inherit;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 113, 227, 0.1);
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.checkbox-group input {
    width: auto;
    margin-top: 4px;
}

.checkbox-group label {
    font-weight: 400;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    section {
        padding: 60px 0;
    }

    .nav-links {
        gap: 15px;
    }

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

    .price-col {
        width: auto;
    }
}