/* ==========================================================================
   UGFX - United Group Fintech eXchange
   Institutional Corporate Styling System (Billion-Dollar Fintech Standard)
   Typography: Cormorant Garamond (Editorial Serif), Poppins (Headings/Brand), Inter (Primary UI/Body)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS RESET & FONT SYSTEM
   -------------------------------------------------------------------------- */
:root {
    /* Institutional Obsidian Dark Palette */
    --bg-primary: #010306;
    --bg-secondary: #060A14;
    --bg-tertiary: #0B1120;
    --bg-card: rgba(11, 17, 32, 0.65);
    
    /* Champagne & Metallic Gold Leaf Palette */
    --gold: #C8A951;
    --gold-light: #F5E6C8;
    --gold-bright: #E6C875;
    --gold-dark: #8C6F2A;
    --gold-glow: rgba(200, 169, 81, 0.25);
    --gold-shimmer: linear-gradient(110deg, #FFFFFF 5%, #F5E6C8 30%, #D4AF37 55%, #FFFFFF 85%);
    
    --green-live: #10B981;
    --blue-accent: #3B82F6;
    
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --text-muted: #64748B;
    
    /* Glassmorphism System */
    --glass-bg: rgba(6, 10, 20, 0.82);
    --glass-border: rgba(200, 169, 81, 0.22);
    --glass-border-hover: rgba(245, 230, 200, 0.55);
    --glass-shadow: 0 35px 80px rgba(0, 0, 0, 0.85);
    
    /* Typography Font Stack */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-heading: 'Poppins', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    
    /* Animation Timings */
    --transition-fast: 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-medium: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: 0.85s cubic-bezier(0.16, 1, 0.3, 1);
    
    /* Dimensions & Spacing */
    --max-width: 1360px;
    --header-height: 86px;
    --ticker-height: 40px;
    --section-padding: 10.5rem 0;
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 110px;
    font-size: 16px;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

[id] {
    scroll-margin-top: 110px;
}

body {
    overflow-x: hidden;
    line-height: 1.8;
    background-color: var(--bg-primary);
    font-family: var(--font-primary);
}

a {
    color: inherit;
    text-decoration: none;
    transition: color var(--transition-fast);
}

button, input, select, textarea {
    font-family: var(--font-primary);
    font-size: inherit;
    color: inherit;
    border: none;
    outline: none;
    background: none;
}

button {
    cursor: pointer;
}

ul {
    list-style: none;
}

img, svg {
    display: block;
    max-width: 100%;
}


/* --------------------------------------------------------------------------
   2. REUSABLE UTILITIES & TYPOGRAPHY HIERARCHY
   -------------------------------------------------------------------------- */
.container {
    width: 100%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

.section-padding {
    padding: var(--section-padding);
}

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

.grid {
    display: grid;
    gap: 3rem;
}

.grid-2-col {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3-col {
    grid-template-columns: repeat(3, 1fr);
}

.grid-4-col {
    grid-template-columns: repeat(4, 1fr);
}

/* Typography Hierarchy */
.section-header {
    max-width: 860px;
    margin: 0 auto 5.5rem auto;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1.5rem;
}

.section-tag.center {
    justify-content: center;
}

.tag-line {
    width: 45px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
}

.section-tag.center .tag-line:last-child {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.tag-text {
    font-family: var(--font-heading);
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.26em;
    color: var(--gold);
    text-transform: uppercase;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 800;
    line-height: 1.18;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    letter-spacing: -0.03em;
}

.section-subtitle {
    font-family: var(--font-primary);
    font-size: 1.25rem;
    color: var(--text-secondary);
    font-weight: 400;
    line-height: 1.8;
}

/* Editorial Serif Quote Typography */
.serif-quote {
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    letter-spacing: 0.01em;
    color: #F0F4F8;
}

/* Metallic Shimmer Text Effect */
.shimmer-text {
    background: var(--gold-shimmer);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: goldShimmer 7s linear infinite;
}

@keyframes goldShimmer {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}


/* Premium Button System */
.btn {
    font-family: var(--font-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.625rem;
    padding: 1.125rem 2.25rem;
    border-radius: 4px;
    font-size: 0.9375rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all var(--transition-fast);
    position: relative;
    overflow: hidden;
    white-space: nowrap;
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold-bright) 0%, var(--gold) 100%);
    color: #010306;
    box-shadow: 0 4px 28px rgba(200, 169, 81, 0.38);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 38px rgba(200, 169, 81, 0.6);
    background: linear-gradient(135deg, #FFF1C5 0%, var(--gold-bright) 100%);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(200, 169, 81, 0.38);
    color: var(--text-primary);
    backdrop-filter: blur(12px);
}

.btn-outline:hover {
    background: rgba(200, 169, 81, 0.14);
    border-color: var(--gold-light);
    color: var(--gold-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
}


/* --------------------------------------------------------------------------
   3. PRELOADER & HEADER
   -------------------------------------------------------------------------- */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-primary);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

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

.preloader-content {
    text-align: center;
    max-width: 440px;
    padding: 2rem;
}

.preloader-emblem {
    position: relative;
    width: 90px;
    height: 90px;
    margin: 0 auto 2rem auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.emblem-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid transparent;
}

.ring-outer {
    width: 90px;
    height: 90px;
    border-top-color: var(--gold);
    border-bottom-color: var(--gold-dark);
    animation: spinClockwise 2.5s linear infinite;
}

.ring-middle {
    width: 72px;
    height: 72px;
    border-right-color: var(--gold-bright);
    border-left-color: rgba(200, 169, 81, 0.2);
    animation: spinCounterClockwise 1.8s linear infinite;
}

.ring-inner {
    width: 54px;
    height: 54px;
    border-top-color: #FFFFFF;
    animation: spinClockwise 1.2s linear infinite;
}

.emblem-logo {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
    color: var(--gold);
}

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

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

.preloader-title {
    font-family: var(--font-heading);
    font-size: 0.875rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
}

.preloader-progress-bar {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.preloader-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--gold-dark), var(--gold-bright), #FFFFFF);
    transition: width 0.1s ease;
}

.preloader-status {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
}

/* Site Header */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    transition: all var(--transition-medium);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.site-header.scrolled {
    background-color: rgba(1, 3, 6, 0.92);
    backdrop-filter: blur(20px);
    border-bottom-color: rgba(200, 169, 81, 0.18);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    height: 76px;
}

.nav-container {
    max-width: var(--max-width);
    margin: 0 auto;
    height: 100%;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
}

.logo-icon {
    position: relative;
    width: 42px;
    height: 42px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-secondary));
    border: 1px solid var(--gold);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(200, 169, 81, 0.25);
}

.logo-letter {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 900;
    color: var(--gold);
}

.logo-glow {
    position: absolute;
    inset: -1px;
    border-radius: 6px;
    background: var(--gold);
    opacity: 0.15;
    filter: blur(4px);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    line-height: 1.1;
}

.brand-tagline {
    font-size: 0.5625rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--gold);
    margin-top: 2px;
}

.nav-list {
    display: flex;
    align-items: center;
    gap: 2.25rem;
}

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.03em;
    padding: 0.5rem 0;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--gold);
    transition: width var(--transition-fast);
}

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

