html {
    scroll-behavior: smooth;
}

body {
    background-color: #0a0a0f;
    color: #e2e8f0;
    overflow: hidden;
}

body.presentation-mode {
    height: 100vh;
    height: 100dvh;
}

.snap-deck {
    height: 100vh;
    height: 100dvh;
    overflow-y: auto;
    overflow-x: hidden;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
}

.snap-deck::-webkit-scrollbar {
    display: none;
}

.slide {
    min-height: 100vh;
    min-height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-top: 5rem;
    padding-bottom: 4.5rem;
    overflow: hidden;
}

.slide-alt {
    background: rgba(15, 17, 23, 0.5);
}

.slide-content {
    width: 100%;
    max-height: calc(100dvh - 9.5rem);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(99, 102, 241, 0.3) transparent;
}

.slide-content::-webkit-scrollbar {
    width: 4px;
}

.slide-content::-webkit-scrollbar-thumb {
    background: rgba(99, 102, 241, 0.3);
    border-radius: 9999px;
}

.slide-number {
    position: absolute;
    top: 5.5rem;
    left: 1.5rem;
    font-size: 0.75rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.5);
    letter-spacing: 0.1em;
    font-variant-numeric: tabular-nums;
    z-index: 10;
}

@media (min-width: 1024px) {
    .slide-number {
        left: 2rem;
    }
}

.slide-progress-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    z-index: 60;
}

.slide-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 0.4s ease;
    width: 0%;
}

.slide-counter {
    position: fixed;
    bottom: 1.5rem;
    left: 1.5rem;
    z-index: 50;
    font-size: 0.8125rem;
    font-weight: 600;
    color: rgba(148, 163, 184, 0.7);
    font-variant-numeric: tabular-nums;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(8px);
    padding: 0.5rem 0.875rem;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.slide-dots {
    position: fixed;
    right: 1.25rem;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0.625rem;
}

.slide-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.15);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.slide-dot:hover {
    background: rgba(99, 102, 241, 0.5);
    transform: scale(1.2);
}

.slide-dot.active {
    background: #6366f1;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.6);
    transform: scale(1.3);
}

.slide-nav-btn {
    position: fixed;
    z-index: 50;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 9999px;
    background: rgba(10, 10, 15, 0.75);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(226, 232, 240, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.slide-nav-btn:hover:not(:disabled) {
    background: rgba(99, 102, 241, 0.2);
    border-color: rgba(99, 102, 241, 0.4);
    color: white;
}

.slide-nav-btn:disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

.slide-nav-prev {
    bottom: 1.5rem;
    right: 5.5rem;
}

.slide-nav-next {
    bottom: 1.5rem;
    right: 1.5rem;
}

.slide-hint {
    position: fixed;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 40;
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.4);
    pointer-events: none;
    animation: hint-fade 3s ease forwards;
}

@keyframes hint-fade {
    0%, 70% { opacity: 1; }
    100% { opacity: 0; }
}

@media (max-width: 640px) {
    .slide-dots {
        display: none;
    }

    .slide-hint {
        display: none;
    }

    .slide-nav-prev {
        right: 4.5rem;
    }
}

.slide-active .fade-in,
.slide-active .fade-in-left,
.slide-active .fade-in-right {
    opacity: 1;
    transform: translate(0);
}

@media (prefers-reduced-motion: reduce) {
    .snap-deck {
        scroll-behavior: auto;
    }

    .fade-in, .fade-in-left, .fade-in-right {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

::selection {
    background-color: rgba(99, 102, 241, 0.4);
    color: white;
}

.gradient-text {
    background: linear-gradient(135deg, #818cf8 0%, #a78bfa 50%, #6366f1 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
}

.glass-card-hover {
    transition: all 0.3s ease;
}

.glass-card-hover:hover {
    border-color: rgba(99, 102, 241, 0.3);
    transform: translateY(-4px);
    box-shadow: 0 20px 40px -12px rgba(99, 102, 241, 0.15);
}

.btn-primary {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 24px -8px rgba(99, 102, 241, 0.5);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(99, 102, 241, 0.4);
}

.hero-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
}

.hero-glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.25) 0%, transparent 70%);
    top: -200px;
    left: -100px;
}

.hero-glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.2) 0%, transparent 70%);
    top: 100px;
    right: -150px;
}

.hero-glow-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.15) 0%, transparent 70%);
    bottom: -100px;
    left: 40%;
}

