/* Custom Modern Design System for Adpulse */
:root {
    --primary-blue: #4f46e5;
    --primary-indigo: #6366f1;
    --adpulse-red: #f43f5e;
    --accent-violet: #8b5cf6;
    --accent-pink: #ec4899;
    --dark-bg: #090d16;
    --light-bg: #e4ebf2;
    --light-bg2: #f8fafc;
    --light-bg3: #efefef;
    --card-light-bg: rgba(255, 255, 255, 0.7);
    --border-light: rgba(241, 245, 249, 1);

    --font-sans: 'Inter', sans-serif;
    --font-title: 'Plus Jakarta Sans', sans-serif;
}

/* Global Adjustments */
body {
    font-family: var(--font-sans);
    color: #1e293b;
    background-color: var(--light-bg);
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6,
.navbar-brand {
    font-family: var(--font-title);
    letter-spacing: -0.02em;
}

/* Modern Semi-Transparent Navbar */
.navbar-adpulse {
    background: rgba(255, 255, 255, 0.65) !important;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 15px 0;
}

.navbar-adpulse .navbar-brand {
    font-size: 1.5rem;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #090d16 60%, #1e293b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.navbar-adpulse .nav-link {
    color: #334155 !important;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px !important;
    transition: all 0.3s ease;
}

.navbar-adpulse .nav-link:hover {
    color: var(--primary-indigo) !important;
    text-shadow: 0 0 10px rgba(99, 102, 241, 0.15);
}

.navbar-adpulse .btn-nav-action {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-indigo) 100%);
    border: none;
    box-shadow: 0 4px 14px rgba(79, 70, 229, 0.3);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    color: rgba(255, 255, 255, 0.8) !important;
}

.navbar-adpulse .btn-nav-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.45);
    background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--accent-violet) 100%);
    color: #ffffff !important;
}

/* Hero Section - Light Fusion Background matching Reference Image */
/* Hero Section - Optimized Light Fusion Background */
.hero-section {
    position: relative;
    padding: 220px 0 160px;
    background-color: #f8fafc;
    color: #0f172a;
    overflow: hidden;
}

/* Container for hardware-accelerated animated blobs */
.hero-bg-blobs {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    -webkit-filter: blur(120px);
    opacity: 0.5;
    will-change: transform;
}

/* Individual blob positions and colors matching the original mesh */
.blob-cyan {
    top: -10%;
    left: -10%;
    width: 50%;
    height: 60%;
    background: rgba(56, 189, 248, 0.7);
    /* Cyan top-left */
    animation: blobFloat1 24s ease-in-out infinite alternate;
}

.blob-purple {
    top: -15%;
    left: 25%;
    width: 45%;
    height: 55%;
    background: rgba(168, 85, 247, 0.6);
    /* Purple middle-top */
    animation: blobFloat2 28s ease-in-out infinite alternate;
}

.blob-peach {
    top: -5%;
    right: -10%;
    width: 50%;
    height: 60%;
    background: rgba(251, 146, 60, 0.5);
    /* Peach top-right */
    animation: blobFloat3 22s ease-in-out infinite alternate;
}

.blob-pink {
    top: 40%;
    right: -5%;
    width: 45%;
    height: 55%;
    background: rgba(244, 114, 182, 0.55);
    /* Pink middle-right */
    animation: blobFloat4 26s ease-in-out infinite alternate;
}

.blob-indigo {
    bottom: -15%;
    right: 15%;
    width: 50%;
    height: 60%;
    background: rgba(99, 102, 241, 0.6);
    /* Indigo bottom-right */
    animation: blobFloat5 25s ease-in-out infinite alternate;
}

/* Interactive flow grid for tech feel */
.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 75%, var(--light-bg));
    z-index: 2;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(rgba(15, 23, 42, 0.08) 1.5px, transparent 1.5px);
    background-size: 40px 40px;
    opacity: 0.25;
    pointer-events: none;
    z-index: 3;
}

/* 
   GPU-Accelerated Animations using only 'transform' 
   This avoids page repaints and runs at a buttery 60/120fps.
*/
@keyframes blobFloat1 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(8%, 10%) scale(1.15) rotate(45deg);
    }

    100% {
        transform: translate(-5%, 5%) scale(0.95) rotate(-30deg);
    }
}

