/* ============================================
   Soulspace Wellness Landing Page - Styles
   ============================================ */

/* Root Variables & Color System */
:root {
    /* Soulspace brand colors from logo */
    --primary: #C5A572;           /* Gold from logo */
    --primary-dark: #A68A5E;      /* Darker gold */
    --secondary: #B8E4D8;          /* Mint green from crown */
    --accent: #9DD4C3;             /* Darker mint accent */
    --text-dark: #3D3327;          /* Warm dark brown */
    --text-light: #6B5D4F;         /* Medium brown */
    --bg-cream: #FFF9F4;           /* Light cream */
    --bg-light: #F8F4EE;           /* Slightly darker cream */
    --success: #9DD4C3;            /* Mint green for checkmarks */
    --warm-white: #FFFEFB;         /* Almost white with warmth */

    /* Typography */
    --font-display: 'Crimson Pro', serif;
    --font-body: 'DM Sans', sans-serif;

    /* Spacing */
    --section-padding: clamp(60px, 10vw, 120px);
    --container-width: 1200px;
}

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

body {
    font-family: var(--font-body);
    color: var(--text-dark);
    background: var(--warm-white);
    line-height: 1.7;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   Animations
   ============================================ */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
    opacity: 0;
}

/* ============================================
   Header
   ============================================ */

header {
    background: var(--warm-white);
    padding: 24px 0;
    border-bottom: 1px solid rgba(107, 127, 158, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(255, 254, 249, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    height: 60px;
    transition: opacity 0.3s ease;
}

.logo-link {
    display: inline-block;
    line-height: 0;
}

.logo:hover {
    opacity: 0.8;
}

/* ============================================
   Buttons
   ============================================ */

.cta-button {
    background: var(--primary);
    color: white;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    box-shadow: 0 4px 14px rgba(107, 127, 158, 0.25);
}

.cta-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 127, 158, 0.35);
}

.cta-button.secondary {
    background: white;
    color: var(--primary);
    border: 2px solid var(--primary);
    box-shadow: none;
}

.cta-button.secondary:hover {
    background: var(--bg-light);
    transform: translateY(-2px);
}

/* ============================================
   Hero Section
   ============================================ */

.hero {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--warm-white) 100%);
    padding: var(--section-padding) 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(184, 228, 216, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
}

.hero-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-family: var(--font-display);
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-text .highlight {
    color: var(--primary);
    position: relative;
    display: inline-block;
}

.hero-text p {
    font-size: 20px;
    color: var(--text-light);
    margin-bottom: 32px;
    line-height: 1.6;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.hero-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--primary);
    margin-bottom: 12px;
    font-weight: 600;
}

.hero-image {
    position: relative;
}

.hero-app-image {
    width: 100%;
    max-width: 252px;
    height: auto;
    margin: 0 auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    animation: float 6s ease-in-out infinite;
    display: block;
}

/* Trust Badge */
.trust-badge {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(107, 127, 158, 0.15);
}

.trust-badge-text {
    font-size: 14px;
    color: var(--text-light);
}

.trust-badge-text strong {
    color: var(--text-dark);
    display: block;
    font-size: 16px;
}

.trust-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 16px;
}

.trust-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: white;
    border: 1px solid var(--primary);
    border-radius: 50px;
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   Section Headings
   ============================================ */

.section-label {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--accent);
    margin-bottom: 12px;
    font-weight: 600;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 60px;
}

.section-header h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 48px);
    color: var(--text-dark);
    margin-bottom: 20px;
    line-height: 1.3;
}

.section-header p {
    font-size: 18px;
    color: var(--text-light);
    line-height: 1.7;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================
   Problem Section
   ============================================ */

.problem-section {
    padding: var(--section-padding) 0;
    background: white;
}

.problem-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.problem-card {
    background: var(--bg-cream);
    padding: 40px;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.problem-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(107, 127, 158, 0.15);
}

.problem-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.problem-card h3 {
    font-family: var(--font-display);
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.problem-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* ============================================
   Solution Section
   ============================================ */

.solution-section {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.solution-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    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='%23B8E4D8' fill-opacity='0.08'%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.3;
}

.solution-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.solution-text h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    margin-bottom: 24px;
    line-height: 1.3;
}

.solution-text p {
    font-size: 20px;
    margin-bottom: 32px;
    opacity: 0.9;
    line-height: 1.7;
}

.solution-features {
    display: grid;
    gap: 20px;
}

.solution-feature {
    display: flex;
    gap: 16px;
    align-items: start;
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.feature-icon {
    font-size: 24px;
    min-width: 24px;
}

.solution-feature h4 {
    font-size: 18px;
    margin-bottom: 6px;
    font-weight: 600;
}

.solution-feature p {
    font-size: 15px;
    margin: 0;
    opacity: 0.85;
}

/* ============================================
   Content For Every Age Section
   ============================================ */

.content-section {
    padding: var(--section-padding) 0;
    background: white;
}

.content-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.content-card {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.content-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary);
    box-shadow: 0 16px 40px rgba(107, 127, 158, 0.2);
}

.content-card-icon {
    font-size: 64px;
    margin-bottom: 24px;
    display: inline-block;
    animation: pulse 2s ease-in-out infinite;
}

.content-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 16px;
    color: var(--primary);
}

.content-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 24px;
}

.content-card li {
    padding: 8px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 28px;
}

.content-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 18px;
}

/* ============================================
   Audio Sample Section
   ============================================ */

.audio-sample-section {
    padding: var(--section-padding) 0;
    background: white;
}

.audio-player-wrapper {
    max-width: 600px;
    margin: 0 auto;
}

