:root {
    /* Ultra-Modern Color Palette */
    --bg-base: #FAFAFB;
    /* Almost white but softer */
    --surface-glass: rgba(255, 255, 255, 0.65);
    --surface-glass-border: rgba(255, 255, 255, 0.8);
    --surface-dark: #09090B;

    --text-primary: #09090B;
    --text-secondary: #71717A;

    --accent-glow: #3B82F6;
    /* Vibrant Blue */
    --accent-glow-2: #8B5CF6;
    /* Vibrant Purple */

    /* Typography */
    --font-display: 'Syne', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing & Radii */
    --radius-sm: 12px;
    --radius-md: 24px;
    --radius-lg: 32px;

    --transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    font-family: var(--font-body);
    background-color: var(--bg-base);
    color: var(--text-primary);
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--font-display);
    line-height: 1.1;
    letter-spacing: -0.03em;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

/* =========================================
   BACKGROUND EFFECTS (Pure CSS Animated Mesh)
========================================= */
.gradient-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    z-index: -2;
    background: linear-gradient(-45deg, #f0fdf4, #e0e7ff, #f3e8ff, #ffffff);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* =========================================
   GLASSMORPHISM BASE
========================================= */
.glass {
    background: var(--surface-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--surface-glass-border);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.02), inset 0 0 0 1px rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-lg);
}

/* =========================================
   BUTTONS
========================================= */
.btn-primary,
.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 32px;
    border-radius: 999px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-family: inherit;
}

.btn-primary {
    background: var(--surface-dark);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.2);
}

.btn-secondary {
    background: #fff;
    color: var(--surface-dark);
    border: 1px solid rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
    border-color: rgba(0, 0, 0, 0.3);
    background: #fafafa;
}

.btn-primary.sm,
.btn-secondary.sm {
    padding: 10px 20px;
    font-size: 0.9rem;
}

.block {
    width: 100%;
}

/* =========================================
   NAVBAR
========================================= */
.navbar {
    padding: 24px 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
}

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

.logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.05em;
}

.logo span {
    color: var(--text-secondary);
    font-weight: 600;
}

/* =========================================
   HERO
========================================= */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.subpage-hero {
    padding-top: 160px;
    padding-bottom: 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
}

.hero-content {
    flex: 1.2;
    max-width: 750px;
    z-index: 2;
    text-align: left;
}

.hero-image-wrapper {
    flex: 0.8;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    z-index: 1;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.1));
    transform-origin: bottom center;
}

.badge {
    display: inline-block;
    padding: 8px 16px;
    border-radius: 999px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 6rem);
    margin-bottom: 24px;
    line-height: 1.05;
}

.text-glow {
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-glow-2));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1.125rem, 1.5vw, 1.35rem);
    color: var(--text-secondary);
    max-width: 650px;
    margin-bottom: 0px;
    /* Removed bottom margin since media is gone */
    line-height: 1.6;
}

/* =========================================
   BRANDS MARQUEE
========================================= */
.brands {
    position: relative;
    z-index: 10;
    margin-top: -80px;
    /* Pull up to overlap the sharp edge of the photo */
    padding: 0 24px 60px;
}

.brands-plate {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 0;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.05);
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(20px);
}

.brands-marquee {
    display: flex;
    overflow: hidden;
    user-select: none;
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-track {
    display: flex;
    align-items: center;
    gap: 40px;
    padding-right: 40px;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-secondary);
    opacity: 0.5;
}

.marquee-track span {
    display: inline-block;
}

.marquee-track .dot {
    color: var(--accent-glow);
    font-size: 1.5rem;
}

@keyframes marquee {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

/* =========================================
   MANIFESTO
========================================= */
.manifesto {
    padding: 40px 0 80px;
}

.manifesto-box {
    padding: 64px;
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    border: 1px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 10px 40px rgba(59, 130, 246, 0.05);
    border-radius: var(--radius-lg);
}

.manifesto-icon {
    font-size: 2.5rem;
    color: var(--accent-glow);
    margin-bottom: 24px;
}

.manifesto-title {
    font-size: 2rem;
    margin-bottom: 24px;
}

.manifesto-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--text-primary);
    font-weight: 500;
    margin-bottom: 32px;
}

