/* === RESET & BASE === */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --color-bg: #05050f;
    --color-primary: #7c3aed;
    --color-primary-light: #a855f7;
    --color-secondary: #06b6d4;
    --color-accent: #f59e0b;
    --color-text: #e2e8f0;
    --color-text-muted: #94a3b8;
    --glass-bg: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.1);
    --shadow-glow: 0 0 60px rgba(124, 58, 237, 0.18);
    --radius-card: 24px;
    --radius-icon: 16px;
    --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Outfit', 'Segoe UI', sans-serif;
    background-color: var(--color-bg);
    color: var(--color-text);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
}

/* === ANIMATED BACKGROUND === */
.background-animation {
    position: fixed;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.45;
    animation: floatBlob 18s ease-in-out infinite alternate;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, #7c3aed, transparent 70%);
    top: -200px;
    left: -150px;
    animation-duration: 22s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, #06b6d4, transparent 70%);
    bottom: -200px;
    right: -100px;
    animation-duration: 18s;
    animation-delay: -6s;
}

.blob-3 {
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, #f59e0b, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-duration: 28s;
    animation-delay: -12s;
}

.noise-overlay {
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
    opacity: 0.5;
    pointer-events: none;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    50% {
        transform: translate(80px, 60px) scale(1.1);
    }

    100% {
        transform: translate(-40px, 80px) scale(0.95);
    }
}

/* === LAYOUT === */
.container {
    position: relative;
    z-index: 1;
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 20px 60px;
    display: flex;
    flex-direction: column;
    gap: 36px;
}

/* === GLASS PANEL === */
.glass-panel {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border-radius: var(--radius-card);
    box-shadow: var(--shadow-glow), 0 8px 40px rgba(0, 0, 0, 0.35);
    padding: 50px 40px;
    transition: transform var(--transition), box-shadow var(--transition);
}

/* === HERO === */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    text-align: center;
    padding: 64px 40px 56px;
    animation: fadeUp 0.9s ease-out both;
}

.logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 0.7s ease-out 0.1s both;
}

.brand-logo {
    max-width: 240px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 20px rgba(168, 85, 247, 0.6));
    transition: filter var(--transition), transform var(--transition);
}

.brand-logo:hover {
    filter: drop-shadow(0 0 30px rgba(168, 85, 247, 0.9));
    transform: scale(1.04);
}

.title {
    font-size: clamp(2rem, 5vw, 3.2rem);
    font-weight: 800;
    background: linear-gradient(135deg, #fff 30%, var(--color-primary-light) 70%, var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    animation: fadeUp 0.7s ease-out 0.2s both;
}

.agency-tag {
    font-size: clamp(0.95rem, 2vw, 1.1rem);
    font-weight: 600;
    color: var(--color-secondary);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    opacity: 0.85;
    animation: fadeUp 0.7s ease-out 0.25s both;
}

.subtitle {
    font-size: clamp(1rem, 2.2vw, 1.18rem);
    color: var(--color-text-muted);
    max-width: 640px;
    line-height: 1.8;
    animation: fadeUp 0.7s ease-out 0.3s both;
}

/* === PULSE INDICATOR === */
.pulse-indicator {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(124, 58, 237, 0.15);
    border: 1px solid rgba(124, 58, 237, 0.4);
    padding: 10px 22px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-primary-light);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    animation: fadeUp 0.7s ease-out 0.4s both;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background: var(--color-primary-light);
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.8);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(168, 85, 247, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

/* === SERVICES SECTION === */
.services-section {
    animation: fadeUp 0.7s ease-out 0.5s both;
}

.section-title {
    font-size: clamp(1.4rem, 3vw, 1.9rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 32px;
    color: var(--color-text);
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--color-primary), var(--color-secondary));
    border-radius: 99px;
    margin: 10px auto 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* === SERVICE CARD === */
.service-card {
    padding: 36px 28px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    cursor: default;
    position: relative;
    overflow: hidden;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(124, 58, 237, 0.08), transparent 60%);
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: var(--radius-card);
}

.service-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 12px 50px rgba(124, 58, 237, 0.28), 0 4px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(168, 85, 247, 0.3);
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 58px;
    height: 58px;
    border-radius: var(--radius-icon);
    background: linear-gradient(135deg, var(--color-primary), var(--color-primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: #fff;
    box-shadow: 0 4px 20px rgba(124, 58, 237, 0.45);
    flex-shrink: 0;
    transition: transform var(--transition), box-shadow var(--transition);
}

.service-card:hover .service-icon {
    transform: rotate(-6deg) scale(1.08);
    box-shadow: 0 6px 28px rgba(124, 58, 237, 0.65);
}

/* Icon color variations */
.service-card:nth-child(2) .service-icon {
    background: linear-gradient(135deg, #0ea5e9, #06b6d4);
    box-shadow: 0 4px 20px rgba(6, 182, 212, 0.45);
}

.service-card:nth-child(3) .service-icon {
    background: linear-gradient(135deg, #10b981, #34d399);
    box-shadow: 0 4px 20px rgba(16, 185, 129, 0.45);
}

.service-card:nth-child(4) .service-icon {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.45);
}

.service-card:nth-child(5) .service-icon {
    background: linear-gradient(135deg, #ec4899, #f472b6);
    box-shadow: 0 4px 20px rgba(236, 72, 153, 0.45);
}

.service-card:nth-child(6) .service-icon {
    background: linear-gradient(135deg, #6366f1, #818cf8);
    box-shadow: 0 4px 20px rgba(99, 102, 241, 0.45);
}

.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--color-text);
    margin: 0;
}

.service-card p {
    font-size: 0.93rem;
    color: var(--color-text-muted);
    line-height: 1.75;
    margin: 0;
}

/* === FOOTER === */
.footer {
    padding: 28px 40px;
    animation: fadeUp 0.7s ease-out 0.6s both;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-content p {
    color: var(--color-text-muted);
    font-size: 0.92rem;
}

/* === UTILITIES === */
.text-center {
    text-align: center;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

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

/* === RESPONSIVE === */
@media (max-width: 900px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .container {
        padding: 24px 14px 48px;
        gap: 24px;
    }

    .glass-panel {
        padding: 36px 22px;
    }

    .hero {
        padding: 44px 22px 40px;
    }

    .brand-logo {
        max-width: 180px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-card {
        padding: 28px 22px;
    }

    .footer {
        padding: 22px;
    }
}