/* =========================================
   HARMONICA — CORE SYSTEM VARIABLES & THEME
   Shared stylesheet for all site pages
========================================= */

:root {
    --brand-primary: #474f71;
    /* Deep Indigo */
    --brand-accent: #ed4d58;
    /* Coral Red */
    --brand-neon: #a33858;
    /* Magenta / Wine */
    --brand-purple: #d5853b;
    /* Amber */
    --text-dark: #474f71;
    --text-body: #5c6584;
    --bg-light: #f8f7fb;

    /* Premium Glassmorphism Specs */
    --glass-bg: rgba(255, 255, 255, 0.45);
    --glass-border: rgba(255, 255, 255, 0.6);
    --glass-shadow: 0 20px 40px -15px rgba(71, 79, 113, 0.12);
    --neon-glow: 0 0 30px rgba(163, 56, 88, 0.2);

    /* Motion Engine Constants */
    --transition-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

.textyellow {
    color: var(--brand-purple) !important;
}

.textdark {
    color: var(--text-dark) !important;
}

.textred {
    color: var(--brand-neon) !important;
}

/* Custom Scrollbar — Harmonica Gradient */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--brand-primary), var(--brand-accent), var(--brand-purple));
    border-radius: 10px;
    border: 2px solid var(--bg-light);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--brand-neon), var(--brand-accent), var(--brand-purple));
}

/* Firefox */
html {
    scrollbar-color: var(--brand-accent) var(--bg-light);
    scrollbar-width: thin;
}

html {
    scroll-behavior: smooth;
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background-color: var(--bg-light);
    color: var(--text-body);
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
}

body.loading {
    overflow: hidden;
    /* Lock scroll during preload animation */
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}

/* =========================================
           STYLISH MODERN MESH PRELOADER OVERLAY
        ========================================= */
#site-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #eef0f7 0%, #fdeef1 50%, #fdf0e6 100%);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s;
}

#site-preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

.preloader-wrap {
    text-align: center;
    padding: 40px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 40px;
    box-shadow: 0 30px 70px rgba(71, 79, 113, 0.08);
    min-width: 280px;
}

.preloader-count {
    font-size: clamp(3.5rem, 8vw, 5.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1;
    letter-spacing: -0.05em;
    margin-bottom: 20px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.preloader-bar-bg {
    width: 160px;
    height: 4px;
    background: rgba(71, 79, 113, 0.08);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
}

.preloader-bar-fill {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-purple));
    transition: width 0.1s linear;
    border-radius: 10px;
}

.skip-link {
    position: absolute;
    top: -60px;
    left: 16px;
    z-index: 2000;
    background: var(--brand-primary);
    color: #fff;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 700;
    text-decoration: none;
    transition: top 0.25s ease;
}

.skip-link:focus {
    top: 16px;
    color: #fff;
}

a:focus-visible,
button:focus-visible {
    outline: 3px solid var(--brand-accent);
    outline-offset: 3px;
    border-radius: 6px;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }

    .reveal {
        opacity: 1;
        transform: none;
        filter: none;
    }

    #site-preloader {
        display: none !important;
    }

    .hero-logo-container {
        animation: none !important;
    }

    .hero-title-animated span {
        transform: none !important;
        opacity: 1 !important;
    }

    .hero-badge-in,
    .hero-fade-in-up,
    .hero-btn-in,
    .hero-logo-in {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
}

/* =========================================
           ADVANCED KINETIC ANIMATIONS
        ========================================= */
.reveal {
    opacity: 0;
    transform: translateY(50px) scale(0.96);
    filter: blur(10px);
    transition: all 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    z-index: 5;
}

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

.delay-100 {
    transition-delay: 100ms;
}

