/* ============================================
   MONTAURION CAPITAL HOLDINGS — Design System
   "Regal Institutional" Visual Identity
   ============================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&display=swap');

/* ---- Design Tokens ---- */
:root {
    /* Palette — Regal Green + Champagne Gold + Onyx Bedrock */
    --midnight: #0a0a0a; /* Pure deep onyx */
    --charcoal: #141414; /* Deep neutral */
    --steel: #262626; /* Structural grid neutral */
    --steel-light: #404040;
    --slate-text: #a3a3a3; /* Neutral text, removing the blue tint */
    --ice: #f5f5f5; /* Pure crisp white-grey */
    --champagne: #b7a57a;
    --champagne-light: #d4c49a;
    --champagne-glow: rgba(183, 165, 122, 0.25);
    --regal: #1b5e4b;
    --regal-light: #2a7d65;
    --regal-glow: rgba(42, 125, 101, 0.2);
    --white: #ffffff;
    --danger: #ef4444;

    /* Glassmorphism */
    --glass-bg: rgba(17, 26, 24, 0.7);
    --glass-border: rgba(183, 165, 122, 0.12);
    --glass-blur: 20px;

    /* Typography Scale */
    --font-display: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Spacing */
    --section-pad: 120px;
    --container-max: 1280px;

    /* Shadows */
    --shadow-card: 0 8px 32px rgba(0, 0, 0, 0.35);
    --shadow-hover: 0 16px 48px rgba(0, 0, 0, 0.45);
    --shadow-accent: 0 0 40px rgba(183, 165, 122, 0.12);

    /* Transitions */
    --ease-smooth: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: var(--font-body);
    background-color: var(--midnight);
    color: var(--slate-text);
    line-height: 1.75;
    font-size: 1.05rem;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--champagne);
    text-decoration: none;
    transition: color 0.3s ease;
}
a:hover { color: var(--champagne-light); }

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ---- Typography ---- */
h1, h2, h3, h4, h5 {
    font-family: var(--font-display);
    color: var(--ice);
    line-height: 1.15;
    letter-spacing: -0.02em;
}
h1 { font-size: clamp(2.8rem, 6vw, 5rem); font-weight: 900; }
h2 { font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 700; }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.75rem); font-weight: 600; }
h4 { font-size: 1.2rem; font-weight: 600; }

p { max-width: 720px; }

/* ---- Emerald Icon Wash ---- */
.edge-icon,
.value-icon,
.step-icon,
.service-icon,
.tech-feature-icon,
.cta-info-icon {
    filter: grayscale(1) sepia(1) hue-rotate(90deg) saturate(2) brightness(0.85);
}

.section-label {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--champagne);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.section-label::before {
    content: '';
    width: 32px;
    height: 2px;
    background: var(--champagne);
}

.section-title {
    margin-bottom: 1.5rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: var(--slate-text);
    max-width: 640px;
    line-height: 1.8;
}

/* ---- Layout ---- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: var(--section-pad) 0;
    position: relative;
}

/* ---- Subtle Noise Grain + Vignette ---- */
.blueprint-grid {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(27, 94, 75, 0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 0% 100%, rgba(183, 165, 122, 0.04) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 100%, rgba(27, 94, 75, 0.03) 0%, transparent 50%);
}
.blueprint-grid::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
    background-size: 256px 256px;
    opacity: 0.5;
}

