/* Modern Graphic Design - Neon Digital Atelier */
:root {
    --bg-void: #030305;
    --bg-card: rgba(20, 20, 25, 0.6);
    --bg-card-hover: rgba(30, 30, 40, 0.8);

    /* Neon Palette */
    --neon-orange: #FFBD2E;
    --neon-pink: #FF005c;
    --neon-cyan: #00f2ea;
    --neon-purple: #bd00ff;

    --text-main: #ffffff;
    --text-muted: #9494a0;
    --text-gray: #9494a0;
    /* Alias for footer compatibility */

    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Outfit', sans-serif;

    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-body);
    line-height: 1.5;
    overflow-x: hidden;
}

/* --- ANIMATED MESH BACKGROUND --- */
.mesh-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    background: radial-gradient(circle at 50% 50%, rgba(20, 20, 30, 1), #000);
}

.blob {
    position: absolute;
    filter: blur(80px);
    opacity: 0.4;
    animation: floatBlob 10s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    top: -10%;
    left: -10%;
    width: 50vw;
    height: 50vw;
    background: var(--neon-purple);
    animation-delay: 0s;
}

.blob-2 {
    bottom: -10%;
    right: -10%;
    width: 60vw;
    height: 60vw;
    background: var(--neon-pink);
    animation-delay: -5s;
}

.blob-3 {
    top: 40%;
    left: 40%;
    width: 40vw;
    height: 40vw;
    background: var(--neon-orange);
    transform: translate(-50%, -50%);
    opacity: 0.2;
    animation-duration: 15s;
}

@keyframes floatBlob {
    0% {
        transform: translate(0, 0) scale(1);
    }

    100% {
        transform: translate(50px, 50px) scale(1.1);
    }
}

/* --- HEADER (Clean & Minimal) --- */
header {
    padding: 30px 0 !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    max-width: none !important;
    /* Override .container class from header.php */
    z-index: 1000;
    background: rgba(3, 3, 5, 0.7);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    /* Constrain inner content */
    margin: 0 auto;
    width: 100%;
    padding: 0 20px;
    /* Ensure padding match */
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    color: white;
}

.logo-img {
    height: 40px;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: 0.3s;
}

.nav-links .btn-primary {
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-pink));
    color: black !important;
    font-weight: 800;
    border: none;
    padding: 10px 25px !important;
    /* Adjust padding for header context */
}

.nav-links a:hover {
    color: white;
}

.btn-contact-nav {
    padding: 8px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50px;
    color: white !important;
}

.btn-contact-nav:hover {
    border-color: var(--neon-orange);
    background: rgba(255, 189, 46, 0.1);
}

.mobile-toggle {
    display: none;
    color: white;
    font-size: 1.5rem;
    background: none;
    border: none;
}

/* --- HERO SECTION --- */
.hero {
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 100px;
}

.badge {
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--neon-cyan);
    margin-bottom: 24px;
    display: inline-block;
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 6rem);
    line-height: 1;
    font-weight: 700;
    letter-spacing: -2px;
    margin-bottom: 24px;
    background: linear-gradient(180deg, #fff 0%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h1 span {
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-pink));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-bottom: 40px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.btn-primary {
    padding: 16px 40px;
    background: white;
    color: black;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
    position: relative;
    overflow: hidden;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

.btn-outline {
    padding: 16px 40px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: 0.3s;
}

.btn-outline:hover {
    border-color: white;
    background: rgba(255, 255, 255, 0.05);
}

/* --- BENTO GRID SERVICES --- */
.bento-section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 60px;
    text-align: left;
}

.section-header h2 {
    font-size: 3rem;
    margin-bottom: 10px;
}

.section-header p {
    color: var(--text-muted);
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 20px;
    width: 100%;
}

.bento-card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: 24px;
    padding: 30px;
    position: relative;
    overflow: hidden;
    transition: 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    backdrop-filter: blur(20px);
}

.bento-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: var(--glass-shadow);
}

.bento-card h3 {
    font-size: 1.8rem;
    line-height: 1.1;
    z-index: 2;
    margin-bottom: 10px;
}

.bento-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    z-index: 2;
}

.card-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: var(--neon-cyan);
    opacity: 0.8;
}

/* Bento Sizes */
.span-2 {
    grid-column: span 2;
}

.span-4 {
    grid-column: span 4;
}

.row-2 {
    grid-row: span 2;
}

/* Specific Card Styles */
.card-branding {
    background: linear-gradient(135deg, rgba(255, 189, 46, 0.1), rgba(20, 20, 25, 0.8));
}

.card-branding:hover .card-icon {
    color: var(--neon-orange);
    transform: scale(1.1) rotate(-5deg);
    transition: 0.4s;
}

.card-social {
    background: linear-gradient(135deg, rgba(255, 0, 92, 0.1), rgba(20, 20, 25, 0.8));
}

/* --- TRUST / PROCESS SECTION --- */
.process-section {
    padding: 100px 0;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.step {
    position: relative;
    padding: 20px;
}

.step-number {
    font-size: 5rem;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.03);
    position: absolute;
    top: -30px;
    left: 0;
    z-index: -1;
}

.step h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--neon-cyan);
}

/* --- BIG CTA --- */
.big-cta {
    padding: 150px 0;
    text-align: center;
    background: linear-gradient(to top, rgba(0, 0, 0, 1), transparent);
}

.cta-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1;
    margin-bottom: 40px;
}

/* --- RESPONSIVE --- */
@media (max-width: 900px) {
    .container {
        padding: 0 20px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary,
    .btn-outline {
        width: 100%;
        text-align: center;
    }

    .bento-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }

    .span-2,
    .span-4 {
        grid-column: span 1;
    }

    .row-2 {
        grid-row: auto;
        min-height: 300px;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 60px;
    }

    /* Mobile Nav */
    .mobile-toggle {
        display: block;
        z-index: 1001;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: black;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s;
        z-index: 1000;
    }

    .nav-links.menu-open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.5rem;
    }

    .btn-contact-nav {
        display: none;
    }
}