.nav-link:hover::after {
    width: 100%;
}

.btn-header {
    padding: 0.625rem 1.375rem;
    font-size: 0.8125rem;
    background: rgba(200, 169, 81, 0.12);
    border: 1px solid var(--gold);
    color: var(--gold-bright);
    border-radius: 4px;
}

.btn-header:hover {
    background: var(--gold);
    color: #010306;
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 28px;
}

.mobile-toggle .bar {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    transition: all var(--transition-fast);
}


/* --------------------------------------------------------------------------
   4. TICKER BAR
   -------------------------------------------------------------------------- */
.ticker-bar {
    position: relative;
    top: var(--header-height);
    width: 100%;
    height: var(--ticker-height);
    background: rgba(6, 10, 20, 0.95);
    border-bottom: 1px solid rgba(200, 169, 81, 0.15);
    overflow: hidden;
    z-index: 99;
    display: flex;
    align-items: center;
}

.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: tickerScroll 32s linear infinite;
}

.ticker-bar:hover .ticker-track {
    animation-play-state: paused;
}

@keyframes tickerScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ticker-item {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0 2.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.06em;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
}

.ticker-sym {
    font-weight: 600;
    color: var(--text-muted);
}

.ticker-val {
    font-weight: 600;
    color: var(--text-secondary);
}