/* ---- Animated Gradient Background ---- */
.ambient-bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}
.ambient-bg::before {
    content: '';
    position: absolute;
    width: 150%;
    height: 150%;
    top: -25%;
    left: -25%;
    background:
        radial-gradient(ellipse 900px 700px at 15% 25%, rgba(27, 94, 75, 0.1) 0%, transparent 70%),
        radial-gradient(ellipse 700px 900px at 85% 75%, rgba(183, 165, 122, 0.06) 0%, transparent 70%),
        radial-gradient(ellipse 600px 600px at 50% 50%, rgba(42, 125, 101, 0.05) 0%, transparent 70%);
    animation: ambientDrift 25s ease-in-out infinite alternate;
}
@keyframes ambientDrift {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(30px, -20px) scale(1.02); }
    66% { transform: translate(-20px, 30px) scale(0.98); }
    100% { transform: translate(10px, -10px) scale(1.01); }
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    transition: all 0.4s var(--ease-smooth);
}
.nav.scrolled {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(183, 165, 122, 0.1);
    padding: 0.8rem 0;
}
.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 2rem;
}
.nav-logo {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.35rem;
    color: var(--white);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.nav-logo .logo-icon {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--champagne), var(--champagne-light));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: var(--midnight);
    font-weight: 900;
}
.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    list-style: none;
}
.nav-links a {
    font-family: var(--font-body);
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--slate-text);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: color 0.3s ease;
    position: relative;
}
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--champagne);
    transition: width 0.3s var(--ease-smooth);
}
.nav-links a:hover { color: var(--white); }
.nav-links a:hover::after { width: 100%; }

.nav-cta {
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.7rem 1.8rem;
    background: linear-gradient(135deg, var(--champagne), var(--champagne-light));
    color: var(--midnight) !important;
    border-radius: 8px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: 0 4px 20px rgba(183, 165, 122, 0.3);
}
.nav-cta::after { display: none !important; }
.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(183, 165, 122, 0.4);
    color: var(--midnight) !important;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}
.hamburger span {
    width: 26px;
    height: 2px;
    background: var(--ice);
    transition: all 0.3s ease;
    border-radius: 2px;
}
.hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ============================================
   HERO
   ============================================ */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.25;
    filter: saturate(0.5) brightness(0.5) hue-rotate(95deg) sepia(0.3);
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(180deg, rgba(10, 10, 10, 0.2) 0%, rgba(10, 10, 10, 0.7) 55%, var(--midnight) 100%),
        linear-gradient(90deg, rgba(10, 10, 10, 0.85) 0%, transparent 50%),
        linear-gradient(180deg, rgba(27, 94, 75, 0.15) 0%, rgba(27, 94, 75, 0.05) 50%, transparent 100%);
    z-index: 1;
}
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding-top: 100px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--champagne);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}
.hero-badge .pulse {
    width: 8px;
    height: 8px;
    background: var(--regal-light);
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(42, 125, 101, 0.4); }
    50% { opacity: 0.7; box-shadow: 0 0 0 8px rgba(42, 125, 101, 0); }
}
.hero h1 {
    margin-bottom: 1.5rem;
}
.hero h1 .accent {
    color: var(--champagne);
    display: block;
}
.hero-desc {
    font-size: 1.2rem;
    color: var(--slate-text);
    line-height: 1.8;
    margin-bottom: 2.5rem;
    max-width: 600px;
}
.hero-actions {
    display: flex;
    gap: 1.25rem;
    flex-wrap: wrap;
}
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    background: linear-gradient(135deg, var(--champagne), var(--champagne-light));
    color: var(--midnight);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: 0 4px 24px rgba(183, 165, 122, 0.3);
}
.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(183, 165, 122, 0.4);
    color: var(--midnight);
}
.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 1rem 2.2rem;
    background: transparent;
    color: var(--ice);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 10px;
    border: 1px solid rgba(226, 232, 240, 0.2);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: all 0.3s var(--ease-smooth);
}
.btn-secondary:hover {
    border-color: var(--champagne);
    background: rgba(183, 165, 122, 0.08);
    color: var(--white);
}

