/* CSS Variables for design system tokens */
:root {
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-heading: 'Outfit', sans-serif;
    
    /* Colors */
    --bg-dark: #070913;
    --bg-card: rgba(13, 17, 34, 0.45);
    
    --text-primary: #ffffff;
    --text-secondary: #a3a8cc;
    --text-muted: #62688f;
    
    --brand-start: #a855f7; /* Purple */
    --brand-end: #06b6d4;   /* Cyan */
    
    --border-color: rgba(255, 255, 255, 0.08);
    --border-hover: rgba(255, 255, 255, 0.15);
    
    --shadow-color: rgba(0, 0, 0, 0.5);
    --glow-color: rgba(168, 85, 247, 0.25);
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    height: 100%;
    overflow: hidden;
    background-color: var(--bg-dark);
    font-family: var(--font-primary);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 100vh;
}

/* Interactive Particle Canvas */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Aurora Glow Backgrounds */
.aurora-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(140px);
    z-index: 2;
    opacity: 0.45;
    pointer-events: none;
    mix-blend-mode: screen;
}

.aurora-1 {
    top: -10%;
    left: -10%;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.4) 0%, rgba(0, 0, 0, 0) 70%);
    animation: float-aurora-1 25s infinite alternate ease-in-out;
}

.aurora-2 {
    bottom: -15%;
    right: -10%;
    width: 70vw;
    height: 70vw;
    background: radial-gradient(circle, rgba(6, 182, 212, 0.3) 0%, rgba(0, 0, 0, 0) 70%);
    animation: float-aurora-2 30s infinite alternate ease-in-out;
}

@keyframes float-aurora-1 {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(8%, 10%) scale(1.15);
    }
}

@keyframes float-aurora-2 {
    0% {
        transform: translate(0, 0) scale(1.1);
    }
    100% {
        transform: translate(-10%, -8%) scale(0.9);
    }
}

/* Container */
.container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 580px;
    padding: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    animation: card-appear 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes card-appear {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.98);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Glass Card */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.2),
        0 30px 70px rgba(0, 0, 0, 0.45),
        inset 0 1px 1px rgba(255, 255, 255, 0.08);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.glass-card:hover {
    border-color: var(--border-hover);
    box-shadow: 
        0 4px 30px rgba(0, 0, 0, 0.25),
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 40px var(--glow-color),
        inset 0 1px 2px rgba(255, 255, 255, 0.12);
}

/* Brand Badge */
.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 6px 14px;
    border-radius: 9999px;
    margin-bottom: 24px;
}

.pulse-dot {
    width: 6px;
    height: 6px;
    background-color: #a855f7;
    border-radius: 50%;
    box-shadow: 0 0 10px #a855f7;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0.7);
    }
    70% {
        transform: scale(1);
        box-shadow: 0 0 0 6px rgba(168, 85, 247, 0);
    }
    100% {
        transform: scale(0.95);
        box-shadow: 0 0 0 0 rgba(168, 85, 247, 0);
    }
}

.badge-text {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-secondary);
}

/* Logo Transition Visuals */
.logo-transition-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 28px;
}

.transition-logo {
    height: 32px;
    object-fit: contain;
}

.logo-displace {
    opacity: 0.9;
}

.logo-biosnap {
    filter: drop-shadow(0 0 10px rgba(59, 130, 246, 0.4));
}

.transition-arrow {
    color: var(--text-muted);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: arrow-pulse 2s infinite ease-in-out;
}

@keyframes arrow-pulse {
    0%, 100% {
        transform: translateX(0);
        opacity: 0.4;
    }
    50% {
        transform: translateX(5px);
        opacity: 0.9;
        color: var(--brand-end);
    }
}

/* Content */
.title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

.highlight-text {
    background: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-end) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    position: relative;
    display: inline-block;
}

.description-text {
    font-size: 1.05rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.description-text strong {
    color: var(--text-primary);
    font-weight: 500;
}

.description-text.secondary {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin-bottom: 0;
}

/* CTA Footer & Button */
.card-footer {
    margin-top: 36px;
    display: flex;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 16px 24px;
    border-radius: 14px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--text-primary);
    background: linear-gradient(135deg, var(--brand-start) 0%, var(--brand-end) 100%);
    box-shadow: 0 4px 20px rgba(168, 85, 247, 0.3);
    border: none;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1), box-shadow 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(168, 85, 247, 0.45),
        0 0 20px rgba(6, 182, 212, 0.3);
}

.cta-button:active {
    transform: translateY(0);
}

.arrow-icon {
    width: 18px;
    height: 18px;
    transition: transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.cta-button:hover .arrow-icon {
    transform: translateX(4px);
}

/* Site Footer */
.site-footer {
    position: absolute;
    bottom: 30px;
    z-index: 10;
    text-align: center;
    animation: fade-in 1.5s ease forwards;
    opacity: 0;
}

.site-footer p {
    font-size: 0.8rem;
    color: var(--text-muted);
    letter-spacing: 0.02em;
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 640px) {
    .glass-card {
        padding: 30px 24px;
        border-radius: 20px;
    }
    
    .title {
        font-size: 1.85rem;
    }
    
    .description-text {
        font-size: 0.95rem;
    }
    
    .description-text.secondary {
        font-size: 0.88rem;
    }
    
    .cta-button {
        padding: 14px 20px;
        font-size: 0.98rem;
    }
}