.delay-150 {
    transition-delay: 150ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

.delay-400 {
    transition-delay: 400ms;
}

@keyframes ambient-orb-drift {
    0% {
        transform: translate(0px, 0px) scale(1) rotate(0deg);
    }

    33% {
        transform: translate(40px, -60px) scale(1.15) rotate(120deg);
    }

    66% {
        transform: translate(-30px, 20px) scale(0.9) rotate(240deg);
    }

    100% {
        transform: translate(0px, 0px) scale(1) rotate(360deg);
    }
}

@keyframes pulse-neon {

    0%,
    100% {
        box-shadow: 0 0 25px rgba(237, 77, 88, 0.15), inset 0 0 15px rgba(237, 77, 88, 0.05);
    }

    50% {
        box-shadow: 0 0 45px rgba(237, 77, 88, 0.35), inset 0 0 25px rgba(237, 77, 88, 0.15);
    }
}

@keyframes text-gradient-shift {
    0% {
        background-position: 0% 50%;
    }

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

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

/* Kinemetrics for floating vertical logo */
@keyframes float-logo {
    0% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(1.5deg);
    }

    100% {
        transform: translateY(0px) rotate(0deg);
    }
}

/* =========================================
           HIGH-PERFORMANCE HERO ELEMENTS ENTRY KEYFRAMES
        ========================================= */
@keyframes hero-badge-in {
    0% {
        opacity: 0;
        transform: translateY(-20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes hero-fade-in-up {
    0% {
        opacity: 0;
        transform: translateY(30px);
        filter: blur(4px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

@keyframes hero-btn-in {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }

    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes hero-logo-in {
    0% {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

/* Classes automatically controlled via preloader engine hook removal */
.hero-badge-in {
    opacity: 0;
}

.hero-fade-in-up {
    opacity: 0;
}

.hero-btn-in {
    opacity: 0;
}

.hero-logo-in {
    opacity: 0;
}

body:not(.loading) .hero-badge-in {
    animation: hero-badge-in 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 200ms;
}

body:not(.loading) .hero-fade-in-up {
    animation: hero-fade-in-up 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 500ms;
}

body:not(.loading) .hero-btn-in {
    animation: hero-btn-in 1s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    animation-delay: 700ms;
}

body:not(.loading) .hero-logo-in {
    animation: hero-logo-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 400ms;
}

/* Hero Title Entry Clip Mask Animation */
.hero-title-animated {
    display: block;
    overflow: hidden;
    margin-bottom: 0.2rem;
}

.hero-title-animated span {
    display: inline-block;
    transform: translateY(110%);
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s linear;
}

body:not(.loading) .hero-title-animated span {
    transform: translateY(0);
    opacity: 1;
}

body:not(.loading) .hero-title-animated.line-2 span {
    transition-delay: 150ms;
}

/* =========================================
           GLASSMORPHISM NAVBAR
        ========================================= */
.glass-nav {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
    border-bottom: 1px solid var(--glass-border);
    box-shadow: 0 4px 30px rgba(71, 79, 113, 0.02);
    padding: 18px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.glass-nav.scrolled {
    padding: 12px 0;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 15px 40px rgba(71, 79, 113, 0.06);
}

.navbar-brand {
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--brand-primary);
    letter-spacing: -0.04em;
    transition: transform 0.3s ease;
}

.navbar-brand:hover {
    transform: scale(1.03);
}

.nav-link {
    color: var(--brand-primary);
    opacity: 0.75;
    font-weight: 700;
    font-size: 0.9rem;
    margin: 0 14px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
}

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

/* Modified active link styling - NO UNDERLINES */
.nav-link.active {
    opacity: 1 !important;
    font-weight: 800 !important;
    color: var(--brand-accent) !important;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-actions-mobile {
    justify-content: center;
}

.navbar-toggler {
    border: 1px solid rgba(71, 79, 113, 0.2);
    border-radius: 10px;
    padding: 6px 10px;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(237, 77, 88, 0.35);
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(71,79,113,0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.5' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

@media (max-width: 991.98px) {
    .navbar-nav {
        text-align: center;
        gap: 6px;
        margin-top: 10px;
    }

    .nav-link {
        margin: 0;
        padding: 10px 0;
    }
}

.linkedin-icon-btn {
    color: var(--brand-primary);
    font-size: 1.25rem;
    opacity: 0.75;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.linkedin-icon-btn:hover {
    opacity: 1;
    transform: scale(1.15) rotate(4deg);
    color: #0a66c2;
    text-shadow: 0 4px 12px rgba(10, 102, 194, 0.3);
}

.youtube-icon-btn {
    color: var(--brand-primary);
    font-size: 1.25rem;
    opacity: 0.75;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
}

.youtube-icon-btn:hover {
    opacity: 1;
    transform: scale(1.15) rotate(4deg);
    color: #ff0000;
    text-shadow: 0 4px 12px rgba(255, 0, 0, 0.3);
}

/* The bi-youtube glyph sits shorter in its box than bi-linkedin's,
   so it reads smaller even at the same font-size. Scale it up to
   match LinkedIn's visual height. */
.youtube-icon-btn .bi-youtube {
    display: inline-block;
    transform: scale(1.35);
}

.btn-contact {
    background: rgba(255, 255, 255, 0.6);
    color: var(--brand-primary);
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    border: 1px solid rgba(71, 79, 113, 0.25);
    text-decoration: none;
    backdrop-filter: blur(4px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 15px rgba(71, 79, 113, 0.04);
}

.btn-contact:hover {
    background: var(--brand-primary);
    color: #fff;
    border-color: var(--brand-primary);
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 12px 25px rgba(71, 79, 113, 0.2);
}

/* =========================================
           IMPROVED SPLIT-SCREEN HERO AREA
        ========================================= */
.home-hero-canvas {
    min-height: 95vh;
    background: linear-gradient(160deg, #eef0f7 0%, #fdeef1 35%, #fdf0e6 70%, #ffffff 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 140px 0 80px;
    border-bottom-left-radius: 64px;
    border-bottom-right-radius: 64px;
    margin: 0 16px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(71, 79, 113, 0.03);
}

.home-hero-canvas {
    isolation: isolate;
}

.home-hero-canvas::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: radial-gradient(ellipse at 72% 42%, rgba(255, 255, 255, 0.28), transparent 42%),
        linear-gradient(160deg, rgba(238, 240, 247, 0.18) 0%, rgba(253, 238, 241, 0.14) 45%, rgba(253, 240, 230, 0.16) 100%);
}

/*.home-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(71, 79, 113, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 79, 113, 0.06) 1px, transparent 1px);
    background-size: 58px 58px;
    -webkit-mask-image: radial-gradient(ellipse 74% 82% at 68% 44%, #000 0%, rgba(0, 0, 0, 0.55) 46%, transparent 84%);
    mask-image: radial-gradient(ellipse 74% 82% at 68% 44%, #000 0%, rgba(0, 0, 0, 0.55) 46%, transparent 84%);
    opacity: 0.55;
}*/


.home-hero-grid {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(71, 79, 113, 0.16) 1px, transparent 1px),
        linear-gradient(90deg, rgba(71, 79, 113, 0.16) 1px, transparent 1px);

    background-size: 58px 58px;

    -webkit-mask-image: radial-gradient(ellipse 74% 82% at 68% 44%,
            #000 0%,
            rgba(0, 0, 0, 0.65) 46%,
            transparent 84%);

    mask-image: radial-gradient(ellipse 74% 82% at 68% 44%,
            #000 0%,
            rgba(0, 0, 0, 0.65) 46%,
            transparent 84%);

    opacity: 0.8;
}


.home-orb-blur-1 {
    position: absolute;
    top: -10%;
    left: 5%;
    width: 600px;
    height: 600px;
    /*background: radial-gradient(circle, rgba(237, 77, 88, 0.18) 0%, transparent 65%);*/
    background: radial-gradient(circle, rgba(237, 77, 88, 0.18) 0%, transparent 100%);
    filter: blur(60px);
    animation: ambient-orb-drift 22s infinite alternate ease-in-out;
    pointer-events: none;
}

.home-orb-blur-2 {
    position: absolute;
    bottom: -5%;
    right: 5%;
    width: 700px;
    height: 700px;
    /*    background: radial-gradient(circle, rgba(71, 79, 113, 0.12) 0%, transparent 65%);*/
    background: radial-gradient(circle, rgba(71, 79, 113, 0.12) 0%, transparent 100%);
    filter: blur(70px);
    animation: ambient-orb-drift 28s infinite alternate-reverse ease-in-out;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 10;
}

.home-hero-title {
    font-size: clamp(2.5rem, 4.8vw, 4rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

.home-hero-title span.decor-underline {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #474f71, #a33858, #ed4d58, #d5853b, #474f71);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-gradient-shift 8s linear infinite;
}

.hl {
    font-weight: 800;
    padding: 0 3px;
    background-repeat: no-repeat;
    background-position: 0 88%;
    background-size: 100% 40%;
}

.hl-amber {
    color: #a3641f;
    background-image: linear-gradient(120deg, rgba(213, 133, 59, 0.24), rgba(213, 133, 59, 0.24));
}

.hl-coral {
    color: #c53540;
    background-image: linear-gradient(120deg, rgba(237, 77, 88, 0.22), rgba(237, 77, 88, 0.22));
}

.hl-magenta {
    color: #a33858;
    background-image: linear-gradient(120deg, rgba(163, 56, 88, 0.2), rgba(163, 56, 88, 0.2));
}

/* Dual Buttons */
.hero-btn-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 35px;
}

.btn-hero-primary {
    background: var(--brand-primary);
    color: #fff;
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 12px 30px rgba(71, 79, 113, 0.18);
}

.btn-hero-primary:hover {
    transform: translateY(-3px);
    color: #fff;
    box-shadow: 0 20px 40px rgba(71, 79, 113, 0.28);
    background: #393f5b;
}

.btn-hero-secondary {
    background: rgba(255, 255, 255, 0.5);
    color: var(--brand-primary);
    padding: 15px 35px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(71, 79, 113, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-hero-secondary:hover {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--brand-primary);
    transform: translateY(-3px);
}

/* Hero Floating Logo Canvas Block */
.hero-media-wrapper {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-logo-container {
    width: 100%;
    max-width: 320px;
    animation: float-logo 6s ease-in-out infinite;
    filter: drop-shadow(0 25px 35px rgba(71, 79, 113, 0.25)) drop-shadow(0 0 50px rgba(163, 56, 88, 0.35));
    position: relative;
    z-index: 2;
    transition: all 0.5s ease;
}

.hero-logo-container:hover {
    filter: drop-shadow(0 35px 50px rgba(71, 79, 113, 0.35)) drop-shadow(0 0 70px rgba(237, 77, 88, 0.55));
    transform: scale(1.03);
}

.hero-logo-glow-back {
    position: absolute;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(237, 77, 88, 0.2) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
    filter: blur(20px);
}

/* =========================================
           SECTION 2: MISSION BLOCK
        ========================================= */
.mission-section {
    padding: 120px 0;
    text-align: center;
    position: relative;
    background: var(--bg-light);
}

.mission-text {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    line-height: 1.5;
    font-weight: 700;
    color: var(--text-dark);
    max-width: 1050px;
    margin: 0 auto;
    text-shadow: 0 15px 35px rgba(71, 79, 113, 0.05);
}

/* =========================================
           SECTION 3: LUXURY GLASSMORPHISM CARDS
        ========================================= */
.product-section {
    padding: 60px 0 130px;
    background: var(--bg-light);
}

.pastel-card {
    border-radius: 36px;
    padding: 50px;
    height: 100%;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.55) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(25px) saturate(170%);
    -webkit-backdrop-filter: blur(25px) saturate(170%);
    box-shadow: var(--glass-shadow);
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    transform-style: preserve-3d;
    perspective: 1000px;
}

.card-blue::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(222, 225, 236, 0.6), transparent 70%);
    z-index: -1;
}

.card-amber::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 237, 213, 0.55), transparent 70%);
    z-index: -1;
}

.card-purple::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(250, 224, 231, 0.55), transparent 70%);
    z-index: -1;
}

.pastel-card:hover {
    transform: translateY(-14px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 45px 80px -20px rgba(71, 79, 113, 0.15), inset 0 0 0 1px rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.8);
}

.stat-huge {
    font-size: clamp(3.2rem, 5vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.05em;
    color: var(--text-dark);
    margin-top: auto;
    margin-bottom: 1.5rem;
    line-height: 1;
    transition: transform 0.4s ease;
}

.pastel-card:hover .stat-huge {
    transform: translateZ(30px) scale(1.03);
}

.card-link {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.pastel-card:hover .card-link {
    gap: 14px;
    color: var(--brand-neon);
}

/* =========================================
           HIGH-STYLE: SOLUTIONS SECTIONS UPGRADES
        ========================================= */
.solutions-section {
    padding: 140px 0;
    background: var(--bg-light);
    position: relative;
}

.premium-solution-box {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(244, 245, 250, 0.4) 100%);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 48px;
    padding: 60px;
    backdrop-filter: blur(20px);
    box-shadow: 0 40px 90px -25px rgba(71, 79, 113, 0.08);
    position: relative;
    z-index: 3;
}

.solution-badge-glow {
    background: linear-gradient(135deg, rgba(237, 77, 88, 0.1), rgba(163, 56, 88, 0.1));
    color: var(--brand-neon);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 8px 20px;
    border-radius: 30px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 24px;
}

.img-container-rounded {
    width: 100%;
    border-radius: 44px;
    overflow: hidden;
    box-shadow: 0 45px 90px rgba(71, 79, 113, 0.14);
    transform: perspective(1200px) rotateY(-4deg) rotateX(1deg);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    border: 12px solid #fff;
    position: relative;
}

.img-container-rounded:hover {
    transform: perspective(1200px) rotateY(0deg) rotateX(0deg) scale(1.01) translateY(-6px);
    box-shadow: 0 65px 110px rgba(71, 79, 113, 0.22);
}

.img-container-rounded img {
    width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    transition: transform 1.2s ease;
}

/* Premium Highlight Action Button */
.btn-premium-action {
    background: linear-gradient(135deg, var(--brand-primary) 0%, #2b3049 100%);
    color: #ffffff !important;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 15px 35px rgba(71, 79, 113, 0.2);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: none;
}

.btn-premium-action:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 22px 45px rgba(71, 79, 113, 0.3);
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-neon) 100%);
}

.btn-premium-action i {
    transition: transform 0.3s ease;
}

.btn-premium-action:hover i {
    transform: translateX(5px);
}

/* =========================================
           TICKER, NEWS, & STYLED INTRO HEADER
        ========================================= */
.logo-ticker-section {
    padding: 40px 0 80px;
    overflow: hidden;
    position: relative;
}

.logo-ticker-track {
    display: flex;
    width: max-content;
    animation: scroll-ticker 30s linear infinite;
}

.logo-group {
    display: flex;
    align-items: center;
    gap: 110px;
    padding-right: 110px;
}

.logo-item {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-primary);
    opacity: 0.25;
    transition: all 0.3s ease;
}

.logo-item:hover {
    opacity: 0.9;
    transform: scale(1.1) skewX(-4deg);
}

@keyframes scroll-ticker {
    0% {
        transform: translateX(0);
    }

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

.news-section {
    padding: 120px 0;
    background: var(--bg-light);
}

.news-header-center {
    text-align: center;
    max-width: 780px;
    margin: 0 auto 75px;
    position: relative;
}

.news-header-tag {
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--brand-accent);
    margin-bottom: 12px;
    display: inline-block;
}

.news-header-center h2 {
    font-size: clamp(2.4rem, 4.2vw, 3.2rem);
    background: linear-gradient(135deg, var(--text-dark) 30%, var(--brand-neon) 90%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 22px;
    font-weight: 800;
}

.news-header-center p {
    font-size: 1.1rem;
    line-height: 1.75;
    color: var(--text-body);
    opacity: 0.9;
    margin-bottom: 35px;
    font-weight: 500;
}

.btn-news-action {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-primary);
    background: #ffffff;
    border: 1px solid rgba(71, 79, 113, 0.15);
    padding: 14px 34px;
    border-radius: 50px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 10px 25px rgba(71, 79, 113, 0.03);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-news-action:hover {
    background: var(--brand-primary);
    color: #ffffff;
    border-color: var(--brand-primary);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(71, 79, 113, 0.12);
}

.btn-news-action i {
    transition: transform 0.3s ease;
}

.btn-news-action:hover i {
    transform: translateX(4px);
}

.news-card {
    background: #fff;
    border-radius: 36px;
    border: 1px solid rgba(71, 79, 113, 0.04);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 40px rgba(71, 79, 113, 0.02);
}

.news-card:hover {
    transform: translateY(-10px) scale(1.01);
    box-shadow: 0 40px 75px rgba(71, 79, 113, 0.09);
}

.news-img-wrapper {
    position: relative;
    height: 230px;
    overflow: hidden;
}

.news-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.news-card:hover .news-img-wrapper img {
    transform: scale(1.06);
}

/* =========================================
           HIGH-STYLE: CYBER RADIAL CTA BLOCK UPGRADES
        ========================================= */
.cta-section {
    padding: 120px 0 160px;
    background: var(--bg-light);
    position: relative;
}

.cta-container-premium {
    background: radial-gradient(circle at top right, #565f85 0%, #2b3049 50%, #1c1e2e 100%);
    border-radius: 56px;
    padding: 85px 75px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: 0 60px 130px -20px rgba(28, 30, 46, 0.35);
    position: relative;
    overflow: hidden;
}

.cta-container-premium::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(237, 77, 88, 0.15) 0%, transparent 75%);
    filter: blur(50px);
    pointer-events: none;
}

.terminal-window-premium {
    background: #090d16;
    border-radius: 28px;
    padding: 40px;
    font-family: 'SFMono-Regular', Consolas, Menlo, monospace;
    font-size: 0.88rem;
    position: relative;
    animation: pulse-neon 5s infinite ease-in-out;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.terminal-window-premium:hover {
    transform: translateY(-6px) scale(1.015);
    border-color: rgba(237, 77, 88, 0.3);
}

.terminal-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
}

/* Vibrant Terminal Code Colors */
.tc-prompt {
    color: #ed4d58;
}

.tc-cmd {
    color: #f3b05a;
}

.tc-string {
    color: #a3e635;
}

.tc-bracket {
    color: #38bdf8;
}

.tc-comment {
    color: #64748b;
    font-style: italic;
}

.btn-glow-premium {
    background: linear-gradient(135deg, var(--brand-accent) 0%, var(--brand-neon) 100%);
    color: #ffffff !important;
    padding: 18px 44px;
    border-radius: 50px;
    font-weight: 800;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(237, 77, 88, 0.3);
    border: none;
}

.btn-glow-premium:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 25px 50px rgba(237, 77, 88, 0.5);
    filter: brightness(1.1);
}

.btn-glow-premium i {
    transition: transform 0.3s ease;
}

.btn-glow-premium:hover i {
    transform: translateX(4px);
}

/* Structural Footer */
.restored-footer {
    background-color: #ffffff;
    padding: 100px 0 50px;
    border-top: 1px solid rgba(71, 79, 113, 0.06);
    position: relative;
}

.footer-brand {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    letter-spacing: -0.04em;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-desc {
    font-size: 13px;
    line-height: 1.7;
    color: var(--text-body);
    opacity: 0.75;
    /*max-width: 320px;*/
    margin-top: 20px;
    text-align: justify;
}

.footer-heading {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 28px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-links-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links-list li {
    margin-bottom: 14px;
}

.footer-link {
    color: var(--text-body);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0.75;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.footer-link:hover {
    color: var(--brand-primary);
    opacity: 1;
    transform: translateX(6px);
}

.footer-link .bi-youtube {
    display: inline-block;
    transform: scale(1.25);
}

.footer-bottom-bar {
    margin-top: 80px;
    padding-top: 30px;
    border-top: 1px solid rgba(71, 79, 113, 0.05);
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-body);
    opacity: 0.6;
}

/* =========================================
           ADJUSTED HERO SECTION
        ========================================= */
.hero-canvas {
    min-height: 88vh;
    background: linear-gradient(160deg, #eef0f7 0%, #fdeef1 45%, #fdf0e6 100%);
    position: relative;
    display: flex;
    align-items: center;
    padding: 160px 0 100px;
    border-bottom-left-radius: 64px;
    border-bottom-right-radius: 64px;
    margin: 0 16px;
    overflow: hidden;
    box-shadow: 0 30px 70px rgba(71, 79, 113, 0.03);
}

.orb-blur {
    position: absolute;
    top: -10%;
    right: 10%;
    width: 620px;
    height: 620px;
    background: radial-gradient(circle, rgba(237, 77, 88, 0.22) 0%, transparent 65%);
    filter: blur(70px);
    animation: ambient-orb-drift 20s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
}

.orb-blur-2 {
    position: absolute;
    bottom: -15%;
    left: -5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(71, 79, 113, 0.18) 0%, transparent 65%);
    filter: blur(80px);
    animation: ambient-orb-drift 26s infinite alternate-reverse ease-in-out;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: multiply;
}

.orb-blur-3 {
    position: absolute;
    top: 30%;
    right: 28%;
    width: 380px;
    height: 380px;
    background: radial-gradient(circle, rgba(213, 133, 59, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    animation: ambient-orb-drift 24s infinite alternate ease-in-out;
    pointer-events: none;
    z-index: 2;
    mix-blend-mode: screen;
}

.hero-title {
    font-size: clamp(2.4rem, 4.5vw, 3.8rem);
    font-weight: 800;
    line-height: 1.2;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
    letter-spacing: -0.04em;
}

.hero-title span.decor-underline {
    position: relative;
    display: inline-block;
    background: linear-gradient(90deg, #474f71, #a33858, #ed4d58, #d5853b, #474f71);
    background-size: 300% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: text-gradient-shift 8s linear infinite;
}

.hero-subtitle {
    font-size: 1.15rem;
    font-weight: 500;
    color: var(--text-body);
    max-width: 560px;
    line-height: 1.7;
    opacity: 0.9;
}

@keyframes hero-media-in {
    0% {
        opacity: 0;
        transform: translateX(40px) scale(0.95);
        filter: blur(8px);
    }

    100% {
        opacity: 1;
        transform: translateX(0) scale(1);
        filter: blur(0);
    }
}

.hero-badge-in,
.hero-btn-in,
.hero-media-in {
    opacity: 0;
}

body:not(.loading) .hero-media-in {
    animation: hero-media-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 400ms;
}

.hero-stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    margin-top: 40px;
}

.hero-stat-item {
    display: flex;
    flex-direction: column;
}

.hero-stat-num {
    font-size: 2.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, var(--brand-primary), var(--brand-neon));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-stat-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-body);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 4px;
}

/* Hero background image — soft atmospheric blend with gradient + orbs */
.hero-bg-media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    pointer-events: none;
}

.hero-bg-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(0.85) brightness(1.1) contrast(0.94);
    -webkit-mask-image: radial-gradient(ellipse 62% 85% at 72% 48%, #000 30%, rgba(0, 0, 0, 0.55) 55%, transparent 88%);
    mask-image: radial-gradient(ellipse 62% 85% at 72% 48%, #000 30%, rgba(0, 0, 0, 0.55) 55%, transparent 88%);
}

.hero-bg-tint {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(160deg, #eef0f7 0%, #fdeef1 45%, #fdf0e6 100%);
    -webkit-mask-image: radial-gradient(ellipse 68% 90% at 72% 48%, transparent 35%, rgba(0, 0, 0, 0.5) 62%, #000 92%);
    mask-image: radial-gradient(ellipse 68% 90% at 72% 48%, transparent 35%, rgba(0, 0, 0, 0.5) 62%, #000 92%);
}

.hero-bg-tint::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 62% 85% at 72% 48%, rgba(163, 56, 88, 0.1), rgba(71, 79, 113, 0.16) 60%, transparent 90%);
    mix-blend-mode: multiply;
}

/* =========================================
           CONSORTIUM CARD GRID (Production Style)
        ========================================= */
.consortium-section {
    padding: 100px 0 140px;
    background: var(--bg-light);
}

.partner-card {
    border-radius: 36px;
    padding: 45px;
    height: 100%;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(25px) saturate(170%);
    -webkit-backdrop-filter: blur(25px) saturate(170%);
    box-shadow: var(--glass-shadow);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.partner-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 75px -15px rgba(71, 79, 113, 0.14);
    border-color: rgba(255, 255, 255, 0.9);
}

/* Subtle unique ambient gradient accents per card row pattern */
.card-type-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(222, 225, 236, 0.6), transparent 65%);
    z-index: -1;
}

.card-type-2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 237, 213, 0.55), transparent 65%);
    z-index: -1;
}

.card-type-3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(250, 224, 231, 0.55), transparent 65%);
    z-index: -1;
}

.partner-logo-container {
    height: 65px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;

    justify-content: center;
}

.partner-logo-placeholder {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.partner-logo-placeholder i {
    font-size: 1.6rem;
    color: var(--brand-accent);
}

.partner-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 40px;
}

.partner-card:hover .card-link {
    gap: 12px;
    color: var(--brand-neon);
}

.hero-media-in {
    opacity: 0;
    animation: hero-media-in 1.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 400ms;
}

/* =========================================
           NEWSFEED MASTER-DETAIL SPLIT LAYOUT
        ========================================= */
.newsfeed-section {
    padding: 80px 0 120px;
    background: var(--bg-light);
}

.news-feed-scroll {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.news-summary-card {
    border-radius: 28px;
    padding: 30px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    backdrop-filter: blur(25px) saturate(170%);
    -webkit-backdrop-filter: blur(25px) saturate(170%);
    box-shadow: 0 10px 30px -10px rgba(71, 79, 113, 0.05);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.news-summary-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 25px 45px -15px rgba(71, 79, 113, 0.12);
    border-color: rgba(255, 255, 255, 0.9);
}

.news-summary-card.active-selected {
    background: #ffffff;
    border-color: var(--brand-accent);
    box-shadow: 0 20px 45px -10px rgba(237, 77, 88, 0.14);
}

.news-badge {
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-neon);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.news-timestamp {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-body);
    opacity: 0.6;
}

.news-card-heading {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.4;
    margin: 12px 0 8px 0;
}

.news-card-snippet {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-body);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Right Column: Full Reader Article Window */
.article-window-pane {
    border-radius: 36px;
    padding: 45px;
    border: 1px solid var(--glass-border);
    background: #ffffff;
    box-shadow: var(--glass-shadow);
    position: sticky;
    top: 110px;
    transition: all 0.3s ease;
}

.article-hero-img-wrap {
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 30px;
    box-shadow: 0 15px 35px rgba(71, 79, 113, 0.08);
    background: #eae9f0;
    max-height: 340px;
}

.article-hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.reader-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-dark);
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: -0.03em;
}