.hero-metrics {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2.5rem;
    border-top: 1px solid rgba(183, 165, 122, 0.12);
}
.hero-metric {
    text-align: left;
}
.hero-metric .metric-value {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}
.hero-metric .metric-value .regal { color: var(--regal-light); }
.hero-metric .metric-label {
    font-size: 0.8rem;
    color: var(--slate-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 0.4rem;
}

/* ============================================
   ABOUT
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: flex-start;
}
.about-text .lead {
    font-size: 1.3rem;
    color: var(--ice);
    font-weight: 500;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}
.about-text p {
    margin-bottom: 1.25rem;
}
.about-values {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
.value-item {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.value-icon {
    width: 48px;
    height: 48px;
    min-width: 48px;
    background: rgba(183, 165, 122, 0.1);
    border: 1px solid rgba(183, 165, 122, 0.2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}
.value-item h4 {
    margin-bottom: 0.3rem;
}
.value-item p {
    font-size: 0.92rem;
    color: var(--slate-text);
    line-height: 1.6;
}
.about-visual {
    position: relative;
}
.about-image-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(183, 165, 122, 0.15);
    box-shadow: var(--shadow-card);
    position: relative;
}
.about-image-card img {
    width: 100%;
    height: 480px;
    object-fit: cover;
}
.about-float-card {
    position: absolute;
    bottom: -30px;
    right: -30px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 1.5rem 2rem;
    box-shadow: var(--shadow-card);
}
.about-float-card .stat-num {
    font-family: var(--font-mono);
    font-size: 2rem;
    font-weight: 700;
    color: var(--champagne);
}
.about-float-card .stat-text {
    font-size: 0.85rem;
    color: var(--slate-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   THE EDGE — Feature Cards
   ============================================ */
.edge-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.edge-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 2.5rem;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}
.edge-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--champagne), var(--champagne-light));
    opacity: 0;
    transition: opacity 0.3s ease;
}
.edge-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), var(--shadow-accent);
    border-color: rgba(183, 165, 122, 0.3);
}
.edge-card:hover::before { opacity: 1; }

.edge-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, rgba(183, 165, 122, 0.15), rgba(183, 165, 122, 0.05));
    border: 1px solid rgba(183, 165, 122, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 1.75rem;
}
.edge-card h3 {
    margin-bottom: 1rem;
}
.edge-card p {
    font-size: 0.95rem;
    line-height: 1.7;
}
.edge-tag {
    display: inline-block;
    margin-top: 1.25rem;
    padding: 0.35rem 1rem;
    background: rgba(183, 165, 122, 0.08);
    border: 1px solid rgba(183, 165, 122, 0.2);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.72rem;
    color: var(--champagne);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   PIPELINE — How We Operate
   ============================================ */
.pipeline-header {
    text-align: center;
    margin-bottom: 4rem;
}
.pipeline-header .section-label { justify-content: center; }
.pipeline-header .section-label::before { display: none; }
.pipeline-header .section-subtitle { margin: 0 auto; }

.pipeline-track {
    display: flex;
    gap: 0;
    position: relative;
    margin-top: 3rem;
}
.pipeline-step {
    flex: 1;
    position: relative;
    text-align: center;
    padding: 2.5rem 1.5rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    transition: all 0.4s var(--ease-smooth);
    cursor: pointer;
}
.pipeline-step:first-child { border-radius: 16px 0 0 16px; }
.pipeline-step:last-child { border-radius: 0 16px 16px 0; }
.pipeline-step:hover {
    background: rgba(183, 165, 122, 0.08);
    border-color: rgba(183, 165, 122, 0.3);
}
.pipeline-step .step-num {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--champagne);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
}
.pipeline-step .step-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    display: block;
}
.pipeline-step h3 {
    font-size: 1.1rem;
    margin-bottom: 0.75rem;
}
.pipeline-step p {
    font-size: 0.85rem;
    color: var(--slate-text);
    line-height: 1.6;
    max-width: none;
}
.pipeline-connector {
    position: absolute;
    top: 50%;
    right: -12px;
    transform: translateY(-50%);
    z-index: 2;
    color: var(--champagne);
    font-size: 1rem;
    width: 24px;
    height: 24px;
    background: var(--charcoal);
    border: 1px solid var(--champagne);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
}

/* ============================================
   BY THE NUMBERS — Metrics Strip
   ============================================ */
