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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: white;
}

:root {
    --primary-color: #499480;
    --primary-dark: #3a7766;
    --text-light: #666;
    --border-color: #e0e0e0;
}

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

/* Button Styles */
.btn {
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
}

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

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

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

.btn-secondary:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    padding: 60px 0;
    background: linear-gradient(135deg, 
        rgb(82, 125, 156) 0%, 
        rgb(248, 160, 9) 35%, 
        rgb(80, 185, 81) 65%, 
        rgb(62, 105, 136) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
    align-items: center;
    text-align: center;
    width: 100%;
}

.app-branding {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.app-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.app-branding h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin: 0;
}

.hero-text h2 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 12px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-dark);
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-description {
    font-size: 1rem;
    margin-bottom: 24px;
    color: #555;
    max-width: 90%;
}

/* CTA Buttons */
.cta-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 30px auto 0 auto;
    width: 100%;
    max-width: 280px;
    align-items: center;
    justify-content: center;
}

.cta-buttons a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 200px;
}

.app-badge {
    height: 60px;
    width: auto;
    transition: transform 0.3s ease;
    display: block;
    margin: 0 auto;
}

.app-badge:hover {
    transform: translateY(-3px);
}

.app-screenshots {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    flex: 1;
    width: 100%;
}

.screenshot-carousel {
    width: 225px;
    height: 460px;
    overflow: hidden;
    position: relative;
    margin: 0 auto;
}

/* Carousel Styles */
.carousel {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.carousel-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-item.active {
    opacity: 1;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    z-index: 10;
    flex-wrap: wrap;
    max-width: 280px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* Features Section */
.features {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
    padding: 0 20px;
}

.section-title h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 12px;
}

.section-title p {
    font-size: 1rem;
    color: var(--text-light);
    max-width: 100%;
    margin: 0 auto;
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
}

.feature-card {
    text-align: center;
    padding: 30px 20px;
    border-radius: 12px;
    background: white;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease;
}

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

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

.feature-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--primary-color);
}

.feature-card p {
    color: var(--text-light);
    line-height: 1.5;
    font-size: 0.95rem;
}

/* About Test Section */
.about-test {
    background: #f8f9fa;
    padding: 60px 0;
}

.about-content {
    max-width: 100%;
    margin: 0 auto;
    text-align: center;
    padding: 0 20px;
}

.about-content h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 24px;
}

.about-content p {
    font-size: 1rem;
    color: #555;
    margin-bottom: 16px;
    text-align: left;
}

/* Stats Section */
.stats {
    padding: 50px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: center;
    padding: 0 20px;
}

.stat-item h4 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.stat-item p {
    color: var(--text-light);
    font-size: 1rem;
}

/* Final CTA Section */
.final-cta {
    background: var(--primary-color);
    color: white;
    padding: 60px 0;
    text-align: center;
}

.final-cta h3 {
    font-size: 1.8rem;
    margin-bottom: 16px;
    padding: 0 20px;
}

.final-cta p {
    font-size: 1rem;
    margin-bottom: 32px;
    opacity: 0.9;
    padding: 0 20px;
}

.final-cta .cta-buttons {
    max-width: 280px;
    margin: 0 auto;
}

/* Footer */
footer {
    background: #333;
    color: white;
    padding: 40px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 480px) {
    .phone-mockup {
        width: 200px;
        height: 420px;
    }
    
    .carousel-dots {
        max-width: 240px;
        gap: 6px;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
    
    .hero-description {
        max-width: 95%;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .phone-mockup {
        width: 240px;
        height: 500px;
    }
    
    .carousel-dots {
        max-width: 280px;
    }
}

@media (min-width: 768px) {
    .hero {
        padding: 80px 0;
    }

    .hero-content {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 50px;
        align-items: center;
        text-align: left;
    }

    .app-branding {
        justify-content: flex-start;
    }

    .app-branding h1 {
        font-size: 2rem;
    }

    .app-icon {
        width: 70px;
        height: 70px;
    }

    .hero-text h2 {
        font-size: 2.8rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
        max-width: 100%;
    }

    .cta-buttons {
        flex-direction: row;
        gap: 16px;
        max-width: none;
        justify-content: flex-start;
    }

    .screenshot-carousel {
        width: 265px;
        height: 540px;
    }

    .dot {
        width: 12px;
        height: 12px;
    }

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

    .section-title h3 {
        font-size: 2.2rem;
    }

    .about-content h3 {
        font-size: 2.2rem;
    }

    .about-content p {
        font-size: 1.1rem;
    }

    .stats-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 40px;
    }

    .stat-item h4 {
        font-size: 2.5rem;
    }

    .final-cta h3 {
        font-size: 2.2rem;
    }

    .final-cta p {
        font-size: 1.1rem;
    }

    .final-cta .cta-buttons {
        flex-direction: row;
        gap: 16px;
        max-width: none;
        justify-content: center;
    }
}

@media (min-width: 1024px) {
    .hero {
        padding: 100px 0 80px;
    }

    .app-branding h1 {
        font-size: 2.2rem;
    }

    .features {
        padding: 80px 0;
    }

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

    .section-title h3 {
        font-size: 2.5rem;
    }

    .screenshot-carousel {
        width: 343px;
        height: 700px;
    }
}

@media (min-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}