:root {
    --primary-color: #e56b6b; /* Warmer, softer coral/red */
    --primary-hover: #d45a5a;
    --text-main: #4a4a4a; /* Softer dark grey */
    --text-muted: #888888;
    --bg-light: #fff5f0; /* Soft warm peach background */
    --bg-footer: #fcedea;
    --white: #ffffff;
    --border-color: #f0e4df;
    --accent-warm: #fbbc05; /* Warm gold for accents */
    --accent-soft: #f8c1b8;
    --container-max: 1200px;
    --font-family: 'Inter', sans-serif;
}

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

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

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 50px; /* Softer, rounder pill shape */
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    border: none;
    transition: background-color 0.3s, transform 0.2s, box-shadow 0.3s;
    box-shadow: 0 4px 10px rgba(229, 107, 107, 0.2);
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-primary:hover {
    background-color: var(--primary-hover);
}

.btn-full {
    width: 100%;
}

/* Top Bar */
.top-bar {
    background-color: #f1f1f1;
    color: var(--text-muted);
    font-size: 12px;
    padding: 8px 0;
}
.text-center { text-align: center; }

/* Header */
.main-header {
    background: var(--white);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

/* Logo Icon no longer needed, using img tag */

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 32px;
}

.main-nav a {
    font-weight: 500;
    color: var(--text-main);
    font-size: 15px;
}

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

.cart-icon {
    cursor: pointer;
    color: var(--text-main);
    transition: color 0.3s;
}

.cart-icon:hover {
    color: var(--primary-color);
}

/* Hero Section */
.hero {
    height: 600px;
    background-image: linear-gradient(to right, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.5) 40%, rgba(255,255,255,0) 100%), url('../img/cute_baby_hero_bg.png');
    background-size: cover;
    background-position: center right;
    display: flex;
    align-items: center;
    color: var(--text-main);
}

.hero-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.hero-content {
    max-width: 50%;
    z-index: 2;
}

.hero-slider {
    position: relative;
    width: 400px;
    height: 400px;
    z-index: 2;
}

.slide {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out, transform 1.5s ease-out;
    transform: translateY(30px) scale(0.95);
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.slide-img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 32px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.15));
}

#hero-title {
    transition: opacity 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero h1 {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
    color: var(--primary-color);
}

.hero p {
    font-size: 22px;
    margin-bottom: 32px;
    opacity: 0.8;
    font-weight: 500;
}

/* Promo Banner */
.promo-banner {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 12px 20px;
    font-size: 15px;
}

.promo-banner a {
    text-decoration: underline;
    font-weight: 600;
}

/* Section Titles */
.section-title {
    text-align: center;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 40px;
}

/* Featured Products */
.featured-products {
    padding: 80px 0;
}

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

.product-card {
    border: 1px solid var(--border-color);
    border-radius: 32px; /* Much rounder, softer corners */
    overflow: hidden;
    transition: box-shadow 0.3s, transform 0.3s;
    background: var(--white);
    box-shadow: 0 8px 25px rgba(0,0,0,0.04);
}

.product-card:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    transform: translateY(-5px);
}

.product-image-container {
    background-color: var(--bg-light);
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.product-img {
    max-width: 80%;
    max-height: 80%;
    object-fit: contain;
    mix-blend-mode: multiply;
    transition: transform 0.3s;
}

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

.product-info {
    padding: 24px;
}

.product-info h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.product-info .price {
    font-weight: 600;
    margin-bottom: 20px;
}

/* Info Sections */
.info-sections {
    padding: 60px 0;
}

.info-block {
    padding: 80px 0;
    background: linear-gradient(135deg, #3d2d3a 0%, #4a3645 100%); /* Warmer, softer dark plum */
    color: var(--white);
}

.info-block.alt-bg {
    background: linear-gradient(135deg, #4a3645 0%, #3d2d3a 100%);
}

.info-row {
    display: flex;
    align-items: center;
    gap: 50px;
}

.info-row.reverse {
    flex-direction: row-reverse;
}

.info-content {
    flex: 1;
}

.info-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.info-illustration {
    max-width: 100%;
    height: auto;
    max-height: 400px;
    filter: drop-shadow(0 15px 25px rgba(0,0,0,0.08));
}

.info-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.info-content h3 {
    font-size: 22px;
    font-weight: 600;
    margin: 30px 0 15px;
    color: var(--accent-soft); /* Warmer accent instead of baby-blue */
}

.info-content p {
    margin-bottom: 15px;
    color: var(--white);
    opacity: 0.9;
}

.features-list {
    margin: 20px 0 20px 0;
    list-style: none;
    padding: 0;
}

.features-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 12px;
    color: var(--white);
    opacity: 0.9;
}

.features-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--accent-warm); /* Warmer gold checkmark */
    font-weight: bold;
}

/* Videos Section */
.video-section {
    padding: 60px 0;
    background-color: var(--bg-light);
}

