:root {
    --midnight: #0A0A0B;
    --slate: #1F1F23;
    --cyan: #00A2E4;
    --gold: #D1A47B;
    --emerald: #10B981;
    --glass: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--midnight);
    color: #FFFFFF;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.font-outfit {
    font-family: 'Outfit', sans-serif;
}

.font-serif {
    font-family: 'Playfair Display', serif;
}

/* NOISE GRAIN EFFECT */
.noise::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.08;
    pointer-events: none;
    z-index: 9999;
    filter: contrast(150%) brightness(100%);
}

/* GLASS MORPHISM */
.glass {
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
}

.glass-card {
    background: rgba(31, 31, 35, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.glass-card:hover {
    border-color: var(--cyan);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 162, 228, 0.1);
}

/* GRADIENTS */
.text-gradient-cyan {
    background: linear-gradient(135deg, #FFF 30%, var(--cyan) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.text-gradient-cyan-dark {
    background: linear-gradient(135deg, var(--cyan) 30%, #0072A3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}


/* CUSTOM BUTTONS */
.btn-primary {
    position: relative;
    background: var(--cyan);
    color: #FFFFFF;
    font-weight: 800;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: 0.5s;
}

.btn-primary:hover::after {
    left: 100%;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(0, 162, 228, 0.4);
}

/* BENTO GRID */
.bento-item {
    border-radius: 32px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ANIMATIONS */
@keyframes reveal {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.animate-reveal {
    animation: reveal 0.8s cubic-bezier(0.23, 1, 0.32, 1) forwards;
}

.delay-1 {
    animation-delay: 0.2s;
}

.delay-2 {
    animation-delay: 0.4s;
}

.delay-3 {
    animation-delay: 0.6s;
}

.delay-4 {
    animation-delay: 0.8s;
}

.delay-5 {
    animation-delay: 1.0s;
}

/* LIST SERVICE HOVER EFFECT */
.service-row-desc {
    max-height: 0;
    opacity: 0;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.group:hover .service-row-desc {
    max-height: 100px;
    opacity: 1;
    margin-top: 1rem;
}

/* MOBILE MENU OVERLAY */
#mobile-menu {
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

#mobile-menu.active {
    transform: translateX(0);
}

.hamburger span {
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* FAQ ACCORDION */
.faq-item {
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.23, 1, 0.32, 1), opacity 0.5s;
    opacity: 0;
}

.faq-item.active .faq-content {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 32px;
}

.faq-item.active i[data-lucide="plus"] {
    transform: rotate(45deg);
}

i[data-lucide="plus"] {
    transition: transform 0.3s ease;
}

/* HIDE SCROLLBAR */
.hide-scrollbar::-webkit-scrollbar {
    display: none;
}

.hide-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

/* PHONE ICON ANIMATION */
@keyframes ring-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.animate-ring-rotate {
    animation: ring-rotate 4s linear infinite;
}

.phone-ring-mask {
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    -webkit-mask-composite: destination-out;
    padding: 2px;
}

/* NAV SCROLL TRANSFORMATION (ULTRA-SMOOTH) */
#main-nav {
    /* Softer, more organic easing */
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Shimmer animation - even more subtle */
#main-nav .nav-shimmer {
    transition: none;
    opacity: 0.15;
    /* Softer shimmer */
}

#main-nav.scrolled .nav-shimmer {
    transform: translateX(200%);
    transition: transform 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

#main-nav.scrolled {
    top: 0 !important;
    left: 0 !important;
    transform: translateX(0) !important;
    width: 100% !important;
    max-width: none !important;
    border-radius: 0 !important;
    height: 75px !important;
    border-left: none !important;
    border-right: none !important;
    border-top: none !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(25px) saturate(180%) !important;
    /* Slightly more blur */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.04) !important;
    /* Softer shadow */
}

/* Logo Rotation - 180deg is softer than 360deg */
#main-nav.scrolled .nav-logo-icon {
    transform: rotate(180deg);
}

/* Adjustments for content within nav when scrolled */
#main-nav.scrolled .btn-primary {
    padding-top: 0.6rem !important;
    padding-bottom: 0.6rem !important;
    transform: scale(0.96);
    /* Very subtle scaling */
}

#main-nav.scrolled .btn-primary:hover {
    transform: scale(1);
}

/* PREMIUM GLIMMER EFFECTS */

/* PREMIUM GLIMMER EFFECTS */
@keyframes shimmer-loop {
    0% {
        transform: translateX(-150%) skewX(-15deg);
    }

    40% {
        transform: translateX(150%) skewX(-15deg);
    }

    100% {
        transform: translateX(150%) skewX(-15deg);
    }
}

.animate-shimmer-loop {
    animation: shimmer-loop 4s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 1;
        filter: drop-shadow(0 0 2px #00A2E4);
    }

    50% {
        opacity: 0.5;
        filter: drop-shadow(0 0 8px #00A2E4);
        transform: scale(1.1);
    }
}

.animate-twinkle {
    animation: twinkle 3s ease-in-out infinite;
}
/* HEART PULSE ANIMATION */
@keyframes heart-pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.4); }
    100% { transform: scale(1); }
}

.animate-pulse-cyan {
    animation: heart-pulse 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* USER ATTENTION LOOP */
@keyframes user-attention {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.animate-user-loop {
    animation: user-attention 4s ease-in-out infinite !important;
}

