@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

body {
    background-color: #000;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    box-sizing: border-box;
    justify-content: center;
    padding-top: 100px; /* Space for header */
}

header {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 50px;
    box-sizing: border-box;
}

.logo {
    height: 60px;
}

.logo img {
    height: 100%;
    width: auto;
    display: block;
}

nav {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #a259ff;
}

.welcome-btn {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
}

main {
    flex-grow: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    max-width: 800px;
    padding: 0 20px;
    margin-bottom: 5vh;
}

h1 {
    font-size: 32px;
    font-weight: 400;
    margin: 0;
    line-height: 1.5;
}

h2 {
    font-size: 24px;
    font-weight: 500;
    margin: 0 0 20px 0;
    color: #fff;
}

h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 10px 0;
    color: #fff;
}

.grey-text {
    color: #b0b0b0;
}

main p {
    font-size: 20px;
    margin: 20px 0 30px;
}

.main-description {
    font-size: 18px;
    color: #e0e0e0;
    margin: 20px 0 30px;
    line-height: 1.6;
}

.cta-btn {
    background-color: #fff;
    color: #000;
    border: none;
    padding: 15px 30px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 400;
    margin-top: 32px;
    text-decoration: none;
    display: inline-block;
}

.cta-btn, .welcome-btn {
    position: relative;
    transition: box-shadow 0.3s cubic-bezier(0.4,0,0.2,1), background 0.3s, color 0.3s;
}

.cta-btn:hover, .welcome-btn:hover {
    box-shadow: 0 0 16px 4px #a259ffcc, 0 2px 8px 0 #a259ff55;
    background: #f3e8ff;
    color: #6a00ff;
}

/* Remove the ::after underline effect */
.cta-btn::after, .welcome-btn::after {
    display: none !important;
}

/* TL;DR Section */
.tldr-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 700px;
    width: 100%;
}

.tldr-section h2 {
    color: #a259ff;
    margin-bottom: 15px;
}

.tldr-section p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #e0e0e0;
}

/* FAQ Section */
.faq-section {
    max-width: 800px;
    width: 100%;
    margin-top: 60px;
    padding: 0 20px;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.faq-item h3 {
    color: #a259ff;
    margin-bottom: 15px;
}

.faq-item p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
    color: #e0e0e0;
}

.video-container {
    width: 80%;
    max-width: 900px;
    aspect-ratio: 16 / 9;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100vh;
    overflow: auto;
    background-color: rgba(0,0,0,0.8);
    justify-content: center;
    align-items: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    position: relative;
    background: none;
    border: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    max-width: 90vw;
    max-height: 80vh;
}

.modal-content video {
    width: 80vw;
    max-width: 800px;
    max-height: 70vh;
    border-radius: 15px;
    background: #000;
}

.close-btn {
    position: absolute;
    top: -30px;
    right: 0;
    color: #fff;
    font-size: 2.5rem;
    font-weight: 400;
    cursor: pointer;
    background: none;
    border: none;
    z-index: 1001;
    transition: color 0.2s;
}

.close-btn:hover {
    color: #ff5252;
} 

@keyframes heartbeat-glow {
    0%, 100% {
        box-shadow: 0 0 16px 4px #a259ffcc, 0 2px 8px 0 #a259ff55;
    }
    20% {
        box-shadow: 0 0 32px 12px #a259ffcc, 0 2px 16px 0 #a259ff99;
    }
    40% {
        box-shadow: 0 0 16px 4px #a259ffcc, 0 2px 8px 0 #a259ff55;
    }
    60% {
        box-shadow: 0 0 32px 12px #a259ffcc, 0 2px 16px 0 #a259ff99;
    }
    80% {
        box-shadow: 0 0 16px 4px #a259ffcc, 0 2px 8px 0 #a259ff55;
    }
}

.welcome-btn {
    position: relative;
    transition: box-shadow 0.3s cubic-bezier(0.4,0,0.2,1), background 0.3s, color 0.3s;
    animation: heartbeat-glow 1.2s infinite;
}

.welcome-btn:hover {
    background: #f3e8ff;
    color: #6a00ff;
}

/* AEO Example Section */
.aeo-example {
    max-width: 800px;
    width: 100%;
    margin: 40px 0;
    padding: 0 20px;
}

.aeo-pack {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    color: #a259ff;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    line-height: 1.4;
    overflow-x: auto;
    white-space: pre-wrap;
    text-align: left;
}

.aeo-pack .string {
    color: #4ade80;
}

.aeo-pack .number {
    color: #fbbf24;
}

.aeo-pack .boolean {
    color: #f87171;
}

/* Responsive Design */
@media (max-width: 768px) {
    header {
        padding: 20px 20px;
    }
    
    nav {
        flex-direction: column;
        gap: 10px;
    }
    
    .nav-link {
        font-size: 12px;
    }
    
    h1 {
        font-size: 24px;
    }
    
    .tldr-section {
        padding: 20px;
        margin-bottom: 30px;
    }
    
    .faq-section {
        margin-top: 40px;
    }
    
    .faq-item {
        padding: 20px;
    }
} 