:root {
    --primary: #16a34a; /* green-600 */
    --primary-dark: #15803d; /* green-700 */
    --accent: #10b981; /* emerald-500 */
    --dark: #111827;
    --light: #f9fafb;
    --gray: #6b7280;
    --white: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--dark);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    padding: 1.5rem 0;
    position: absolute;
    width: 100%;
    top: 0;
    z-index: 10;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
}

.logo-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.text-green {
    color: var(--primary);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
    border: 2px solid var(--primary);
    color: var(--primary);
}

.btn-sm:hover {
    background: var(--primary);
    color: white;
}

.btn-lg {
    font-size: 1.125rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    box-shadow: 0 10px 25px -5px rgba(22, 163, 74, 0.4);
}

.btn-lg:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 25px -5px rgba(22, 163, 74, 0.5);
}

.btn-white {
    background: white;
    color: var(--primary);
    font-weight: 800;
}

.btn-white:hover {
    background: var(--light);
}

/* Hero Section */
.hero {
    padding-top: 8rem;
    padding-bottom: 4rem;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at top right, #dcfce7 0%, transparent 40%);
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    max-width: 600px;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #dcfce7;
    color: var(--primary-dark);
    border-radius: 9999px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-content p {
    font-size: 1.25rem;
    color: var(--gray);
    margin-bottom: 2.5rem;
}

.android-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.small-text {
    margin-top: 0.75rem;
    font-size: 0.875rem;
    color: var(--gray);
}

/* Phone Mockup */
.hero-image {
    display: flex;
    justify-content: center;
    perspective: 1000px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: var(--dark);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
    transform: rotateY(-10deg) rotateX(5deg);
    transition: transform 0.5s ease;
}

.phone-mockup:hover {
    transform: rotateY(0) rotateX(0);
}

.phone-screen {
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 30px;
    overflow: hidden;
    position: relative;
}

.phone-notch {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 25px;
    background: var(--dark);
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
    z-index: 20;
}

/* Carousel Styles */
.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.carousel-img.active {
    opacity: 1;
    z-index: 10;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 20;
    transition: background 0.3s ease;
}

.carousel-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.carousel-btn svg {
    width: 20px;
    height: 20px;
}

.prev-btn {
    left: 10px;
}

.next-btn {
    right: 10px;
}


/* Features */
.features {
    padding: 6rem 0;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    padding: 2rem;
    border-radius: 1rem;
    background: var(--white);
    border: 1px solid #f3f4f6;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.05);
}

.icon-bg {
    width: 50px;
    height: 50px;
    background: #dcfce7;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary);
}

.icon-bg svg {
    width: 24px;
    height: 24px;
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.feature-card p {
    color: var(--gray);
}

/* Gallery Section */
.gallery-section {
    padding: 4rem 0 6rem 0;
    background: #f9fafb;
}

.gallery-grid {
    display: flex;
    justify-content: center;
    gap: 4rem;
    flex-wrap: wrap;
}

.gallery-item {
    text-align: center;
}

.phone-frame-sm {
    margin-left: 30px;
    width: 240px;
    height: 480px;
    background: var(--dark);
    border-radius: 30px;
    padding: 8px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    margin-bottom: 1.5rem;
    position: relative;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 22px;
}

.gallery-item h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.gallery-item p {
    color: var(--gray);
}

/* Download Section */
.download-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    color: white;
    text-align: center;
}

.download-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-box p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
footer {
    padding: 3rem 0;
    background: var(--light);
    text-align: center;
    color: var(--gray);
}

.footer-logo {
    font-weight: 800;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.875rem;
    margin-top: 1rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    h1 {
        font-size: 2.5rem;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-image {
        margin-top: 3rem;
    }
    
    .cta-group {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .gallery-grid {
        gap: 2rem;
    }
}

