:root {
    --bg-color: #0a0a0a;
    --text-color: #ffffff;
    --text-muted: #737373;
    --primary: #10b981; /* Emerald 500 */
    --primary-hover: #059669; /* Emerald 600 */
    --accent: #1f1f1f;
    --border: #262626;
    --font-main: 'Outfit', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
}

.logo-icon {
    color: var(--primary);
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--text-color);
}

.btn-primary {
    background-color: var(--primary);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    transition: transform 0.2s, background-color 0.2s;
    text-decoration: none;
}

.btn-primary:hover {
    background-color: var(--primary-hover);
    transform: translateY(-1px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 6rem 2rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    gap: 4rem;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.highlight {
    color: var(--primary);
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 480px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn-secondary {
    background-color: var(--accent);
    color: var(--text-color);
    padding: 0.6rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s;
}

.btn-secondary:hover {
    background-color: var(--border);
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    position: relative;
    align-items: center; /* Center buttons vertically relative to phone */
}

.carousel-controls {
    position: absolute;
    width: 120%; /* Wider than phone to place buttons outside */
    display: flex;
    justify-content: space-between;
    pointer-events: none; /* Allow clicks to pass through empty space */
    z-index: 10;
}

.carousel-btn {
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    backdrop-filter: blur(5px);
}

.carousel-btn:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: var(--primary);
    transform: scale(1.1);
}

.carousel-btn i {
    width: 24px;
    height: 24px;
}

.phone-mockup {
    width: 300px;
    height: 600px;
    background: #000;
    border: 8px solid #2a2a2a;
    border-radius: 40px;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(16, 185, 129, 0.15);
    overflow: hidden;
}

.screen-content {
    background: linear-gradient(180deg, #111 0%, #0a0a0a 100%);
    width: 100%;
    height: 100%;
}

/* Features Section */
.features {
    padding: 8rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--accent);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    transition: transform 0.3s border-color 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.feature-icon {
    color: var(--primary);
    margin-bottom: 1.5rem;
    width: 32px;
    height: 32px;
}

.feature-card h3 {
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* About Section */
.about {
    padding: 8rem 2rem;
    max-width: 1000px;
    margin: 0 auto;
    background-color: var(--bg-color);
}

.about-content {
    display: flex;
    gap: 4rem;
    align-items: center;
}

.about-text {
    flex: 3;
}

.about-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-stats {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    background: var(--accent);
    padding: 2rem;
    border-radius: 1.5rem;
    border: 1px solid var(--border);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 600;
}

/* Help Section (Accordion) */
.help {
    padding: 8rem 2rem;
    max-width: 800px;
    margin: 0 auto;
}

.help-container {
    width: 100%;
}

.help h2 {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 1rem;
}

.help-subtitle {
    text-align: center;
    color: var(--text-muted);
    margin-bottom: 4rem;
}

.accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.accordion-item {
    background: var(--accent);
    border-radius: 1rem;
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.3s;
}

.accordion-item:hover {
    border-color: var(--text-muted);
}

.accordion-header {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-main);
    cursor: pointer;
    text-align: left;
}

.accordion-header i {
    transition: transform 0.3s;
    color: var(--text-muted);
}

.accordion-header.active i {
    transform: rotate(180deg);
    color: var(--primary);
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    background: rgba(0, 0, 0, 0.2);
}

.accordion-content p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.accordion-item.active .accordion-content {
    max-height: 200px; /* Adjust as needed */
}

/* Download Section */
.download {
    background: linear-gradient(180deg, var(--bg-color) 0%, rgba(16, 185, 129, 0.05) 100%);
    padding: 8rem 2rem;
    text-align: center;
}

.download-content {
    max-width: 600px;
    margin: 0 auto;
}

.download h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.download p {
    color: var(--text-muted);
    margin-bottom: 3rem;
    font-size: 1.1rem;
}

.btn-hero {
    background-color: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 1rem;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: transform 0.2s, box-shadow 0.2s;
}

.btn-hero:hover {
    transform: scale(1.05);
    box-shadow: 0 20px 25px -5px rgba(16, 185, 129, 0.3);
}

/* Footer */
footer {
    border-top: 1px solid var(--border);
    padding: 3rem 2rem;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-muted);
    transition: color 0.2s;
}

.social-links a:hover {
    color: var(--primary);
}

/* Coming Soon Badge */
.feature-card.coming-soon {
    opacity: 0.7;
    border-style: dashed;
}

.feature-card.coming-soon h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
}

.feature-card.coming-soon p {
    font-size: 0.9rem;
    font-style: italic;
    color: var(--primary);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero {
        flex-direction: column;
        text-align: center;
        padding-top: 8rem;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-content {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
    
    .hero-subtitle {
        margin: 0 auto 2.5rem;
    }

    .nav-links {
        display: none;
    }

    .phone-mockup {
        width: 260px;
        height: 520px;
    }
    
    .carousel-controls {
        width: 340px; /* Adjust for mobile width */
    }

    .about-content {
        flex-direction: column;
        gap: 3rem;
    }

    .about-stats {
        flex-direction: row;
        width: 100%;
        justify-content: space-around;
        gap: 1rem;
    }

    /* Mobile Feature Grid: 2 columns, compact */
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    .feature-card {
        padding: 1.5rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 180px; /* Force consistent height */
    }

    .feature-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 1rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.2;
    }

    .feature-card p {
        font-size: 0.8rem;
        line-height: 1.4;
    }
}
