/* luma — Premium Baby Essentials */
/* Elevated Aesthetic: Depth, Movement, Premium Feel */

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

:root {
    --bg: #FAF9F7;
    --white: #FFFFFF;
    --cream: #F5F2ED;
    --text: #1A1A1A;
    --text-secondary: #6B6B6B;
    --text-light: #999999;
    --accent: #C4A484;
    --border: #E8E5E0;
    
    /* Depth & Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 8px 30px rgba(0,0,0,0.06);
    --shadow-lg: 0 20px 60px rgba(0,0,0,0.08);
    --shadow-hover: 0 25px 80px rgba(0,0,0,0.1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Typography - Premium Outfit Font */
h1, h2, h3, h4, h5 {
    font-weight: 400;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.75rem, 6vw, 4.5rem);
    font-weight: 300;
}

h2 {
    font-size: clamp(2.25rem, 4.5vw, 3.25rem);
    font-weight: 300;
}

h3 {
    font-size: 1.375rem;
    font-weight: 500;
}

h4 {
    font-size: 1.0625rem;
    font-weight: 500;
}

p {
    color: var(--text-secondary);
    max-width: 540px;
    line-height: 1.7;
}

.label {
    display: block;
    font-size: 0.6875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--accent);
    margin-bottom: 1.25rem;
}

/* Scroll Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.reveal-stagger > * {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), 
                transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-stagger.active > *:nth-child(1) { transition-delay: 0s; }
.reveal-stagger.active > *:nth-child(2) { transition-delay: 0.1s; }
.reveal-stagger.active > *:nth-child(3) { transition-delay: 0.2s; }
.reveal-stagger.active > *:nth-child(4) { transition-delay: 0.3s; }
.reveal-stagger.active > *:nth-child(5) { transition-delay: 0.4s; }

.reveal-stagger.active > * {
    opacity: 1;
    transform: translateY(0);
}

/* Navigation - Floating Glass Effect */
.nav {
    position: fixed;
    top: 1rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    width: calc(100% - 2rem);
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 100px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255,255,255,0.5);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: var(--shadow-lg);
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: var(--text);
    text-decoration: none;
    transition: opacity 0.3s;
}

.logo:hover {
    opacity: 0.7;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1.5px;
    background: var(--accent);
    transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.nav-links a:hover::after {
    width: 100%;
}

.nav-cta {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--white);
    text-decoration: none;
    padding: 0.75rem 1.75rem;
    background: var(--text);
    border-radius: 100px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-cta:hover {
    background: #333;
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Hero */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 100vh;
    padding-top: 100px;
}

.hero-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 4rem 4vw 4rem 8vw;
}

.hero-text h1 {
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(40px);
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s forwards;
}

.hero-text p {
    font-size: 1.1875rem;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(30px);
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.4s forwards;
}

.hero-text .btn-primary {
    opacity: 0;
    transform: translateY(20px);
    animation: heroReveal 1s cubic-bezier(0.16, 1, 0.3, 1) 0.6s forwards;
}

@keyframes heroReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-image {
    position: relative;
    overflow: hidden;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: heroImageReveal 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes heroImageReveal {
    from {
        transform: scale(1.1);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.btn-primary {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--white);
    background: var(--text);
    text-decoration: none;
    padding: 1.125rem 2.5rem;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.btn-primary:hover {
    background: #333;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

/* Trust Bar - Subtle Float */
.trust-bar {
    display: flex;
    justify-content: center;
    gap: 4rem;
    padding: 2.5rem 4vw;
    background: var(--white);
    box-shadow: var(--shadow-sm);
}

.trust-item {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    transition: color 0.3s, transform 0.3s;
}

.trust-item:hover {
    color: var(--text);
    transform: translateY(-2px);
}

/* Products */
.products {
    padding: 10rem 4vw;
}

.section-header {
    text-align: center;
    margin-bottom: 6rem;
}

.section-header h2 {
    max-width: 650px;
    margin: 0 auto;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
}

.product-card {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.product-img {
    aspect-ratio: 4/3;
    overflow: hidden;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.product-card:hover .product-img img {
    transform: scale(1.08);
}

.product-info {
    padding: 2.5rem;
}

.product-info h3 {
    margin-bottom: 0.875rem;
}

.product-info p {
    font-size: 0.9375rem;
    margin-bottom: 1.75rem;
}

.product-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text);
    text-decoration: none;
    transition: gap 0.3s, color 0.3s;
}

.product-link::after {
    content: '→';
    transition: transform 0.3s;
}

.product-link:hover {
    color: var(--accent);
    gap: 0.75rem;
}

.product-link:hover::after {
    transform: translateX(4px);
}

/* Feature Section */
.feature-section {
    padding: 2rem 4vw;
}

.feature-section img {
    width: 100%;
    max-height: 70vh;
    object-fit: cover;
    border-radius: 32px;
    box-shadow: var(--shadow-lg);
}

/* Story */
.story {
    padding: 10rem 4vw;
    display: flex;
    justify-content: center;
    background: linear-gradient(180deg, var(--bg) 0%, var(--cream) 100%);
}

.story-content {
    max-width: 720px;
    text-align: center;
}

.story-content h2 {
    margin-bottom: 2.5rem;
}

.story-content p {
    margin: 0 auto 1.75rem;
    font-size: 1.0625rem;
}

.story-content .highlight {
    font-size: 1.375rem;
    font-style: italic;
    color: var(--text);
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--border);
    position: relative;
}

.story-content .highlight::before {
    content: '"';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 4rem;
    color: var(--accent);
    opacity: 0.3;
    font-family: Georgia, serif;
    line-height: 1;
}

/* Values */
.values {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    padding: 8rem 8vw;
    background: var(--cream);
}

.value {
    text-align: center;
    padding: 3rem 2rem;
    background: var(--white);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.value:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-md);
}

.value-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, var(--cream) 0%, var(--bg) 100%);
    border-radius: 50%;
    font-size: 1.25rem;
    color: var(--accent);
}

