/* ========================================
   invoc.ch — Futuristic Startup Incubator
   Minimal. Dark. Electric.
   ======================================== */

/* ========================================
   RESET & BASE
   ======================================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Core */
    --bg: #030712;
    --bg-elevated: #0a0f1a;
    --bg-card: rgba(15, 23, 42, 0.6);
    --bg-card-hover: rgba(20, 30, 55, 0.8);

    /* Accent — electric cyan */
    --accent: #06b6d4;
    --accent-light: #22d3ee;
    --accent-dim: rgba(6, 182, 212, 0.15);
    --accent-glow: rgba(6, 182, 212, 0.4);

    /* Secondary — violet */
    --violet: #8b5cf6;
    --violet-dim: rgba(139, 92, 246, 0.15);

    /* Text */
    --text: #f1f5f9;
    --text-muted: #94a3b8;
    --text-dim: #64748b;

    /* Border */
    --border: rgba(148, 163, 184, 0.08);
    --border-hover: rgba(6, 182, 212, 0.3);

    /* Font */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Radius */
    --radius: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

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

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

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

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

/* ========================================
   CURSOR GLOW (desktop only)
   ======================================== */
.cursor-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    pointer-events: none;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    mix-blend-mode: screen;
}

@media (hover: hover) {
    .cursor-glow {
        opacity: 0.12;
    }
}

/* ========================================
   GRID BACKGROUND
   ======================================== */
.grid-bg {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--border) 1px, transparent 1px),
        linear-gradient(90deg, var(--border) 1px, transparent 1px);
    background-size: 60px 60px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 100%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 20%, transparent 100%);
    z-index: 0;
    pointer-events: none;
}

/* ========================================
   NAVIGATION
   ======================================== */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 1rem 0;
    transition: background 0.3s, backdrop-filter 0.3s;
}

.nav-bar.scrolled {
    background: rgba(3, 7, 18, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 1.4rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Triangle logo */
.brand-logo {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
}

.footer-brand .brand-logo {
    width: 22px;
    height: 22px;
}

/* Rotation animation */
@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin {
    animation: spin-slow 12s linear infinite;
}

.brand-mark {
    color: var(--text);
}

.brand-tld {
    color: var(--accent);
}

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

.nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-muted);
    transition: color 0.2s;
    letter-spacing: 0.01em;
}

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

.nav-link-cta {
    color: var(--bg);
    background: var(--accent);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    font-weight: 600;
    transition: background 0.2s, transform 0.2s;
}

.nav-link-cta:hover {
    background: var(--accent-light);
    color: var(--bg);
    transform: translateY(-1px);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 2rem 4rem;
    z-index: 2;
}

.hero-container {
    max-width: 800px;
    position: relative;
    z-index: 2;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    background: var(--accent-dim);
    border: 1px solid rgba(6, 182, 212, 0.2);
    padding: 0.5rem 1.25rem;
    border-radius: 100px;
    margin-bottom: 2rem;
    font-family: var(--font-mono);
    letter-spacing: 0.02em;
}

.badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--accent);
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.hero-title {
    font-size: clamp(2.8rem, 7vw, 5rem);
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -0.04em;
    margin-bottom: 1.5rem;
    color: var(--text);
}

.text-glow {
    background: linear-gradient(135deg, var(--accent-light) 0%, var(--violet) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Buttons */
.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn-primary-glow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: var(--accent);
    color: var(--bg);
    font-weight: 700;
    font-size: 0.95rem;
    border-radius: 100px;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    box-shadow: 0 0 30px var(--accent-glow);
}

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

.btn-primary-glow.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.05rem;
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 2rem;
    background: transparent;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 100px;
    border: 1px solid var(--border);
    cursor: pointer;
    transition: all 0.25s;
}

.btn-ghost:hover {
    border-color: var(--border-hover);
    color: var(--text);
    background: rgba(6, 182, 212, 0.05);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Metrics */
.hero-metrics {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.metric {
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--text);
    font-variant-numeric: tabular-nums;
}

.metric-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 500;
    margin-top: 0.25rem;
}

