/* ═══════════════════════════════════
   UNICORNIA — Design System
   Antigravity Layout · Spectrum Palette
   ═══════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

/* ─── Design Tokens ─── */
:root {
    --white:          #ffffff;
    --bg-light:       #f8f9fa;
    --bg-dark:        #0a0e27;
    --text-primary:   #0a0e27;
    --text-secondary: #64748b;
    --border:         #e2e8f0;

    /* Spectrum Palette */
    --cyan:    #00d4ff;
    --purple:  #6C5CE7;
    --blue:    #3b82f6;
    --pink:    #ec4899;
    --gold:    #ffd700;
    --green:   #10b981;
    --red:     #ff4444;
    --accent:  #6C5CE7;

    --section-padding: 100px 20px;
    --radius-md:  12px;
    --radius-lg:  16px;
    --shadow-sm:  0 1px 3px rgba(0,0,0,0.06);
    --shadow-md:  0 4px 20px rgba(0,0,0,0.08);
    --shadow-lg:  0 12px 40px rgba(0,0,0,0.12);
    --transition: all 0.3s ease;
}

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

html { scroll-behavior: smooth; }

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--white);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ═══════════════════
   NAVBAR
   ═══════════════════ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: var(--transition);
}

.navbar--hero {
    background: transparent;
}

.navbar--hero .nav-link,
.navbar--hero .logo-text {
    color: var(--white);
}

.navbar--scrolled {
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-sm);
}

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

.navbar--scrolled .logo-text {
    color: var(--text-primary);
}

.nav-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--cyan), var(--purple));
    transition: width 0.3s;
}

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

.nav-cta {
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: var(--white) !important;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.nav-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108,92,231,0.4);
}

.nav-cta::after { display: none; }

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 4px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.navbar--hero .mobile-toggle span {
    background: var(--white);
}

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

.hero-bg {
    position: absolute;
    inset: 0;
    background: url('images/hero-ventures.png') center/cover no-repeat;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10,14,39,0.75) 0%,
        rgba(10,14,39,0.6) 50%,
        rgba(10,14,39,0.85) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-logo {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 20px rgba(0,212,255,0.4));
}

.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    font-weight: 900;
    letter-spacing: -2px;
    line-height: 1.05;
    color: var(--white);
    margin-bottom: 0.75rem;
}

.hero h1 .gradient-text {
    background: linear-gradient(90deg, var(--cyan), var(--purple), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-tagline {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255,255,255,0.75);
    margin-bottom: 0.5rem;
    font-style: italic;
}

.hero-description {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    max-width: 600px;
}

.hero-cta {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-spectrum {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
}

.btn-spectrum:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(108,92,231,0.5);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: transparent;
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    border: 1.5px solid rgba(255,255,255,0.3);
    transition: var(--transition);
    cursor: pointer;
}

.btn-ghost:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--cyan);
}

/* Scroll indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 12px;
    position: relative;
}

.scroll-indicator .mouse::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: rgba(255,255,255,0.6);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%,100% { transform: translateX(-50%) translateY(0); opacity: 1; }
    50% { transform: translateX(-50%) translateY(8px); opacity: 0.3; }
}

/* ═══════════════════
   NUMBERS BAND
   ═══════════════════ */
.numbers {
    padding: 60px 20px;
    background: var(--bg-dark);
}

.numbers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    text-align: center;
}

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

.number-value {
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--cyan), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.number-label {
    color: rgba(255,255,255,0.6);
    font-size: 0.95rem;
    margin-top: 0.25rem;
}

/* ═══════════════════
   PORTFOLIO SECTION
   ═══════════════════ */
.portfolio-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 3.5rem;
}

.section-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--purple);
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Project Cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.project-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    position: relative;
}

.project-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--card-gradient);
}

.project-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