.video-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.video-card {
    background: var(--white);
    padding: 15px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.video-card video {
    width: 100%;
    border-radius: 8px;
    background: #000;
}

.video-card h3 {
    font-size: 16px;
    margin-top: 15px;
    text-align: center;
    color: var(--text-main);
}

/* How it Works */
.how-it-works {
    padding: 80px 0;
    background-color: var(--white);
}

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

.feature-icon-svg {
    width: 80px;
    height: 80px;
    max-width: 100%;
    object-fit: contain;
    margin: 0 auto 20px;
    display: block;
}

.feature-item h3 {
    font-size: 18px;
    margin-bottom: 8px;
}

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

/* In Action */
.in-action {
    padding: 80px 0;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

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

.video-thumbnail {
    background-color: #333;
    height: 160px;
    border-radius: 12px;
    margin-bottom: 16px;
    position: relative;
    cursor: pointer;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.sprite-video-1 { background-image: url('../img/Rockit_Header_Mobile_2000x.png'); }
.sprite-video-2 { background-image: url('../img/RR-02_840_x_840_px_2000x.png'); }
.sprite-video-3 { background-image: url('../img/zed_cutout-unsmushed_2000x.png'); }
.sprite-video-4 { background-image: url('../img/wooshh_cutout-unsmushed_2000x.png'); }

.video-thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.3);
    transition: background 0.3s;
}

.video-thumbnail:hover::after {
    background: rgba(0,0,0,0.1);
}

.play-button {
    width: 48px;
    height: 48px;
    background-color: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.play-button::before {
    content: '';
    border-style: solid;
    border-width: 8px 0 8px 12px;
    border-color: transparent transparent transparent white;
    margin-left: 4px;
}

.video-item h3 {
    font-size: 14px;
    font-weight: 600;
}

/* Footer */
.main-footer {
    background-color: var(--bg-footer);
    padding-top: 60px;
}

.footer-container {
    display: grid;
    grid-template-columns: 1fr 1fr 2fr;
    gap: 40px;
    margin-bottom: 40px;
}

.main-footer a {
    color: var(--text-main);
    text-decoration: none;
    transition: opacity 0.3s, color 0.3s;
}

.main-footer a:hover {
    color: var(--primary-color);
    opacity: 0.8;
}

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 10px;
    font-size: 15px;
}

.retailer-links a {
    font-weight: 600;
    text-decoration: underline;
    text-decoration-color: rgba(0, 0, 0, 0.2);
    text-underline-offset: 4px;
}

.retailer-links a:hover {
    text-decoration-color: var(--primary-color);
}

.partner-logos {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    align-items: center;
}

.partner-logos a {
    display: block;
    transition: transform 0.3s;
}

.partner-logos a:hover {
    transform: scale(1.1);
    opacity: 1;
}

.partner-logos img {
    height: 80px;
    width: auto;
}

.social-icons {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 36px;
    height: 36px;
    background-color: #000;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    font-weight: bold;
}

.partner-logos {
    display: flex;
    gap: 24px;
    align-items: center;
    flex-wrap: wrap;
}

.partner-logos span {
    font-weight: 800;
    font-size: 20px;
    color: #555;
}

.footer-bottom {
    border-top: 1px solid #ddd;
    padding: 24px 0;
    text-align: left;
    color: var(--text-muted);
    font-size: 14px;
}

/* Scrolling Logo Banner */
.logo-scroller {
    width: 100%;
    overflow: hidden;
    background-color: var(--white);
    padding: 30px 0;
    border-bottom: 1px solid var(--border-color);
    position: relative;
}

.logo-scroller::before,
.logo-scroller::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logo-scroller::before {
    left: 0;
    background: linear-gradient(to right, white 0%, transparent 100%);
}

.logo-scroller::after {
    right: 0;
    background: linear-gradient(to left, white 0%, transparent 100%);
}

.logo-scroller-inner {
    display: flex;
    align-items: center;
    width: max-content;
    animation: scrollLogos 30s linear infinite;
}

.logo-scroller-inner img {
    height: 40px;
    margin: 0 40px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s, opacity 0.3s;
}

.logo-scroller-inner img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

@keyframes scrollLogos {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Responsive */
@media (max-width: 992px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    .header-awards {
        display: none !important;
    }
    .hero-container {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-content {
        max-width: 100%;
        margin-bottom: 30px;
    }

    .hero-slider {
        width: 300px;
        height: 300px;
    }

    .hero h1 {
        font-size: 36px;
    }
    
    .info-row, .info-row.reverse {
        flex-direction: column;
        gap: 30px;
    }
    
    .info-image {
        order: -1;
    }
    .products-grid, .features-grid, .videos-grid, .footer-container {
        grid-template-columns: 1fr;
    }
}

/* Language Switcher */
.language-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
}
.language-switcher a {
    text-decoration: none;
    font-size: 20px;
    opacity: 0.5;
    transition: opacity 0.2s, transform 0.2s;
}
.language-switcher a:hover,
.language-switcher a.active {
    opacity: 1;
    transform: scale(1.1);
}
