/* ============================================
   VARK INVESTMENTS — Modern Hybrid Styles
   VC & Private Lending
   ============================================ */

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

:root {
    --color-bg: #0b0d11;
    --color-bg-alt: #0f1117;
    --color-bg-card: #141720;
    --color-bg-elevated: #1a1d28;
    --color-surface: #1e2130;
    --color-border: #252838;
    --color-border-light: #353850;
    --color-text: #e2e4ec;
    --color-text-muted: #8e92a8;
    --color-text-subtle: #5c6078;
    --color-accent: #6c8cff;
    --color-accent-light: #8aa4ff;
    --color-accent-dark: #4a6ce0;
    --color-accent-glow: rgba(108, 140, 255, 0.15);
    --color-accent-secondary: #c9a55c;
    --color-accent-secondary-light: #dbb76e;
    --color-white: #ffffff;
    --color-black: #000000;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    --nav-height: 80px;
    --container-max: 1200px;
    --container-padding: 24px;

    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

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

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

ul {
    list-style: none;
}

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

/* --- Typography --- */
.section-label {
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-white);
    margin-bottom: 24px;
}

.section-intro {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 640px;
    margin: 0 auto;
    line-height: 1.7;
}

.section-text {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.8;
    margin-bottom: 16px;
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.03em;
    border-radius: 6px;
    border: none;
    cursor: pointer;
    transition: all 0.3s var(--ease-out);
    text-decoration: none;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-white);
}

.btn-primary:hover {
    background: var(--color-accent-light);
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--color-accent-glow);
}

.btn-outline {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-border-light);
}

.btn-outline:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 44px;
    font-size: 1rem;
}

.btn-full {
    width: 100%;
}

/* ==============================
   NAVIGATION
   ============================== */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    align-items: center;
    transition: all 0.4s var(--ease-out);
}

.nav.scrolled {
    background: rgba(11, 13, 17, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--color-border);
}

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

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    z-index: 1001;
}

.logo-mark {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--color-accent);
    color: var(--color-white);
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
    border-radius: 8px;
}

.logo-text {
    font-family: var(--font-body);
    color: var(--color-white);
}

.logo-thin {
    font-weight: 300;
    color: var(--color-text-muted);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 36px;
}

.nav-links a {
    font-size: 0.88rem;
    font-weight: 400;
    color: var(--color-text-muted);
    transition: color 0.3s;
    letter-spacing: 0.02em;
}

.nav-links a:hover {
    color: var(--color-white);
}

.nav-cta {
    padding: 10px 24px !important;
    border: 1px solid var(--color-border-light) !important;
    border-radius: 6px;
    transition: all 0.3s var(--ease-out) !important;
}

.nav-cta:hover {
    border-color: var(--color-accent) !important;
    color: var(--color-accent) !important;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--color-white);
    transition: all 0.3s var(--ease-out);
    transform-origin: center;
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(108, 140, 255, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(201, 165, 92, 0.06) 0%, transparent 50%),
                var(--color-bg);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(11, 13, 17, 0.3) 0%,
        rgba(11, 13, 17, 0.1) 40%,
        rgba(11, 13, 17, 0.6) 100%
    );
}

/* Subtle animated grid/mesh background */
.hero-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    opacity: 0.4;
}

.hero-particles::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background-image:
        radial-gradient(circle at 25% 25%, rgba(108, 140, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(201, 165, 92, 0.03) 0%, transparent 50%);
    animation: meshDrift 30s linear infinite;
}

@keyframes meshDrift {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 0 var(--container-padding);
    animation: fadeUp 1s var(--ease-out) 0.3s both;
}

.hero-label {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 600;
    line-height: 1.1;
    color: var(--color-white);
    margin-bottom: 24px;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.15rem);
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeUp 1s var(--ease-out) 1s both;
}

.hero-scroll span {
    font-size: 0.7rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--color-text-subtle);
}

.scroll-line {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, var(--color-accent), transparent);
    animation: scrollPulse 2s var(--ease-in-out) infinite;
}

