:root {
    --bg-color: #0B0E14;
    /* Deep dark blue/black */
    --card-bg: #151B28;
    /* Slightly lighter for cards */
    --primary-color: #3b82f6;
    /* Bright Blue */
    --primary-hover: #2563eb;
    --text-main: #f8fafc;
    --text-muted: #94a3b8;
    --border-color: #334155;
    --gradient-start: #3b82f6;
    --gradient-end: #8b5cf6;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 25px;
}

/* Header */
header {
    padding: 1.5rem 0;
    /* Reduced from 2rem */
    text-align: center;
}

.logo {
    /* Removed max-height restriction */
    width: auto;
    max-width: 150px;
    /* Ensure it doesn't overflow mobile */
    margin-bottom: 0.5rem;
    /* Reduced from 1rem */
}

/* Hero Section */
.hero {
    min-height: 50vh;
    /* Slightly reduced visual height */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: start;
    /* Changed from center to push content up slightly */
    text-align: center;
    padding: 6rem 0;
    /* Reduced from 4rem */
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--gradient-start), var(--gradient-end));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
}

.hero p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Form */
.opt-in-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.form-note {
    font-size: 1.0rem!important;
    font-weight: 300!important;
    color: var(--text-muted);
    margin-top: 25px!important;
    opacity: 0.75;
}

.form-group {
    position: relative;
    width: 100%;
}

.input-field {
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    background: var(--card-bg);
    color: white;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.3s;
}

.input-field:focus {
    border-color: var(--primary-color);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: 8px;
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s transform 0.1s;
}

.btn-submit:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
}

.btn-submit:active {
    transform: translateY(0);
}

.success-message {
    color: #10b981;
    margin-top: 1rem;
}

/* Visuals/Grid */
.app-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    padding-top: 4rem;
    padding-bottom: 4rem;
    align-items: center;
}

.showcase-img {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    background: var(--card-bg);
    border: 1px solid var(--border-color);
    transition: transform 0.3s;
}

.showcase-img:hover {
    transform: scale(1.02);
}

/* Timeline */
.timeline-section {
    padding: 3rem 0;
    /* Reduced */
    max-width: 800px;
    margin: 0 auto;
}

.timeline-section h2 {
    text-align: center;
    margin-bottom: 2.5rem;
    /* Reduced */
    font-size: 2rem;
}

.timeline {
    position: relative;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 7px;
    /* Align with dots */
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--border-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}

.timeline-dot {
    position: absolute;
    left: -29px;
    /* Adjust to sit on line */
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--primary-color);
    border: 3px solid var(--bg-color);
    box-shadow: 0 0 0 2px var(--primary-color);
}

/* Custom Status Colors */
.timeline-dot.status-green {
    background: #10b981;
    box-shadow: 0 0 0 2px #10b981;
}

.timeline-dot.status-gray {
    background: #475569;
    box-shadow: 0 0 0 2px #475569;
}

.timeline-date {
    font-size: 0.9rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 0.5rem;
    display: block;
}

.timeline-content h3 {
    margin-bottom: 0.5rem;
}

.timeline-content p {
    color: var(--text-muted);
}

/* Footer */
footer {
    text-align: center;
    padding: 3rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (min-width: 768px) {
    .opt-in-form {
        flex-direction: row;
        max-width: 500px;
    }

    .hero h1 {
        font-size: 3.5rem;
    }
}