
/* Base Styles */
:root {
    --background-dark: #000000;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    --accent-color: #0061FF; /* Blue accent color to match our theme */
    --accent-gold: #FFC107; /* Gold accent color from our theme */
    --font-family: 'Inter', sans-serif;
    --border-radius: 8px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    background-color: var(--background-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100vh;
    position: relative;
}

/* Particles Background */
#particles-js {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 0;
}

/* Horizon Effect - Planet/Space Style */
.horizon {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 300px;
    background: transparent;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
}

/* Create the horizon line */
.horizon::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 30px 3px rgba(0, 97, 255, 0.8); /* Blue glow */
    z-index: 3;
}

/* Add the glow effect */
.horizon::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    background: radial-gradient(ellipse at center bottom, 
                rgba(0, 97, 255, 0.2) 0%, 
                rgba(0, 97, 255, 0.15) 30%, 
                rgba(0, 60, 150, 0.1) 60%, 
                rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header Styles */
header {
    padding: 30px 0;
    display: flex;
    justify-content: center;
}

.logo {
    margin-bottom: 20px;
}

.logo-image {
    height: 60px;
    width: auto;
}

/* Main Content */
main {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

/* Hero Section */
.hero {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

h1 {
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
    position: relative;
    display: inline-block;
}

.highlight::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: rgba(0, 97, 255, 0.2); /* Semi-transparent blue */
    bottom: 5px;
    left: 0;
    z-index: -1;
    border-radius: 4px;
}

.italic-text {
    font-family: 'Instrument Serif', serif;
    font-style: italic;
    font-weight: 400;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 40px 0;
}

.feature-card {
    background: linear-gradient(135deg, rgba(0, 97, 255, 0.1) 0%, rgba(0, 97, 255, 0.05) 100%);
    border: 1px solid rgba(0, 97, 255, 0.2);
    border-radius: 12px;
    padding: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px -5px rgba(0, 97, 255, 0.3);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--accent-color);
}

.feature-card p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.description {
    margin: 30px 0;
}

.description p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    max-width: 800px;
    margin: 0 auto;
}

/* Testimonial Preview */
.testimonial-preview {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.1) 0%, rgba(255, 193, 7, 0.05) 100%);
    border: 1px solid rgba(255, 193, 7, 0.2);
    border-radius: 12px;
    padding: 30px;
    margin: 40px 0;
    position: relative;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.quote-marks {
    font-size: 4rem;
    color: var(--accent-gold);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
    font-family: 'Instrument Serif', serif;
}

.quote-text {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    color: var(--text-primary);
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
}

.author-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: var(--accent-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.author-position {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Footer Features */
.footer-features {
    display: flex;
    justify-content: space-around;
    margin-bottom: 30px;
}

.footer-feature {
    text-align: center;
}

.feature-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 5px;
}

.feature-label {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Waitlist Form */
.waitlist-form {
    margin-bottom: 30px;
}

#waitlistForm {
    display: flex;
    max-width: 500px;
    margin: 0 auto;
}

input[type="email"] {
    flex: 1;
    padding: 16px 20px;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-radius: var(--border-radius) 0 0 var(--border-radius);
    font-size: 1rem;
    outline: none;
    transition: var(--transition);
}

input[type="email"]:focus {
    background-color: rgba(255, 255, 255, 0.1);
}

button {
    padding: 16px 25px;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

button:hover {
    background-color: #0052d6;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 97, 255, 0.4);
}

/* Footer */
footer {
    padding: 30px 0;
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Success Modal */
.success-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background-color: #111111;
    padding: 40px;
    border-radius: var(--border-radius);
    max-width: 500px;
    width: 90%;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
    animation: modalFadeIn 0.5s ease-out forwards;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-button {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text-secondary);
    transition: color 0.2s;
}

.close-button:hover {
    color: var(--text-primary);
}

.modal-content h2 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Modal Offer Styles */
.modal-offer {
    background: linear-gradient(135deg, rgba(0, 97, 255, 0.15) 0%, rgba(0, 97, 255, 0.05) 100%);
    border-radius: 8px;
    padding: 20px;
    margin: 0 -20px 20px;
    position: relative;
    overflow: hidden;
}

.modal-offer::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    animation: rotate 15s linear infinite;
    z-index: 0;
}

.modal-offer-badge {
    display: inline-block;
    background-color: var(--accent-gold);
    color: #000000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 8px;
    border-radius: 4px;
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.modal-offer-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.modal-offer-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0;
}

.modal-content p {
    margin-bottom: 25px;
    color: var(--text-secondary);
}

#okButton {
    padding: 12px 30px;
    border-radius: var(--border-radius);
    width: 100%;
}

/* Early Bird Offer Styles */
.early-bird-offer {
    margin: 20px auto 30px;
    max-width: 550px;
}

.offer-badge {
    background: linear-gradient(135deg, rgba(255, 193, 7, 0.2) 0%, rgba(255, 193, 7, 0.1) 100%);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    padding: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 193, 7, 0.2);
    animation: pulse 2s infinite alternate;
}

.offer-badge::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    animation: rotate 10s linear infinite;
    z-index: 0;
}

.badge-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.offer-text {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    letter-spacing: 2px;
    color: var(--text-primary);
    margin-bottom: 5px;
}

.offer-discount {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 5px;
    text-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
}

.offer-details {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.spots-counter {
    margin-top: 10px;
}

.counter-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 5px;
}

.counter-progress {
    height: 100%;
    width: 30%; /* Adjust this to show how many spots are taken */
    background-color: var(--accent-gold);
    border-radius: 3px;
    animation: progressPulse 2s infinite alternate;
}

.counter-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.logo {
    animation: float 6s ease-in-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 15px rgba(255, 193, 7, 0.2);
    }
    100% {
        box-shadow: 0 0 25px rgba(255, 193, 7, 0.4);
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes progressPulse {
    0% {
        opacity: 0.7;
    }
    100% {
        opacity: 1;
    }
}

/* Responsive Styles */
@media (max-width: 900px) {
    h1 {
        font-size: 3.2rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }
    
    .subtitle {
        font-size: 1.1rem;
    }
    
    .description p {
        font-size: 1rem;
    }
    
    #waitlistForm {
        flex-direction: column;
    }
    
    input[type="email"] {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        margin-bottom: 1px;
    }
    
    button {
        border-radius: 0 0 var(--border-radius) var(--border-radius);
    }
    
    .footer-features {
        flex-direction: column;
        gap: 20px;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    h1 {
        font-size: 2.2rem;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .offer-discount {
        font-size: 2rem;
    }
    
    .testimonial-preview {
        padding: 20px;
    }
}
