/* =========================
   GLOBAL VARIABLES
========================= */

:root {
    --primary-color: #22c55e;
    --secondary-color: #0f172a;
    --background-color: #f8fafc;
    --text-color: #1e293b;
    --white: #ffffff;
    --gray: #64748b;
}

/* =========================
   GLOBAL
========================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--background-color);
    color: var(--text-color);
    line-height: 1.7;
}

/* =========================
   NAVBAR
========================= */

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 8%;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--white);
    font-size: 1.2rem;
    font-weight: 600;
}

.logo {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
}

.navbar ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.navbar a {
    text-decoration: none;
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s;
}

.navbar a:hover {
    color: var(--primary-color);
}

/* =========================
   HERO
========================= */

.hero {
    height: 100vh;
    background: linear-gradient(rgba(15, 23, 42, 0.75), rgba(15, 23, 42, 0.75)), url("Hero.png");
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 850px;
    padding: 20px;
}

.hero h1 {
    font-size: 4rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 35px;
}

/* =========================
   BUTTONS
========================= */

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.primary {
    background: var(--primary-color);
    color: var(--white);
}

.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(34, 197, 94, 0.4);
}

.secondary {
    border: 2px solid var(--white);
    color: var(--white);
}

.secondary:hover {
    background: var(--white);
    color: var(--secondary-color);
}

/* =========================
   SECTIONS
========================= */

.section {
    padding: 100px 10%;
}

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 25px;
    color: var(--secondary-color);
}

.section p {
    max-width: 900px;
    margin: auto;
    text-align: center;
}

/* =========================
   FEATURES
========================= */

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(15px);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-10px);
}

.card h3 {
    margin-bottom: 15px;
    color: #16a34a;
}

/* =========================
   STATS
========================= */

.stats {
    background: var(--secondary-color);
    color: var(--white);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 80px;
    padding: 80px 20px;
}

.stat {
    text-align: center;
}

.stat h3 {
    font-size: 3rem;
    color: var(--primary-color);
}

.stat p {
    opacity: 0.8;
}

/* =========================
   DOWNLOAD SECTION
========================= */

#downloads {
    background: var(--white);
}

.note {
    margin-top: 15px;
    color: var(--gray);
}

/* =========================
   CONTACT
========================= */

.contact {
    background: #f1f5f9;
}

.whatsapp {
    background: #25D366;
    color: var(--white);
}

.whatsapp:hover {
    background: #1ebf5c;
}

.availability {
    margin-top: 20px;
    color: #16a34a;
    font-weight: 600;
}

/* =========================
   FOOTER
========================= */

footer {
    background: var(--secondary-color);
    color: var(--white);
    text-align: center;
    padding: 50px 20px;
}

.footer-content {
    max-width: 700px;
    margin: auto;
}

.footer-content h3 {
    margin-bottom: 15px;
}

.footer-content p {
    opacity: 0.8;
}

/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 15px;
    }

    .navbar ul {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .hero h1 {
        font-size: 2.5rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .stats {
        gap: 40px;
    }

    .section {
        padding: 70px 8%;
    }
}

.dashboard-image {
    width: 100%;
    max-width: 1000px;
    display: block;
    margin: auto;
    border-radius: 20px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.download-actions,
.contact-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
}

.download-actions .btn,
.contact-actions .btn {
    min-width: 250px;
    text-align: center;
}