:root {
    --bg-dark: #030303;
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --accent-glow: rgba(139, 92, 246, 0.15);
    --accent-glow-strong: rgba(139, 92, 246, 0.4);
    --glass-bg: rgba(255, 255, 255, 0.015);
    --glass-border: rgba(255, 255, 255, 0.04);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

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

html, body {
    width: 100%;
    height: 100%;
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    overflow: hidden; /* Enforce 1 slide behavior */
    cursor: none; /* Hide default cursor for custom cursor */
}

/* Custom Cursor */
.cursor-glow {
    position: fixed;
    top: 0; left: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    mix-blend-mode: screen;
    transition: width 0.3s, height 0.3s;
}

.cursor-glow.active {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, transparent 60%);
}

/* Background & Aesthetics */
.background {
    position: absolute;
    inset: 0;
    z-index: -2;
    overflow: hidden;
}

.grid {
    position: absolute;
    inset: -50%;
    background-image: 
        linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(circle at center, black 30%, transparent 70%);
    transform: perspective(500px) rotateX(60deg) translateY(-100px) translateZ(-200px);
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: perspective(500px) rotateX(60deg) translateY(0) translateZ(-200px); }
    100% { transform: perspective(500px) rotateX(60deg) translateY(40px) translateZ(-200px); }
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: -1;
}

.glow-1 {
    top: 10%;
    left: 20%;
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
}

.glow-2 {
    bottom: 0%;
    right: 10%;
    width: 50vw;
    height: 50vw;
    background: radial-gradient(circle, rgba(168, 85, 247, 0.1) 0%, transparent 70%);
}

/* Layout */
.slide-container {
    position: relative;
    width: 100%;
    height: 100vh; /* 1 Page 1 Slide */
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem 4rem;
    display: flex;
    flex-direction: column;
    z-index: 1;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    animation: fadeInDown 0.8s ease-out;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    object-fit: cover;
    border: 1px solid var(--glass-border);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.logo-text {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    letter-spacing: -0.05em;
    background: linear-gradient(to right, #fff, #94a3b8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 100px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-outline {
    background: transparent;
    color: var(--text-primary);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
}

.btn-outline:hover {
    background: var(--glass-bg);
    border-color: rgba(255, 255, 255, 0.15);
}

.btn-primary {
    background: #ffffff;
    color: #000000;
    border: none;
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 30px rgba(255, 255, 255, 0.2);
}

.btn.large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
}

/* Main Content */
main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 4rem;
}

.content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1.2rem;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--glass-border);
    border-radius: 100px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    backdrop-filter: blur(10px);
}

.pulse {
    width: 6px;
    height: 6px;
    background: #818cf8;
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow-strong);
    animation: pulse 2s infinite;
}

.tagline {
    font-family: var(--font-heading);
    font-size: clamp(3.5rem, 7vw, 6rem);
    font-weight: 700;
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.highlight {
    background: linear-gradient(135deg, #c084fc 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    padding: 0 0.2rem;
}

.description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    line-height: 1.5;
    max-width: 600px;
    font-weight: 400;
}

/* Cards Grid */
.cards-grid {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    width: 100%;
    max-width: 1100px;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.glass-card {
    flex: 1;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem 2rem;
    text-align: left;
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), border-color 0.3s;
    transform-style: preserve-3d;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.primary-card {
    background: linear-gradient(165deg, rgba(99, 102, 241, 0.08) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-color: rgba(99, 102, 241, 0.2);
}

.card-icon {
    font-size: 1.5rem;
    color: #a78bfa;
    margin-bottom: 1.2rem;
    background: rgba(167, 139, 250, 0.1);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    transform: translateZ(20px);
}

.glass-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    margin-bottom: 0.6rem;
    transform: translateZ(10px);
}

.glass-card p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.5;
    transform: translateZ(10px);
}

/* Footer */
footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--glass-border);
    animation: fadeIn 1s ease-out 0.8s both;
}

.footer-copy {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

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

/* Keyframes */
@keyframes fadeInDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(129, 140, 248, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(129, 140, 248, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(129, 140, 248, 0); }
}

/* Responsive constraints for "1 slide" */
@media (max-height: 800px) {
    .tagline { font-size: clamp(2.5rem, 5vw, 4rem); }
    main { gap: 2rem; }
    .glass-card { padding: 1.5rem; }
    .card-icon { margin-bottom: 0.8rem; width: 40px; height: 40px; }
}

/* Mobile Devices */
@media (max-width: 900px) {
    html, body {
        height: auto;
        overflow-y: auto;
    }
    
    .slide-container {
        height: auto;
        min-height: 100vh;
        padding: 1.5rem;
    }
    
    header { padding-bottom: 2rem; }
    
    .btn-outline { display: none; } /* Hide secondary button on mobile for space */
    
    main {
        gap: 3rem;
        margin: 2rem 0;
    }
    
    .tagline {
        font-size: 2.5rem;
    }
    
    .cards-grid {
        flex-direction: column;
        gap: 1rem;
    }
    
    .glass-card {
        width: 100%;
        transform: none !important; /* Disable 3D tilt on mobile */
    }
    
    footer {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
        padding-top: 2rem;
        margin-top: 2rem;
    }
}