.ticker-val.up {
    color: var(--green-live);
}

.ticker-val.active {
    color: var(--gold);
}


/* --------------------------------------------------------------------------
   5. HERO SECTION
   -------------------------------------------------------------------------- */
.hero-section {
    position: relative;
    min-height: 100vh;
    padding-top: calc(var(--header-height) + var(--ticker-height) + 5rem);
    padding-bottom: 8rem;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: auto;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 35%, rgba(13, 19, 34, 0.4) 0%, rgba(1, 3, 6, 0.92) 80%);
    z-index: 2;
    pointer-events: none;
}

.hero-container {
    position: relative;
    z-index: 3;
}

.hero-content {
    max-width: 920px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    padding: 0.5rem 1.25rem;
    background: rgba(200, 169, 81, 0.08);
    border: 1px solid rgba(200, 169, 81, 0.28);
    border-radius: 30px;
    margin-bottom: 2rem;
}

.badge-pulse {
    width: 8px;
    height: 8px;
    background-color: var(--gold-bright);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gold);
    animation: pulseGlow 2s infinite;
}

@keyframes pulseGlow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.3); }
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    color: var(--gold-light);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 3.75rem;
    font-weight: 900;
    line-height: 1.12;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}

.title-highlight {
    display: block;
    font-size: 4.5rem;
    letter-spacing: 0.06em;
    margin-top: 0.35rem;
}

.hero-subtitle {
    font-size: 2rem;
    margin-bottom: 1.75rem;
    line-height: 1.35;
}

.hero-description {
    font-size: 1.1875rem;
    color: var(--text-secondary);
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto 3rem auto;
}

.hero-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-bottom: 4.5rem;
}

.btn-hero {
    padding: 1.25rem 2.625rem;
    font-size: 1rem;
}

/* Metrics Ribbon */
.hero-metrics-ribbon {
    display: inline-flex;
    align-items: center;
    gap: 2.5rem;
    padding: 1.5rem 3rem;
    background: rgba(6, 10, 20, 0.75);
    border: 1px solid rgba(200, 169, 81, 0.22);
    border-radius: 8px;
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6);
}

.metric-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 1.875rem;
    font-weight: 800;
    color: var(--gold-bright);
    line-height: 1.1;
}

.metric-lbl {
    font-size: 0.75rem;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
    text-transform: uppercase;
}

.metric-divider {
    width: 1px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.7;
    transition: opacity var(--transition-fast);
}

.scroll-indicator:hover {
    opacity: 1;
}

.mouse-icon {
    width: 22px;
    height: 36px;
    border: 2px solid rgba(200, 169, 81, 0.5);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.wheel {
    width: 3px;
    height: 8px;
    background-color: var(--gold);
    border-radius: 2px;
    animation: mouseWheel 1.8s infinite;
}

@keyframes mouseWheel {
    0% { opacity: 1; transform: translateY(0); }
    100% { opacity: 0; transform: translateY(12px); }
}

.chevron {
    color: var(--gold);
    animation: bounceChevron 1.8s infinite;
}

@keyframes bounceChevron {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(4px); }
}


/* --------------------------------------------------------------------------
   6. ABOUT UGFX SECTION & CYBER MATRIX HUB
   -------------------------------------------------------------------------- */