.metrics-section {
    background: linear-gradient(180deg, rgba(183, 165, 122, 0.04) 0%, var(--midnight) 100%);
    border-top: 1px solid rgba(183, 165, 122, 0.1);
    border-bottom: 1px solid rgba(183, 165, 122, 0.1);
}
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
    text-align: center;
    padding: 1rem 0;
}
.metric-card {
    padding: 2rem;
}
.metric-card .metric-number {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    color: var(--white);
    line-height: 1;
    margin-bottom: 0.5rem;
}
.metric-card .metric-number .champagne { color: var(--champagne); }
.metric-card .metric-desc {
    font-size: 0.85rem;
    color: var(--slate-text);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
}
.service-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
    transition: all 0.4s var(--ease-smooth);
    position: relative;
    overflow: hidden;
}
.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--champagne), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}
.service-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(183, 165, 122, 0.25);
}
.service-card:hover::after { opacity: 1; }

.service-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.25rem;
}
.service-icon {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: linear-gradient(135deg, rgba(183, 165, 122, 0.12), rgba(183, 165, 122, 0.04));
    border: 1px solid rgba(183, 165, 122, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}
.service-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1rem;
}
.service-features {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
.service-features li {
    padding: 0.3rem 0.85rem;
    background: rgba(183, 165, 122, 0.08);
    border: 1px solid rgba(183, 165, 122, 0.2);
    border-radius: 100px;
    font-size: 0.75rem;
    color: var(--champagne);
    font-family: var(--font-mono);
    letter-spacing: 0.05em;
}

/* ============================================
   PROJECTS
   ============================================ */
.projects-header {
    text-align: center;
    margin-bottom: 3.5rem;
}
.projects-header .section-label { justify-content: center; }
.projects-header .section-label::before { display: none; }
.projects-header .section-subtitle { margin: 0 auto; }

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}
.project-card {
    background: var(--charcoal);
    border: 1px solid rgba(183, 165, 122, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}
.project-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover), var(--shadow-accent);
    border-color: rgba(183, 165, 122, 0.3);
}
.project-image {
    width: 100%;
    height: 240px;
    object-fit: cover;
    transition: transform 0.5s var(--ease-smooth);
}
.project-card:hover .project-image {
    transform: scale(1.05);
}
.project-image-wrap {
    overflow: hidden;
    position: relative;
}
.project-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.35rem 1rem;
    background: rgba(10, 10, 10, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(183, 165, 122, 0.3);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--champagne-light);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.project-info {
    padding: 2rem;
}
.project-info h3 {
    margin-bottom: 0.5rem;
}
.project-info p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}
.project-stats {
    display: flex;
    gap: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(183, 165, 122, 0.1);
}
.project-stat {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--regal-light);
}
.project-stat span {
    color: var(--slate-text);
    display: block;
    margin-top: 0.2rem;
    font-family: var(--font-body);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================
   TECHNOLOGY
   ============================================ */
.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3.5rem;
}
.tech-visual {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(42, 125, 101, 0.15);
    box-shadow: var(--shadow-card), 0 0 60px rgba(42, 125, 101, 0.08);
    position: relative;
}
.tech-visual img {
    width: 100%;
    height: auto;
}
.tech-visual-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.4rem 1rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(42, 125, 101, 0.3);
    border-radius: 100px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--regal);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.tech-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.tech-feature {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}
.tech-feature-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(42, 125, 101, 0.1);
    border: 1px solid rgba(42, 125, 101, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}
.tech-feature h4 {
    margin-bottom: 0.3rem;
    color: var(--ice);
}
.tech-feature p {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* ============================================
   CONTACT / CTA
   ============================================ */
.cta-section {
    background: linear-gradient(135deg, rgba(183, 165, 122, 0.08) 0%, rgba(183, 165, 122, 0.02) 100%);
    border-top: 1px solid rgba(183, 165, 122, 0.15);
}
.cta-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}
.cta-content h2 {
    margin-bottom: 1.5rem;
}
.cta-content p {
    margin-bottom: 2rem;
}
.cta-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}
.cta-info-item {
    display: flex;
    gap: 1rem;
    align-items: center;
}
.cta-info-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: rgba(183, 165, 122, 0.1);
    border: 1px solid rgba(183, 165, 122, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
}
.cta-info-item span {
    font-size: 0.95rem;
    color: var(--ice);
}

