/* ========================================
   Little Joys Marketing Website
   Warm, friendly, and inviting
   ======================================== */

:root {
    /* Colors - warm and golden */
    --color-gold: #D4A574;
    --color-gold-light: #E8C9A0;
    --color-gold-dark: #B8956A;
    --color-cream: #FFF8F0;
    --color-cream-dark: #F5E6D3;
    --color-text-primary: #3D3229;
    --color-text-secondary: #6B5D4D;
    --color-text-tertiary: #9A8B7A;
    --color-white: #FFFFFF;
    --color-warm-white: #FFFCF8;

    /* Typography */
    --font-display: 'DM Serif Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2rem;
    --space-xl: 3rem;
    --space-xxl: 5rem;

    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 32px;

    /* Shadows */
    --shadow-soft: 0 4px 20px rgba(212, 165, 116, 0.15);
    --shadow-medium: 0 8px 40px rgba(212, 165, 116, 0.2);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    color: var(--color-text-primary);
    background-color: var(--color-cream);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 400;
    line-height: 1.2;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-lg);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 248, 240, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-sm) var(--space-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.5rem;
    color: var(--color-text-primary);
}

.logo-icon {
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    gap: var(--space-lg);
}

.nav-links a {
    font-size: 0.95rem;
    color: var(--color-text-secondary);
    transition: color 0.2s ease;
}

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

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: calc(80px + var(--space-xxl)) var(--space-lg) var(--space-xxl);
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-warm-white) 100%);
}

.hero-content {
    max-width: 600px;
    text-align: center;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
    line-height: 1.7;
}

.hero-cta {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
}

.hero-image {
    display: none; /* Hidden on mobile, can be shown on desktop */
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-lg);
    border-radius: var(--radius-xl);
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--color-gold) 0%, var(--color-gold-dark) 100%);
    color: var(--color-white);
    box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.btn-large {
    padding: var(--space-md) var(--space-xl);
    font-size: 1.1rem;
}

.apple-icon {
    width: 20px;
    height: 20px;
}

/* Features Section */
.features {
    padding: var(--space-xxl) 0;
    background: var(--color-white);
}

.features h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-xl);
    color: var(--color-text-primary);
}

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

.feature-card {
    background: var(--color-cream);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-soft);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.feature-card p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* How It Works Section */
.how-it-works {
    padding: var(--space-xxl) 0;
    background: linear-gradient(180deg, var(--color-cream) 0%, var(--color-cream-dark) 100%);
}

.how-it-works h2 {
    text-align: center;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-xl);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.step {
    text-align: center;
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--color-gold);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    margin: 0 auto var(--space-md);
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: var(--space-sm);
}

.step p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Quote Section */
.quote-section {
    padding: var(--space-xxl) 0;
    background: var(--color-white);
    text-align: center;
}

.quote-section blockquote {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    color: var(--color-text-primary);
    max-width: 800px;
    margin: 0 auto var(--space-md);
    font-style: italic;
}

.quote-author {
    color: var(--color-text-tertiary);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: var(--space-xxl) 0;
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-cream) 100%);
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-md);
}

.cta-section > .container > p {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-xl);
}

/* Footer */
.footer {
    background: var(--color-text-primary);
    color: var(--color-cream);
    padding: var(--space-xl) 0 var(--space-lg);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: var(--space-lg);
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    font-family: var(--font-display);
    font-size: 1.25rem;
}

.footer-links {
    display: flex;
    gap: var(--space-lg);
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--color-cream-dark);
    font-size: 0.95rem;
    transition: color 0.2s ease;
}

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

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

.footer-bottom p {
    color: var(--color-text-tertiary);
    font-size: 0.9rem;
}

/* Phone Mockup (for hero) */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: var(--color-text-primary);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-medium);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--color-cream);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.jar-illustration {
    position: relative;
    width: 120px;
    height: 180px;
}

.jar-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(212, 165, 116, 0.3) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.jar-body {
    position: relative;
    z-index: 1;
}

.jar-lid {
    width: 70px;
    height: 20px;
    background: linear-gradient(180deg, #8B7355 0%, #6B5D4D 100%);
    border-radius: 4px 4px 0 0;
    margin: 0 auto;
}

.jar-glass {
    width: 80px;
    height: 120px;
    background: rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(212, 165, 116, 0.3);
    border-radius: 0 0 20px 20px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.jar-notes {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    height: 60%;
}

.note {
    position: absolute;
    width: 20px;
    height: 15px;
    border-radius: 3px;
}

.note-1 { background: #FFB5BA; bottom: 0; left: 5px; transform: rotate(-5deg); }
.note-2 { background: #B5D4FF; bottom: 10px; left: 20px; transform: rotate(8deg); }
.note-3 { background: #FFE5B5; bottom: 5px; right: 5px; transform: rotate(-3deg); }
.note-4 { background: #D4FFB5; bottom: 20px; left: 10px; transform: rotate(5deg); }
.note-5 { background: #E5B5FF; bottom: 25px; right: 10px; transform: rotate(-8deg); }

/* Legal Pages Styles */
.legal-page {
    padding-top: 100px;
    min-height: 100vh;
}

.legal-header {
    background: var(--color-white);
    padding: var(--space-xl) 0;
    border-bottom: 1px solid rgba(212, 165, 116, 0.1);
}

.legal-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.legal-header .last-updated {
    color: var(--color-text-tertiary);
    font-size: 0.95rem;
}

.legal-content {
    padding: var(--space-xl) 0 var(--space-xxl);
    background: var(--color-cream);
}

.legal-content .container {
    max-width: 800px;
}

.legal-content h2 {
    font-size: 1.75rem;
    margin-top: var(--space-xl);
    margin-bottom: var(--space-md);
    color: var(--color-text-primary);
}

.legal-content h3 {
    font-size: 1.25rem;
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
}

.legal-content p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
    line-height: 1.8;
}

.legal-content ul {
    margin-bottom: var(--space-md);
    padding-left: var(--space-lg);
}

.legal-content li {
    margin-bottom: var(--space-sm);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Support Page Styles */
.support-hero {
    background: linear-gradient(135deg, var(--color-gold-light) 0%, var(--color-cream) 100%);
    padding: calc(100px + var(--space-xl)) 0 var(--space-xl);
    text-align: center;
}

.support-hero h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: var(--space-sm);
}

.support-hero p {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

.support-content {
    padding: var(--space-xxl) 0;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-lg);
    margin-bottom: var(--space-xxl);
}

.support-card {
    background: var(--color-white);
    padding: var(--space-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
}

.support-card h2 {
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.support-card p {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.faq-section h2 {
    text-align: center;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    margin-bottom: var(--space-xl);
}

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

.faq-item {
    background: var(--color-white);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-md) var(--space-lg);
    font-weight: 600;
    color: var(--color-text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-gold);
}

.faq-answer {
    padding: 0 var(--space-lg) var(--space-md);
    color: var(--color-text-secondary);
    line-height: 1.7;
}

.contact-email {
    color: var(--color-gold-dark);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero {
        padding-top: calc(60px + var(--space-xl));
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero {
        flex-direction: row;
        justify-content: space-between;
        gap: var(--space-xxl);
    }

    .hero-content {
        text-align: left;
    }

    .hero-cta {
        justify-content: flex-start;
    }

    .hero-image {
        display: block;
    }
}
