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

:root {
    --primary: #EEF8F1;
    --secondary: #F0F1F3;
    --accent: #E8F5E9;
    --highlight: #15B646;
    --highlight-light: #58D881;
    --text: #1F2937;
    --text-muted: #6B7280;
    --glass: rgba(0, 0, 0, 0.03);
    --glass-border: rgba(0, 0, 0, 0.08);
    --radius: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--primary);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    position: relative;
}

img {
    max-width: 100%;
}

/* --- Particle Background --- */
#particles-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
}

/* --- Navbar --- */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    padding: 1rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    backdrop-filter: blur(12px);
    background: rgba(238, 248, 241, 0.8);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition);
}

nav.scrolled {
    background: rgba(238, 248, 241, 0.98);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
}

.logo {
    height: 40px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--highlight);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text);
}

.nav-links a:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Sections --- */
section {
    position: relative;
    z-index: 1;
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- Hero --- */
#hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
    padding-top: 8rem;
    position: relative;
}

.hero-content {
    max-width: 760px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero-visual {
    width: 100%;
    display: flex;
    justify-content: center;
    position: relative;
    z-index: 1;
    padding: 2.5rem 2rem;
    isolation: isolate;
}

.hero-visual::before {
    content: '';
    position: absolute;
    z-index: -1;
    top: 0;
    bottom: 0;
    left: calc(50% - 50vw);
    width: 100vw;
    background-image: url('images/hero-background.png');
    background-size: cover;
    background-position: center;
}

.hero-card-img {
    width: 100%;
    height: auto;
    border-radius: 24px;
    box-shadow: 0 20px 60px rgba(21, 182, 70, 0.15);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    backdrop-filter: blur(4px);
}

.hero-badge span {
    width: 6px;
    height: 6px;
    background: var(--highlight-light);
    border-radius: 50%;
    display: inline-block;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.8); }
}

#hero h1 {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -2px;
    max-width: 800px;
}

#hero h1 .gradient-text {
    background: linear-gradient(135deg, var(--highlight), var(--highlight-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

#hero p {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 560px;
    margin: 1.5rem 0 2.5rem;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 1.5rem;
    max-width: 760px;
}

.service-tag {
    display: inline-block;
    padding: 0.45rem 1.1rem;
    border-radius: 100px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    font-size: 0.8rem;
    font-weight: 500;
    text-decoration: none;
    transition: var(--transition);
}

.service-tag:hover {
    background: var(--highlight);
    border-color: var(--highlight);
    color: #fff;
    transform: translateY(-2px);
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: linear-gradient(135deg, var(--highlight), var(--highlight-light));
    color: #fff;
    box-shadow: 0 4px 20px rgba(21, 182, 70, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(21, 182, 70, 0.5);
}

.btn-secondary {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    color: var(--text);
    backdrop-filter: blur(4px);
}

.btn-secondary:hover {
    background: rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--glass-border);
    width: 100%;
    max-width: 1000px;
}

.hero-stats .stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
}

.hero-stats .stat h3 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--highlight), var(--highlight-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-stats .stat .stat-icon {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.hero-stats .stat .stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-stats .stat p {
    font-size: 0.85rem;
    margin: 0;
    color: var(--text-muted);
}

/* --- Section Headers --- */
.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--highlight);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -1px;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--text-muted);
    max-width: 560px;
    font-size: 1.05rem;
    margin-bottom: 3rem;
}

/* --- Services / Features --- */
#services {
    scroll-margin-top: 80px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
    gap: 1.5rem;
}

.feature-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
    padding: 0 0 2rem 0;
    overflow: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
    scroll-margin-top: 90px;
    cursor: pointer;
}

.feature-card:hover {
    transform: translateY(-4px);
    border-color: rgba(21, 182, 70, 0.3);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.feature-card h3,
.feature-card p {
    padding-left: 2rem;
    padding-right: 2rem;
}

.feature-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    margin-bottom: 1.25rem;
}

.feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.feature-card:hover .feature-img img {
    transform: scale(1.06);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--accent), var(--highlight));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 1.25rem;
}

.feature-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

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

.feature-card ul {
    list-style: disc;
    margin-top: 0.75rem;
    padding-left: 3.5rem;
    padding-right: 2rem;
}

.feature-card ul li {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 0.25rem;
}

.feature-card p strong {
    color: var(--text);
}

/* --- About --- */
#about {
    scroll-margin-top: 80px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.about-visual {
    position: relative;
}