.manifesto-text strong {
    color: var(--accent-glow-2);
}

.manifesto-author {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-secondary);
}

/* =========================================
   SECTIONS BASE
========================================= */
section {
    padding: 80px 0;
}

.section-heading {
    font-size: clamp(2rem, 4vw, 3.5rem);
    margin-bottom: 56px;
    text-align: center;
}

/* =========================================
   SERVICES
========================================= */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 1000px;
    margin: 0 auto;
}

.srv-card {
    display: flex;
    flex-direction: column;
    padding: 40px;
    border-radius: var(--radius-lg);
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 100%;
}

.srv-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.srv-icon {
    font-size: 2.5rem;
    margin-bottom: 32px;
    background: #fff;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

/* Pricing Features for Consulting LP */
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 24px 0 0 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.pricing-features li {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--text-secondary);
    position: relative;
    padding-left: 28px;
}

.pricing-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: -1px;
    color: var(--accent-glow);
    font-weight: bold;
    font-size: 1.1rem;
}

.srv-title {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-family: var(--font-display);
}

.srv-desc {
    color: var(--text-secondary);
    margin-bottom: 40px;
    font-size: 1.05rem;
}

.mt-auto {
    margin-top: auto;
}

/* =========================================
   BENTO GRID ECOSYSTEM
========================================= */
.ecosystem {
    padding-bottom: 120px;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(180px, auto);
    gap: 24px;
}

.bento-box {
    padding: 32px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: var(--transition);
}

.bento-box:hover {
    border-color: #fff;
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.04);
}

.bento-span-2 {
    grid-column: span 2;
}

.bento-title {
    font-size: 1.25rem;
    margin-bottom: 16px;
}

/* Bio */
.bio-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 16px;
}

.bio-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    object-position: top center;
    /* Push image focus up to face */
    border: 3px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    flex-shrink: 0;
}

.bio .bento-title {
    margin-bottom: 0;
}

.bio p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1.05rem;
}

/* Awards & Dual Stats */
.awards-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 8px;
}

.awards-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.05rem;
    padding: 12px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    line-height: 1.4;
    word-break: keep-all;
    /* Help prevent awkward wrapping */
}

.aw-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    /* Prevents the emoji from getting squished */
}

.dual-stat {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

.stat-mini {
    text-align: center;
}

.stat-num-sm {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 4px;
    color: var(--accent-glow);
}

.stat-lbl-sm {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.stat-divider {
    width: 60%;
    height: 1px;
    background: rgba(0, 0, 0, 0.05);
}

/* Stats */
.stat {
    justify-content: center;
    align-items: center;
    text-align: center;
}

.stat-num {
    font-family: var(--font-display);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--accent-glow);
    white-space: nowrap;
    /* Prevent number breakdown */
}

/* Make standard stats normal size, and investment stat smaller so it fits $800k+ */
.investment .stat-num {
    font-size: clamp(2rem, 3.2vw, 2.75rem);
    letter-spacing: -0.05em;
}

.stat-lbl {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Geography */
.geo-bars {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
}

.subtitle-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
    opacity: 0.8;
    margin-left: 8px;
    vertical-align: middle;
}

.bar-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.bar-lbl {
    font-weight: 600;
    font-size: 0.9rem;
    display: flex;
    justify-content: space-between;
}

.bar-lbl span {
    color: var(--text-secondary);
    font-weight: 400;
}

.bar-track {
    height: 8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 99px;
    overflow: hidden;
}

.bar-fill {
    height: 100%;
    background: var(--text-primary);
    border-radius: 99px;
}

/* Core Audience Donut */
.core {
    align-items: center;
    justify-content: center;
}

.core-donut {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: conic-gradient(var(--accent-glow) 0% 70%, rgba(0, 0, 0, 0.05) 70% 100%);
    position: relative;
    margin-bottom: 24px;
}

.core-donut::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: var(--bg-base);
    /* match roughly */
    border-radius: 50%;
}

.core-legend {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 500;
}

.dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    margin-right: 6px;
}

.dot.primary {
    background: var(--accent-glow);
}

.dot.dark {
    background: rgba(0, 0, 0, 0.1);
}

/* Platform Cards */
.plat {
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 16px;
}

