:root {
    --bg-light: #ffffff;
    --card-bg: #ffffff;
    --border-light: #e8eaed;
    --primary-green: #01875f;
    --primary-green-hover: #01714f;
    --text-main: #202124;
    --text-muted: #5f6368;
    --brand-cloud: #6366f1; /* Morado claro como en tu app */
    --brand-talk: #000000;
}

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

body {
    font-family: 'Inter', sans-serif;
    background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 50%, #f5f0ff 100%);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='200'%3E%3Ctext x='50%25' y='50%25' font-family='Inter,sans-serif' font-size='28' font-weight='800' fill='%234f46e5' fill-opacity='0.12' text-anchor='middle' dominant-baseline='middle' transform='rotate(-25 200 100)'%3ECloudTalk%3C/text%3E%3C/svg%3E");
    background-repeat: repeat;
    pointer-events: none;
    z-index: -1;
}

/* Background accents (subtle Google-like geometry) */
.blob {
    display: none; /* Removing dark mode blobs for clean store look */
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: #ffffff;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid var(--border-light);
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.1);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.logo-icon {
    width: 40px;
    height: 40px;
}

.logo h1 {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.brand-cloud { color: var(--brand-cloud); }
.brand-talk { color: var(--brand-talk); }

.creator {
    font-size: 0.85rem;
    color: var(--primary-green);
    font-weight: 600;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 5%;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    padding: 2rem 0;
    align-items: center;
}

.badge {
    display: inline-block;
    padding: 0.2rem 0.8rem;
    background: #e6f4ea;
    color: #137333;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
    color: #202124;
}

.text-gradient {
    color: var(--brand-cloud); /* Just solid purple instead of gradient for a cleaner look */
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    max-width: 90%;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--primary-green);
    color: white;
    text-decoration: none;
    padding: 0.8rem 3rem;
    border-radius: 8px; /* Google play button style */
    font-size: 1rem;
    font-weight: 600;
    transition: background-color 0.2s ease;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}

.btn-primary:hover {
    background: var(--primary-green-hover);
    box-shadow: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    background: var(--brand-cloud);
    color: #ffffff;
    text-decoration: none;
    padding: 0.8rem 3rem;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.2s ease;
    width: 100%;
    max-width: 300px;
    box-shadow: 0 1px 2px 0 rgba(60,64,67,0.3), 0 1px 3px 1px rgba(60,64,67,0.15);
}

.btn-secondary:hover {
    background: #4f46e5;
    color: #ffffff;
    box-shadow: 0 1px 3px 0 rgba(60,64,67,0.3), 0 4px 8px 3px rgba(60,64,67,0.15);
}

.btn-icon {
    font-size: 1.2rem;
}

.download-info {
    font-size: 0.8rem;
    color: var(--text-muted);
    padding-left: 0.2rem;
}

/* App Screenshots Image */
.app-screenshot {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Mockups (Simple Device Frame) */
.mockup-main, .mockup-mini {
    position: relative;
    border-radius: 24px;
    padding: 10px;
    background: #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(79, 70, 229, 0.1);
}

.mockup-main {
    max-width: 300px;
    margin: 0 auto;
}

.mockup-screen {
    background: #f8f9fa;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 9/19;
}

.mockup-main .mockup-screen {
    height: auto;
}

/* Features */
.features {
    margin-top: 4rem;
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    font-weight: 600;
    color: #202124;
}

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

.feature-card {
    padding: 2rem;
    background: var(--card-bg);
    border: 1px solid var(--border-light);
    border-radius: 12px;
    transition: box-shadow 0.2s ease;
}

.feature-card:hover {
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--primary-green);
}

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
    color: #202124;
    font-weight: 600;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Gallery Carousel */
.gallery {
    margin-top: 4rem;
    margin-bottom: 4rem;
    overflow: hidden;
    padding: 2rem 0;
}

.gallery-carousel {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.gallery-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scroll 40s linear infinite;
}

.gallery-track:hover {
    animation-play-state: paused;
}

.mockup-mini {
    width: 260px;
    flex-shrink: 0;
}

.mockup-mini .mockup-screen {
    height: auto;
    width: 100%;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); } /* Shift by exactly half of the total duplicated items */
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--border-light);
    color: var(--text-muted);
    font-size: 0.85rem;
    background: #f8f9fa;
}

/* Responsive */
@media (max-width: 992px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 2rem 1rem;
    }
    
    .hero-subtitle {
        margin: 0 auto 2rem auto;
    }

    .hero-actions {
        align-items: center;
    }

    .mockup-main {
        max-width: 300px;
        margin: 0 auto;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

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

    .mockup-mini {
        max-width: 300px;
        margin: 0 auto;
    }
}