.reader-body {
    font-size: 0.98rem;
    line-height: 1.8;
    color: var(--text-body);
}

.reader-body p {
    margin-bottom: 1.25rem;
}

/* Inline Grid list badges */
.feature-pill-box {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 24px 0;
    padding: 0;
    list-style: none;
}

.feature-pill {
    background: rgba(71, 79, 113, 0.06);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 50px;
}

/* Consortium Partner Custom Links */
.partner-link-grid a {
    color: var(--brand-primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    padding: 2px 0;
    transition: color 0.2s ease, transform 0.2s ease;
}

.partner-link-grid a:hover {
    color: var(--brand-accent);
    transform: translateX(2px);
}

/* =========================================
           RESOURCES "WHAT'S COMING" GRID
        ========================================= */
.resources-preview-section {
    padding: 100px 0 60px;
    background: var(--bg-light);
}

.resources-header-center {
    max-width: 640px;
    margin: 0 auto 70px;
    text-align: center;
}

.resources-header-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-purple);
    margin-bottom: 14px;
}

.resources-header-center h2 {
    font-size: clamp(1.7rem, 3.2vw, 2.4rem);
    margin-bottom: 16px;
}

.resources-header-center p {
    font-size: 1.05rem;
    line-height: 1.7;
    color: var(--text-body);
    opacity: 0.85;
    font-weight: 500;
}

