@charset "UTF-8";

:root {
    --bg: #010a05;
    --primary: #10b981;
    --secondary: #22c55e;
    --accent: #4ade80;
    --white-soft: rgba(255, 255, 255, 0.9);
    --radius-fine: 8px;
}

html, body {
    overflow-x: hidden;
    width: 100%;
}

html {
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scroll-padding-top: 0;
}

@media (max-width: 768px) {
    html {
        scroll-snap-type: none; /* Smooth scroll is better on mobile */
    }
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg);
    color: white;
    min-height: 100vh;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* --- Aura Green Background --- */
.aurora-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -4;
    background: var(--bg);
    filter: blur(120px);
    opacity: 0.5;
}

.light-blob {
    position: absolute;
    border-radius: 50%;
    mix-blend-mode: screen;
    animation: pulse-move 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    width: 1000px;
    height: 1000px;
    background: radial-gradient(circle, #064e3b 0%, transparent 80%);
    top: -20%;
    left: -10%;
}

.blob-2 {
    width: 900px;
    height: 900px;
    background: radial-gradient(circle, #065f46 0%, transparent 80%);
    bottom: -10%;
    right: -10%;
}

.blob-3 {
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, #10b981 0%, transparent 80%);
    top: 40%;
    left: 50%;
    margin-left: -400px;
    margin-top: -400px;
}

@keyframes pulse-move {
    0% { transform: translate(0, 0) scale(1); opacity: 0.4; }
    100% { transform: translate(6vw, 8vh) scale(1.3); opacity: 0.7; }
}

.bg-topo {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    background-image: url("data:image/svg+xml,%3Csvg width='800' height='800' viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 100 Q 200 50 400 100 T 800 100 M0 300 Q 150 250 300 300 T 600 350 T 800 300 M0 500 Q 250 450 500 550 T 800 500 M0 700 Q 200 650 400 750 T 800 700' fill='none' stroke='rgba(16, 185, 129, 0.08)' stroke-width='1.5'/%3E%3C/svg%3E");
    background-size: cover;
    opacity: 1;
    pointer-events: none;
}

/* --- Navbar --- */
header.nav-container {
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 1000;
    padding: 2.5rem 0;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
}

header.nav-container.scrolled {
    padding: 1.2rem 0;
    background: rgba(1, 10, 5, 0.85);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}

.nav-content {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

@media (max-width: 768px) {
    header.nav-container {
        padding: 1.5rem 0;
    }
    
    header.nav-container.scrolled {
        padding: 0.8rem 0;
    }

    .nav-content {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .btn-login {
        padding: 0.6rem 1rem;
        font-size: 0.75rem;
    }
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: -2px;
    color: white;
    text-decoration: none;
    position: relative;
}

.logo span {
    color: var(--primary);
    display: inline-block;
    animation: dot-glow 2s infinite alternate;
}

@keyframes dot-glow {
    from { text-shadow: 0 0 2px var(--primary); }
    to { text-shadow: 0 0 20px var(--primary); }
}

.btn-main {
    background: white;
    color: black;
    padding: 1.1rem 2.8rem;
    border-radius: var(--radius-fine);
    font-weight: 800;
    text-transform: uppercase;
    text-decoration: none;
    transition: 0.4s;
    display: inline-block;
    cursor: pointer;
    border: none;
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.btn-main:hover {
    background: var(--primary);
    color: white;
    box-shadow: 0 10px 40px rgba(16, 185, 129, 0.4);
    transform: scale(1.05);
}

.btn-login {
    background: rgba(255, 255, 255, 0.05);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-fine);
    font-weight: 700;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: 0.4s;
    font-size: 0.85rem;
}

.btn-login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
}

.container {
    width: 100%;
    max-width: 1200px;
    padding: 0 2rem;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    text-align: center;
    position: relative;
    width: 100%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 0 2rem 15vh; /* Nudging content up visually */
    scroll-snap-align: start;
}

.mac-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 800px;
    margin: 3rem auto 0;
    filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.5));
    position: relative; /* Added to anchor the orbiting tags */
}

.mac-lid {
    width: 85%;
    background: #000;
    padding: 2.2% 2.2% 3.5% 2.2%;
    border-radius: 24px 24px 0 0;
    position: relative;
    border: 2px solid #a3a6a8;
    border-bottom: none;
    box-shadow: inset 0 0 12px rgba(255, 255, 255, 0.15);
}

