/* ============================================
   Cosmos Capital Management
   Deep Space · Bento Grid · Violet → Cyan
   Clash Display + Plus Jakarta Sans
   ============================================ */

/* ===== VARIABLES ===== */
:root {
    --bg: #0c0a1d;
    --bg-2: #110e24;
    --bg-3: #16132e;
    --bg-card: rgba(22, 19, 46, 0.55);
    --bg-glass: rgba(12, 10, 29, 0.82);

    --white: #f4f2ff;
    --text: #b0adc4;
    --text-secondary: #b0adc4;
    --text-dim: #6e6b85;
    --heading: #ffffff;
    --accent-cyan: #06b6d4;

    --violet: #7c3aed;
    --cyan: #06b6d4;
    --accent: #7c3aed;
    --grad: linear-gradient(135deg, #7c3aed, #06b6d4);
    --grad-r: linear-gradient(135deg, #06b6d4, #7c3aed);
    --glow-v: rgba(124, 58, 237, 0.25);
    --glow-c: rgba(6, 182, 212, 0.2);
    --glow-mix: rgba(80, 120, 220, 0.12);

    --border: rgba(255, 255, 255, 0.06);
    --border-h: rgba(124, 58, 237, 0.3);

    --font-h: 'Clash Display', sans-serif;
    --font-b: 'Plus Jakarta Sans', sans-serif;

    --max-w: 1260px;
    --header-h: 76px;
    --r: 20px;
    --r-sm: 12px;
    --r-xs: 8px;
    --r-full: 100px;
    --ease: cubic-bezier(0.22, 1, 0.36, 1);
    --dur: 0.4s;
}

/* ===== RESET ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
    font-family: var(--font-b);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-h);
    font-weight: 600;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--heading);
}

a { text-decoration: none; color: inherit; transition: all var(--dur) var(--ease); }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; font-size: inherit; }

/* ===== UTILITY ===== */
.container { max-width: var(--max-w); margin: 0 auto; padding: 0 28px; }
.section { padding: 120px 0; }
.text-grad {
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--violet);
    margin-bottom: 22px;
}
.section-tag::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad);
    animation: tagPulse 2.5s ease infinite;
}
@keyframes tagPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--glow-v); transform: scale(1); }
    50% { box-shadow: 0 0 0 8px transparent; transform: scale(1.2); }
}

.section-title {
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    margin-bottom: 18px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 540px;
    line-height: 1.8;
}

.section-header { margin-bottom: 64px; }
.section-header.center { text-align: center; }
.section-header.center .section-desc { margin: 0 auto; }

/* ===== BUTTONS ===== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-b);
    font-weight: 600;
    font-size: 14px;
    padding: 14px 32px;
    border-radius: var(--r-full);
    transition: all var(--dur) var(--ease);
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn i { font-size: 12px; transition: transform 0.3s var(--ease); }
.btn:hover i { transform: translateX(3px); }

.btn-primary {
    background: var(--grad);
    color: #fff;
    font-weight: 700;
    box-shadow: 0 4px 20px var(--glow-v);
}
.btn-primary:hover {
    box-shadow: 0 8px 40px var(--glow-v);
    transform: translateY(-2px);
}

.btn-ghost {
    border: 1px solid var(--border);
    color: var(--white);
}
.btn-ghost:hover {
    border-color: var(--violet);
    background: rgba(124, 58, 237, 0.08);
}

.btn-sm { padding: 10px 24px; font-size: 13px; }
.btn-lg { padding: 17px 38px; font-size: 15px; }
.btn-full { width: 100%; justify-content: center; }

/* ===== COSMIC PARTICLES CANVAS ===== */
#cosmosCanvas {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.5;
}

/* ===== AURORA GRADIENT (behind hero) ===== */
.aurora {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.aurora-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    animation: auroraFloat 18s ease-in-out infinite alternate;
}

.aurora-blob:nth-child(1) {
    width: 600px; height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, transparent 70%);
    top: -15%; left: -10%;
}
.aurora-blob:nth-child(2) {
    width: 500px; height: 500px;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.15) 0%, transparent 70%);
    bottom: -10%; right: -8%;
    animation-delay: -6s;
}
.aurora-blob:nth-child(3) {
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.1) 0%, transparent 70%);
    top: 40%; left: 50%;
    animation-delay: -12s;
}

