@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
    --bg-black: #000000;
    --bg-midnight: #030818;
    --accent-purple: #7f68db;
    --accent-blue: #4f46e5;
    --text-primary: #ffffff;
    --text-dim: #B0B0B0;
    --border-glass: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(15, 23, 42, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-black);
    color: var(--text-primary);
    font-family: 'Outfit', sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: none;
    /* Hide default cursor */
}

/* Custom Cursor Styling - Magical Overhaul */
.custom-cursor {
    width: 12px;
    height: 12px;
    background: var(--accent-purple);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 10000;
    mix-blend-mode: screen;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.2s ease, background 0.3s ease, width 0.3s ease, height 0.3s ease;
    transform: translate(-50%, -50%);
    box-shadow: 0 0 20px var(--accent-purple), 0 0 40px rgba(127, 104, 219, 0.6);
}

@media (pointer: coarse) {

    .custom-cursor,
    .cursor-follower,
    .cursor-particle {
        display: none !important;
    }
}

.cursor-follower {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle,
            rgba(127, 104, 219, 0.45) 0%,
            rgba(79, 70, 229, 0.2) 40%,
            rgba(15, 23, 42, 0.05) 75%,
            transparent 90%);
    border-radius: 50%;
    position: fixed;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 9999;
    filter: blur(25px);
    transition: transform 0.4s cubic-bezier(0.12, 0, 0.39, 0),
        width 0.5s cubic-bezier(0.19, 1, 0.22, 1),
        height 0.5s cubic-bezier(0.19, 1, 0.22, 1),
        opacity 0.5s ease;
    opacity: 0;
    transform: translate(-50%, -50%);
    mix-blend-mode: screen;
    animation: cursor-pulse 3s infinite alternate;
}

@keyframes cursor-pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }

    100% {
        transform: translate(-50%, -50%) scale(1.15);
        opacity: 0.8;
    }
}

.cursor-hover {
    width: 380px;
    height: 380px;
    background: radial-gradient(circle,
            rgba(127, 104, 219, 0.6) 0%,
            rgba(79, 70, 229, 0.3) 30%,
            rgba(255, 255, 255, 0.1) 60%,
            transparent 80%);
    filter: blur(50px);
}

.cursor-text-mode {
    width: 120px;
    height: 120px;
    background: radial-gradient(circle,
            rgba(127, 104, 219, 0.5) 0%,
            rgba(79, 70, 229, 0.2) 50%,
            transparent 80%);
    mix-blend-mode: screen;
    filter: blur(15px);
}

.cursor-text-mode+.custom-cursor {
    background: #ffffff !important;
    box-shadow: 0 0 20px #ffffff, 0 0 40px var(--accent-purple) !important;
    width: 3px !important;
    height: 40px !important;
    border-radius: 4px !important;
}

.cursor-particle {
    box-shadow: 0 0 10px rgba(127, 104, 219, 0.8), 0 0 20px rgba(79, 70, 229, 0.4);
    pointer-events: none;
}

/* --- Buntu AI Identity Overhaul (Phase 9: High-Contrast Panels) --- */
.page-wrapper {
    position: relative;
    width: 100%;
    min-height: 100vh;
    /* background-color: transparent; */
    background: rgba(0, 0, 0, 0.25);
    background-image: url('../../images/bg-pattern.jpeg');
    background-size: cover;

    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: 0;
    overflow: hidden;
}

/* Digital Tribal Side Panels - Hidden as they are integrated into the main-bg.png */
.page-wrapper::before,
.page-wrapper::after {
    display: none;
}

/* Atmospheric Void Fog */
.vignette-glow {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 10;
    background:
        /* Void fog that separates text from side patterns */
        radial-gradient(circle at 0% 50%, rgba(0, 0, 0, 0.9) 0%, transparent 40%),
        radial-gradient(circle at 100% 50%, rgba(0, 0, 0, 0.9) 0%, transparent 40%),
        /* Extra center focus */
        radial-gradient(ellipse at center, transparent 40%, rgba(0, 0, 0, 0.7) 100%);
}

