:root {
    --premium-bg: #000000;
    --premium-gradient: linear-gradient(145deg, #0a0a0a 0%, #000000 100%);
    --premium-glass: rgba(20, 22, 28, 0.6);
    --premium-glass-border: rgba(255, 255, 255, 0.08);
    --premium-accent: #d4af37;
    --premium-accent-glow: rgba(212, 175, 55, 0.4);
    --premium-text-main: #f0f2f5;
    --premium-text-muted: #a0a5b0;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

body {
    background-color: var(--premium-bg);
    background-image: radial-gradient(circle at top right, rgba(212,175,55,0.05), transparent 40%),
                      radial-gradient(circle at bottom left, rgba(212,175,55,0.03), transparent 40%);
    color: var(--premium-text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
}

h1, h2, h3, .section-title {
    font-family: 'Playfair Display', serif;
    letter-spacing: -0.02em;
}

/* Glassmorphism Navbar */
#main-header {
    background: var(--premium-glass) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--premium-glass-border);
    transition: var(--transition-smooth);
}

#main-header .navbar .logo {
    font-weight: 700;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #fff, var(--premium-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Enhanced Buttons */
.btn, .btn-ghost {
    border-radius: 50px;
    padding: 12px 28px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    text-transform: uppercase;
    font-size: 0.85rem;
}

.btn {
    background: linear-gradient(45deg, #b89125, var(--premium-accent));
    color: #000;
    border: none;
    box-shadow: 0 4px 15px var(--premium-accent-glow);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--premium-accent-glow);
}

.btn:active, .btn-ghost:active {
    transform: scale(0.96);
}

.btn-ghost {
    border: 1px solid var(--premium-glass-border);
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    border-color: var(--premium-accent);
}

/* Cards (Services, Blog, Testimonial) */
.service-card, .blog-card, .testimonial-card {
    background: var(--premium-gradient) !important;
    border: 1px solid var(--premium-glass-border);
    border-radius: 16px;
    transition: var(--transition-smooth);
    overflow: hidden;
}

.service-card:hover, .blog-card:hover, .testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4);
    border-color: rgba(212, 175, 55, 0.3);
}

.icon-box i {
    color: var(--premium-accent);
    text-shadow: 0 0 15px var(--premium-accent-glow);
}

/* Mobile Menu Full Screen Override */
@media (max-width: 991px) {
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100vw;
        height: 100vh;
        background: rgba(5, 6, 8, 0.95);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.5s cubic-bezier(0.77, 0, 0.175, 1);
        z-index: 999;
        padding: 2rem;
    }
    
    .nav-links.active {
        right: 0;
    }

    .nav-links a, .nav-links .dropdown > button {
        font-size: 1.5rem;
        margin: 15px 0;
        opacity: 0;
        transform: translateY(20px);
        transition: all 0.4s ease;
    }

    .nav-links.active a, .nav-links.active .dropdown > button {
        opacity: 1;
        transform: translateY(0);
    }
    
    /* Staggered animation for links */
    .nav-links.active a:nth-child(1) { transition-delay: 0.1s; }
    .nav-links.active a:nth-child(2) { transition-delay: 0.2s; }
    .nav-links.active .dropdown { transition-delay: 0.3s; }
    .nav-links.active a:nth-child(4) { transition-delay: 0.4s; }
    .nav-links.active a:nth-child(5) { transition-delay: 0.5s; }

    .menu-toggle {
        z-index: 1000;
        position: relative;
    }
    
    /* Touch targets */
    .nav-links a, .nav-links .dropdown > button {
        padding: 10px 20px;
    }
    
    /* Mobile Dropdown Accordion */
    .nav-links .dropdown-content {
        display: none;
        flex-direction: column;
        align-items: center;
        background: rgba(255, 255, 255, 0.03);
        border-radius: 12px;
        margin-top: 10px;
        padding: 10px 0;
        width: 100%;
        max-width: 250px;
    }
    .nav-links .dropdown.open .dropdown-content {
        display: flex;
        animation: slideDown 0.3s ease-out forwards;
    }
    
    @keyframes slideDown {
        from { opacity: 0; transform: translateY(-10px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    /* Hamburger Menu Animation */
    .menu-toggle i {
        transition: transform 0.3s ease;
    }
    .menu-toggle.active i::before {
        content: "\f00d"; /* FontAwesome X icon */
    }
    .menu-toggle.active i {
        transform: rotate(90deg);
    }
}

/* Hover effect on dropdown items */
.dropdown-content a {
    transition: background 0.3s, color 0.3s, padding-left 0.3s;
}

.dropdown-content a:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--premium-accent);
    padding-left: 25px;
}

