/* ==========================================================================
   CSS VARIABLES & DESIGN SYSTEM (WHITE / LIGHT BLUE)
   ========================================================================== */
:root {
    /* Color Palette */
    --clr-bg: #FFFFFF;
    --clr-bg-surface: #F8FAFC;
    --clr-primary: #0F172A;
    --clr-accent: #0284C7;
    /* Light Blue */
    --clr-accent-hover: #0369A1;
    --clr-text-main: #1E293B;
    --clr-text-muted: #64748B;
    --clr-border: rgba(15, 23, 42, 0.1);
    --clr-glass: rgba(255, 255, 255, 0.85);

    /* Typography */
    --font-heading: 'Inter', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Layout & Transitions */
    --max-w: 1200px;
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-pill: 999px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--font-body);
    background-color: var(--clr-bg);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 2rem;
}

.text-accent {
    color: var(--clr-accent);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--clr-primary);
    line-height: 1.2;
    font-weight: 700;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    border: 1px solid transparent;
    cursor: pointer;
    transition: var(--transition);
    outline: none;
}

.btn-primary {
    background: var(--clr-accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

.btn-primary:hover {
    background: var(--clr-accent-hover);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(2, 132, 199, 0.4);
}

.btn-outline {
    background: transparent;
    border-color: var(--clr-border);
    color: var(--clr-text-main);
}

.btn-outline:hover {
    border-color: var(--clr-primary);
    background: rgba(15, 23, 42, 0.03);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid var(--clr-border);
    color: var(--clr-text-main);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.btn-glass:hover {
    background: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.btn-whatsapp {
    background: #25D366;
    color: #fff;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover {
    background: #20BA56;
    color: #fff;
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: var(--radius-md);
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--clr-glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--clr-border);
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--clr-primary);
}

.logo-icon i {
    color: var(--clr-accent);
    font-size: 1.8rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--clr-text-muted);
}

.nav-links a:hover {
    color: var(--clr-primary);
}

.nav-actions {
    display: flex;
    gap: 1rem;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--clr-text-main);
    font-size: 1.8rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 12rem 0 8rem;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(to bottom, #F8FAFC 0%, var(--clr-bg) 100%);
}

.hero-bg-glow {
    position: absolute;
    top: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(2, 132, 199, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
    pointer-events: none;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: rgba(2, 132, 199, 0.1);
    color: var(--clr-accent);
    border: 1px solid rgba(2, 132, 199, 0.2);
    border-radius: var(--radius-pill);
    font-size: 0.85rem;
    font-weight: 600;
}

.badge-dot {
    width: 8px;
    height: 8px;
    background: var(--clr-accent);
    border-radius: 50%;
    box-shadow: 0 0 8px var(--clr-accent);
}

.hero-title {
    font-size: 4.5rem;
    letter-spacing: -1.5px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.hero-stats {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--clr-border);
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--clr-primary);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--clr-text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Services Section */
.services {
    padding: 6rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-desc {
    color: var(--clr-text-muted);
    max-width: 500px;
    margin: 0 auto;
    font-size: 1.1rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    padding: 2.5rem;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: rgba(2, 132, 199, 0.2);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.08);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, transparent, var(--clr-accent), transparent);
    opacity: 0;
    transition: var(--transition);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 60px;
    height: 60px;
    background: rgba(2, 132, 199, 0.08);
    color: var(--clr-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    border-radius: var(--radius-md);
    margin-bottom: 1.5rem;
}

.service-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--clr-primary);
}

.service-desc {
    color: var(--clr-text-muted);
    margin-bottom: 2rem;
    font-size: 0.95rem;
}

.service-link {
    color: var(--clr-accent);
    font-weight: 600;
    font-size: 0.95rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.service-link:hover {
    gap: 0.8rem;
}

/* How It Works */
.how-it-works {
    padding: 6rem 0;
    background: var(--clr-bg-surface);
    border-top: 1px solid var(--clr-border);
    border-bottom: 1px solid var(--clr-border);
}

.timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    height: 100%;
    width: 2px;
    background: var(--clr-border);
}

.timeline-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-step {
    width: 42px;
    height: 42px;
    background: #fff;
    border: 2px solid var(--clr-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: var(--clr-accent);
    flex-shrink: 0;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.timeline-content {
    background: #ffffff;
    border: 1px solid var(--clr-border);
    padding: 1.5rem;
    border-radius: var(--radius-md);
    width: 100%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.02);
}

.timeline-content h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--clr-primary);
}

.timeline-content p {
    color: var(--clr-text-muted);
    font-size: 0.95rem;
}

/* CTA Section */
.final-cta {
    padding: 6rem 0;
}

.cta-box {
    background: radial-gradient(circle at center, rgba(2, 132, 199, 0.05) 0%, #F8FAFC 100%);
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-lg);
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--clr-primary);
}

.cta-box p {
    color: var(--clr-text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: var(--clr-primary);
    color: #F1F5F9;
    padding-top: 4rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer .logo {
    color: #ffffff;
}

.footer-brand p {
    color: #CBD5E1;
    margin-top: 1rem;
    font-size: 0.95rem;
    max-width: 300px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: #ffffff;
}

.footer-links a {
    display: block;
    color: #94A3B8;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: #38BDF8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem 0;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #94A3B8;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    transition: var(--transition);
}

.social-links a:hover {
    background: #38BDF8;
    transform: translateY(-2px);
}

/* Floating WhatsApp */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    transition: var(--transition);
}

.floating-wa:hover {
    transform: scale(1.1);
}

/* Floating Testimonial Section */
.floating-testimonial-container {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: #FFFFFF;
    border: 1px solid var(--clr-border);
    border-radius: var(--radius-md);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
    padding: 1.2rem;
    width: 340px;
    z-index: 999;
    transition: opacity 0.6s ease, transform 0.6s ease;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.testimonial-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--clr-bg-surface);
    border: 2px solid var(--clr-border);
}

.testimonial-meta {
    display: flex;
    flex-direction: column;
}

.testimonial-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--clr-primary);
}

.testimonial-stars {
    color: #F59E0B;
    font-size: 0.85rem;
    margin-top: 2px;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--clr-text-muted);
    font-style: italic;
    line-height: 1.4;
    margin-top: 0.2rem;
}

/* Animations & Responsive */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.in-view {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 992px) {
    .floating-testimonial-container {
        display: none;
    }

    .hero-title {
        font-size: 3.5rem;
    }
}

@media (max-width: 768px) {

    .nav-links,
    .nav-actions {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.8rem;
    }

    .hero-cta {
        flex-direction: column;
        width: 100%;
        max-width: 300px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 2rem;
        align-items: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .cta-box {
        padding: 3rem 1.5rem;
    }
}