@keyframes blobFloat2 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(-10%, 12%) scale(0.9) rotate(-60deg);
    }

    100% {
        transform: translate(5%, -5%) scale(1.1) rotate(30deg);
    }
}

@keyframes blobFloat3 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(-8%, -5%) scale(1.1) rotate(40deg);
    }

    100% {
        transform: translate(8%, 8%) scale(0.9) rotate(-40deg);
    }
}

@keyframes blobFloat4 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(10%, -10%) scale(1.15) rotate(-45deg);
    }

    100% {
        transform: translate(-5%, 8%) scale(0.95) rotate(30deg);
    }
}

@keyframes blobFloat5 {
    0% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }

    50% {
        transform: translate(-8%, -12%) scale(1.1) rotate(50deg);
    }

    100% {
        transform: translate(5%, 10%) scale(0.9) rotate(-20deg);
    }
}

.badge-glowing {
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(99, 102, 241, 0.2);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-indigo) !important;
    font-weight: 600;
    letter-spacing: 0.05em;
    font-size: 0.85rem;
    box-shadow: 0 4px 14px rgba(99, 102, 241, 0.08);
}

.gradient-text {
    background: linear-gradient(135deg, #4f46e5 10%, #db2777 50%, #ea580c 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    display: inline-block;
}

.hero-section p.lead {
    color: #334155;
    font-weight: 500;
}

.btn-primary-adpulse {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-indigo) 100%);
    border: none;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.02em;
    box-shadow: 0 10px 20px rgba(79, 70, 229, 0.35);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    color: #f8fafc !important;
}

.btn-primary-adpulse:hover {
    transform: translateY(-3px);
    color: #ffffff;
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.5);
    background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--accent-violet) 100%);
}

.btn-outline-white {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
    color: #ffffff;
    padding: 14px 34px;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.6);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Section 2: Evolving Landscape */
.section-landscape {
    position: relative;
    padding: 100px 0;
    background-color: var(--light-bg);
}

.landscape-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 35px;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.02);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.landscape-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.06);
    border-color: rgba(99, 102, 241, 0.15);
}

.landscape-card .icon-box {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
}

.icon-blue-gradient {
    background: linear-gradient(135deg, rgba(79, 70, 229, 0.1) 0%, rgba(99, 102, 241, 0.2) 100%);
    color: var(--primary-blue);
}

.icon-red-gradient {
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.1) 0%, rgba(251, 113, 133, 0.2) 100%);
    color: var(--adpulse-red);
}

/* Section 3: Core Innovation (Services) */
.section-services {
    position: relative;
    padding: 100px 0;
    background-color: #ffffff;
    /* Grid Dot Accent Latar Belakang */
    background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
    background-size: 32px 32px;
}

.section-services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100px;
    background: linear-gradient(to bottom, var(--light-bg), transparent);
}

.card-service-modern {
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 40px 30px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    height: 100%;
}

.card-service-modern:hover {
    transform: translateY(-8px);
    box-shadow: 0 22px 45px rgba(79, 70, 229, 0.08);
    border-color: rgba(79, 70, 229, 0.2);
    background: #ffffff;
}

.card-service-modern .service-icon-container {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: rgba(79, 70, 229, 0.06);
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card-service-modern:hover .service-icon-container {
    background: var(--primary-blue);
    color: #ffffff;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

/* Section 4: Digital Ecosystem Integrations */
.section-ecosystem {
    padding: 100px 0;
    background-color: var(--light-bg2);
}

.eco-card {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 24px;
    padding: 40px 30px;
    text-align: left;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.01);
    position: relative;
    overflow: hidden;
}

.eco-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: transparent;
}

.eco-card-header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    pointer-events: none;
    z-index: 1;
}

.eco-card:hover .eco-card-header-bg {
    opacity: 0.75;
    transform: scale(1.05);
}

.eco-card .eco-icon-container,
.eco-card h5,
.eco-card p {
    position: relative;
    z-index: 2;
}