@keyframes auroraFloat {
    0% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(40px, -30px) scale(1.15); }
    66% { transform: translate(-20px, 20px) scale(0.95); }
    100% { transform: translate(30px, -15px) scale(1.08); }
}

/* ===== PRELOADER ===== */
.preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s var(--ease), visibility 0.6s;
}
.preloader.hidden { opacity: 0; visibility: hidden; }

.orbit-loader {
    width: 64px; height: 64px;
    position: relative;
}

.orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 2px solid transparent;
    animation: orbitSpin 1.2s linear infinite;
}
.orbit-ring:nth-child(1) {
    border-top-color: var(--violet);
}
.orbit-ring:nth-child(2) {
    inset: 6px;
    border-right-color: var(--cyan);
    animation-duration: 1.6s;
    animation-direction: reverse;
}
.orbit-ring:nth-child(3) {
    inset: 12px;
    border-bottom-color: var(--violet);
    animation-duration: 2s;
}
.orbit-core {
    position: absolute;
    top: 50%; left: 50%;
    width: 8px; height: 8px;
    margin: -4px;
    border-radius: 50%;
    background: var(--grad);
    box-shadow: 0 0 16px var(--glow-v);
}

@keyframes orbitSpin { to { transform: rotate(360deg); } }

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    height: var(--header-h);
    display: flex;
    align-items: center;
    transition: all var(--dur) var(--ease);
}

.header.scrolled {
    background: var(--bg-glass);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid var(--border);
}

.header-inner {
    display: flex;
    align-items: center;
    gap: 40px;
}

.logo {
    font-family: var(--font-h);
    font-weight: 700;
    font-size: 22px;
    color: var(--heading);
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-mark {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    font-family: var(--font-h);
    font-size: 0;
    color: transparent;
    flex-shrink: 0;
}
.logo-mark::before {
    content: '';
    width: 10px; height: 10px;
    border-radius: 50%;
    background: var(--bg);
    position: absolute;
    z-index: 1;
}
.logo-mark::after {
    content: '';
    width: 22px; height: 22px;
    border: 1.5px solid rgba(255,255,255,0.25);
    border-radius: 50%;
    position: absolute;
    animation: orbitSpin 4s linear infinite;
    z-index: 2;
}

.logo-text span {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    display: block;
    margin-top: -2px;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav { display: flex; align-items: center; gap: 32px; margin-left: auto; }

.nav-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dim);
    position: relative;
    padding: 4px 0;
    transition: color var(--dur);
}
.nav-link:hover,
.nav-link.active { color: var(--white); }

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0; right: 0;
    height: 2px;
    background: var(--grad);
    border-radius: 2px;
}

.header-cta { font-size: 13px; padding: 10px 24px; margin-left: 8px; flex-shrink: 0; }

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    z-index: 1001;
}
.nav-toggle span {
    display: block;
    width: 22px; height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: all var(--dur);
}
.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== HERO ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: var(--header-h);
    overflow: hidden;
}

.hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.hero-content { position: relative; z-index: 2; }

.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px 6px 6px;
    border: 1px solid var(--border);
    border-radius: var(--r-full);
    font-size: 12px;
    font-weight: 500;
    color: var(--text);
    margin-bottom: 28px;
    background: var(--bg-card);
    backdrop-filter: blur(8px);
}

.hero-eyebrow .dot {
    width: 22px; height: 22px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    color: #fff;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 4.8rem);
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.12rem;
    color: var(--text);
    line-height: 1.85;
    max-width: 480px;
    margin-bottom: 40px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── Bento Grid (right side of hero) ── */
.bento-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto;
    gap: 14px;
    position: relative;
    z-index: 2;
}

.bento-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px;
    backdrop-filter: blur(12px);
    transition: all var(--dur) var(--ease);
    position: relative;
    overflow: hidden;
}

.bento-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0;
    transition: opacity var(--dur);
    z-index: 0;
}

.bento-card:hover {
    border-color: var(--border-h);
    transform: translateY(-3px);
    box-shadow: 0 16px 48px rgba(124, 58, 237, 0.12);
}
.bento-card:hover::before { opacity: 0.04; }

.bento-card > * { position: relative; z-index: 1; }

.bento-wide { grid-column: span 2; }

