/* Color Palette and Variables */
:root {
    --background-dark: #0A0C10;
    --surface-dark: #1A1D24;
    --text-primary: #FFFFFF;
    --text-secondary: #A0AEC0;
    --accent-blue: #3B82F6; 
    --accent-hover: #2563EB;
    --border-color: #2D3748;
    --success-color: #48BB78;
    --error-color: #F56565;
}

/* Base Styles */
body {
    font-family: 'Inter', sans-serif;
    background-color: var(--background-dark);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

* {
    box-sizing: border-box;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    padding: 30px 0;
    background-color: var(--background-dark);
    border-bottom: 1px solid var(--border-color);
}

.logo {
    font-size: 26px;
    font-weight: 800;
    color: var(--accent-blue);
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    padding: 100px 0 120px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

/* Subtle background glow effect */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center top, rgba(59, 130, 246, 0.1) 0%, rgba(10, 12, 16, 0) 50%);
    z-index: -1;
}

h1 {
    font-size: 64px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 50px;
}

/* Signup Form Styles */
.signup-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 10px;
}

input[type="email"], select {
    padding: 14px 18px;
    border: 1px solid var(--border-color);
    background-color: var(--surface-dark);
    color: var(--text-primary);
    border-radius: 8px;
    font-size: 16px;
    transition: border-color 0.3s ease;
    height: 50px; /* Ensure consistent height */
}

input[type="email"] {
    flex-grow: 2;
}

/* Styling the select dropdown specifically */
select {
    flex-grow: 1;
    cursor: pointer;
    appearance: none; /* Remove default OS styling */
    /* Add a simple custom arrow indicator */
    background-image: url("data:image/svg+xml;utf8,<svg fill='%23A0AEC0' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 15px center;
    padding-right: 30px;
}

input[type="email"]:focus, select:focus {
    outline: none;
    border-color: var(--accent-blue);
}

button {
    padding: 0 25px;
    background-color: var(--accent-blue);
    color: var(--text-primary);
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.1s ease;
    height: 50px; /* Ensure consistent height */
}

button:hover {
    background-color: var(--accent-hover);
}

button:active {
    transform: scale(0.98);
}

button:disabled {
    background-color: var(--text-secondary);
    cursor: not-allowed;
}

.form-message {
    min-height: 1.2em;
    font-size: 14px;
    margin-top: 10px;
    text-align: center;
}

.form-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 15px;
    text-align: center;
}

/* Features Section */
.features {
    padding: 100px 0;
    background-color: var(--background-dark);
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 60px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.feature-item {
    background-color: var(--surface-dark);
    padding: 35px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.feature-item h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 15px;
    color: var(--accent-blue);
}

.feature-item p {
    font-size: 16px;
    color: var(--text-secondary);
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background-color: var(--surface-dark);
    text-align: center;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
}

.cta h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

/* Footer */
footer {
    padding: 40px 0;
    background-color: var(--background-dark);
    text-align: center;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Animations - Initial State and Transitions */
.fade-in, .observe {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.in-view {
    opacity: 1;
    transform: translateY(0);
}


/* Responsive Design */
@media (max-width: 1024px) {
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 48px;
    }
    .feature-grid {
        grid-template-columns: 1fr;
    }
    .hero {
        padding: 80px 0;
    }
    .form-row {
        flex-direction: column;
    }
     input[type="email"], select, button {
        height: 48px;
        width: 100%;
     }
}