.about-section {
    position: relative;
    background: linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.about-header {
    max-width: 820px;
    margin: 0 auto 3.5rem auto;
}

.about-meaning-grid {
    gap: 2rem;
}

.meaning-card {
    padding: 2.5rem 1.75rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(20px);
    transition: all var(--transition-medium);
    text-align: center;
}

.meaning-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow), 0 0 30px rgba(200, 169, 81, 0.15);
}

.meaning-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem auto;
    background: rgba(200, 169, 81, 0.1);
    border: 1px solid rgba(200, 169, 81, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: transform var(--transition-fast);
}

.meaning-card:hover .meaning-icon {
    transform: scale(1.08);
    background: var(--gold);
    color: #010306;
}

.meaning-title {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.meaning-desc {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}


/* --------------------------------------------------------------------------
   7. PORTFOLIO SHOWCASE SECTION
   -------------------------------------------------------------------------- */
.portfolio-showcase-section {
    position: relative;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.portfolio-showcase-container {
    display: flex;
    flex-direction: column;
    gap: 6rem;
}

.portfolio-showcase-block {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 3.5rem;
    background: var(--bg-card);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    backdrop-filter: blur(24px);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-medium);
}

.portfolio-showcase-block:hover {
    border-color: var(--glass-border-hover);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.9), 0 0 35px rgba(200, 169, 81, 0.15);
}

.portfolio-showcase-block.reverse {
    grid-template-columns: 1fr 1fr;
}

.company-badge-category {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(200, 169, 81, 0.12);
    border: 1px solid rgba(200, 169, 81, 0.35);
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    color: var(--gold-bright);
    margin-bottom: 1.25rem;
    text-transform: uppercase;
}

.company-badge-category.badge-gold {
    background: rgba(230, 200, 117, 0.12);
    border-color: var(--gold-light);
    color: var(--gold-light);
}

.company-badge-category.badge-blue {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.4);
    color: #60A5FA;
}

.portfolio-company-name {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.company-lead-text {
    font-size: 1.125rem;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.75;
    margin-bottom: 1.25rem;
}

.company-body-text {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.company-spec-list {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
    margin-bottom: 2.5rem;
}

.company-spec-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: var(--text-secondary);
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--gold);
    flex-shrink: 0;
}

.btn-portfolio {
    padding: 1.0625rem 2.125rem;
}

/* Premium Browser Mockup Visuals */
.showcase-visual {
    width: 100%;
    perspective: 1200px;
}

.portfolio-browser-mockup {
    position: relative;
    background: rgba(11, 17, 32, 0.88);
    border: 1px solid rgba(200, 169, 81, 0.28);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.85), 0 0 35px rgba(200, 169, 81, 0.15);
    backdrop-filter: blur(20px);
    transform-style: preserve-3d;
    transform: perspective(1200px) rotateX(3deg) rotateY(-3deg) translateY(0);
    transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    animation: floatMockup 6s ease-in-out infinite;
}

@keyframes floatMockup {
    0%, 100% { transform: perspective(1200px) rotateX(3deg) rotateY(-3deg) translateY(0); }
    50% { transform: perspective(1200px) rotateX(2deg) rotateY(-2deg) translateY(-8px); }
}

.portfolio-browser-mockup:hover {
    transform: perspective(1200px) rotateX(0deg) rotateY(0deg) translateY(-10px) scale(1.02);
    border-color: rgba(245, 230, 200, 0.55);
    box-shadow: 0 45px 100px rgba(0, 0, 0, 0.95), 0 0 45px rgba(200, 169, 81, 0.3);
}

.portfolio-browser-mockup.frame-blue-glow {
    border-color: rgba(59, 130, 246, 0.35);
    box-shadow: 0 30px 75px rgba(0, 0, 0, 0.85), 0 0 35px rgba(59, 130, 246, 0.18);
}

