:root {
    --primary: #0277bd;
    --primary-dark: #004c8c;
    --primary-light: #58a5f0;
    --bg-color: #f0f4f8;
    --text-color: #333;
    --card-bg: #ffffff;
    --shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

/* Background Effect */
.background-glob {
    position: fixed;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(2, 119, 189, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

header {
    padding: 2rem;
    text-align: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

main {
    flex: 1;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Search Section */
.search-container {
    text-align: center;
    margin-bottom: 4rem;
    max-width: 600px;
    width: 100%;
}

h1 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

.subtitle {
    font-size: 1.1rem;
    color: #666;
    margin-bottom: 2rem;
}

.search-box {
    position: relative;
    width: 100%;
    box-shadow: 0 10px 40px -10px rgba(2, 119, 189, 0.2);
    border-radius: 50px;
    background: white;
    transition: transform 0.2s, box-shadow 0.2s;
}

.search-box:focus-within {
    transform: translateY(-2px);
    box-shadow: 0 15px 50px -10px rgba(2, 119, 189, 0.3);
}

#search-input {
    width: 100%;
    padding: 1.5rem 3.5rem 1.5rem 2rem;
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 1.1rem;
    font-family: inherit;
    outline: none;
    transition: border-color 0.2s;
}

#search-input:focus {
    border-color: var(--primary-light);
}

.search-icon {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary);
    pointer-events: none;
}

.status-message {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--primary);
    min-height: 1.2em;
}

/* Results Grid */
.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    width: 100%;
}

.result-card {
    background: white;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
    transition: transform 0.2s, opacity 0.3s;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    animation: fadeIn 0.5s ease-out;
}

.result-card:hover {
    transform: translateY(-4px);
}

.result-card div {
    font-size: 1.1rem;
    line-height: 1.5;
    color: #444;
}

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

footer {
    text-align: center;
    padding: 2rem;
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .search-container {
        padding: 0 1rem;
    }
}