.mac-screen {
    background: #030608;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mac-screen img { width: 100%; height: auto; display: block; }

.mac-base {
    width: 100%;
    height: 24px;
    background: linear-gradient(to bottom, #d8dcdb 0%, #9ca1a4 100%);
    border-radius: 0 0 24px 24px;
    position: relative;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.9), inset 0 -2px 6px rgba(0, 0, 0, 0.4);
}

.mac-indent {
    width: 160px;
    height: 10px;
    background: #a1a5a8;
    border-radius: 0 0 14px 14px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2.5rem, 6.5vw, 4.3rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -4px;
    margin-bottom: 1.5rem;
}

.hero h1 b { color: var(--primary); }

.chat-set {
    position: absolute;
    width: 320px;
    z-index: 1;
    opacity: 0.4;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.set-bottom-left {
    bottom: -60px;
    left: -80px;
    transition: all 0.5s ease;
}

.set-top-right {
    top: -70px;
    right: -100px;
    transition: all 0.5s ease;
}

.parallax-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 5;
}

.scroll-delay-extra { transform: translateZ(0); }

.bubble {
    padding: 1.1rem 1.5rem;
    border-radius: 20px;
    font-size: 0.82rem;
    line-height: 1.5;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 90%;
    text-align: left;
}

.bubble-client {
    background: rgba(255, 255, 255, 0.06);
    align-self: flex-start;
    border-bottom-left-radius: 4px;
}

.bubble-aura {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.25);
    align-self: flex-end;
    border-bottom-right-radius: 4px;
}

/* --- Sections Architecture --- */
.ethereal-glass {
    background: rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border: 1px solid rgba(16, 185, 129, 0.15);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    box-shadow: inset 0 0 20px rgba(16, 185, 129, 0.03);
    overflow: hidden;
    display: block; /* Ensures visibility */
}

.ethereal-glass:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
}

section {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 100px 1.5rem 4rem; /* Safe padding for fixed header */
    scroll-snap-align: start;
}

@media (max-width: 768px) {
    section {
        min-height: auto;
        padding: 120px 1.5rem 4rem !important; /* Stronger buffer for mobile headers */
    }

    .hero {
        padding-bottom: 5vh !important; /* Reducing the push-up strictly on mobile */
    }
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
}

.section-header h2 {
    font-size: 3.5rem;
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.1;
}

.grid-vertical {
    display: flex;
    flex-direction: column;
    gap: 4rem;
    width: 100%;
}

.vertical-item {
    padding: 4rem;
    border-radius: 12px;
    width: 100%;
}

.vertical-group {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

/* Missing Base Grids Fix */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    width: 100%;
    max-width: 1000px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    width: 100%;
}

.feature-card {
    padding: 2.5rem;
    border-radius: var(--radius-fine);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.wa-float {
    position: fixed;
    bottom: 35px;
    right: 35px;
    z-index: 2000;
    background: #25d366;
    color: white;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 15px 40px rgba(37, 211, 102, 0.4);
    cursor: pointer;
    transition: 0.4s;
    text-decoration: none;
}

.wa-float:hover { transform: scale(1.15) rotate(15deg); }

@keyframes floating {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-30px); }
}

@media (max-width: 1024px) {
    .vertical-group { grid-template-columns: 1fr; }
    .section-header h2 { font-size: 2.5rem; }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    color: var(--primary);
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 2.5rem;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.05);
}

.floating-glass {
    position: absolute;
    z-index: -1;
    padding: 1.8rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.fg-1 { top: 10%; left: -12vw; animation: float-slow 7s infinite alternate ease-in-out; }
.fg-2 { bottom: 15%; right: -10vw; animation: float-slow 9s infinite alternate-reverse ease-in-out; }
.fg-3 { top: 40%; left: -8vw; animation: float-slow 11s infinite alternate ease-in-out; opacity: 0.6; }
.fg-4 { top: 20%; right: -15vw; animation: float-slow 8s infinite alternate ease-in-out; opacity: 0.5; }
.fg-5 { bottom: 5%; left: -5vw; animation: float-slow 10s infinite alternate-reverse ease-in-out; opacity: 0.4; }

.decoration-float {
    position: absolute;
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

@keyframes float-slow {
    0% { transform: translateY(0) rotate(0deg); }
    100% { transform: translateY(-40px) rotate(8deg); }
}

@media (max-width: 768px) {
    .floating-glass, .decoration-float, .parallax-layer {
        display: none !important; /* Remove noise on mobile */
    }
    
    .hero h1 {
        font-size: 2.5rem !important;
        letter-spacing: -1px !important;
    }
    
    .section-header h2 {
        font-size: 2.2rem !important;
    }

    .mac-wrapper {
        width: 100%; 
        margin-left: 0;
    }
    
    .plans-grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }
}

@media (max-width: 1200px) {
    .fg-3, .fg-4, .fg-5 { display: none; }
}

@media (max-width: 1024px) {
    .floating-glass { display: none; }
}

@media (max-width: 768px) {
    .responsive-grid, .plans-grid { grid-template-columns: 1fr !important; }
}

.container-large { max-width: 1400px; }

.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.03;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

/* --- Lab Carousel --- */
.lab-carousel-track {
    display: flex;
    gap: 2rem;
    width: max-content;
    animation: scrollAura 30s linear infinite;
    padding-left: 2rem;
}

.lab-carousel-track:hover { animation-play-state: paused; }

.lab-card {
    width: 380px;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    flex-shrink: 0;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.lab-card:hover { border-color: rgba(255, 255, 255, 0.15); transform: translateY(-5px); }

@keyframes scrollAura {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-50% - 1rem)); }
}