.portfolio-browser-mockup.frame-blue-glow:hover {
    border-color: rgba(96, 165, 250, 0.65);
    box-shadow: 0 45px 100px rgba(0, 0, 0, 0.95), 0 0 45px rgba(59, 130, 246, 0.35);
}

.mockup-header {
    height: 44px;
    padding: 0 1.25rem;
    background: rgba(6, 10, 20, 0.94);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.mockup-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.m-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.m-dot.red { background: #FF5F56; }
.m-dot.yellow { background: #FFBD2E; }
.m-dot.green { background: #27C93F; }

.mockup-address-bar {
    flex: 1;
    max-width: 320px;
    height: 26px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 0 0.75rem;
    color: var(--text-muted);
}

.mockup-url {
    font-size: 0.6875rem;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 0.04em;
}

.mockup-badge {
    font-size: 0.625rem;
    font-weight: 700;
    color: var(--green-live);
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
}

.mockup-body {
    position: relative;
    width: 100%;
    overflow: hidden;
    background-color: #03060E;
    aspect-ratio: 1920 / 953;
}

.mockup-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: top center;
    display: block;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.portfolio-browser-mockup:hover .mockup-img {
    transform: scale(1.03);
}

.mockup-overlay-shine {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    pointer-events: none;
}


/* --------------------------------------------------------------------------
   8. INVESTMENT VISION SECTION
   -------------------------------------------------------------------------- */
.vision-section {
    position: relative;
    background-color: var(--bg-primary);
    overflow: hidden;
}

.vision-bg-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(200, 169, 81, 0.08) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.vision-grid {
    position: relative;
    z-index: 2;
}

.vision-card {
    padding: 3rem 2.25rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: all var(--transition-medium);
    position: relative;
    overflow: hidden;
}

.vision-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: 0;
    transition: opacity var(--transition-medium);
}

.vision-card:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-8px);
    box-shadow: var(--glass-shadow);
}

.vision-card:hover::before {
    opacity: 1;
}

.vision-num {
    font-family: var(--font-heading);
    font-size: 2.75rem;
    font-weight: 900;
    color: rgba(200, 169, 81, 0.25);
    line-height: 1;
    margin-bottom: 1.5rem;
    transition: color var(--transition-medium);
}

.vision-card:hover .vision-num {
    color: var(--gold);
}

.vision-card h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
    line-height: 1.35;
}

.vision-card p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.75;
}


/* --------------------------------------------------------------------------
   9. NUMBERS / STATS SECTION
   -------------------------------------------------------------------------- */
