html { scroll-behavior: smooth; }
body {
    font-family: 'Inter', sans-serif;
    background-color: #121212;
    color: #f9fafb;
    overflow-x: hidden;
    cursor: none;
}
.font-headline { font-family: 'Poppins', sans-serif; }

.cursor {
    width: 20px; height: 20px; border: 2px solid #f9fafb; border-radius: 50%;
    position: fixed; pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.2s, height 0.2s, background-color 0.2s, border-color 0.2s;
}
.cursor-grow {
    width: 40px; height: 40px; background-color: rgba(251, 191, 36, 0.3); border-color: #FBBF24;
}

#home {
    position: relative;
    overflow: hidden;
    background-color: #121212; 
}

#constellation-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.flip-card {
    background-color: transparent;
    width: 100%;
    height: 280px;
    perspective: 1000px;
}
.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
    box-shadow: 0 4px 15px -2px rgb(0 0 0 / 0.3);
    border-radius: 1rem;
}
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}
.flip-card-front, .flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 1rem;
    border: 1px solid #333;
}
.flip-card-front {
    background-color: #1e1e1e;
    color: #f9fafb;
}
.flip-card-back {
    background-image: linear-gradient(to bottom right, #FBBF24, #F59E0B);
    color: #111827;
    transform: rotateY(180deg);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1.5rem;
}
.service-number {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 3rem;
    font-weight: 800;
    color: rgba(255,255,255,0.05);
}

.stat-card {
    background: rgba(30, 30, 30, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 1rem;
    padding: 2rem 1rem;
    transition: all 0.3s ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}
.stat-card .fas {
    transition: all 0.3s ease-in-out;
}
.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.4), 0 0 20px rgba(245, 158, 11, 0.3);
}
.stat-card:hover .fas {
    transform: scale(1.2) rotate(-15deg);
    color: #FBBF24;
}

.signature-button {
    background-image: linear-gradient(to right, #FBBF24, #F59E0B); color: #111827 !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.signature-button:hover { transform: scale(1.05); box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3); }
.profile-img {
    width: 140px; height: 140px; border-radius: 50%; object-fit: cover;
    border: 4px solid #FBBF24; box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.headline-word { display: inline-block; transform: translateY(100%); opacity: 0; transition: transform 0.6s ease, opacity 0.6s ease; }

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px;
    right: 40px;
    background-color: #25D366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 6px rgba(0,0,0,0.3);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease-in-out;
}
.whatsapp-float:hover {
    transform: scale(1.1);
}

#form-status {
    text-align: center;
    padding: 1rem;
    margin-top: 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    display: none;
    transition: all 0.3s ease;
}
.success {
    background-color: #064e3b;
    color: #34d399;
    display: block !important;
}
.error {
    background-color: #7f1d1d;
    color: #fca5a5;
    display: block !important;
}

@media (max-width: 768px) {
    .hero-container { padding-top: 5rem; text-align: center; }
    .cursor { display: none; }
    .flip-card { height: 250px; }
    .whatsapp-float { bottom: 20px; right: 20px; width: 50px; height: 50px; font-size: 24px; }
}