@media (max-width: 1024px) {
    #laboratorio .container div { flex-direction: column; align-items: flex-start; text-align: left; }
    #laboratorio .container p { text-align: left; margin-top: 1rem; }
}

.feature-grid-slim {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    margin-top: 2rem;
    width: 100%;
}

.feature-card-slim {
    padding: 1.2rem;
    border-radius: 12px;
    transition: 0.3s;
    min-height: 160px;
    display: flex;
    flex-direction: column;
}

.feature-card-slim:hover {
    border-color: var(--primary) !important;
    transform: translateY(-3px);
}

.feature-card-slim h4 {
    font-size: 0.95rem;
    font-weight: 800;
    margin-bottom: 0.4rem;
}

.feature-card-slim p {
    opacity: 0.6;
    font-size: 0.8rem;
    line-height: 1.4;
}

@media (max-width: 1100px) { .feature-grid-slim { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 850px) { .feature-grid-slim { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .feature-grid-slim { grid-template-columns: 1fr; } }

/* --- Footer Architecture --- */
.footer {
    padding: 8rem 0 3rem;
    background: #000;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    width: 100%;
    display: flex; /* Added to force child centering */
    flex-direction: column;
    align-items: center;
    scroll-snap-align: start;
}

.footer-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 6rem;
    text-align: left;
}

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--primary);
    margin-bottom: 2rem;
}

.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    opacity: 0.6;
}

.footer-col ul li {
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.3s;
    color: white;
}

.footer-col ul li:hover {
    color: var(--primary);
    opacity: 1;
}

.brand-col .logo {
    margin-bottom: 1.5rem;
}

.brand-col p {
    opacity: 0.4;
    font-size: 0.95rem;
    line-height: 1.7;
}

.footer-bottom {
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.03);
    width: 100%;
    text-align: center;
    opacity: 0.2;
    font-size: 0.8rem;
    letter-spacing: 4px;
}

@media (max-width: 768px) {
    .footer {
        padding: 4rem 1.5rem 2rem;
        text-align: center;
    }
    
    .footer-grid {
        flex-direction: column;
        align-items: center;
        gap: 3rem;
        text-align: center;
    }
    
    .footer-col {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center !important;
    }
    
    .footer-bottom {
        letter-spacing: 2px;
        font-size: 0.7rem;
    }
}

/* --- Data Tags Styling --- */
.data-tag {
    position: absolute;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.2);
    border-radius: 100px;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    animation: aura-float 6s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 20;
}

.data-tag .dot {
    width: 6px;
    height: 6px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
}

@keyframes aura-float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(15px, -20px) scale(1.05); }
}

/* --- Testimonials --- */
.testimonial-card {
    padding: 3rem;
    border-radius: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left; /* Keep left for high-end look, but structured */
}

.testimonial-card .quote {
    font-size: 1.15rem;
    line-height: 1.65;
    opacity: 0.9;
    font-style: italic;
    margin-bottom: 2.5rem;
    position: relative;
    z-index: 2;
}

.testimonial-card .quote::before {
    content: '"';
    position: absolute;
    top: -20px;
    left: -10px;
    font-size: 4rem;
    color: var(--primary);
    opacity: 0.3;
}

.testimonial-card .author {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
}

.testimonial-card .author strong {
    display: block;
    color: var(--primary);
    font-size: 1rem;
    margin-bottom: 0.2rem;
}

.testimonial-card .author span {
    font-size: 0.8rem;
    opacity: 0.5;
}

/* --- Modal System --- */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(15px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    padding: 2rem;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    padding: 4rem;
    border-radius: 30px;
    position: relative;
    overflow-y: auto;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.close-btn {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body h2 {
    color: var(--primary);
    margin-bottom: 2rem;
    font-size: 2.2rem;
}

.modal-body p {
    line-height: 1.8;
    opacity: 0.7;
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

/* --- WhatsApp Float --- */
.wa-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 70px;
    height: 70px;
    background: #25d366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 40px rgba(37, 211, 102, 0.4);
    z-index: 4000;
    transition: 0.4s;
    text-decoration: none;
}

.wa-float:hover {
    transform: scale(1.1) rotate(15deg);
}

@media (max-width: 1024px) {
    .testimonial-grid { grid-template-columns: 1fr; }
    .modal-content { padding: 2.5rem; }
}