.resource-preview-card {
    border-radius: 32px;
    padding: 40px 32px;
    height: 100%;
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.65) 0%, rgba(255, 255, 255, 0.35) 100%);
    backdrop-filter: blur(25px) saturate(170%);
    -webkit-backdrop-filter: blur(25px) saturate(170%);
    box-shadow: var(--glass-shadow);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.resource-preview-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 75px -15px rgba(71, 79, 113, 0.14);
    border-color: rgba(255, 255, 255, 0.9);
}

.coming-soon-ribbon {
    position: absolute;
    top: 20px;
    right: -34px;
    transform: rotate(40deg);
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-neon));
    color: #fff;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 5px 42px;
    box-shadow: 0 8px 20px rgba(237, 77, 88, 0.3);
}

.resource-icon-wrap {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(71, 79, 113, 0.08), rgba(237, 77, 88, 0.08));
    color: var(--brand-primary);
    font-size: 1.4rem;
}

.resource-preview-card h4 {
    font-size: 1.1rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.resource-preview-card p {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text-body);
    opacity: 0.85;
    margin: 0;
}

/* =========================================
           BUILD STATUS / TERMINAL SECTION
        ========================================= */
.build-status-section {
    padding: 60px 0 140px;
    background: var(--bg-light);
    position: relative;
}

