/* Variables */
:root {
    --primary-color: #00E5BE; /* Bright teal accent color */
    --secondary-color: #6C63FF; /* Purple accent */
    --background-dark: #1A1B26; /* Deep navy background */
    --background-gradient-start: #2B1B54; /* Deep purple for gradients */
    --background-gradient-end: #1A3A6C; /* Deep blue for gradients */
    --text-color: #FFFFFF;
    --text-color-muted: #A0A0B0;
    --header-height: 70px;
    --container-width: 1200px;
    --spacing-unit: 1rem;
    --card-background: rgba(255, 255, 255, 0.05);
    --card-hover: rgba(255, 255, 255, 0.1);
}

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

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-dark);
}

/* Base responsive container */
.container {
    width: 90%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
}

/* Header Styles */
header {
    position: absolute;
    top: 2rem;
    left: 2rem;
    z-index: 1000;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
    text-shadow: 0 0 15px rgba(0, 229, 190, 0.5);
}

nav {
    height: var(--header-height);
    display: flex;
    align-items: center;
}

nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s ease;
}

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

/* Main Content */
main {
    min-height: 100vh;
}

/* Hero Section */
.hero {
    position: relative;
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(43, 27, 84, 0.6), 
        rgba(26, 58, 108, 0.6)
    );
    z-index: 1;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

#hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.hero-content {
    position: relative;
    width: 100%;
    z-index: 2;
    padding: 2rem;
}

.hero .container {
    max-width: 600px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    margin-bottom: clamp(2rem, 5vw, 3rem);
    color: var(--text-color-muted);
}

/* Sign-up Form Styles */
.signup-form {
    background: rgba(255, 255, 255, 0.05);
    padding: clamp(1.5rem, 4vw, 2.5rem);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    margin-bottom: 1rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group:last-of-type {
    margin-bottom: 1.5rem;
}

.signup-form input,
.signup-form select {
    width: 100%;
    padding: 1rem 1.2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: var(--text-color);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
}

.signup-form input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.signup-form input:focus,
.signup-form select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.15);
}

.signup-form select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
    padding-right: 2.5rem;
}

.signup-form select option {
    background: var(--background-dark);
    color: var(--text-color);
}

.signup-form button {
    width: 100%;
    margin-top: 0.5rem;
}

.form-subtext {
    color: var(--text-color-muted);
    font-size: 0.9rem;
    margin-top: 1rem;
}

/* Mobile Styles */
@media (max-width: 480px) {
    .hero-content {
        padding: 1rem;
    }
    
    .signup-form {
        padding: 1.5rem;
    }
    
    .signup-form input,
    .signup-form select {
        padding: 0.8rem 1rem;
    }
}

/* Features Section */
.features {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background-color: var(--background-dark);
}

.features h2 {
    text-align: center;
    margin-bottom: clamp(2rem, 6vw, 4rem);
    padding: 0 1rem;
    font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
    gap: clamp(1rem, 3vw, 2rem);
    padding: 0 1rem;
}

.feature-card {
    background-color: var(--card-background);
    padding: clamp(1.5rem, 4vw, 2rem);
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.feature-card:hover {
    transform: translateY(-5px);
    background-color: var(--card-hover);
    border-color: rgba(255, 255, 255, 0.1);
}

.feature-card i {
    font-size: clamp(2rem, 5vw, 2.5rem);
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.feature-card h3 {
    color: var(--text-color);
    margin-bottom: 1rem;
}

.feature-card p {
    color: var(--text-color-muted);
}

/* How It Works Section */
.how-it-works {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, var(--background-gradient-end), var(--background-gradient-start));
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr));
    gap: clamp(1.5rem, 4vw, 2rem);
    padding: 0 1rem;
    margin-top: 3rem;
}

.step {
    text-align: center;
    position: relative;
}

.step-number {
    width: 40px;
    height: 40px;
    background-color: var(--primary-color);
    color: var(--background-dark);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-weight: bold;
}

/* CTA Section */
.cta-section {
    padding: clamp(3rem, 8vw, 6rem) 0;
    background: linear-gradient(135deg, var(--background-gradient-start), var(--background-gradient-end));
    text-align: center;
}

.cta-section h2 {
    font-size: clamp(1.8rem, 4vw, 2.5rem);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
    padding: 0 1rem;
}

.cta-section p {
    color: var(--text-color-muted);
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    max-width: min(600px, 90%);
    margin-left: auto;
    margin-right: auto;
    padding: 0 1rem;
}

/* Footer Styles */
footer {
    background-color: var(--background-dark);
    color: var(--text-color-muted);
    padding: 2rem 0;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-bottom {
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .feature-grid, .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    header {
        top: 1rem;
        left: 1rem;
    }
    
    .hero h1 {
        font-size: clamp(2rem, 5vw, 4rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1rem, 2.5vw, 1.4rem);
    }
    
    .feature-grid, .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cta-buttons {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }
    
    .prev-slide,
    .next-slide {
        font-size: 1.2rem;
        padding: 0.5rem;
    }
    
    .carousel-nav {
        gap: 1rem;
    }
    
    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 480px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .container {
        width: 95%;
        padding: 0 0.5rem;
    }
    
    .hero h1 {
        padding: 0 0.5rem;
    }
    
    .hero-subtitle {
        padding: 0 0.5rem;
    }
    
    .carousel-nav {
        bottom: 0.5rem;
    }
    
    .prev-slide,
    .next-slide {
        padding: 0.3rem;
    }
    
    .feature-card {
        border-radius: 12px;
    }
}

/* Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: 120vh;
    }

    .hero h1 {
        font-size: clamp(1.8rem, 4vw, 3rem);
    }

    .hero-subtitle {
        font-size: clamp(0.9rem, 2vw, 1.2rem);
        margin-bottom: 2rem;
    }

    .carousel-nav {
        bottom: 0.5rem;
    }
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 100px;
    text-decoration: none;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
}

.btn-primary {
    background: var(--primary-color);
    color: var(--background-dark);
    box-shadow: 0 0 30px rgba(0, 229, 190, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(0, 229, 190, 0.5);
    background: #00ffd4;
}

.btn-large {
    padding: 1.4rem 3.5rem;
    font-size: 1.2rem;
}

/* Update form button styles */
.signup-form button.btn {
    width: 100%;
    margin-top: 1.5rem;
    padding: 1.4rem 2rem;
    font-size: 1.2rem;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

.signup-form button.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.signup-form button.btn:hover::after {
    transform: translateX(100%);
}

@media (max-width: 480px) {
    .btn {
        padding: 1.2rem 2.5rem;
        font-size: 1.1rem;
    }

    .signup-form button.btn {
        padding: 1.4rem 2rem;
        font-size: 1.2rem;
    }
}

/* Add at the top of the file */
html {
    scroll-behavior: smooth;
}

/* Form Feedback Styles */
.form-feedback {
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    animation: fadeIn 0.3s ease-in-out;
}

.form-feedback.success {
    background: rgba(0, 229, 190, 0.1);
    border: 1px solid rgba(0, 229, 190, 0.2);
    color: var(--primary-color);
}

.form-feedback.error {
    background: rgba(255, 69, 58, 0.1);
    border: 1px solid rgba(255, 69, 58, 0.2);
    color: #ff453a;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Add to existing button styles */
.signup-form button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
} 