@tailwind base;
@tailwind components;
@tailwind utilities;

html { scroll-behavior: smooth; }
body {
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: #333; border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: #f40057; }

/* --- BACKGROUND ENGINE --- */
.bg-image-container {
    position: absolute;
    inset: 0;
    z-index: 0;
    background-color: #050505;
    background-image: 
        radial-gradient(circle at 0% 100%, rgba(120, 0, 60, 0.4) 0%, transparent 60%),
        radial-gradient(circle at 100% 0%, rgba(244, 0, 87, 0.08) 0%, transparent 50%);
    opacity: 1;
}

.bg-lines { position: fixed; top: 0; left: 0; width: 100%; height: 100vh; z-index: 1; pointer-events: none; }

.bg-line { 
    position: absolute; top: 0; bottom: 0; width: 1px; 
    background: rgba(244, 0, 87, 0.15); 
}

.bg-line::before {
    content: ''; position: absolute; top: -150px; left: 0; width: 100%; height: 150px; 
    background: linear-gradient(to bottom, transparent, #f40057); opacity: 1; 
    filter: drop-shadow(0 0 8px #f40057); animation: drop 7s cubic-bezier(0.4, 0.26, 0, 0.97) infinite;
}
@keyframes drop { 0% { top: -150px; } 100% { top: 120%; } }

.line-1 { left: 20%; } .line-1::before { animation-delay: 0s; }
.line-2 { left: 40%; } .line-2::before { animation-delay: 3.5s; }
.line-3 { left: 60%; } .line-3::before { animation-delay: 1.5s; }
.line-4 { left: 80%; } .line-4::before { animation-delay: 5s; }

/* --- CARDS --- */
.pro-card {
    background-color: rgba(29, 29, 29, 0.9);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative; 
    transition: all 0.3s ease;
}

/* Service Hover */
.service-card { 
    position: relative; 
    overflow: hidden; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
}
.service-card:hover {
    border-color: #f40057; background-color: rgba(20, 20, 20, 0.95);
    transform: translateY(-4px); box-shadow: 0 10px 30px -10px rgba(244, 0, 87, 0.2);
}
.service-card:hover i { color: #f40057; transform: scale(1.1); }
.service-card:hover .service-number { opacity: 0.6; color: #fff; }

/* Flashlight */
.spotlight-card::before {
    content: ''; position: absolute; inset: 0; z-index: 0;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.06), transparent 40%);
    opacity: 0; transition: opacity 0.5s ease; pointer-events: none;
}
.spotlight-card:hover::before { opacity: 1; }
.spotlight-card > * { position: relative; z-index: 10; }

/* --- UTILS --- */
.stroke-text { -webkit-text-stroke: 1px #ffffff; color: transparent; }
.typing-cursor::after { content: '|'; animation: blink 1s step-end infinite; color: #fff; }
@keyframes blink { 50% { opacity: 0; } }

.watermark-text {
    position: absolute; bottom: -10px; left: 20px;
    font-size: 6rem; font-weight: 900; line-height: 1;
    color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,0.03);
    z-index: 0; pointer-events: none; font-family: 'Poppins', sans-serif; user-select: none;
}
@media (max-width: 768px) { .watermark-text { font-size: 3rem; } }