.metric-divider {
    width: 1px;
    height: 40px;
    background: var(--border);
}

/* Orbs */
.orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 0;
}

.orb-1 {
    width: 400px;
    height: 400px;
    background: rgba(6, 182, 212, 0.08);
    top: 10%;
    left: -10%;
    animation: float-slow 20s ease-in-out infinite;
}

.orb-2 {
    width: 300px;
    height: 300px;
    background: rgba(139, 92, 246, 0.08);
    bottom: 10%;
    right: -5%;
    animation: float-slow 25s ease-in-out infinite reverse;
}

.orb-3 {
    width: 200px;
    height: 200px;
    background: rgba(6, 182, 212, 0.05);
    top: 60%;
    left: 50%;
    animation: float-slow 18s ease-in-out infinite;
}

@keyframes float-slow {

    0%,
    100% {
        transform: translate(0, 0);
    }

    33% {
        transform: translate(30px, -20px);
    }

    66% {
        transform: translate(-20px, 15px);
    }
}

/* ========================================
   SECTIONS — SHARED
   ======================================== */
.section-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--accent);
    letter-spacing: 0.06em;
    margin-bottom: 0.75rem;
    display: block;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.1;
    color: var(--text);
}

/* ========================================
   THE PATH
   ======================================== */
.section-path {
    position: relative;
    z-index: 2;
    padding: 8rem 0;
}

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

.path-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.path-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--accent-dim) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.35s;
}

.path-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-4px);
    background: var(--bg-card-hover);
}

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

.path-number {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-dim);
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.path-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--accent-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
    position: relative;
    z-index: 1;
}

.path-icon-wrap i,
.path-icon-wrap svg {
    width: 22px;
    height: 22px;
    color: var(--accent);
}

.path-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
}

.path-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* ========================================
   WHY US
   ======================================== */
.section-why {
    position: relative;
    z-index: 2;
    padding: 4rem 0 8rem;
}

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

.why-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 2rem;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.why-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-2px);
}

.why-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--violet-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.why-icon i,
.why-icon svg {
    width: 20px;
    height: 20px;
    color: var(--violet);
}

.why-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 0.4rem;
    letter-spacing: -0.01em;
}

.why-card p {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ========================================
   APPLY CTA
   ======================================== */
.section-apply {
    position: relative;
    z-index: 2;
    padding: 4rem 0 8rem;
}

.apply-card {
    position: relative;
    text-align: center;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: var(--radius-xl);
    padding: 4rem 2rem;
    overflow: hidden;
}

.apply-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -250px;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0.15;
    pointer-events: none;
}

.apply-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 1rem 0 1rem;
    position: relative;
    z-index: 1;
}

.apply-sub {
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    position: relative;
    z-index: 2;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    font-size: 1.1rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.footer-meta {
    font-size: 0.8rem;
    color: var(--text-dim);
    display: flex;
    gap: 0.5rem;
}

.footer-sep {
    color: var(--border);
}

/* ========================================
   ANIMATIONS
   ======================================== */
[data-animate] {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
        transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .path-grid {
        grid-template-columns: 1fr 1fr;
    }

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

    .hero-metrics {
        gap: 1.5rem;
    }

    .metric-divider {
        display: none;
    }

    .metric-value {
        font-size: 1.5rem;
    }

    .nav-links {
        gap: 1rem;
    }

    .nav-link:not(.nav-link-cta) {
        display: none;
    }

    .apply-card {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .path-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding: 7rem 1.25rem 3rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .btn-primary-glow,
    .btn-ghost {
        width: 100%;
        justify-content: center;
    }
}

/* ========================================
   REDUCED MOTION
   ======================================== */
@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    html {
        scroll-behavior: auto;
    }

    [data-animate] {
        opacity: 1;
        transform: none;
    }
}