/* ===================================================
   Life Coding Tecnologia - Landing Page Styles
   Paleta: Turquesa #4ECDC4 | Verde #6BC5A0 | Escuro #2C3E50
   =================================================== */

:root {
    --lc-turquoise: #4ECDC4;
    --lc-green: #6BC5A0;
    --lc-dark: #2C3E50;
    --lc-gradient: linear-gradient(135deg, #6BC5A0 0%, #4ECDC4 100%);
    --lc-gradient-reverse: linear-gradient(135deg, #4ECDC4 0%, #6BC5A0 100%);
    --lc-light: #F8FAFB;
    --lc-body: #555;
}

/* ========== BASE ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Poppins', sans-serif;
    color: var(--lc-dark);
    overflow-x: hidden;
}

::selection {
    background: var(--lc-turquoise);
    color: #fff;
}

/* ========== UTILITIES ========== */
.text-gradient {
    background: var(--lc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-main {
    background: var(--lc-gradient);
}

.ls-wide {
    letter-spacing: 2px;
}

.py-section {
    padding: 100px 0;
}

/* ========== BUTTONS ========== */
.btn-gradient {
    background: var(--lc-gradient);
    border: none;
    color: #fff;
    padding: 10px 28px;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-gradient:hover {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.4);
}

.btn-gradient:active {
    transform: translateY(0);
}

.btn-outline-dark {
    border-radius: 50px;
    font-weight: 500;
    padding: 10px 28px;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    transform: translateY(-2px);
}

/* ========== NAVBAR ========== */
.navbar {
    padding: 12px 0;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 8px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1) !important;
}

.navbar-brand img {
    transition: height 0.3s ease;
}

.nav-link {
    font-weight: 500;
    color: var(--lc-dark) !important;
    padding: 8px 16px !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--lc-gradient);
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 60%;
}

.nav-link:hover {
    color: var(--lc-turquoise) !important;
}

/* ========== HERO ========== */
.hero-section {
    min-height: 100vh;
    padding-top: 120px;
    background: linear-gradient(170deg, #fff 60%, var(--lc-light) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(78, 205, 196, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -10%;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(107, 197, 160, 0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-illustration {
    width: 320px;
    height: 320px;
    margin: 0 auto;
    background: var(--lc-gradient);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: morphBlob 8s ease-in-out infinite;
    box-shadow: 0 20px 60px rgba(78, 205, 196, 0.3);
}

.hero-illustration i {
    font-size: 8rem;
    color: #fff;
}

@keyframes morphBlob {
    0% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }

    25% {
        border-radius: 58% 42% 57% 43% / 45% 62% 38% 55%;
    }

    50% {
        border-radius: 50% 50% 33% 67% / 55% 27% 73% 45%;
    }

    75% {
        border-radius: 33% 67% 58% 42% / 63% 68% 32% 37%;
    }

    100% {
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    }
}

/* ========== ABOUT ========== */
.about-image {
    width: 280px;
    height: 280px;
    margin: 0 auto;
    background: var(--lc-light);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(78, 205, 196, 0.2);
}

.about-image i {
    font-size: 6rem;
    background: var(--lc-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.icon-box-sm {
    width: 40px;
    height: 40px;
    min-width: 40px;
    border-radius: 10px;
    background: var(--lc-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 0.85rem;
}

/* ========== SERVICES ========== */
.service-card {
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--lc-gradient);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.1) !important;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.icon-box {
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: var(--lc-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.service-card:hover .icon-box {
    transform: scale(1.1);
}

/* ========== TECH CARDS ========== */
.tech-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid rgba(78, 205, 196, 0.15);
    transition: all 0.3s ease;
}

.tech-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(78, 205, 196, 0.15);
    border-color: var(--lc-turquoise);
}

/* ========== TESTIMONIALS ========== */
.testimonial-avatar {
    width: 44px;
    height: 44px;
    min-width: 44px;
    border-radius: 50%;
    background: var(--lc-gradient);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1rem;
}

/* ========== CONTACT ========== */
.social-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lc-light);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lc-turquoise);
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(78, 205, 196, 0.2);
}

.social-icon:hover {
    background: var(--lc-gradient);
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(78, 205, 196, 0.35);
    border-color: transparent;
}

.form-control,
.form-select {
    border-radius: 10px;
    border: 1px solid #dee2e6;
    padding: 12px 16px;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--lc-turquoise);
    box-shadow: 0 0 0 0.2rem rgba(78, 205, 196, 0.2);
}

/* ========== FOOTER ========== */
.footer-section {
    background: #fff;
    border-top: 1px solid #eee;
}

/* ========== BACK TO TOP ========== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--lc-gradient);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(78, 205, 196, 0.4);
    z-index: 999;
}

.back-to-top:hover {
    color: #fff;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(78, 205, 196, 0.5);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ========== ANIMATIONS ========== */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 991.98px) {
    .py-section {
        padding: 70px 0;
    }

    .hero-section {
        padding-top: 100px;
        text-align: center;
    }

    .hero-section .d-flex.flex-wrap {
        justify-content: center;
    }

    .hero-illustration {
        width: 240px;
        height: 240px;
    }

    .hero-illustration i {
        font-size: 5rem;
    }

    .navbar-collapse {
        background: #fff;
        padding: 16px;
        border-radius: 12px;
        margin-top: 10px;
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    }

    .navbar-collapse .btn-gradient {
        display: block;
        text-align: center;
        margin-top: 8px;
    }
}

@media (max-width: 575.98px) {
    .hero-section h1 {
        font-size: 2rem;
    }

    .hero-illustration {
        width: 200px;
        height: 200px;
    }

    .hero-illustration i {
        font-size: 4rem;
    }

    .about-image {
        width: 200px;
        height: 200px;
    }

    .about-image i {
        font-size: 4rem;
    }

    .py-section {
        padding: 50px 0;
    }
}