@keyframes scrollPulse {
    0%, 100% { opacity: 1; transform: scaleY(1); }
    50% { opacity: 0.4; transform: scaleY(0.6); }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==============================
   SECTIONS
   ============================== */
.section {
    padding: 120px 0;
}

.section-about {
    background: var(--color-bg);
}

.section-ventures {
    background: var(--color-bg-alt);
}

.section-lending {
    background: var(--color-bg);
}

/* --- About Section --- */
.about-centered {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 72px;
}

.about-centered .section-text {
    text-align: left;
}

/* --- Pillar Cards --- */
.pillars-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.pillar-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 48px 36px;
    text-align: center;
    transition: all 0.4s var(--ease-out);
    position: relative;
    overflow: hidden;
}

.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-accent), var(--color-accent-secondary));
    opacity: 0;
    transition: opacity 0.4s var(--ease-out);
}

.pillar-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.pillar-icon {
    width: 56px;
    height: 56px;
    color: var(--color-accent);
    margin: 0 auto 24px;
}

.pillar-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.pillar-card p {
    font-size: 0.95rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.pillar-link {
    display: inline-block;
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--color-accent);
    transition: all 0.3s;
    letter-spacing: 0.02em;
}

.pillar-link:hover {
    color: var(--color-accent-light);
    transform: translateX(4px);
}

/* ==============================
   VENTURE CAPITAL SECTION
   ============================== */
.vc-stages {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 64px;
}

.stage-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 12px;
    padding: 36px 28px;
    transition: all 0.4s var(--ease-out);
    position: relative;
}

.stage-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 2px;
    background: var(--color-accent);
    transform: scaleX(0);
    transition: transform 0.4s var(--ease-out);
}

.stage-card:hover {
    border-color: var(--color-border-light);
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
}

.stage-card:hover::after {
    transform: scaleX(1);
}

.stage-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--color-accent);
    background: var(--color-accent-glow);
    padding: 5px 14px;
    border-radius: 20px;
    margin-bottom: 16px;
}

.stage-card h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 10px;
}

.stage-card p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
}

/* --- VC Focus Tags --- */
.vc-focus {
    text-align: center;
}

.focus-heading {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 24px;
}

.focus-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.focus-tag {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    background: var(--color-bg-elevated);
    border: 1px solid var(--color-border);
    padding: 10px 22px;
    border-radius: 24px;
    transition: all 0.3s var(--ease-out);
}

.focus-tag:hover {
    border-color: var(--color-accent);
    color: var(--color-accent);
    background: var(--color-accent-glow);
}

/* ==============================
   PRIVATE LENDING SECTION
   ============================== */
.lending-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-bottom: 64px;
}

.lending-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 44px 36px;
    transition: all 0.4s var(--ease-out);
}

.lending-card:hover {
    border-color: var(--color-accent-secondary);
    transform: translateY(-6px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.lending-icon {
    width: 48px;
    height: 48px;
    color: var(--color-accent-secondary);
    margin-bottom: 24px;
}

.lending-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 12px;
}

.lending-card p {
    font-size: 0.92rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.lending-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.lending-features li {
    font-size: 0.85rem;
    color: var(--color-text-muted);
    padding-left: 20px;
    position: relative;
}

.lending-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--color-accent-secondary);
    opacity: 0.6;
}

/* --- Lending Process --- */
.lending-process {
    text-align: center;
}

.lending-process .process-steps {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 8px;
}

.lending-process .process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 12px;
    max-width: 200px;
}

.process-steps {
    display: flex;
    flex-direction: column;
    gap: 32px;
    margin-top: 8px;
}

.process-step {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.step-number {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-accent-secondary);
    min-width: 48px;
    line-height: 1;
    padding-top: 4px;
}

.lending-process .step-number {
    min-width: auto;
    font-size: 2rem;
}

.process-step h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 6px;
}

.process-step p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* --- CTA Banner --- */
.section-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--color-bg-alt) 0%, #12141e 50%, var(--color-bg-alt) 100%);
}

