@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

:root {
    --primary: #1f55d9;
    --primary-light: #eef2ff;
    --primary-dark: #1a47b8;
    --accent: #6c31ff;
    --bg: #f8fafc;
    --text: #0f172a;
    --text-light: #64748b;
    --white: #ffffff;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --card-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.05), 0 10px 10px -5px rgba(0, 0, 0, 0.02);
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.2s;
}

a:hover {
    color: var(--primary-dark);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 2rem;
    background: var(--white);
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.025em;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav nav {
    display: flex;
    gap: 2rem;
}

.nav nav a {
    font-weight: 500;
    color: var(--text-light);
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

.hero {
    text-align: center;
    padding: 4rem 1rem;
    background: radial-gradient(circle at top right, #eef2ff, transparent), radial-gradient(circle at bottom left, #f5f3ff, transparent);
    border-radius: 2rem;
    margin-bottom: 3rem;
}

.hero h2 {
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: -0.05em;
    margin-bottom: 1rem;
    color: #1e293b;
}

.hero p {
    font-size: 1.25rem;
    color: var(--text-light);
    max-width: 36rem;
    margin: 0 auto 2.5rem;
}

.card {
    background: var(--white);
    padding: 2rem;
    border-radius: 1.5rem;
    box-shadow: var(--card-shadow);
    margin-bottom: 2rem;
    border: 1px solid rgba(241, 245, 249, 1);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    letter-spacing: -0.025em;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.input-group {
    margin-bottom: 1.25rem;
}

label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-light);
}

input, select {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(31, 85, 217, 0.1);
    background: var(--white);
}

button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    gap: 0.5rem;
    width: 100%;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

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

.btn-ghost:hover {
    background: #e0e7ff;
}

.row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
}

/* Slots Section */
.slots-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.slot-card {
    padding: 1.5rem;
    border-radius: 1.25rem;
    background: var(--white);
    border: 1px solid #f1f5f9;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.slot-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.slot-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.slot-flag {
    font-size: 1.5rem;
}

.slot-status {
    padding: 0.25rem 0.75rem;
    border-radius: 2rem;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.status-available { background: #dcfce7; color: #166534; }
.status-limited { background: #fef9c3; color: #854d0e; }
.status-unavailable { background: #fee2e2; color: #991b1b; }

.slot-dest {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.25rem;
}

.slot-info {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.slot-date {
    font-weight: 600;
    color: var(--text);
}

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

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
}

@media (max-width: 768px) {
    .hero h2 { font-size: 2rem; }
    .nav { padding: 1rem; }
    .nav nav { display: none; }
    .grid { grid-template-columns: 1fr; }
    .row { flex-direction: column; align-items: stretch; }
}