.grid-bg {
    background-image:
        linear-gradient(rgba(99, 102, 241, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(99, 102, 241, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(24px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

.nav-scrolled {
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.stat-number {
    font-variant-numeric: tabular-nums;
    letter-spacing: -0.02em;
}

.dashboard-module {
    transition: all 0.25s ease;
}

.dashboard-module:hover {
    background: rgba(99, 102, 241, 0.08);
    border-color: rgba(99, 102, 241, 0.25);
}

.progress-bar {
    height: 8px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #6366f1, #8b5cf6);
    transition: width 1.2s ease;
}

.vesting-bar {
    height: 12px;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.06);
    overflow: hidden;
}

.vesting-fill {
    height: 100%;
    border-radius: 9999px;
    background: linear-gradient(90deg, #6366f1, #a78bfa);
}

.form-input {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.form-input:focus {
    outline: none;
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.15);
}

.form-input::placeholder {
    color: rgba(148, 163, 184, 0.6);
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.float-animation {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}

.pulse-glow {
    animation: pulse-glow 4s ease-in-out infinite;
}

.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(99, 102, 241, 0.3), transparent);
}

.financial-flow-arrow {
    color: rgba(99, 102, 241, 0.5);
}

.icon-box {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.15) 0%, rgba(139, 92, 246, 0.1) 100%);
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}

.access-gate {
    position: fixed;
    inset: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: #0a0a0f;
}

.access-gate-hidden {
    display: none;
}

.access-gate-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.2) 0%, transparent 70%);
    filter: blur(60px);
    pointer-events: none;
}

.access-gate-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
    padding: 2rem;
    border-radius: 1.25rem;
}

.presentation-shell.presentation-locked {
    visibility: hidden;
    pointer-events: none;
    height: 0;
    overflow: hidden;
}

.closing-banner {
    position: fixed;
    top: 3px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 55;
    width: max-content;
    max-width: calc(100% - 2rem);
    display: none;
}

@media (min-width: 1280px) {
    .closing-banner {
        display: block;
    }
}

.closing-countdown {
    text-align: center;
    padding: 1rem 1.25rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.12) 0%, rgba(139, 92, 246, 0.08) 100%);
    border: 1px solid rgba(99, 102, 241, 0.25);
}

.closing-countdown--compact {
    padding: 0.75rem 1rem;
}

.closing-countdown--compact .closing-countdown-subtitle,
.closing-countdown--compact .closing-countdown-date {
    display: none;
}

.closing-countdown--compact .closing-countdown-title {
    font-size: 0.6875rem;
    margin-bottom: 0.5rem;
}

.closing-countdown--compact .closing-countdown-value {
    font-size: 1.25rem;
}

.closing-countdown--compact .closing-countdown-unit--seconds,
.closing-countdown--compact .closing-countdown-sep--seconds {
    display: none;
}

.closing-banner .closing-countdown {
    padding: 0.4rem 0.875rem;
    border-radius: 9999px;
    backdrop-filter: blur(12px);
    background: rgba(10, 10, 15, 0.85);
}

.closing-banner .closing-countdown-grid {
    display: inline-flex;
    gap: 0.25rem;
    margin: 0;
}

.closing-banner .closing-countdown-title {
    display: inline;
    font-size: 0.6875rem;
    margin-right: 0.5rem;
    margin-bottom: 0;
}

.closing-banner .closing-countdown-title svg {
    display: none;
}

.closing-banner .closing-countdown-value {
    font-size: 0.875rem;
    min-width: 1.25rem;
}

.closing-banner .closing-countdown-label {
    font-size: 0.5625rem;
}

.closing-banner .closing-countdown-sep {
    font-size: 0.75rem;
    padding-top: 0;
}

.closing-countdown-title {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #c7d2fe;
    margin-bottom: 0.35rem;
}

.closing-countdown-subtitle {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.8);
    margin-bottom: 0.875rem;
    line-height: 1.4;
}

.closing-countdown-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.closing-countdown-unit {
    min-width: 3.25rem;
}

.closing-countdown-value {
    display: block;
    font-size: 1.75rem;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    background: linear-gradient(135deg, #818cf8, #a78bfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.closing-countdown-label {
    display: block;
    font-size: 0.625rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(148, 163, 184, 0.7);
    margin-top: 0.25rem;
}

.closing-countdown-sep {
    font-size: 1.25rem;
    font-weight: 700;
    color: rgba(99, 102, 241, 0.4);
    padding-top: 0.25rem;
}

.closing-countdown-date {
    font-size: 0.75rem;
    color: rgba(148, 163, 184, 0.75);
}

.closing-countdown-date strong {
    color: #e2e8f0;
    font-weight: 600;
}

.closing-countdown-expired {
    font-size: 0.8125rem;
    color: #fbbf24;
    font-weight: 500;
}

.closing-countdown--expired .closing-countdown-grid,
.closing-countdown--expired .closing-countdown-date,
.closing-countdown--expired .closing-countdown-subtitle {
    display: none !important;
}

.closing-countdown--expired .closing-countdown-expired {
    display: block !important;
}

.closing-countdown--expired .closing-countdown-title {
    color: #fbbf24;
}

#partner-form.form-closed {
    opacity: 0.5;
    pointer-events: none;
}