.about-visual .glow-box {
    aspect-ratio: 4 / 3;
    border-radius: var(--radius);
    background: linear-gradient(135deg, #E8F5E9, #F0F1F3);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.about-visual .glow-box::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(from 0deg, transparent, rgba(21, 182, 70, 0.15), transparent, rgba(88, 216, 129, 0.1), transparent);
    animation: rotate-glow 8s linear infinite;
}

@keyframes rotate-glow {
    to { transform: rotate(360deg); }
}

.about-visual .glow-box .glow-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
}

.about-visual .glow-box .glow-inner h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.about-visual .glow-box .glow-inner p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.trusted-by {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.trusted-by span {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.5;
}

/* --- Contact / CTA --- */
#contact {
    scroll-margin-top: 80px;
    text-align: center;
}

.cta-card {
    background: linear-gradient(135deg, #E8F5E9, #C8E6C9);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem 2rem;
    position: relative;
    overflow: hidden;
}

.cta-card::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(21, 182, 70, 0.2), transparent);
    border-radius: 50%;
    transform: translate(50%, -50%);
}

.cta-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 250px;
    height: 250px;
    background: radial-gradient(circle, rgba(88, 216, 129, 0.1), transparent);
    border-radius: 50%;
    transform: translate(-50%, 50%);
}

.cta-card .section-title,
.cta-card .section-desc {
    position: relative;
    z-index: 1;
}

.cta-card .section-desc {
    margin-left: auto;
    margin-right: auto;
}

.cta-card .hero-actions {
    justify-content: center;
    position: relative;
    z-index: 1;
}

/* --- Footer --- */
footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

footer a {
    color: var(--highlight);
    text-decoration: none;
}

/* --- WhatsApp Button --- */
.whatsapp-btn {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    z-index: 1000;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #25D366;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    transition: var(--transition);
}

.whatsapp-btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.55);
}

.whatsapp-btn img {
    width: 34px;
    height: 34px;
    display: block;
}

/* --- Scroll Reveal --- */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .features-grid,
    .hero-stats {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        gap: 0;
        background: rgba(238, 248, 241, 0.98);
        border-bottom: 1px solid var(--glass-border);
        padding: 1rem 0;
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 0.75rem 2rem;
        display: block;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    #hero {
        gap: 3rem;
        padding-top: 7rem;
    }

    .hero-visual {
        padding: 1.5rem 1rem;
    }

    section {
        padding: 4rem 1.5rem;
    }

    #hero h1 {
        font-size: clamp(2rem, 10vw, 3rem);
    }

    .whatsapp-btn {
        width: 52px;
        height: 52px;
        bottom: 1rem;
        right: 1rem;
    }

    .whatsapp-btn img {
        width: 30px;
        height: 30px;
    }
}

/* --- Feature Modal --- */
.feature-modal {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.feature-modal.open {
    visibility: visible;
    opacity: 1;
}

.feature-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(6px);
    cursor: pointer;
}

.feature-modal-card {
    position: relative;
    z-index: 1;
    width: min(680px, 100%);
    background: #fff;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
    transform: scale(0.92);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-height: 90%;
    overflow-y: auto;
}

.feature-modal.open .feature-modal-card {
    transform: scale(1);
}

.feature-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 2;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.4);
    color: #fff;
    border: none;
    font-size: 1.6rem;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.feature-modal-close:hover {
    background: var(--highlight);
    transform: rotate(90deg);
}

.feature-modal-card .feature-img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
    min-height: 220px;
}

.feature-modal-card .feature-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-modal-card h3 {
    font-size: 1.8rem;
    padding: 2rem 2rem 0.5rem;
    margin: 0;
}

.feature-modal-card p {
    font-size: 1.1rem;
    color: var(--text-muted);
    line-height: 1.8;
    padding: 0.25rem 2rem 2.5rem;
    margin: 0;
}

.feature-modal-card ul {
    list-style: disc;
    margin: 0;
    padding: 0 3.5rem 2.5rem;
}

.feature-modal-card li {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 0.35rem;
}

.feature-modal-card .stat-icon {
    width: 100%;
    aspect-ratio: 3 / 2;
    min-height: 220px;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.feature-modal-card .stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.feature-modal-card .stat h3 {
    font-size: 2.4rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--highlight), var(--highlight-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-modal-card .stat p {
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    text-align: center;
}

@media (max-width: 768px) {
    .feature-modal {
        padding: 1rem;
    }

    .feature-modal-card h3 {
        font-size: 1.45rem;
        padding: 1.5rem 1.5rem 0.5rem;
    }

    .feature-modal-card p {
        font-size: 1rem;
        padding: 0.25rem 1.5rem 2rem;
    }
}