.bento-icon {
    width: 44px; height: 44px;
    border-radius: var(--r-sm);
    background: rgba(124, 58, 237, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    font-size: 18px;
    margin-bottom: 16px;
}

.bento-card h3 {
    font-size: 1rem;
    margin-bottom: 6px;
    font-weight: 600;
}

.bento-card p {
    font-size: 0.82rem;
    color: var(--text-dim);
    line-height: 1.65;
}

/* Stat bento */
.bento-stat {
    display: flex;
    align-items: flex-end;
    gap: 12px;
}

.bento-stat-value {
    font-family: var(--font-h);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: var(--heading);
    line-height: 1;
}

.bento-stat-label {
    font-size: 0.78rem;
    color: var(--text-dim);
    font-weight: 500;
    padding-bottom: 4px;
}

/* Mini orbit in bento */
.bento-orbit {
    width: 80px; height: 80px;
    position: absolute;
    bottom: 16px; right: 16px;
    opacity: 0.15;
}
.bento-orbit circle {
    fill: none;
    stroke: url(#gradSVG);
    stroke-width: 1;
}
.bento-orbit .orbit-dot {
    fill: var(--violet);
    animation: orbitSpin 4s linear infinite;
    transform-origin: 40px 40px;
}

/* ===== WHAT WE DO (services overview) ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.service-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 36px 28px;
    backdrop-filter: blur(10px);
    transition: all var(--dur);
    position: relative;
    overflow: hidden;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: var(--grad);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s var(--ease);
}

.service-card:hover {
    border-color: var(--border-h);
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
}

.service-card:hover::after { transform: scaleX(1); }

.service-num {
    font-family: var(--font-h);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.2;
    line-height: 1;
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.15rem;
    margin-bottom: 10px;
}

.service-card p {
    font-size: 0.88rem;
    color: var(--text-dim);
    line-height: 1.75;
}

.service-card .card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--violet);
    margin-top: 18px;
}

.service-card .card-link i { font-size: 10px; transition: transform 0.3s; }
.service-card:hover .card-link i { transform: translateX(4px); }

/* ===== APPROACH / PROCESS ===== */
.approach-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.approach-visual {
    position: relative;
}

.orbit-visual {
    width: 400px; height: 400px;
    margin: 0 auto;
    position: relative;
}

.orbit-ring-visual {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--border);
    animation: orbitSpin 20s linear infinite;
}

.orbit-ring-visual:nth-child(1) { inset: 0; }
.orbit-ring-visual:nth-child(2) { inset: 40px; animation-duration: 15s; animation-direction: reverse; }
.orbit-ring-visual:nth-child(3) { inset: 80px; animation-duration: 10s; }

.orbit-center {
    position: absolute;
    top: 50%; left: 50%;
    width: 80px; height: 80px;
    margin: -40px;
    border-radius: 50%;
    background: var(--grad);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 60px var(--glow-v);
    font-family: var(--font-h);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #fff;
}

.orbit-center i { font-size: 28px; color: #fff; }

.orbit-node {
    position: absolute;
    width: auto; height: auto;
    padding: 8px 16px;
    border-radius: var(--r-full);
    background: var(--bg-3);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
    color: var(--violet);
    font-family: var(--font-h);
    letter-spacing: 0.05em;
    text-transform: uppercase;
    white-space: nowrap;
    transform: translateX(-50%);
}

.approach-steps {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.approach-step {
    display: flex;
    gap: 20px;
    padding: 24px;
    border-radius: var(--r);
    border: 1px solid transparent;
    transition: all var(--dur);
}

.approach-step:hover {
    background: var(--bg-card);
    border-color: var(--border);
}

.step-num {
    font-family: var(--font-h);
    font-size: 1.4rem;
    font-weight: 700;
    background: var(--grad);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    flex-shrink: 0;
    width: 40px;
}

.approach-step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.approach-step p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.75; }

/* ===== STATS BAR ===== */
.stats-bar {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    padding: 56px 0;
}

.stats-row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
    position: relative;
}

.stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    top: 20%; right: 0;
    height: 60%; width: 1px;
    background: var(--border);
}

.stat-value {
    font-family: var(--font-h);
    font-size: 3rem;
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1;
    margin-bottom: 8px;
    color: var(--heading);
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-dim);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ===== PORTFOLIO / FOCUS AREAS ===== */
.focus-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.focus-card {
    display: flex;
    gap: 24px;
    padding: 32px 28px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    backdrop-filter: blur(8px);
    transition: all var(--dur);
}

.focus-card:hover {
    border-color: var(--border-h);
    transform: translateY(-3px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.25);
}