/* Bottom Center Glow */
.bottom-glow {
    position: fixed;
    bottom: -10%;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 300px;
    background: radial-gradient(ellipse at center, rgba(127, 104, 219, 0.08) 0%, transparent 70%);
    filter: blur(80px);
    z-index: 1;
    pointer-events: none;
}

/* --- Navigation --- */
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    position: relative;
    z-index: 10;
}

.logo img {
    height: 80px;
    width: auto;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0.6;
    transition: opacity 0.3s, transform 0.3s;
}

.nav-links a:hover {
    opacity: 1;
    transform: translateY(-1px);
}

.btn-get-touch {
    background: #ffffff;
    color: #030818 !important;
    padding: 0.8rem 1.5rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 1 !important;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.btn-get-touch::after {
    content: "→";
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.btn-get-touch:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
}

.btn-get-touch:hover::after {
    transform: translateX(4px);
}

/* --- Hero Section --- */
.hero {
    text-align: center;
    padding: 12rem 2rem 2.5rem 2rem;
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4.6rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1.0;
    margin-bottom: 2rem;
    color: white;
}

.hero p {
    color: var(--text-dim);
    font-size: 1.15rem;
    max-width: 650px;
    margin: 0 auto 4rem auto;
    line-height: 1.6;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.btn-primary {
    background: linear-gradient(135deg, #7f68db 0%, #4f46e5 100%);
    color: white;
    padding: 1rem 3.5rem;
    /* Slightly smaller */
    border-radius: 99px;
    /* Full pill shape */
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.02em;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow:
        0 0 30px rgba(127, 104, 219, 0.4),
        0 0 60px rgba(127, 104, 219, 0.2);
    /* Stronger neon bloom */
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
}

.learn-more {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.3s;
}

.learn-more:hover {
    color: white;
}

/* --- Trust Bar --- */
.trust-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3.5rem 0;
}

.trust-label {
    display: none;
    /* Mobile only */
    text-align: center;
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    color: rgba(255, 255, 255, 0.4);
    font-weight: 600;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.trust-pill.glassy-morph {
    max-width: 1000px;
    width: 90%;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 99px;
    padding: 1.25rem 4rem;
    display: flex;
    justify-content: space-around;
    align-items: center;
    position: relative;
    z-index: 10;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.trust-pill.glassy-morph::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg,
            transparent 0%,
            rgba(255, 255, 255, 0.03) 45%,
            rgba(255, 255, 255, 0.05) 50%,
            rgba(255, 255, 255, 0.03) 55%,
            transparent 100%);
    transform: rotate(30deg);
    pointer-events: none;
}

.trust-item {
    display: flex;
    align-items: center;
    justify-content: center;
}

.trust-logo {
    height: 64px;
    width: auto;
    object-fit: contain;
    opacity: 0.8;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.trust-logo:hover {
    transform: scale(1.1);
    opacity: 1;
}

/* --- Stop Experimenting Section --- */
/* --- Buntu AI: Stop Experimenting Section --- */
.buntu-cta {
    max-width: 1200px;
    margin: 4rem auto;
    padding: 0 8%;
    display: flex;
    gap: 4rem;
    position: relative;
    z-index: 10;
}

.neon-accent-bar {
    width: 18px;
    display: flex;
    gap: 6px;
    flex-shrink: 0;
}

.neon-accent-bar::before,
.neon-accent-bar::after {
    content: '';
    width: 2px;
    height: 100%;
    border-radius: 4px;
}

.neon-accent-bar::before {
    background: #7f68db;
    box-shadow: 0 0 20px #7f68db, 0 0 40px rgba(127, 104, 219, 0.4);
}

.neon-accent-bar::after {
    background: #4f46e5;
    box-shadow: 0 0 20px #4f46e5, 0 0 40px rgba(79, 70, 229, 0.4);
}

.cta-content {
    text-align: left;
}

.cta-content h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
    color: #ffffff;
    letter-spacing: -0.03em;
}

.cta-text {
    max-width: 750px;
    margin-bottom: 3rem;
}

.cta-text p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #B0B0B0;
    margin-bottom: 1.5rem;
}

.btn-buntu {
    display: inline-block;
    background: #ffffff;
    color: #030818;
    padding: 1.15rem 4rem;
    border-radius: 99px;
    font-weight: 700;
    text-decoration: none;
    font-size: 1rem;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.btn-buntu:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 45px rgba(127, 104, 219, 0.6);
}

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

.btn-buntu:hover::before {
    left: 100%;
}

.btn-prism {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background: linear-gradient(135deg, #7f68db 0%, #4f46e5 100%);
    color: #ffffff;
    border: none;
    border-radius: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.32, 1);
    box-shadow: 0 0 20px rgba(127, 104, 219, 0.3);
}

.btn-prism:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(127, 104, 219, 0.5);
}