.cta-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at center, var(--color-accent-glow) 0%, transparent 70%);
}

.cta-content {
    position: relative;
    text-align: center;
    max-width: 640px;
    margin: 0 auto;
}

.cta-content h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 600;
    color: var(--color-white);
    margin-bottom: 16px;
}

.cta-content p {
    font-size: 1.05rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    margin-bottom: 32px;
}

/* --- Split Layout --- */
.split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

/* --- Contact --- */
.section-contact {
    background: var(--color-bg-alt);
}

.contact-info {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--color-text-muted);
    font-size: 0.95rem;
}

.contact-item svg {
    width: 20px;
    height: 20px;
    color: var(--color-accent);
    flex-shrink: 0;
}

.contact-item a {
    transition: color 0.3s;
}

.contact-item a:hover {
    color: var(--color-accent);
}

/* --- Contact Form --- */
.contact-form {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: 16px;
    padding: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--color-bg-alt);
    border: 1px solid var(--color-border);
    border-radius: 8px;
    color: var(--color-text);
    font-family: var(--font-body);
    font-size: 0.92rem;
    transition: border-color 0.3s, box-shadow 0.3s;
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px var(--color-accent-glow);
}

.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1L6 6L11 1' stroke='%238e92a8' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* ==============================
   FOOTER
   ============================== */
.footer {
    background: var(--color-bg);
    border-top: 1px solid var(--color-border);
    padding: 64px 0 32px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.7;
    max-width: 320px;
}

.footer-links h4 {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--color-white);
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 20px;
}

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

.footer-links a {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    transition: color 0.3s;
}

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

.footer-bottom {
    border-top: 1px solid var(--color-border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 24px;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--color-text-subtle);
}

.footer-disclaimer {
    max-width: 500px;
    text-align: right;
    line-height: 1.5;
}

/* ==============================
   ANIMATIONS (scroll-triggered)
   ============================== */
[data-animate] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
}

[data-animate].visible {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children */
.vc-stages [data-animate]:nth-child(2) { transition-delay: 0.1s; }
.vc-stages [data-animate]:nth-child(3) { transition-delay: 0.2s; }
.vc-stages [data-animate]:nth-child(4) { transition-delay: 0.3s; }

/* ==============================
   RESPONSIVE — Tablet
   ============================== */
@media (max-width: 1024px) {
    .vc-stages {
        grid-template-columns: 1fr 1fr;
    }

    .split {
        gap: 48px;
    }
}

/* ==============================
   RESPONSIVE — Mobile
   ============================== */
@media (max-width: 768px) {
    :root {
        --nav-height: 64px;
        --container-padding: 20px;
    }

    .section {
        padding: 80px 0;
    }

    /* Mobile Nav */
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        max-width: 360px;
        background: var(--color-bg-alt);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 40px;
        gap: 24px;
        transform: translateX(100%);
        transition: transform 0.4s var(--ease-out);
        border-left: 1px solid var(--color-border);
    }

    .nav-links.open {
        transform: translateX(0);
    }

    .nav-links a {
        font-size: 1.2rem;
        color: var(--color-text);
    }

    .nav-cta {
        margin-top: 16px;
    }

    .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);
    }

    /* Mobile Layout */
    .split {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .pillars-overview {
        grid-template-columns: 1fr;
    }

    .vc-stages {
        grid-template-columns: 1fr;
    }

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

    .lending-features {
        grid-template-columns: 1fr;
    }

    .lending-process .process-steps {
        flex-direction: column;
        gap: 32px;
        align-items: center;
    }

    .lending-process .process-step {
        max-width: 300px;
    }

    .hero-title {
        font-size: clamp(2rem, 8vw, 3rem);
    }

    .hero-scroll {
        display: none;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 28px 24px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .footer-disclaimer {
        text-align: left;
    }

    .section-header {
        margin-bottom: 48px;
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .hero-actions .btn {
        width: 100%;
    }
}