.focus-icon {
    width: 52px; height: 52px;
    border-radius: var(--r-sm);
    background: rgba(124, 58, 237, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--violet);
    font-size: 20px;
    flex-shrink: 0;
}

.focus-card h3 { font-size: 1.08rem; margin-bottom: 8px; }
.focus-card p { font-size: 0.85rem; color: var(--text-dim); line-height: 1.7; }

/* ===== TEAM ===== */
.team-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.team-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    overflow: hidden;
    backdrop-filter: blur(8px);
    transition: all var(--dur);
}

.team-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.3);
    border-color: var(--border-h);
}

.team-photo {
    width: 100%;
    height: 300px;
    overflow: hidden;
    position: relative;
}

.team-photo::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 50%;
    background: linear-gradient(to top, var(--bg-card), transparent);
}

.team-photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.team-card:hover .team-photo img { transform: scale(1.05); }

.team-info { padding: 24px; }
.team-info h3 { font-size: 1.05rem; margin-bottom: 4px; }
.team-role {
    font-size: 0.78rem;
    color: var(--violet);
    font-weight: 600;
    margin-bottom: 10px;
    display: block;
}
.team-info p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.6; }

/* ===== CTA ===== */
.cta-section { padding: 100px 0; }

.cta-box {
    position: relative;
    border-radius: var(--r);
    padding: 80px 60px;
    text-align: center;
    overflow: hidden;
    background: var(--bg-3);
    border: 1px solid var(--border);
}

.cta-box::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--grad);
    opacity: 0.06;
}

.cta-glow {
    position: absolute;
    width: 500px; height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--glow-v) 0%, transparent 70%);
    top: -40%; left: 50%;
    transform: translateX(-50%);
    filter: blur(60px);
    pointer-events: none;
}

.cta-box > * { position: relative; z-index: 1; }

.cta-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    margin-bottom: 16px;
}

.cta-desc {
    font-size: 1.05rem;
    color: var(--text);
    max-width: 480px;
    margin: 0 auto 36px;
    line-height: 1.8;
}

.cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== PAGE HEADER ===== */
.page-header {
    padding: 160px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -200px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 700px;
    background: radial-gradient(circle, var(--glow-v) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0.35;
    filter: blur(60px);
}

.page-header-content { position: relative; z-index: 1; }

.page-title {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin-bottom: 16px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 0.82rem;
    color: var(--text-dim);
}
.breadcrumb a:hover { color: var(--violet); }
.breadcrumb .sep { font-size: 0.65rem; }

/* ===== SPLIT CONTENT ===== */
.split-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}

.split-content.reverse { direction: rtl; }
.split-content.reverse > * { direction: ltr; }

.split-text .section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); }
.split-text p { margin-bottom: 18px; }

.split-image {
    border-radius: var(--r);
    overflow: hidden;
    border: 1px solid var(--border);
}

.split-image img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.6s var(--ease);
}

.split-image:hover img { transform: scale(1.03); }

/* ===== VALUES GRID ===== */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.value-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 36px 28px;
    text-align: center;
    backdrop-filter: blur(8px);
    transition: all var(--dur);
}

.value-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-h);
    box-shadow: 0 16px 48px rgba(0,0,0,0.25);
}

.value-icon {
    width: 56px; height: 56px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(124, 58, 237, 0.08);
    color: var(--violet);
    font-size: 22px;
}

.value-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.value-card p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.7; }

/* ===== NEO FUND DETAILS ===== */
.fund-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.fund-feature {
    display: flex;
    gap: 16px;
    padding: 28px 24px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    transition: all var(--dur);
}

.fund-feature:hover {
    border-color: var(--border-h);
    transform: translateY(-2px);
}

.fund-feature-icon {
    width: 44px; height: 44px;
    border-radius: var(--r-xs);
    background: rgba(6, 182, 212, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--cyan);
    font-size: 18px;
    flex-shrink: 0;
}

.fund-feature h3 { font-size: 0.95rem; margin-bottom: 4px; }
.fund-feature p { font-size: 0.82rem; color: var(--text-dim); line-height: 1.65; }

/* ===== CONTACT ===== */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 56px;
}

.contact-info h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 14px; }
.contact-info > p { margin-bottom: 32px; }

.contact-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.contact-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    transition: all var(--dur);
}

.contact-card:hover { border-color: var(--border-h); }