.build-container-premium {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.75) 0%, rgba(255, 255, 255, 0.4) 100%);
    border-radius: 56px;
    padding: 85px 75px;
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    backdrop-filter: blur(25px) saturate(170%);
    -webkit-backdrop-filter: blur(25px) saturate(170%);
    position: relative;
    overflow: hidden;
}

.build-container-premium::before {
    content: '';
    position: absolute;
    top: -25%;
    right: -5%;
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(163, 56, 88, 0.16) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.build-container-premium::after {
    content: '';
    position: absolute;
    bottom: -20%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(213, 133, 59, 0.18) 0%, transparent 75%);
    filter: blur(50px);
    pointer-events: none;
}

.build-status-tag {
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: var(--brand-purple);
    margin-bottom: 20px;
    display: block;
}

/* =========================================
           VISION SUB-NAVIGATION
        ========================================= */
.vision-subnav {
    position: sticky;
    top: 76px;
    z-index: 500;
    background: rgba(248, 247, 251, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(71, 79, 113, 0.06);
    padding: 14px 0;
}

.vision-subnav-inner {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.vision-subnav-inner::-webkit-scrollbar {
    display: none;
}

.vision-subnav-inner a {
    flex-shrink: 0;
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-body);
    text-decoration: none;
    opacity: 0.7;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.vision-subnav-inner a:hover {
    opacity: 1;
    background: rgba(71, 79, 113, 0.06);
}

.vision-subnav-inner a.active {
    opacity: 1;
    color: #fff;
    font-weight: 800;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-neon));
    /*box-shadow: 0 8px 18px rgba(237, 77, 88, 0.25);*/
}