.stats-section {
    position: relative;
    background-color: var(--bg-secondary);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.stats-box-wrapper {
    padding: 4rem 3rem;
    background: linear-gradient(135deg, rgba(13, 19, 34, 0.9), rgba(6, 10, 20, 0.95));
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    box-shadow: var(--glass-shadow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

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

.stat-value-box {
    margin-bottom: 1rem;
}

.counter, .counter-static {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    font-weight: 900;
    color: var(--gold-bright);
    line-height: 1;
    letter-spacing: -0.02em;
}

.stat-progress-bar {
    width: 60px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    margin: 0 auto 1.25rem auto;
    border-radius: 2px;
    overflow: hidden;
}

.stat-progress-fill {
    height: 100%;
    background: var(--gold);
}

.stat-title {
    font-family: var(--font-heading);
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.stat-desc {
    font-size: 0.8125rem;
    color: var(--text-muted);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}


/* --------------------------------------------------------------------------
   10. WHY UGFX SECTION
   -------------------------------------------------------------------------- */
.why-section {
    position: relative;
    background-color: var(--bg-primary);
}

.why-grid {
    gap: 2.5rem;
}

.feature-box {
    display: flex;
    gap: 1.75rem;
    padding: 3.25rem;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    transition: all var(--transition-medium);
}

.feature-box:hover {
    border-color: var(--glass-border-hover);
    transform: translateY(-6px);
    box-shadow: var(--glass-shadow);
}

.feature-icon-wrapper {
    width: 60px;
    height: 60px;
    background: rgba(200, 169, 81, 0.1);
    border: 1px solid rgba(200, 169, 81, 0.3);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.feature-content h3 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.feature-content p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.8;
}


/* --------------------------------------------------------------------------
   11. FINAL CTA SECTION
   -------------------------------------------------------------------------- */
.cta-section {
    position: relative;
    background-color: var(--bg-secondary);
    overflow: hidden;
}

.cta-box {
    position: relative;
    padding: 5.5rem 4rem;
    background: linear-gradient(135deg, rgba(13, 19, 34, 0.95), rgba(6, 10, 20, 0.98));
    border: 1px solid var(--gold);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 50px rgba(200, 169, 81, 0.2);
}

.cta-glow-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(200, 169, 81, 0.18) 0%, transparent 70%);
    filter: blur(50px);
    pointer-events: none;
}

.cta-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    margin: 0 auto;
}

.cta-badge {
    display: inline-block;
    padding: 0.375rem 1rem;
    background: rgba(200, 169, 81, 0.15);
    border: 1px solid var(--gold);
    border-radius: 30px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: 3.25rem;
    font-weight: 900;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
    line-height: 1.15;
}

.cta-desc {
    font-size: 1.125rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 2.5rem;
}

.cta-buttons {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
}


/* --------------------------------------------------------------------------
   12. FOOTER
   -------------------------------------------------------------------------- */
.site-footer {
    position: relative;
    background-color: var(--bg-primary);
    border-top: 1px solid rgba(200, 169, 81, 0.2);
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.footer-top {
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-brand-desc {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin-top: 1.25rem;
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 0.875rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.footer-links a:hover {
    color: var(--gold);
}

.ext-sm {
    opacity: 0.7;
}

.footer-address {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.footer-hubs {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.footer-contact-item {
    font-size: 0.8125rem;
    display: flex;
    flex-direction: column;
}

.footer-contact-item .label {
    color: var(--text-muted);
}

.footer-contact-item .val {
    color: var(--text-primary);
    font-weight: 600;
}

.footer-divider {
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.06);
    margin-bottom: 2rem;
}

.footer-disclaimer {
    font-size: 0.75rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8125rem;
    color: var(--text-muted);
}

.back-to-top {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.1em;
}

.back-to-top:hover {
    color: #FFFFFF;
}


/* --------------------------------------------------------------------------
   13. INSTITUTIONAL PARTNERSHIP MODAL
   -------------------------------------------------------------------------- */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(1, 3, 6, 0.88);
    backdrop-filter: blur(16px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-medium);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    position: relative;
    width: 100%;
    max-width: 580px;
    background: linear-gradient(135deg, var(--bg-tertiary), var(--bg-primary));
    border: 1px solid var(--gold);
    border-radius: 12px;
    padding: 3rem;
    box-shadow: 0 35px 90px rgba(0, 0, 0, 0.95), 0 0 40px rgba(200, 169, 81, 0.25);
    max-height: 90vh;
    overflow-y: auto;
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 1.75rem;
    color: var(--text-muted);
    transition: color var(--transition-fast);
}

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

.modal-badge {
    font-size: 0.6875rem;
    font-weight: 800;
    color: var(--gold);
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.35rem;
}

.modal-subtitle {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.375rem;
}

.form-group label {
    font-size: 0.8125rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.875rem 1.125rem;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 4px;
    color: var(--text-primary);
    font-size: 0.9375rem;
    transition: border-color var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--gold);
}

.form-group select option {
    background-color: var(--bg-tertiary);
    color: var(--text-primary);
}

.btn-full {
    width: 100%;
    margin-top: 0.5rem;
}

.form-success-msg {
    text-align: center;
    padding: 2rem 0;
}

.form-success-msg.hidden {
    display: none;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.15);
    border: 1px solid var(--green-live);
    color: var(--green-live);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    font-weight: 900;
    margin: 0 auto 1.5rem auto;
}

.form-success-msg h4 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.form-success-msg p {
    font-size: 0.9375rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.mt-4 {
    margin-top: 1.5rem;
}


/* --------------------------------------------------------------------------
   14. SCROLL REVEAL ANIMATION CLASSES
   -------------------------------------------------------------------------- */
.reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

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


/* --------------------------------------------------------------------------
   15. RESPONSIVE BREAKPOINTS & CONTAINER CONTAINMENT
   -------------------------------------------------------------------------- */
html, body {
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* section, header, footer, main, .container {
    max-width: 100%;
    box-sizing: border-box;
} */

@media (max-width: 1200px) {
    :root {
        --max-width: 1000px;
        --section-padding: 7rem 0;
    }
    
    .hero-title { font-size: 3.25rem; }
    .title-highlight { font-size: 3.75rem; }
    .section-title { font-size: 2.75rem; }
    
    .portfolio-showcase-block {
        gap: 2.5rem;
        padding: 2.5rem;
    }
    .portfolio-company-name { font-size: 2.25rem; }
}

@media (max-width: 992px) {
    :root {
        --section-padding: 5.5rem 0;
    }

    .container {
        padding: 0 1.5rem;
    }

    .grid-2-col, .grid-3-col, .grid-4-col {
        grid-template-columns: 1fr;
    }
    
    .portfolio-showcase-block,
    .portfolio-showcase-block.reverse {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2rem 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }

    .portfolio-showcase-block.reverse .showcase-info {
        order: 1;
    }
    
    .portfolio-showcase-block.reverse .showcase-visual {
        order: 2;
    }

    .showcase-visual {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }

    .portfolio-browser-mockup {
        width: 100%;
        max-width: 100%;
        transform: none !important;
        animation: none !important;
    }

    .nav-menu {
        position: fixed;
        top: var(--header-height);
        right: -100%;
        width: 280px;
        max-width: 85vw;
        height: calc(100vh - var(--header-height));
        background: rgba(1, 3, 6, 0.97);
        backdrop-filter: blur(24px);
        border-left: 1px solid var(--gold);
        padding: 2.5rem 1.5rem;
        transition: right var(--transition-medium);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }

    .mobile-toggle {
        display: flex;
    }

    .btn-header {
        padding: 0.5rem 1rem;
        font-size: 0.75rem;
    }
    
    .hero-metrics-ribbon {
        flex-direction: column;
        gap: 1.25rem;
        padding: 1.5rem;
        width: 100%;
        box-sizing: border-box;
    }
    
    .metric-divider {
        width: 60px;
        height: 1px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2.5rem;
    }

    .footer-col {
        margin-left: 0 !important;
    }
}

@media (max-width: 640px) {
    :root {
        --section-padding: 4.5rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }

    .brand-tagline {
        display: none;
    }

    .btn-header {
        display: none;
    }

    .hero-title { font-size: 2rem; }
    .title-highlight { font-size: 2.35rem; }
    .hero-subtitle { font-size: 1.125rem; }
    .section-title { font-size: 1.75rem; }
    .cta-title { font-size: 1.75rem; }

    .hero-buttons, .cta-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        box-sizing: border-box;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-showcase-container {
        gap: 3rem;
    }

    .portfolio-showcase-block {
        padding: 1.25rem 0.875rem;
        border-radius: 8px;
        width: 100%;
        box-sizing: border-box;
    }
    
    .company-spec-list li {
        font-size: 0.8125rem;
    }

    .mockup-header {
        padding: 0 0.5rem;
        gap: 0.5rem;
    }

    .mockup-address-bar {
        max-width: 140px;
        padding: 0 0.35rem;
    }

    .mockup-url {
        font-size: 0.58rem;
    }

    .mockup-badge {
        font-size: 0.5rem;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .v-metrics-row {
        grid-template-columns: 1fr;
    }
    .feature-box {
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}