.contact-card-icon {
    width: 42px; height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(124, 58, 237, 0.08);
    border-radius: var(--r-xs);
    color: var(--violet);
    font-size: 16px;
    flex-shrink: 0;
}

.contact-card h4 {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--heading);
    margin-bottom: 2px;
}
.contact-card a,
.contact-card p,
.contact-card span { font-size: 0.85rem; color: var(--text-dim); }
.contact-card a:hover { color: var(--violet); }

.contact-form {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 40px 36px;
    backdrop-filter: blur(8px);
}

.contact-form h3 {
    font-size: 1.2rem;
    margin-bottom: 24px;
    color: var(--heading);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group { margin-bottom: 16px; }

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 13px 16px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--white);
    font-size: 0.92rem;
    outline: none;
    transition: all var(--dur);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--violet);
    box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

.form-group textarea { resize: vertical; min-height: 110px; }

.form-success { display: none; text-align: center; padding: 40px 20px; }
.form-success.show { display: block; }
.form-success i { font-size: 48px; color: var(--violet); margin-bottom: 14px; display: block; }
.form-success h3 { font-size: 1.2rem; margin-bottom: 8px; }
.form-success p { color: var(--text-dim); font-size: 0.88rem; }

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-2);
    border-top: 1px solid var(--border);
    padding: 72px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 56px;
    border-bottom: 1px solid var(--border);
}

.footer-about p { color: var(--text-dim); font-size: 0.85rem; line-height: 1.7; margin-bottom: 20px; max-width: 280px; }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-socials { display: flex; gap: 8px; }

.footer-socials a {
    width: 36px; height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: var(--r-xs);
    color: var(--text-dim);
    font-size: 14px;
    transition: all var(--dur);
}

.footer-socials a:hover { background: var(--violet); border-color: var(--violet); color: #fff; }

.footer-col h4 { color: var(--heading); font-size: 0.88rem; font-weight: 700; margin-bottom: 18px; }

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-col ul a { color: var(--text-dim); font-size: 0.85rem; }
.footer-col ul a:hover { color: var(--violet); padding-left: 4px; }
.footer-col ul li { color: var(--text-dim); font-size: 0.85rem; line-height: 1.6; }
.footer-col ul span { color: var(--text-dim); font-size: 0.85rem; }
.footer-col ul i { margin-right: 6px; color: var(--violet); font-size: 13px; }

.footer-bottom {
    padding: 22px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.footer-bottom p { font-size: 0.78rem; color: var(--text-dim); }

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 28px; right: 28px;
    width: 44px; height: 44px;
    background: var(--grad);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all var(--dur);
    cursor: pointer;
    box-shadow: 0 4px 20px var(--glow-v);
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { transform: translateY(-3px); box-shadow: 0 8px 32px var(--glow-v); }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 48px; }
    .bento-grid { max-width: 500px; }
    .split-content, .contact-grid, .approach-grid { grid-template-columns: 1fr; gap: 40px; }
    .split-content.reverse { direction: ltr; }
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .focus-grid { grid-template-columns: repeat(2, 1fr); }
    .stats-row { grid-template-columns: repeat(2, 1fr); }
    .team-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .orbit-visual { width: 300px; height: 300px; }
}

@media (max-width: 768px) {
    .section { padding: 80px 0; }
    .container { padding: 0 18px; }

    .nav {
        position: fixed;
        top: 0; right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--bg);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 28px;
        transition: right 0.35s var(--ease);
        z-index: 999;
    }
    .nav.active { right: 0; }
    .nav .nav-link { font-size: 1.1rem; }
    .nav-toggle { display: flex; }
    .header-cta { display: none; }

    .hero-title { font-size: clamp(2.2rem, 8vw, 3rem); }
    .hero-actions { flex-direction: column; }
    .bento-grid { grid-template-columns: 1fr; }
    .bento-wide { grid-column: span 1; }

    .services-grid, .values-grid, .focus-grid, .fund-features { grid-template-columns: 1fr; }
    .stats-row { grid-template-columns: 1fr; }
    .stat-item::after { display: none !important; }
    .team-grid, .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .form-row { grid-template-columns: 1fr; }
    .cta-box { padding: 48px 22px; }
    .page-header { padding-top: 140px; padding-bottom: 56px; }
    .section-header { margin-bottom: 48px; }
    .orbit-visual { width: 220px; height: 220px; }
}