/* =========================================
           VISION CONTENT SECTIONS (shared)
        ========================================= */
.vision-block {
    padding: 100px 0;
    background: var(--bg-light);
    scroll-margin-top: 130px;
}

.vision-block.alt-bg {
    background: #ffffff;
}

.vision-block-header {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}

.vision-block-tag {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--brand-neon);
    margin-bottom: 14px;
}

.vision-block-header h2 {
    font-size: clamp(1.8rem, 3.4vw, 2.5rem);
    margin-bottom: 18px;
    position: relative;
}

h2::after {
    content: '';
    display: block;
    width: 0;
    margin: 0 auto 0;
    height: 4px;
    margin-top: 16px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-purple));
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.h2lineleft::after{
    margin: unset !important;
    margin-top: 20px !important;
}

.h2noline::after{
    display: none;

}

.vision-block-header h2::after {
    margin-left: auto;
    margin-right: auto;
}

.reveal.active h2::after {
    width: 72px;
}

.vision-lead {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-body);
    opacity: 0.88;
    font-weight: 500;
}

.vision-lead strong {
    color: var(--text-dark);
    font-weight: 800;
}

/* Overview: text + icon list + media frame */
.overview-point-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 22px;
}

.overview-point-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    transition: transform 0.35s ease;
}

.overview-point-list li:hover {
    transform: translateX(6px);
}

.overview-point-icon {
    flex-shrink: 0;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(71, 79, 113, 0.08), rgba(237, 77, 88, 0.08));
    color: var(--brand-primary);
    font-size: 1.15rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.overview-point-list li:hover .overview-point-icon {
    transform: rotate(-10deg) scale(1.1);
}

.overview-point-list h4 {
    font-size: 1rem;
    margin-bottom: 4px;
}

.overview-point-list p {
    font-size: 0.9rem;
    line-height: 1.55;
    color: var(--text-body);
    opacity: 0.85;
    margin: 0;
}