/* Contact Form */
.contact-form {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 3rem;
}
.form-group {
    margin-bottom: 1.5rem;
}
.form-group label {
    display: block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--champagne);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}
.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.9rem 1.25rem;
    background: rgba(10, 10, 10, 0.6);
    border: 1px solid rgba(183, 165, 122, 0.15);
    border-radius: 10px;
    color: var(--ice);
    font-family: var(--font-body);
    font-size: 0.95rem;
    transition: all 0.3s ease;
    outline: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: var(--champagne);
    box-shadow: 0 0 0 3px rgba(183, 165, 122, 0.1);
}
.form-group textarea {
    min-height: 120px;
    resize: vertical;
}
.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23b7a57a' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}
.form-group select option {
    background: var(--charcoal);
    color: var(--ice);
}
.form-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--champagne), var(--champagne-light));
    color: var(--midnight);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.95rem;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    transition: all 0.3s var(--ease-smooth);
    box-shadow: 0 4px 24px rgba(183, 165, 122, 0.3);
}
.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(183, 165, 122, 0.4);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--charcoal);
    border-top: 1px solid rgba(183, 165, 122, 0.08);
    padding: 4rem 0 2rem;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand {
    max-width: 320px;
}
.footer-brand .nav-logo {
    margin-bottom: 1rem;
}
.footer-brand p {
    font-size: 0.88rem;
    color: var(--slate-text);
    line-height: 1.7;
}
.footer-col h4 {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--champagne);
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-bottom: 1.25rem;
}
.footer-col ul {
    list-style: none;
}
.footer-col ul li { margin-bottom: 0.75rem; }
.footer-col ul a {
    font-size: 0.88rem;
    color: var(--slate-text);
    transition: color 0.3s ease;
}
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(183, 165, 122, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.footer-bottom p {
    font-size: 0.8rem;
    color: var(--slate-text);
}
.footer-social {
    display: flex;
    gap: 1rem;
}
.footer-social a {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(183, 165, 122, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: var(--slate-text);
    transition: all 0.3s ease;
}
.footer-social a:hover {
    border-color: var(--champagne);
    color: var(--champagne);
    background: rgba(183, 165, 122, 0.08);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s var(--ease-smooth);
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ============================================
   CASE STUDIES & TRACK RECORD
   ============================================ */
.case-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 4rem;
}
.case-card {
    background: var(--surface-light);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s var(--ease-smooth);
}
.case-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(183, 165, 122, 0.3);
}
.case-image-wrap {
    position: relative;
    height: 250px;
    overflow: hidden;
}
.case-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}
.case-card:hover .case-image-wrap img {
    transform: scale(1.05);
}
.case-tag {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    background: rgba(10, 10, 10, 0.85);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(183, 165, 122, 0.3);
    color: var(--champagne);
    padding: 0.4rem 1rem;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    border-radius: 100px;
}
.case-content {
    padding: 2.5rem;
}
.case-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--white);
}
.case-content p {
    color: var(--slate-text);
    margin-bottom: 2rem;
    font-size: 0.95rem;
    line-height: 1.6;
}
.case-stats {
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.85rem;
}
.case-stats .c-stat span {
    color: var(--slate-text);
    opacity: 0.7;
    margin-right: 0.5rem;
}

/* ============================================
   LEADERSHIP TEAM
   ============================================ */
