:root {
    --bg-color: #ffffff;
    --text-color: #202124; /* Google dark grey */
    --link-color: #1a0dab; /* Google blue */
    --visited-link: #609;
    --url-color: #006621; /* Google green */
    --desc-color: #4d5156;
    --primary-color: #0d9488; /* Teal accent for brand */
    --font-main: 'Outfit', sans-serif;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-main);
    line-height: 1.58;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.glass-header {
    padding: 15px 0;
    border-bottom: 1px solid #ebebeb;
    background: #fff;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-color);
}

.logo span {
    color: var(--primary-color);
}

/* Hero Section (Search Bar Look) */
.hero {
    padding: 40px 0 20px;
}

.hero-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.hero-subtitle {
    font-size: 1rem;
    color: var(--desc-color);
}

/* Results List */
.products-grid {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 0 80px;
}

.result-item {
    text-decoration: none;
    display: block;
    max-width: 650px;
}

.result-header {
    margin-bottom: 4px;
}

.result-url {
    font-size: 0.875rem;
    color: var(--url-color);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    align-items: center;
    gap: 5px;
}

.result-url::before {
    content: '⚕';
    color: var(--primary-color);
    font-weight: bold;
}

.result-title {
    font-size: 1.25rem;
    color: var(--link-color);
    font-weight: 400;
    margin: 0;
    padding: 0;
}

.result-item:hover .result-title {
    text-decoration: underline;
}

.result-description {
    font-size: 0.875rem;
    color: var(--desc-color);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid #ebebeb;
    background: #f2f2f2;
    color: #70757a;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .hero {
        padding: 30px 0 15px;
    }

    .hero-title {
        font-size: 1.75rem;
    }

    .result-title {
        font-size: 1.15rem;
    }

    .products-grid {
        gap: 20px;
        padding: 10px 0 60px;
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 1.25rem;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .result-title {
        font-size: 1.1rem;
    }

    .result-url {
        font-size: 0.75rem;
    }

    .result-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 3;
        line-clamp: 3;
    }
}