.vision-media-frame {
    position: relative;
    border-radius: 32px;
    overflow: hidden;
    box-shadow: 0 40px 80px -20px rgba(71, 79, 113, 0.25);
    aspect-ratio: 4 / 3.2;
}

.vision-media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.vision-media-chip {
    position: absolute;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(6px);
    padding: 10px 18px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 800;
    color: var(--brand-primary);
    box-shadow: 0 10px 25px rgba(71, 79, 113, 0.15);
}

.vision-media-chip.chip-top {
    top: 20px;
    left: 20px;
}

.vision-media-chip.chip-bottom {
    bottom: 20px;
    right: 20px;
}

.vision-media-chip i {
    color: var(--brand-accent);
}

/* Objective cards */
.objective-card {
    border-radius: 36px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px) saturate(170%);
    -webkit-backdrop-filter: blur(25px) saturate(170%);
    box-shadow: 0 25px 55px -15px rgba(71, 79, 113, 0.22);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.objective-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 45px 80px -15px rgba(71, 79, 113, 0.3);
    border-color: rgba(255, 255, 255, 0.9);
}

.objective-card.accent-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(222, 225, 236, 0.6), transparent 65%);
    z-index: -1;
}

.objective-card.accent-2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 237, 213, 0.55), transparent 65%);
    z-index: -1;
}

.objective-card.accent-3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(250, 224, 231, 0.55), transparent 65%);
    z-index: -1;
}

.objective-card .objective-index {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 800;
    color: var(--brand-accent);
    background: rgba(237, 77, 88, 0.1);
    padding: 4px 14px;
    border-radius: 20px;
    margin-bottom: 14px;
}

.objective-card .partner-logo-container {
    height: 65px;
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.objective-card .partner-logo-placeholder {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-primary);
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.objective-card .partner-logo-placeholder i {
    font-size: 1.6rem;
    color: var(--brand-accent);
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.objective-card:hover .partner-logo-placeholder i {
    transform: rotate(-12deg) scale(1.1);
}

.objective-card .partner-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-body);
    margin-bottom: 40px;
}

.objective-card .card-link {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--brand-primary);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    margin-top: auto;
}

.objective-card:hover .card-link {
    gap: 12px;
    color: var(--brand-neon);
}

/* Impact panel */
.impact-panel {
    background: radial-gradient(circle at top right, #565f85 0%, #2b3049 50%, #1c1e2e 100%);
    border-radius: 48px;
    padding: 60px clamp(24px, 5vw, 60px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 50px 100px -20px rgba(28, 30, 46, 0.3);
}

.impact-donut-wrap {
    max-width: 200px;
    margin: 0 auto 18px;
}

.impact-donut {
    width: 100%;
    height: auto;
}

.impact-donut-arc {
    transition: stroke-dashoffset 1.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.impact-donut-caption {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    max-width: 260px;
    margin: 0 auto;
    line-height: 1.5;
}

.impact-stat {
    display: flex;
    flex-direction: column;
}

.impact-stat-icon {
    font-size: 1.3rem;
    color: var(--brand-purple);
    margin-bottom: 10px;
}

.impact-stat-num {
    font-size: clamp(2rem, 3.6vw, 2.7rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1;
    background: linear-gradient(135deg, #f3b05a, #ed4d58);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.impact-stat-label {
    font-size: 0.82rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.4;
}

/* Implementation: compact horizontal roadmap */
.roadmap-steps {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0 20px;
    max-width: 1000px;
    margin: 48px auto 0;
    text-align: center;
}

.roadmap-track {
    position: absolute;
    top: 26px;
    left: 12.5%;
    right: 12.5%;
    height: 3px;
    background: rgba(71, 79, 113, 0.1);
    border-radius: 4px;
    z-index: 0;
    overflow: hidden;
}

.roadmap-track-fill {
    width: 0%;
    height: 100%;
    border-radius: 4px;
    background: linear-gradient(90deg, var(--brand-accent), var(--brand-purple));
    transition: width 1.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.roadmap-step {
    position: relative;
    z-index: 1;
    padding: 0 8px;
}

.roadmap-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-neon));
    color: #fff;
    font-size: 1.2rem;
    box-shadow: 0 0 0 8px var(--bg-light), 0 10px 25px rgba(237, 77, 88, 0.3);
}

.roadmap-phase {
    display: block;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--brand-neon);
    margin-bottom: 8px;
}

.roadmap-step h4 {
    font-size: 1rem;
    margin-bottom: 8px;
}

.roadmap-step p {
    font-size: 0.85rem;
    line-height: 1.5;
    color: var(--text-body);
    opacity: 0.8;
    margin: 0;
}

@media (max-width: 767.98px) {
    .roadmap-steps {
        grid-template-columns: 1fr;
        gap: 26px 0;
        text-align: left;
    }

    .roadmap-track {
        top: 0;
        bottom: 0;
        left: 25px;
        right: auto;
        width: 3px;
        height: auto;
    }

    .roadmap-track-fill {
        width: 100%;
        height: 0%;
        transition: height 1.8s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .roadmap-step {
        display: flex;
        align-items: flex-start;
        gap: 18px;
        padding: 0;
    }

    .roadmap-icon {
        margin: 0;
        flex-shrink: 0;
        width: 44px;
        height: 44px;
        font-size: 1rem;
    }
}

/* Innovation banner + cards */
.vision-banner-frame {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    height: 260px;
}

.vision-banner-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: saturate(0.9);
}

.vision-banner-tint {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(28, 30, 46, 0.75) 0%, rgba(28, 30, 46, 0.1) 55%, rgba(28, 30, 46, 0.35) 100%);
}

.vision-banner-caption {
    position: absolute;
    left: 28px;
    bottom: 22px;
    right: 28px;
    color: #fff;
    font-size: 0.95rem;
    font-weight: 600;
    opacity: 0.9;
}

.innovation-card {
    border-radius: 36px;
    padding: 40px;
    height: 100%;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.6) 0%, rgba(255, 255, 255, 0.3) 100%);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(25px) saturate(170%);
    -webkit-backdrop-filter: blur(25px) saturate(170%);
    box-shadow: 0 25px 55px -15px rgba(71, 79, 113, 0.22);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.innovation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 45px 80px -15px rgba(71, 79, 113, 0.3);
    border-color: rgba(255, 255, 255, 0.9);
}

