@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Base Colors */
    --bg-deep: #05070a;
    --bg-surface: #0c0f16;
    --accent-primary: #3b82f6;
    --accent-glow: rgba(59, 130, 246, 0.5);
    --accent-subtle: rgba(59, 130, 246, 0.1);

    /* Text Colors */
    --text-pure: #ffffff;
    --text-dim: #94a3b8;
    --text-muted: #64748b;

    /* Borders & Glass */
    --border-glass: rgba(255, 255, 255, 0.08);
    --bg-glass: rgba(13, 17, 23, 0.7);
    --glass-blur: blur(12px);

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;

    /* Transitions */
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --transition-main: all 0.4s var(--ease-smooth);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-pure);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Background Noise/Grain Effect */
.bg-ambient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    overflow: hidden;
    background: var(--bg-deep);
}

.ambient-blob {
    position: absolute;
    width: 60vmax;
    height: 60vmax;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.15;
    mix-blend-mode: screen;
    animation: move 25s infinite alternate var(--ease-smooth);
}

.blob-1 {
    background: var(--accent-primary);
    top: -20%;
    left: -10%;
    animation-duration: 30s;
}

.blob-2 {
    background: #4f46e5;
    bottom: -20%;
    right: -10%;
    animation-duration: 25s;
    animation-delay: -5s;
}

.blob-3 {
    background: #0ea5e9;
    top: 40%;
    left: 30%;
    width: 40vmax;
    height: 40vmax;
    animation-duration: 35s;
    animation-delay: -10s;
}

@keyframes move {
    0% {
        transform: translate(0, 0) rotate(0deg);
    }

    100% {
        transform: translate(15%, 15%) rotate(120deg);
    }
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("https://grainy-gradients.vercel.app/noise.svg");
    opacity: 0.03;
    pointer-events: none;
    z-index: 9999;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* --- Header --- */
header {
    height: 90px;
    display: flex;
    align-items: center;
    background: var(--bg-glass);
    backdrop-filter: var(--glass-blur);
    -webkit-backdrop-filter: var(--glass-blur);
    border-bottom: 1px solid var(--border-glass);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-v5 {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 12px;
}

.logo-sq {
    width: 28px;
    height: 28px;
    background: linear-gradient(135deg, var(--accent-primary), #60a5fa);
    border-radius: 6px;
    box-shadow: 0 0 20px var(--accent-glow);
}

.logo-txt {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.6rem;
    color: var(--text-pure);
    letter-spacing: -1px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2.5rem;
}

nav a {
    text-decoration: none;
    color: var(--text-dim);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition-main);
}

nav a:hover,
nav a.active {
    color: var(--accent-primary);
    text-shadow: 0 0 10px var(--accent-glow);
}

.lang-sw {
    display: flex;
    gap: 0.8rem;
    margin-left: 2.5rem;
    padding-left: 2.5rem;
    border-left: 1px solid var(--border-glass);
}

.lang-sw button {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.8rem;
    font-weight: 800;
    cursor: pointer;
    transition: var(--transition-main);
}

.lang-sw button.active {
    color: var(--accent-primary);
}

/* --- Hero --- */
.hero {
    padding: 12rem 0 8rem;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: "";
    position: absolute;
    top: -10%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: var(--accent-primary);
    filter: blur(180px);
    opacity: 0.15;
    z-index: -1;
}

.hero-label {
    display: inline-block;
    padding: 6px 16px;
    background: var(--accent-subtle);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    color: var(--accent-primary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2.5rem;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: 5.5rem;
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.04em;
    margin-bottom: 2rem;
}

.hero h1 span {
    background: linear-gradient(to right, #fff, var(--accent-primary));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-dim);
    max-width: 650px;
    margin-bottom: 4rem;
    line-height: 1.5;
}

.btn-v5 {
    display: inline-flex;
    align-items: center;
    padding: 1.2rem 3rem;
    background: var(--accent-primary);
    color: #fff;
    text-decoration: none;
    border-radius: 12px;
    font-weight: 700;
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    transition: var(--transition-main);
}

.btn-v5:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(59, 130, 246, 0.5);
    background: #4f8ff7;
}

/* --- Bento Grid --- */
.bento-section {
    padding: 10rem 0;
}

.section-head {
    margin-bottom: 5rem;
}

.section-head h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-top: 1rem;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 280px;
    gap: 1.5rem;
}

.bento-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-glass);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: var(--transition-main);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(800px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.05), transparent 40%);
    z-index: 3;
    pointer-events: none;
}

.bento-card:hover {
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-5px);
}

.bento-card i {
    font-size: 2.5rem;
    color: var(--accent-primary);
    margin-bottom: auto;
}

.bento-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
}

.bento-card p {
    font-size: 0.95rem;
    color: var(--text-dim);
}

/* Bento Spans */
.col-2 {
    grid-column: span 2;
}

.row-2 {
    grid-row: span 2;
}

/* --- Marquee --- */
.marquee-v5 {
    padding: 6rem 0;
    background: rgba(12, 15, 22, 0.5);
    border-top: 1px solid var(--border-glass);
    border-bottom: 1px solid var(--border-glass);
    overflow: hidden;
}

.marquee-track {
    display: flex;
    width: max-content;
    gap: 6rem;
    animation: scroll 40s linear infinite;
    align-items: center;
}

.marquee-track img,
.partner-badge {
    height: 65px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    transition: var(--transition-main);
}

.marquee-track img:hover,
.partner-badge:hover {
    filter: brightness(0) invert(1);
    opacity: 1;
    transform: scale(1.05);
}

.partner-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.partner-badge span {
    font-size: 9px;
    font-weight: 800;
    letter-spacing: 1px;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Footer --- */
footer {
    padding: 10rem 0 4rem;
    border-top: 1px solid var(--border-glass);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 6rem;
    margin-bottom: 8rem;
}

.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 1.2rem;
}

.footer-col a {
    text-decoration: none;
    color: var(--text-dim);
    transition: var(--transition-main);
}

.footer-col a:hover {
    color: var(--accent-primary);
}

.footer-bottom {
    padding-top: 4rem;
    border-top: 1px solid var(--border-glass);
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Map --- */
#map {
    height: 500px;
    border-radius: 32px;
    border: 1px solid var(--border-glass);
    filter: grayscale(1) invert(1) contrast(1.2);
}

/* --- Responsive --- */
@media (max-width: 1024px) {
    .hero h1 {
        font-size: 4rem;
    }

    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: minmax(280px, auto);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1.5rem;
    }

    .hero h1 {
        font-size: 3rem;
    }

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .col-2 {
        grid-column: span 1;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}