/* Baby Kick Tracker Site Styles */
/* Color scheme from the app */

:root {
    --primary: #FFB5D1;
    --primary-light: #FFECF2;
    --primary-dark: #FA8FB8;
    --secondary: #D1C2FA;
    --secondary-light: #F2EDFE;
    --mint: #A4E8CC;
    --mint-light: #D6F5E6;
    --peach: #FFD9C7;
    --peach-light: #FFF2ED;
    --bg-light: #FCFBFD;
    --text-primary: #322C38;
    --text-secondary: #8D86A3;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-primary);
    line-height: 1.6;
}

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

/* Navbar */
.navbar {
    background: var(--white);
    padding: 16px 0;
    box-shadow: 0 2px 8px rgba(50, 44, 56, 0.04);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-dark);
}

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

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

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

/* Hero Section */
.hero {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-light) 100%);
}

.hero-content {
    display: flex;
    align-items: center;
    gap: 60px;
}

.hero-text {
    flex: 1;
}

.hero-text h1 {
    font-size: 42px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

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

.app-store-btn {
    display: inline-block;
    transition: transform 0.2s;
}

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

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
}

/* Phone Mockup */
.phone-mockup {
    width: 280px;
    height: 560px;
    background: #1a1a1a;
    border-radius: 40px;
    padding: 12px;
    box-shadow: 0 20px 60px rgba(50, 44, 56, 0.15);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: var(--bg-light);
    border-radius: 30px;
    overflow: hidden;
}

.app-preview {
    padding: 40px 20px;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.preview-header {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 40px;
}

.kick-button {
    width: 140px;
    height: 140px;
    aspect-ratio: 1;
    flex-shrink: 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(255, 181, 209, 0.4);
    margin-bottom: 16px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    user-select: none;
    animation: pulse-hint 2s ease-in-out infinite;
}

.kick-button:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(255, 181, 209, 0.5);
    animation: none;
    cursor: pointer;
}

@keyframes pulse-hint {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 24px rgba(255, 181, 209, 0.4);
    }
    50% {
        transform: scale(1.06);
        box-shadow: 0 12px 36px rgba(255, 181, 209, 0.6);
    }
}

.kick-button:active,
.kick-button.kick-active {
    transform: scale(0.92);
}

/* Ripple effect */
.ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    transform: scale(0);
    opacity: 0;
    pointer-events: none;
}

.ripple.ripple-animate {
    animation: ripple-expand 0.6s ease-out;
}

@keyframes ripple-expand {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Feedback text animation */
.preview-text.feedback-pop {
    color: var(--primary-dark);
    animation: pop 0.3s ease;
}

@keyframes pop {
    0% { transform: scale(1); }
    50% { transform: scale(1.15); }
    100% { transform: scale(1); }
}

/* Number pop animation */
.stat-num.number-pop {
    animation: number-bounce 0.2s ease;
}

@keyframes number-bounce {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); }
    100% { transform: scale(1); }
}

.footprint {
    font-size: 48px;
    filter: brightness(0) invert(1);
}

.preview-text {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 40px;
}

.stats-preview {
    display: flex;
    gap: 40px;
    margin-top: auto;
    margin-bottom: 40px;
}

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

.stat-num {
    display: block;
    font-size: 32px;
    font-weight: 700;
    color: var(--primary-dark);
}

.stat-label {
    font-size: 13px;
    color: var(--text-secondary);
}

/* Features Section */
.features {
    padding: 80px 0;
    background: var(--white);
}

.features h2 {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 48px;
    color: var(--text-primary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-light);
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(50, 44, 56, 0.08);
}

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

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

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

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--secondary-light) 100%);
    text-align: center;
}

.cta h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 16px;
}

.cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

/* Footer */
footer {
    background: var(--white);
    padding: 32px 0;
    border-top: 1px solid var(--primary-light);
}

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

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

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

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

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

/* Page Styles (Privacy, Support) */
.page-header {
    padding: 60px 0 40px;
    background: linear-gradient(180deg, var(--white) 0%, var(--primary-light) 100%);
}

.page-header h1 {
    font-size: 36px;
    font-weight: 700;
}

.page-content {
    padding: 60px 0;
    background: var(--white);
}

.page-content h2 {
    font-size: 22px;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.page-content h2:first-child {
    margin-top: 0;
}

.page-content p {
    margin-bottom: 16px;
    color: var(--text-secondary);
}

.page-content ul {
    margin-bottom: 16px;
    padding-left: 24px;
    color: var(--text-secondary);
}

.page-content li {
    margin-bottom: 8px;
}

.page-content a {
    color: var(--primary-dark);
}

.contact-card {
    background: var(--primary-light);
    padding: 32px;
    border-radius: 16px;
    margin-top: 32px;
}

.contact-card h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.contact-card p {
    margin-bottom: 8px;
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 32px;
    }

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

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

    .phone-mockup {
        width: 240px;
        height: 480px;
    }
}