.innovation-card.accent-1::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(222, 225, 236, 0.6), transparent 65%);
    z-index: -1;
}

.innovation-card.accent-2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(255, 237, 213, 0.55), transparent 65%);
    z-index: -1;
}

.innovation-card.accent-3::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(250, 224, 231, 0.55), transparent 65%);
    z-index: -1;
}

.innovation-card.accent-4::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top left, rgba(213, 225, 255, 0.55), transparent 65%);
    z-index: -1;
}

.innovation-icon-badge {
    width: 54px;
    height: 54px;
    border-radius: 16px;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.35rem;
    transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.innovation-card:hover .innovation-icon-badge {
    transform: rotate(10deg) scale(1.1);
}

.innovation-icon-badge.badge-1 {
    background: linear-gradient(135deg, var(--brand-primary), #6b7398);
}

.innovation-icon-badge.badge-2 {
    background: linear-gradient(135deg, var(--brand-accent), var(--brand-neon));
}

.innovation-icon-badge.badge-3 {
    background: linear-gradient(135deg, var(--brand-purple), #e6a256);
}

.innovation-icon-badge.badge-4 {
    background: linear-gradient(135deg, var(--brand-neon), var(--brand-primary));
}

.innovation-card h4 {
    font-size: 1rem;
    margin-bottom: 10px;
}

.innovation-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-body);
    opacity: 0.85;
    margin: 0;
}

/* Icon pop-in, triggered once each icon's card scrolls into view */
@keyframes icon-pop {
    0% {
        transform: scale(0.4) rotate(-20deg);
        opacity: 0;
    }

    60% {
        transform: scale(1.12) rotate(4deg);
        opacity: 1;
    }

    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.reveal.active .objective-card .partner-logo-placeholder i,
.reveal.active .innovation-icon-badge,
.reveal.active .overview-point-icon,
.reveal.active .roadmap-icon {
    animation: icon-pop 0.7s cubic-bezier(0.34, 1.56, 0.64, 1) backwards;
}

/* Floating hero-style chips on the Overview media frame */
.vision-media-chip.chip-top {
    animation: float-logo 6s ease-in-out infinite;
}

.vision-media-chip.chip-bottom {
    animation: float-logo 6.5s ease-in-out infinite reverse;
}


.partner-logo {
    max-width: 230px;
    /* max-width: 180px;*/
    /* Increased max width since cards are wider */
    max-height: 85px;
    object-fit: contain;
    filter: grayscale(0%) opacity(100%);
    transition: all 0.5s var(--transition-smooth);
    z-index: 1;
}


.partner-logo:hover {
    transform: scale(1.1);
    transition: all 0.5s var(--transition-smooth);
}

.euandlogo {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
/* ==========================================================================
   Extracted Inline Styles (converted from style="" attributes to classes)
   ========================================================================== */

/* Logo images that need display:block to remove inline whitespace gap */
.logo-img {
    display: block;
}

/* Hero badge pill (frosted glass background used in hero sections) */
.hero-badge-glass {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 8px 25px rgba(71, 79, 113, 0.04);
}

/* Small glowing dot inside the hero badge pill */
.hero-badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.hero-badge-dot--neon {
    background: var(--brand-neon);
    box-shadow: 0 0 12px var(--brand-neon);
}

.hero-badge-dot--purple {
    background: var(--brand-purple);
    box-shadow: 0 0 12px var(--brand-purple);
}

/* Label text next to the hero badge dot */
.hero-badge-label {
    color: var(--brand-primary);
    font-size: 0.8rem;
    letter-spacing: 0.05em;
}

/* Animation delay utilities for staggered hero fade-ins */
.delay-550 {
    animation-delay: 550ms;
}

.delay-650 {
    animation-delay: 650ms;
}

/* Homepage glassmorphism performance card text */
.feature-title {
    color: var(--text-dark);
    font-size: 1.7rem;
}

.feature-desc {
    font-size: 0.95rem;
    line-height: 1.7;
}

.stat-huge-neon {
    color: var(--brand-neon);
}

/* Decorative radial glow behind the solutions section */
.decor-blur-pink {
    position: absolute;
    top: -15%;
    right: -5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, rgba(250, 224, 231, 0.7) 0%, transparent 70%);
    z-index: -1;
    pointer-events: none;
}

/* Section heading treatments (dark, on light background) */
.h2-solution-index {
    font-size: clamp(2.2rem, 3.8vw, 3rem);
    line-height: 1.2;
    color: var(--text-dark);
    letter-spacing: -0.04em;
}

.section-lead {
    font-size: 1.08rem;
    line-height: 1.8;
    color: var(--text-body);
    font-weight: 500;
}

/* Homepage news preview card */
.news-date-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    color: var(--brand-primary);
    z-index: 10;
    backdrop-filter: blur(4px);
}

.news-card-title {
    color: var(--text-dark);
    font-size: 1.25rem;
    line-height: 1.4;
}

/* Section heading treatments (white, on dark background) */
.h2-cta-index {
    font-size: clamp(2.4rem, 4.2vw, 3.4rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--text-dark) !important;
}

.h2-status-resources {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: 1.15;
    letter-spacing: -0.04em;
    color: var(--text-dark) !important;
}

/* Shared terminal window pieces (CTA on homepage + Resources build-status) */
.terminal-lead-text {
    line-height: 1.7;
    font-weight: 500;
}

.build-container-premium .terminal-lead-text {
    color: var(--text-body) !important;
    opacity: 1 !important;
}

.terminal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.terminal-label {
    font-size: 0.75rem;
}

.dot-red {
    background: #ff5f56;
}

.dot-yellow {
    background: #ffbd2e;
}

.dot-green {
    background: #27c93f;
}

.terminal-status-success {
    color: #4ade80;
    text-shadow: 0 0 15px rgba(74, 222, 128, 0.5);
}

.terminal-status-warning {
    color: #f3b05a;
    text-shadow: 0 0 15px rgba(243, 176, 90, 0.4);
}

/* Homepage hero intro paragraph */
.hero-intro-lead {
    font-size: 1.15rem;
    opacity: 0.85;
    font-weight: 500;
    color: var(--text-body);
    line-height: 1.7;
}
