/* ========== GLOBAL STYLES & VARIABLES ========== */
:root {
    --dark-bg: #000000;
    --primary-accent: #A855F7; /* A vibrant purple */
    --text-light: #F9FAFB;
    --text-muted: #9CA3AF;
    --font-family: 'Inter', sans-serif;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family);
    background-color: var(--dark-bg);
    color: var(--text-light);
    overflow-x: hidden; /* Prevent horizontal scroll */
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* ========== HEADER & NAVIGATION ========== */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.main-header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-light);
    text-decoration: none;
    letter-spacing: 2px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary {
    background-color: var(--primary-accent);
    color: var(--text-light);
}

.btn:hover {
    transform: scale(1.05);
    filter: brightness(1.1);
}

/* ========== SLIDE & CONTENT STYLING ========== */
.slide {
    min-height: 100vh; /* Full viewport height */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.slide-content h1 {
    font-size: 5rem;
    font-weight: 800;
    line-height: 1.1;
    background: -webkit-linear-gradient(45deg, #A855F7, #FFFFFF, #6366F1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.slide-content h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.slide-content .subtitle, .slide-content p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 650px;
    margin: 20px auto 0;
    line-height: 1.6;
}

.slide-content .eyebrow {
    display: block;
    color: var(--primary-accent);
    font-weight: 600;
    margin-bottom: 1rem;
}

/* Background image styling */
.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 5s ease-out; /* Slow pan effect */
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6); /* Dark overlay for readability */
}

.slide .slide-content {
    position: relative; /* Ensure content is above overlay */
    z-index: 2;
}

/* ========== SCROLL ANIMATION ========== */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* When a section with a background image becomes visible, start the slow zoom/pan */
.is-visible .background-image {
    transform: scale(1);
}

/* ========== FINAL CTA FORM ========== */
.signup-form {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
.signup-form input {
    width: 300px;
    padding: 12px 20px;
    border: 1px solid #374151;
    background-color: #111827;
    border-radius: 30px;
    color: var(--text-light);
    font-family: var(--font-family);
    font-size: 1rem;
}
.signup-form input:focus {
    outline: none;
    border-color: var(--primary-accent);
}

/* ========== RESPONSIVE DESIGN ========== */
@media (max-width: 768px) {
    .slide-content h1 { font-size: 3rem; }
    .slide-content h2 { font-size: 2.2rem; }
    .slide-content .subtitle, .slide-content p { font-size: 1rem; }
    .signup-form { flex-direction: column; align-items: center; }
    .signup-form input { width: 100%; max-width: 300px; }
}