.eco-icon-container {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    background: #f8fafc;
    color: #64748b;
    transition: all 0.3s ease;
}

/* Platform Hover Custom Themes */
.eco-card[data-platform="google"]:hover {
    border-color: rgba(66, 133, 244, 0.2);
    box-shadow: 0 15px 35px rgba(66, 133, 244, 0.08);
    transform: translateY(-6px);
}

.eco-card[data-platform="google"]::before {
    background: #4285F4;
}

.eco-card[data-platform="google"]:hover .eco-icon-container {
    background: rgba(66, 133, 244, 0.1);
    color: #4285F4;
}

.eco-card[data-platform="meta"]:hover {
    border-color: rgba(6, 104, 225, 0.2);
    box-shadow: 0 15px 35px rgba(6, 104, 225, 0.08);
    transform: translateY(-6px);
}

.eco-card[data-platform="meta"]::before {
    background: #0668E1;
}

.eco-card[data-platform="meta"]:hover .eco-icon-container {
    background: rgba(6, 104, 225, 0.1);
    color: #0668E1;
}

.eco-card[data-platform="tiktok"]:hover {
    border-color: rgba(0, 0, 0, 0.15);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.08);
    transform: translateY(-6px);
}

.eco-card[data-platform="tiktok"]::before {
    background: #000000;
}

.eco-card[data-platform="tiktok"]:hover .eco-icon-container {
    background: rgba(0, 0, 0, 0.08);
    color: #000000;
}

.eco-card[data-platform="programmatic"]:hover {
    border-color: rgba(139, 92, 246, 0.2);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.08);
    transform: translateY(-6px);
}

.eco-card[data-platform="programmatic"]::before {
    background: var(--accent-violet);
}

.eco-card[data-platform="programmatic"]:hover .eco-icon-container {
    background: rgba(139, 92, 246, 0.1);
    color: var(--accent-violet);
}

.eco-card h5 {
    color: #0f172a;
    font-weight: 700;
    margin-bottom: 12px;
}

.eco-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Premium Footer */
.footer-adpulse {
    position: relative;
    padding: 100px 0 50px;
    background-color: var(--dark-bg);
    background-image: radial-gradient(circle at 50% 0%, rgba(79, 70, 229, 0.12) 0%, transparent 60%);
    color: #cbd5e1;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-adpulse h2 {
    color: #ffffff;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.footer-adpulse p {
    color: #94a3b8;
}

.btn-pulse-glow {
    background: linear-gradient(135deg, var(--primary-indigo) 0%, var(--accent-violet) 100%);
    border: none;
    padding: 15px 36px;
    border-radius: 50px;
    font-weight: 700;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.35);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-pulse-glow:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(139, 92, 246, 0.5);
    color: #ffffff;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f8fafc;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Section Partners */
.section-partners {
    padding: 100px 0;
    background-color: var(--light-bg3);
    border-top: 1px solid #f1f5f9;
}

.partner-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.partner-box {
    background: #ffffff;
    border: 1px solid #f1f5f9;
    border-radius: 20px;
    height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.01);
}

.partner-box:hover {
    transform: translateY(-5px);
    border-color: rgba(99, 102, 241, 0.25);
    box-shadow: 0 15px 30px rgba(99, 102, 241, 0.08);
}

.partner-logo {
    font-family: var(--font-title);
    font-weight: 700;
    font-size: 1.15rem;
    color: #64748b;
    opacity: 0.85;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.partner-box:hover .partner-logo {
    opacity: 1;
}

.partner-img {
    max-height: 100px;
    max-width: 100%;
    object-fit: contain;
    filter: grayscale(10%);
    opacity: 0.65;
    transition: all 0.3s ease;
}

.partner-box:hover .partner-img {
    filter: grayscale(10%);
    opacity: 1;
}

/* Responsive adjustments */
@media (max-width: 991.98px) {
    .navbar-adpulse {
        background: rgba(255, 255, 255, 0.85) !important;
    }

    .hero-section {
        padding: 160px 0 100px;
    }

    .hero-section h1 {
        font-size: 2.8rem !important;
    }

    .partner-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 575.98px) {
    .partner-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .partner-box {
        height: 90px;
    }
}