.value h4 {
    margin-bottom: 0.875rem;
}

.value p {
    font-size: 0.9375rem;
    margin: 0 auto;
}

/* Safety */
.safety {
    padding: 10rem 4vw;
}

.safety-content {
    max-width: 1100px;
    margin: 0 auto;
}

.safety-content h2 {
    margin-bottom: 4rem;
}

.safety-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.safety-item {
    padding: 2.5rem;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid transparent;
}

.safety-item:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
}

.safety-item h5 {
    font-size: 1.0625rem;
    font-weight: 600;
    margin-bottom: 0.625rem;
    color: var(--text);
}

.safety-item p {
    font-size: 0.9375rem;
    margin: 0;
}

/* CTA */
.cta {
    text-align: center;
    padding: 10rem 4vw;
    background: var(--white);
    position: relative;
    overflow: hidden;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--cream) 0%, transparent 70%);
    opacity: 0.6;
    pointer-events: none;
}

.cta h2 {
    margin-bottom: 1.25rem;
    position: relative;
}

.cta p {
    margin: 0 auto 3rem;
    position: relative;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 0.875rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    background: #25D366;
    text-decoration: none;
    padding: 1.25rem 2.5rem;
    border-radius: 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.3);
    position: relative;
}

.btn-whatsapp:hover {
    background: #20BD5A;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 50px rgba(37, 211, 102, 0.4);
}

.btn-whatsapp svg {
    transition: transform 0.3s;
}

.btn-whatsapp:hover svg {
    transform: rotate(-10deg) scale(1.1);
}

/* Footer */
.footer {
    padding: 5rem 4vw 3rem;
    background: var(--bg);
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 4rem;
}

.footer-brand .logo {
    display: block;
    margin-bottom: 0.5rem;
}

.footer-brand p {
    font-size: 0.8125rem;
    color: var(--text-light);
}

.footer-links {
    display: flex;
    gap: 2.5rem;
}

.footer-links a {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

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

.footer-bottom {
    text-align: center;
    padding-top: 2.5rem;
    border-top: 1px solid var(--border);
}

.footer-bottom p {
    font-size: 0.9375rem;
    margin: 0 auto 0.75rem;
    color: var(--text-secondary);
}

.copyright {
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Responsive */
@media (max-width: 1024px) {
    .nav {
        width: calc(100% - 1.5rem);
        padding: 0.875rem 1.5rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    
    .hero-text {
        padding: 8rem 4vw 4rem;
        text-align: center;
        align-items: center;
    }
    
    .hero-image {
        height: 60vh;
    }
    
    .product-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .values {
        grid-template-columns: 1fr;
        padding: 6rem 4vw;
    }
    
    .safety-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .trust-bar {
        flex-wrap: wrap;
        gap: 1.25rem 2.5rem;
        padding: 2rem 4vw;
    }
    
    .products, .story, .safety, .cta {
        padding: 6rem 4vw;
    }
    
    .section-header {
        margin-bottom: 4rem;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 2rem;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 1rem 2rem;
    }
    
    .feature-section img {
        border-radius: 20px;
    }
    
    .product-card, .value, .safety-item {
        border-radius: 16px;
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
}
