/* MirraMoments Website Styles */
/* Color palette matching the iOS app */

:root {
    --color-primary: #E8785A;
    --color-primary-dark: #D66847;
    --color-background: #FDF6F0;
    --color-background-light: #FFFAF7;
    --color-text-primary: #2D2926;
    --color-text-secondary: #6B6560;
    --color-text-tertiary: #9D9792;
    --color-white: #FFFFFF;
    --color-cream: #F5EDE6;

    --font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --border-radius: 20px;
    --border-radius-sm: 12px;
    --shadow: 0 4px 24px rgba(45, 41, 38, 0.08);
    --shadow-lg: 0 8px 40px rgba(45, 41, 38, 0.12);
}

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

html {
    scroll-behavior: smooth;
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(253, 246, 240, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 16px 0;
}

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

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

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

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

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

.btn-nav {
    background: var(--color-primary) !important;
    color: var(--color-white) !important;
    padding: 10px 20px;
    border-radius: 12px;
    transition: background 0.2s ease, transform 0.2s ease !important;
}

.btn-nav:hover {
    background: var(--color-primary-dark) !important;
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 24px 80px;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 500px;
}

.hero h1 {
    font-size: clamp(40px, 6vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--color-text-primary);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--color-text-secondary);
    margin-bottom: 32px;
    line-height: 1.7;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-primary);
    color: var(--color-white);
    padding: 16px 28px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    background: var(--color-primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.hero-phones {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: -40px;
    position: relative;
}

.phone {
    background: var(--color-white);
    border-radius: 40px;
    padding: 12px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.phone img {
    width: 260px;
    height: auto;
    border-radius: 32px;
    display: block;
}

.phone-1 {
    transform: rotate(-5deg) translateX(20px);
    z-index: 2;
}

.phone-2 {
    transform: rotate(5deg) translateX(-20px);
    z-index: 1;
}

/* Features Section */
.features {
    padding: 100px 24px;
    background: var(--color-white);
}

.features h2,
.how-it-works h2,
.download h2,
.privacy h2 {
    text-align: center;
    font-size: clamp(32px, 5vw, 42px);
    font-weight: 800;
    margin-bottom: 60px;
    color: var(--color-text-primary);
}

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

.feature-card {
    background: var(--color-background);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    transition: transform 0.2s ease;
}

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

.feature-icon {
    width: 72px;
    height: 72px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--color-text-primary);
}

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

/* How It Works */
.how-it-works {
    padding: 100px 24px;
    background: var(--color-background);
}

.steps {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    flex: 1;
    min-width: 200px;
}

.step-number {
    width: 56px;
    height: 56px;
    background: var(--color-primary);
    color: var(--color-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 800;
    margin: 0 auto 16px;
}

.step h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-text-primary);
}

.step p {
    color: var(--color-text-secondary);
    font-size: 14px;
}

.step-arrow {
    color: var(--color-text-tertiary);
}

/* Download Section */
.download {
    padding: 100px 24px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.download-mascot {
    width: 120px;
    height: auto;
    margin-bottom: 24px;
    filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.15));
}

.download h2 {
    color: var(--color-white);
    margin-bottom: 20px;
}

.download p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 18px;
    margin-bottom: 32px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--color-white);
    color: var(--color-text-primary);
    padding: 16px 32px;
    border-radius: 14px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
    box-shadow: var(--shadow);
}

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

.btn-download svg {
    width: 32px;
    height: 32px;
}

.btn-download div {
    text-align: left;
}

.download-label {
    display: block;
    font-size: 12px;
    color: var(--color-text-secondary);
}

.download-store {
    display: block;
    font-size: 20px;
    font-weight: 700;
}

/* Privacy Section */
.privacy {
    padding: 100px 24px;
    background: var(--color-white);
}

.privacy-container {
    max-width: 800px;
    margin: 0 auto;
}

.privacy-updated {
    text-align: center;
    color: var(--color-text-tertiary);
    font-size: 14px;
    margin-bottom: 48px;
}

.privacy-content {
    background: var(--color-background);
    padding: 48px;
    border-radius: var(--border-radius);
}

.privacy-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--color-text-primary);
}

.privacy-content h3:first-child {
    margin-top: 0;
}

.privacy-content p {
    color: var(--color-text-secondary);
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 16px;
}

.privacy-content a {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.privacy-content a:hover {
    text-decoration: underline;
}

/* Footer */
.footer {
    background: var(--color-text-primary);
    color: var(--color-white);
    padding: 60px 24px;
}

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

.footer-brand .logo {
    color: var(--color-white);
    display: block;
    margin-bottom: 8px;
}

.footer-brand p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s ease;
}

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

.footer-copyright p {
    color: rgba(255, 255, 255, 0.4);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 900px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 140px;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-phones {
        margin-top: 40px;
    }

    .phone img {
        width: 200px;
    }

    .phone-1 {
        transform: rotate(-3deg) translateX(15px);
    }

    .phone-2 {
        transform: rotate(3deg) translateX(-15px);
    }

    .step-arrow {
        display: none;
    }

    .steps {
        flex-direction: column;
        gap: 40px;
    }
}

@media (max-width: 600px) {
    .nav-links a:not(.btn-nav) {
        display: none;
    }

    .phone-2 {
        display: none;
    }

    .phone-1 {
        transform: none;
    }

    .phone img {
        width: 280px;
    }

    .privacy-content {
        padding: 32px 24px;
    }

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