.btn-prism:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 2rem 2rem 4rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

footer p {
    color: var(--text-dim);
    font-size: 0.85rem;
    opacity: 0.6;
}

/* --- Utils --- */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.8s cubic-bezier(0.22, 1, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 900px) {
    .desktop-only {
        display: none !important;
    }

    .header-site {
        position: relative;
        padding: 0.5rem 5% 0.25rem 5%;
    }

    .nav-center {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .nav-links {
        display: flex;
        align-items: center;
        gap: 0;
    }

    .logo img {
        height: 48px;
    }

    .btn-get-touch {
        padding: 0.4rem 0.8rem;
        font-size: 0.72rem;
        border-radius: 6px;
    }

    .trust-container {
        margin: 1rem 0;
    }

    .trust-label {
        display: block;
        font-size: 0.55rem;
        margin-bottom: 1.5rem;
        opacity: 0.3;
    }

    .trust-pill.glassy-morph {
        width: 100%;
        gap: 0;
        padding: 0 1rem;
        justify-content: space-between;
        flex-wrap: nowrap;
        overflow: visible;
        background: transparent;
        border: none;
        backdrop-filter: none;
        box-shadow: none;
    }

    .trust-pill.glassy-morph::after {
        display: none;
    }

    .trust-logo {
        height: 22px;
        opacity: 0.4;
    }

    /* Target the content card precisely like the screenshot */
    .buntu-cta {
        flex-direction: column;
        gap: 0;
        padding: 0 5%;
        margin-top: 1rem;
        margin-bottom: 3rem;
    }

    .neon-accent-bar {
        display: none;
        /* Hide bars as we use a card glow */
    }

    .cta-content {
        background: radial-gradient(circle at top left, rgba(79, 70, 229, 0.15), rgba(15, 23, 42, 0.4));
        border: 1px solid rgba(127, 104, 219, 0.3);
        border-radius: 40px;
        padding: 3rem 2rem;
        position: relative;
        overflow: hidden;
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    }

    .cta-content::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100px;
        height: 100px;
        background: var(--accent-blue);
        filter: blur(80px);
        opacity: 0.2;
    }

    .cta-content h2 {
        font-size: 2.2rem;
        line-height: 1.2;
        margin-bottom: 2.5rem;
    }

    .cta-content h2 span.highlight-blue {
        color: #4facfe;
        background: linear-gradient(to right, #4facfe 0%, #00f2fe 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }

    .cta-text p {
        font-size: 1.05rem;
        line-height: 1.6;
        color: rgba(255, 255, 255, 0.7);
        margin-bottom: 1.8rem;
    }

    .btn-buntu {
        display: none;
        /* User didn't want extra buttons */
    }

    footer {
        margin-top: 0;
        padding-bottom: 2rem;
    }
}