/* Card color variants */
.card-vexxo    { --card-gradient: linear-gradient(90deg, #ffd700, #ff4444); --card-accent: #ffd700; }
.card-numbird  { --card-gradient: linear-gradient(90deg, #10b981, #00d4ff); --card-accent: #10b981; }
.card-markedin { --card-gradient: linear-gradient(90deg, #3b82f6, #00d4ff); --card-accent: #3b82f6; }
.card-agentflow{ --card-gradient: linear-gradient(90deg, #ec4899, #3b82f6); --card-accent: #ec4899; }
.card-axiom    { --card-gradient: linear-gradient(90deg, #ff4444, #ec4899); --card-accent: #ff4444; }
.card-ucp      { --card-gradient: linear-gradient(90deg, #00d4ff, #10b981); --card-accent: #00d4ff; }
.card-apollo   { --card-gradient: linear-gradient(90deg, #ffd700, #ff6b35); --card-accent: #ffd700; }
.card-nexxus   { --card-gradient: linear-gradient(90deg, #00d4ff, #9333EA); --card-accent: #9333EA; }

.project-image-wrap {
    width: 100%;
    height: 220px;
    overflow: hidden;
    background: var(--bg-light);
}

.project-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover .project-image-wrap img {
    transform: scale(1.06);
}

.project-body {
    padding: 1.75rem;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
}

.project-name {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.badge {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 12px;
    border-radius: 20px;
    white-space: nowrap;
}

.badge-live     { background: #dcfce7; color: #16a34a; }
.badge-contract { background: #dbeafe; color: #2563eb; }
.badge-pilot    { background: #fef3c7; color: #d97706; }
.badge-seed     { background: #f3e8ff; color: #7c3aed; }

.project-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.project-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.metric {
    background: var(--bg-light);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    border-left: 3px solid var(--card-accent);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.metric-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-primary);
}

.project-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--card-accent);
    transition: var(--transition);
}

.project-cta:hover {
    gap: 0.75rem;
}

/* ═══════════════════
   ECOSYSTEM
   ═══════════════════ */
.ecosystem-section {
    padding: var(--section-padding);
    background: var(--white);
}

.constellation-wrap {
    max-width: 900px;
    margin: 0 auto;
}

.constellation-wrap img {
    width: 100%;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
}

/* ═══════════════════
   CTA / CONTACT
   ═══════════════════ */
.cta-section {
    padding: var(--section-padding);
    background: var(--bg-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: start;
}

.contact-text h2 {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
}

.contact-text p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 2rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

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

.contact-item svg {
    color: var(--purple);
    flex-shrink: 0;
}

.contact-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

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

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.4rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: 'Outfit', sans-serif;
    background: var(--white);
    color: var(--text-primary);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--purple);
    box-shadow: 0 0 0 3px rgba(108,92,231,0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #adb5bd;
}

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

.form-group:last-of-type {
    margin-bottom: 1.5rem;
}

.btn-submit {
    width: 100%;
    font-family: 'Outfit', sans-serif;
    font-size: 1rem;
    background: linear-gradient(135deg, var(--purple), var(--cyan));
    color: var(--white);
    padding: 0.9rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(108,92,231,0.4);
}

.btn-submit:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.form-status {
    margin-top: 1rem;
    font-size: 0.9rem;
    text-align: center;
    border-radius: 8px;
    padding: 0;
    transition: var(--transition);
}

.form-success {
    color: #16a34a;
    background: #f0fdf4;
    padding: 0.75rem;
    border: 1px solid #bbf7d0;
}

.form-error {
    color: #dc2626;
    background: #fef2f2;
    padding: 0.75rem;
    border: 1px solid #fecaca;
}

/* ═══════════════════
   FOOTER
   ═══════════════════ */
.footer {
    background: var(--bg-dark);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer h4 {
    color: var(--white);
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1.25rem;
}

.footer p,
.footer a {
    color: rgba(255,255,255,0.5);
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer a {
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img { height: 32px; }

.footer-logo span {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    color: rgba(255,255,255,0.35);
    font-size: 0.85rem;
}

/* ═══════════════════
   REVEAL ANIMATIONS
   ═══════════════════ */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ═══════════════════
   RESPONSIVE
   ═══════════════════ */
@media (max-width: 1024px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 72px;
        left: 0;
        width: 100%;
        background: var(--white);
        flex-direction: column;
        padding: 1.5rem;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow-md);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links .nav-link {
        color: var(--text-primary) !important;
    }

    .mobile-toggle {
        display: flex;
    }

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

    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }

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

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

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

    .footer-bottom {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }
}