/* Floating CTA Positioning */
.floating-cta {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    right: auto;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(12px);
    transition: transform 0.4s ease;
    z-index: 900;
}
.floating-cta.visible {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
}
.floating-cta:active {
    transform: scale(0.92);
}

.floating-cta-btn {
    background: linear-gradient(45deg, #b89125, var(--premium-accent));
    color: #000;
    box-shadow: 0 4px 20px var(--premium-accent-glow);
    padding: 14px 24px;
    border-radius: 50px;
    font-weight: 600;
}

@media (max-width: 768px) {
    .floating-cta {
        bottom: 1.5rem;
        left: 1rem;
        right: auto;
    }
    .tools-grid, .services-grid, .testimonials-grid {
        /* Enable smooth horizontal scrolling on mobile */
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        padding-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        gap: 1.5rem;
    }
    
    .tools-grid::-webkit-scrollbar, 
    .services-grid::-webkit-scrollbar, 
    .testimonials-grid::-webkit-scrollbar {
        height: 4px;
    }
    
    .tools-grid::-webkit-scrollbar-thumb,
    .services-grid::-webkit-scrollbar-thumb,
    .testimonials-grid::-webkit-scrollbar-thumb {
        background: var(--premium-accent);
        border-radius: 4px;
    }

    .service-card, .testimonial-card {
        min-width: 280px;
        flex: 0 0 auto;
        scroll-snap-align: center;
    }
}

/* Hero Section Glow */
.hero-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0) 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
    z-index: 0;
    animation: pulseGlow 8s infinite alternate;
}

@keyframes pulseGlow {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.7; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 1; }
}

.hero-text {
    position: relative;
    z-index: 1;
}

.hero-photo-frame {
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    border: 1px solid var(--premium-glass-border);
}

/* Visitor quality pass */
.skip-nav {
    color: #101010;
}

@media (min-width: 992px) {
    .dropdown:focus-within .dropdown-content {
        display: flex;
        flex-direction: column;
    }
}

.custom-cursor-follower {
    border-color: rgba(212, 175, 55, 0.32);
}

.cookie-banner {
    left: auto;
    right: 24px;
    max-width: 500px;
    padding: 1rem 1.1rem;
    border-radius: 8px;
}

.cookie-content {
    gap: 0.8rem;
}

.cookie-content p {
    font-size: 0.8rem;
}

.cookie-categories {
    margin-top: 0.35rem;
    padding: 0.7rem 0.85rem;
}

.cookie-buttons {
    margin-top: 0.35rem;
}

.btn-cookie {
    min-width: 132px;
    padding: 0.7rem 1rem;
}

@media (max-width: 1024px) {
    .custom-cursor,
    .custom-cursor-follower {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .btn,
    .btn-ghost,
    .btn-send {
        white-space: normal;
        text-align: center;
        line-height: 1.25;
    }

    .cookie-banner {
        left: 12px;
        right: 12px;
        bottom: 12px;
        max-width: none;
    }

    .cookie-buttons {
        grid-template-columns: 1fr;
    }
}

body:has(#nav-links.active) .cookie-banner {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(16px);
}

.article-content ul,
.policy-content ul {
    list-style: disc;
    padding-left: 1.35rem;
}

.article-content ol,
.policy-content ol {
    list-style: decimal;
    padding-left: 1.35rem;
}

.article-content li,
.policy-content li {
    margin-bottom: 0.55rem;
}

.article-content li::marker,
.policy-content li::marker {
    color: var(--gold);
}
