/* LoveCo Website — Shared Styles */

:root {
    --cream: #FFF8F0;
    --lilac: #E0BBE4;
    --lilac-dark: #C99FCC;
    --teal: #7EC8E3;
    --teal-dark: #5BA8C8;
    --coral: #FF6F61;
    --coral-dark: #E85A4F;
    --text-dark: #2D2D2D;
    --text-muted: #6B7280;
    --white: #FFFFFF;
    --border: #F0E6FA;
    --shadow: rgba(224, 187, 228, 0.2);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'Segoe UI', Roboto, sans-serif;
    color: var(--text-dark);
    background: var(--cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

/* ---- Navigation ---- */

.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(255, 248, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    padding: 0 24px;
}

.nav-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.nav-logo {
    font-size: 22px;
    font-weight: 800;
    color: var(--coral);
    text-decoration: none;
    letter-spacing: -0.5px;
}

.nav-logo span {
    color: var(--lilac-dark);
}

.nav-links {
    display: flex;
    gap: 28px;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 15px;
    font-weight: 500;
    transition: color 0.2s;
}

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

.nav-links a.active {
    color: var(--coral);
}

/* Mobile nav toggle */
.nav-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text-dark);
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s;
}

@media (max-width: 640px) {
    .nav-toggle {
        display: block;
    }
    .nav-links {
        display: none;
        position: absolute;
        top: 64px;
        left: 0;
        right: 0;
        background: var(--cream);
        flex-direction: column;
        padding: 16px 24px;
        gap: 16px;
        border-bottom: 1px solid var(--border);
    }
    .nav-links.open {
        display: flex;
    }
}

/* ---- Layout ---- */

.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 24px;
}

.page-content {
    padding-top: 100px;
    padding-bottom: 80px;
}

/* ---- Typography ---- */

h1 {
    font-size: clamp(36px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -1px;
}

h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
}

p {
    font-size: 17px;
    line-height: 1.7;
    color: var(--text-muted);
}

/* ---- Buttons ---- */

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
    border: none;
    cursor: pointer;
}

.btn-coral {
    background: var(--coral);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(255, 111, 97, 0.35);
}

.btn-coral:hover {
    background: var(--coral-dark);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(255, 111, 97, 0.4);
}

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

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

/* App Store Badge */
.app-store-badge {
    display: inline-block;
    transition: transform 0.2s;
}

.app-store-badge:hover {
    transform: scale(1.05);
}

.app-store-badge img {
    height: 54px;
}

/* ---- Cards ---- */

.card {
    background: var(--white);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 4px 24px var(--shadow);
    transition: transform 0.2s;
}

.card:hover {
    transform: translateY(-2px);
}

/* ---- Hero Section ---- */

.hero {
    padding-top: 140px;
    padding-bottom: 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--lilac) 0%, transparent 70%);
    opacity: 0.3;
    border-radius: 50%;
}

.hero::after {
    content: '';
    position: absolute;
    bottom: -50px;
    left: -80px;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--teal) 0%, transparent 70%);
    opacity: 0.2;
    border-radius: 50%;
}

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

.hero-badge {
    display: inline-block;
    background: var(--lilac);
    color: var(--white);
    font-size: 13px;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero h1 span {
    background: linear-gradient(135deg, var(--coral), var(--lilac-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(18px, 3vw, 22px);
    max-width: 560px;
    margin: 20px auto 36px;
}

.hero-cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* ---- Features Grid ---- */

.features {
    padding: 80px 0;
}

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

.feature-card {
    text-align: center;
    padding: 36px 24px;
}

.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 16px;
}

.feature-card h3 {
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 15px;
}

/* ---- Subscription Section ---- */

.pricing {
    padding: 80px 0;
    text-align: center;
}

.pricing-cards {
    display: flex;
    gap: 24px;
    justify-content: center;
    margin-top: 48px;
    flex-wrap: wrap;
}

.pricing-card {
    flex: 1;
    max-width: 320px;
    min-width: 260px;
    text-align: center;
    position: relative;
}

.pricing-card.featured {
    border: 2px solid var(--coral);
}

.pricing-card.featured::before {
    content: 'BEST VALUE';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--coral);
    color: white;
    font-size: 11px;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: 10px;
    letter-spacing: 1px;
}

.price {
    font-size: 40px;
    font-weight: 800;
    color: var(--coral);
}

.price-period {
    font-size: 16px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ---- Legal Pages ---- */

.legal-content {
    max-width: 760px;
    margin: 0 auto;
}

.legal-content h1 {
    font-size: 36px;
    margin-bottom: 8px;
}

.legal-content .last-updated {
    color: var(--text-muted);
    font-size: 14px;
    margin-bottom: 40px;
}

.legal-content h2 {
    font-size: 22px;
    margin-top: 40px;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.legal-content h3 {
    font-size: 18px;
    margin-top: 24px;
    margin-bottom: 8px;
}

.legal-content p {
    margin-bottom: 16px;
}

.legal-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
}

.legal-content li {
    margin-bottom: 8px;
    color: var(--text-muted);
    font-size: 16px;
    line-height: 1.6;
}

/* ---- Support Page ---- */

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

.support-card {
    text-align: center;
    padding: 40px 28px;
}

.support-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.support-card h3 {
    margin-bottom: 8px;
}

.faq-section {
    margin-top: 60px;
}

.faq-item {
    border-bottom: 1px solid var(--border);
    padding: 20px 0;
}

.faq-item h3 {
    margin-bottom: 8px;
    cursor: pointer;
}

/* ---- Footer ---- */

.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 48px 24px;
    margin-top: 40px;
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-links {
    display: flex;
    gap: 24px;
    list-style: none;
}

.footer-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-size: 14px;
    transition: color 0.2s;
}

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

.footer-copy {
    font-size: 14px;
    color: var(--text-muted);
}

/* ---- Utilities ---- */

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

.text-coral {
    color: var(--coral);
}

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

.mt-2 { margin-top: 16px; }
.mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; }
.mb-4 { margin-bottom: 32px; }
