:root {
    --primary-color: #8b5cf6;
    --secondary-color: #ec4899;
    --dark-bg: #09090b;
    --card-bg: rgba(24, 24, 27, 0.6);
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.08);
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--dark-bg);
    color: var(--text-main);
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
    font-family: 'Space Grotesk', sans-serif;
}

/* Typography Enhancements */
.gradient-text {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-secondary {
    color: var(--text-muted) !important;
}

/* Utilities */
.py-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
}
.pt-6 {
    padding-top: 6rem;
}

/* Navbar */
.glass-nav {
    background: transparent;
    transition: all 0.3s ease-in-out;
    padding: 1.5rem 0;
}

.glass-nav.scrolled {
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--glass-border);
    padding: 1rem 0;
}

.nav-link {
    color: var(--text-main) !important;
    font-weight: 500;
    position: relative;
    padding-bottom: 5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.custom-toggler {
    border: 1px solid rgba(255,255,255,0.2) !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: url('img/hero_bg.png') no-repeat;
    background-size: cover;
    background-position: center;
    position: relative;
    padding-top: 80px;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(9, 9, 11, 0.8) 0%, rgba(9, 9, 11, 0.95) 100%);
    z-index: 1;
}

.badge-custom {
    background: rgba(139, 92, 246, 0.15);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c4b5fd;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    line-height: 1.1;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    animation: fadeInUp 1s ease-out 0.4s both;
}

.buttons-wrapper {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    color: white;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(139, 92, 246, 0.3);
}

.btn-custom-glow {
    box-shadow: 0 4px 15px rgba(236, 72, 153, 0.3);
}

.glass-btn {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
}

.glass-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: white;
    transform: translateY(-2px);
}

.pulse-btn {
    animation: pulse 2s infinite;
}

/* Services */
.services-section {
    background-color: var(--dark-bg);
}

.glass-card {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    overflow: hidden;
}

.glass-card:hover {
    transform: translateY(-10px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(139, 92, 246, 0.1);
}

.card-img-wrapper {
    position: relative;
    z-index: 2;
}

.card-img-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.glass-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.icon-floating {
    position: absolute;
    bottom: -20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), #6d28d9);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 10px 20px rgba(109, 40, 217, 0.4);
    transform: rotate(10deg);
    transition: all 0.3s ease;
}

.glass-card:hover .icon-floating {
    transform: rotate(0) scale(1.1);
}

.graphic-icon {
    background: linear-gradient(135deg, var(--secondary-color), #be185d);
    box-shadow: 0 10px 20px rgba(190, 24, 93, 0.4);
}

.seo-icon {
    background: linear-gradient(135deg, #0ea5e9, #0369a1);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.4);
}

/* Banner Overlay */
.premium-banner {
    position: relative;
    background-color: var(--dark-bg);
}

.glass-banner {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139,92,246,0.2) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    z-index: 1;
}

/* Contact */
.contact-section {
    background: var(--dark-bg);
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(236,72,153,0.05) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.glass-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.glass-item:hover {
    background: rgba(255, 255, 255, 0.04);
    transform: translateX(5px);
    border-color: rgba(255, 255, 255, 0.1);
}

.gradient-bg {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.hover-white:hover {
    color: white !important;
}

.glass-form {
    background: var(--card-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.custom-input {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    padding: 1rem 1.25rem;
    border-radius: 0.75rem;
}

.custom-input:focus {
    background: rgba(0, 0, 0, 0.5);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(139, 92, 246, 0.1);
    color: white;
}

.custom-input::placeholder {
    color: #64748b;
}

/* Footer Socials */
.social-icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
    color: var(--text-muted);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.social-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(139, 92, 246, 0.4);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.1);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

@media (max-width: 991px) {
    .glass-nav {
        background: rgba(9, 9, 11, 0.95);
        backdrop-filter: blur(20px);
    }
    .hero-section {
        text-align: center;
    }
    .buttons-wrapper {
        justify-content: center;
    }
}

/* Floating CTAs */
.floating-ctas {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.floating-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.75rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    position: relative;
}

.floating-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: white;
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: #25D366;
    z-index: -1;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

.call-btn {
    background: linear-gradient(135deg, #0ea5e9, #0284c7);
    box-shadow: 0 10px 20px rgba(14, 165, 233, 0.4);
}

@keyframes ping {
    75%, 100% {
        transform: scale(1.5);
        opacity: 0;
    }
}