.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    margin-top: 4rem;
}
.team-member {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}
.member-photo {
    flex-shrink: 0;
    width: 140px;
    height: 140px;
}
.photo-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(183, 165, 122, 0.2), rgba(183, 165, 122, 0.05));
    border: 1px solid rgba(183, 165, 122, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-mono);
    font-size: 2rem;
    color: var(--champagne);
    font-weight: 700;
}
.member-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
    color: var(--white);
}
.member-role {
    font-family: var(--font-mono);
    color: var(--champagne);
    font-size: 0.85rem;
    margin-bottom: 1.25rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.member-info p {
    color: var(--slate-text);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .edge-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
    .tech-grid { grid-template-columns: 1fr; gap: 3rem; }
    .about-grid { grid-template-columns: 1fr; gap: 3rem; }
    .cta-grid { grid-template-columns: 1fr; gap: 3rem; }
}

@media (max-width: 768px) {
    :root {
        --section-pad: 80px;
    }
    .nav-links { display: none; }
    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: fixed;
        inset: 0;
        background: rgba(10, 10, 10, 0.97);
        backdrop-filter: blur(20px);
        align-items: center;
        justify-content: center;
        gap: 2rem;
        z-index: 999;
    }
    .nav-links.active a {
        font-size: 1.2rem;
    }
    .hamburger { display: flex; }

    .hero-metrics {
        flex-direction: column;
        gap: 1.5rem;
    }
    .edge-grid, .case-grid, .team-grid { grid-template-columns: 1fr; }
    .team-member { flex-direction: column; align-items: center; text-align: center; }
    .services-grid { grid-template-columns: 1fr; }
    .pipeline-track {
        flex-direction: column;
        gap: 0;
    }
    .pipeline-step:first-child { border-radius: 16px 16px 0 0; }
    .pipeline-step:last-child { border-radius: 0 0 16px 16px; }
    .pipeline-connector {
        right: 50%;
        transform: translateX(50%);
        top: auto;
        bottom: -12px;
    }
    .metrics-grid { grid-template-columns: repeat(2, 1fr); }
    .projects-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; text-align: center; }
    .footer-bottom { flex-direction: column; gap: 1rem; text-align: center; }
}

@media (max-width: 480px) {
    :root {
        --section-pad: 60px;
    }
    .container { padding: 0 1.25rem; }
    .hero-content { padding-top: 80px; }
    .hero h1 { font-size: 2.2rem; }
    .hero-desc { font-size: 1rem; }
    .hero-actions { flex-direction: column; }
    .btn-primary, .btn-secondary { width: 100%; justify-content: center; }
    .metrics-grid { grid-template-columns: 1fr; }
    .edge-card, .service-card, .contact-form { padding: 1.75rem; }
}

/* ============================================
   INVESTOR PORTAL - MOBILE RESPONSIVENESS
   ============================================ */

@media (max-width: 768px) {
    /* Portal Header */
    .portal-nav-top {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 4% !important;
    }
    .portal-brand {
        font-size: 1rem;
    }
    .portal-user {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }
    .portal-nav {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .portal-nav a {
        white-space: nowrap;
        font-size: 0.8rem;
        padding: 0.75rem 1rem;
    }

    /* Deal Filters — Horizontal scroll */
    .deal-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        gap: 0.5rem;
        padding-bottom: 0.5rem;
        scrollbar-width: none;
    }
    .deal-filters::-webkit-scrollbar {
        display: none;
    }
    .deal-filters .filter-btn {
        white-space: nowrap;
        flex-shrink: 0;
        font-size: 0.75rem;
        padding: 0.5rem 0.85rem;
    }

    /* Dashboard Content */
    .dashboard-content {
        padding: 2rem 4% !important;
    }

    /* Deal Summary Report */
    .report-page {
        padding: 1.5rem !important;
    }
    .report-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    .rh-right {
        text-align: left;
    }
    .exec-hero {
        grid-template-columns: 1fr !important;
    }
    .report-grid {
        grid-template-columns: 1fr !important;
    }

    /* Action Buttons */
    .action-btns {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    .action-btns .btn-print,
    .action-btns .btn-back {
        text-align: center;
        justify-content: center;
    }

    /* Stat cards in dashboard */
    .stat-row {
        flex-direction: column;
        gap: 1rem;
    }

    /* Nav Logo text wrapping */
    .nav-logo {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .portal-brand {
        font-size: 0.9rem;
    }
    .portal-brand .icon {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }
    .portal-nav a {
        font-size: 0.75rem;
        padding: 0.6rem 0.75rem;
    }
}