.audio-player-card {
    background: linear-gradient(135deg, var(--bg-cream) 0%, var(--bg-light) 100%);
    border-radius: 32px;
    padding: 48px;
    text-align: center;
    border: 3px solid var(--primary);
    box-shadow: 0 12px 40px rgba(107, 127, 158, 0.15);
    transition: all 0.3s ease;
}

.audio-player-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 48px rgba(107, 127, 158, 0.25);
}

.audio-icon {
    font-size: 64px;
    margin-bottom: 20px;
    animation: pulse 3s ease-in-out infinite;
}

.audio-player-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    color: var(--text-dark);
    margin-bottom: 12px;
    font-weight: 600;
}

.audio-player-card > p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 32px;
}

.audio-player {
    width: 100%;
    height: 54px;
    border-radius: 50px;
    margin-bottom: 20px;
    filter: sepia(0.2) hue-rotate(-10deg) saturate(1.2);
}

.audio-player::-webkit-media-controls-panel {
    background-color: white;
    border-radius: 50px;
}

.audio-note {
    padding: 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    border: 1px solid rgba(197, 165, 114, 0.2);
}

.audio-note p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
    font-style: italic;
}

/* ============================================
   Testimonials Section
   ============================================ */

.testimonials-section {
    padding: var(--section-padding) 0;
    background: var(--bg-cream);
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.testimonial-card {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    position: relative;
}

.testimonial-quote {
    font-size: 48px;
    color: var(--accent);
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: Georgia, serif;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 24px;
    padding-top: 20px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 16px;
}

.author-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-info h5 {
    font-size: 16px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-light);
}

/* ============================================
   Pricing Section
   ============================================ */

.pricing-section {
    padding: var(--section-padding) 0;
    background: white;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    max-width: 900px;
    margin: 48px auto 0;
}

.pricing-card {
    background: var(--bg-cream);
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    border: 3px solid transparent;
    transition: all 0.3s ease;
    position: relative;
}

.pricing-card.featured {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    border-color: var(--primary);
    transform: scale(1.05);
}

.pricing-card.featured .pricing-badge {
    display: block;
}

.pricing-badge {
    display: none;
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--accent);
    color: var(--text-dark);
    padding: 6px 20px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(107, 127, 158, 0.25);
}

.pricing-card.featured:hover {
    transform: translateY(-8px) scale(1.07);
}

.pricing-card h3 {
    font-family: var(--font-display);
    font-size: 28px;
    margin-bottom: 16px;
}

.pricing-card.featured h3,
.pricing-card.featured .pricing-features li {
    color: white;
}

.pricing-price {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 8px;
    font-family: var(--font-display);
}

.pricing-period {
    font-size: 16px;
    opacity: 0.7;
    margin-bottom: 24px;
}

.pricing-features {
    list-style: none;
    margin-bottom: 32px;
    text-align: left;
}

.pricing-features li {
    padding: 12px 0;
    color: var(--text-light);
    position: relative;
    padding-left: 32px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
    font-size: 20px;
}

.pricing-card.featured .pricing-features li::before {
    color: rgba(255, 255, 255, 0.9);
}

.pricing-card .cta-button {
    width: fit-content;
}

.pricing-card.featured .cta-button {
    background: white;
    color: var(--primary);
}

.pricing-card.featured .cta-button:hover {
    background: var(--bg-light);
}

.pricing-note {
    font-size: 14px;
    color: var(--text-light);
    margin: 20px 0;
    line-height: 1.6;
}

/* ============================================
   FAQ Section
   ============================================ */

.faq-section {
    padding: var(--section-padding) 0;
    background: var(--bg-cream);
}

.faq-grid {
    max-width: 800px;
    margin: 48px auto 0;
}

.faq-item {
    background: white;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.faq-question {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    font-size: 24px;
    color: var(--primary);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: var(--text-light);
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    margin-top: 16px;
}

/* ============================================
   Final CTA Section
   ============================================ */

.final-cta {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.final-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 15s ease-in-out infinite;
}

.final-cta-content {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.final-cta h2 {
    font-family: var(--font-display);
    font-size: clamp(36px, 4vw, 52px);
    margin-bottom: 24px;
    line-height: 1.3;
}

.final-cta p {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
}

.final-cta .cta-button {
    background: white;
    color: var(--primary);
    font-size: 18px;
    padding: 18px 48px;
}

.final-cta .cta-button:hover {
    background: var(--bg-light);
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 40px;
    flex-wrap: wrap;
}

.app-badge {
    height: 48px;
    width: auto;
    display: block;
}

/* ============================================
   Footer
   ============================================ */

footer {
    background: var(--text-dark);
    color: white;
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 32px;
}

.footer-section h4 {
    font-family: var(--font-display);
    font-size: 18px;
    margin-bottom: 16px;
}

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

.footer-section li {
    margin-bottom: 8px;
}

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding: 100px 24px 0;
    border-top: 0px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

/* ============================================
   Responsive Design
   ============================================ */

@media (max-width: 968px) {
    .hero-content,
    .solution-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero-image {
        order: -1;
    }

    .hero-ctas {
        justify-content: center;
    }

    .hero-text {
        text-align: center;
    }

    .trust-badge {
        justify-content: center;
    }

    .hero-app-image {
        max-width: 180px;
    }
}

@media (max-width: 640px) {
    /* Header mobile styles */
    header {
        padding: 8px 0;
    }

    .logo {
        height: 32px;
    }

    .cta-button {
        width: 100%;
        text-align: center;
    }

    .header-content .cta-button {
        padding: 8px 16px;
        font-size: 13px;
        width: auto;
    }

    .hero-ctas {
        flex-direction: column;
    }

    .content-cards,
    .testimonials-grid,
    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .pricing-card.featured {
        transform: scale(1);
    }
}