.plat-svg {
    width: 48px;
    height: 48px;
    color: var(--text-primary);
    transition: var(--transition);
}

.plat:hover .plat-svg {
    transform: scale(1.1);
}

.plat.yt:hover .plat-svg {
    color: #ff0000;
}

.plat.ig:hover .plat-svg {
    color: #e1306c;
}

.plat.tg:hover .plat-svg {
    color: #0088cc;
}

.plat-info strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
    line-height: 1;
}

.plat-info span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* Companies */
.company {
    flex-direction: row;
    align-items: center;
    gap: 24px;
    padding: 24px 32px;
}

.comp-icon {
    font-size: 3rem;
}

.comp-text h4 {
    font-size: 1.15rem;
    margin-bottom: 4px;
}

.comp-text p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* =========================================
   MODAL
========================================= */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(250, 250, 251, 0.8);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    width: 100%;
    max-width: 440px;
    padding: 48px;
    position: relative;
    transform: translateY(20px) scale(0.95);
    transition: var(--transition);
}

.modal-overlay.active .modal {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 24px;
    right: 24px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.close-modal:hover {
    color: var(--text-primary);
}

.modal-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.modal-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.input-group {
    margin-bottom: 16px;
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    border: 1px solid rgba(0, 0, 0, 0.1);
    background: rgba(255, 255, 255, 0.5);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: var(--transition);
    outline: none;
}

.input-group input:focus,
.input-group textarea:focus {
    background: #fff;
    border-color: var(--accent-glow);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.loader {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s infinite linear;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.hidden {
    display: none !important;
}

/* =========================================
   FOOTER
========================================= */
.footer {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    padding: 60px 0 40px;
    margin-top: 40px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer .logo {
    font-size: 1.5rem;
    color: var(--text-primary);
}

.footer-email {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
    transition: var(--transition);
}

.footer-email:hover {
    color: var(--accent-glow);
}

.footer-socials {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.03);
    color: var(--text-primary);
    transition: var(--transition);
}

.social-icon svg {
    width: 22px;
    height: 22px;
}

.social-icon:hover {
    transform: translateY(-4px);
    background: #fff;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.social-icon.yt:hover {
    color: #ff0000;
}

.social-icon.ig:hover {
    color: #e1306c;
}

.social-icon.tk:hover {
    color: #000000;
}

.social-icon.tg:hover {
    color: #0088cc;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 32px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-legal {
    display: flex;
    align-items: center;
    gap: 12px;
}

.legal-link {
    transition: var(--transition);
}

.legal-link:hover {
    color: var(--text-primary);
}

.legal-separator {
    color: rgba(0, 0, 0, 0.2);
}

/* =========================================
   ANIMATIONS (Scroll Reveal)
========================================= */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.reveal-up {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-up.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.fade-delay-1 {
    transition-delay: 0.1s;
}

.fade-delay-2 {
    transition-delay: 0.2s;
}

.fade-delay-3 {
    transition-delay: 0.3s;
}

.fade-delay-4 {
    transition-delay: 0.4s;
}

.fade-delay-5 {
    transition-delay: 0.5s;
}

/* Responsive adjustments for 2x2 grid */
@media (max-width: 1024px) {
    .bento-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-span-2 {
        grid-column: span 2;
    }

    .hero-container {
        flex-direction: column;
        text-align: center;
        padding-top: 60px;
        gap: 20px;
    }

    .hero-content {
        align-items: center;
        text-align: center;
    }

    .hero-subtitle {
        margin: 0 auto 0;
    }

    .hero-image {
        max-width: 80%;
    }

    .brands {
        margin-top: -40px;
        /* less overlap on mobile */
        padding: 0 16px 60px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 3.5rem;
    }

    .hero-subtitle {
        font-size: 1.125rem;
    }

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

    .bento-grid {
        grid-template-columns: 1fr;
    }

    .bento-span-2 {
        grid-column: span 1;
    }

    .company {
        flex-direction: column;
        text-align: center;
    }

    .footer-top {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 32px;
    }

    .footer-brand {
        align-items: center;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-legal {
        flex-direction: column;
        gap: 12px;
    }

    .legal-separator {
        display: none;
    }
}