/* ============================================
   HERO + SEARCH INTEGRATED - MINIMALIST
   ============================================ */

/* Hero Section */
.hero-search {
    background: linear-gradient(135deg, #1A2B48 0%, #2c4063 50%, #1A2B48 100%);
    padding: 3rem 0;
    color: #fff;
    position: relative;
    overflow: hidden;
}

.hero-search::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 80% 20%, rgba(42, 157, 143, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

@media (min-width: 768px) {
    .hero-search {
        padding: 4rem 0;
    }
}

@media (min-width: 1024px) {
    .hero-search {
        padding: 5rem 0;
    }
}

.hero-search__grid {
    display: grid;
    gap: 2.5rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

@media (min-width: 1024px) {
    .hero-search__grid {
        grid-template-columns: 1fr 420px;
        gap: 4rem;
    }
}

/* Hero Content (Left) */
.hero-search__content {
    text-align: center;
}

@media (min-width: 1024px) {
    .hero-search__content {
        text-align: left;
    }
}

.hero-search__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(42, 157, 143, 0.2);
    border: 1px solid rgba(42, 157, 143, 0.4);
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #5eead4;
    margin-bottom: 1.25rem;
}

.hero-search__eyebrow svg {
    width: 16px;
    height: 16px;
}

.hero-search__title {
    font-size: 2rem;
    font-weight: 800;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    letter-spacing: -0.02em;
    color: #ffffff;
    /* Pure white for maximum readability */
}

@media (min-width: 768px) {
    .hero-search__title {
        font-size: 2.5rem;
    }
}

@media (min-width: 1024px) {
    .hero-search__title {
        font-size: 3rem;
    }
}

.hero-search__title-accent {
    background: linear-gradient(135deg, #2A9D8F, #5eead4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-search__description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
    max-width: 500px;
}

@media (min-width: 1024px) {
    .hero-search__description {
        font-size: 1.125rem;
    }
}

@media (max-width: 1023px) {
    .hero-search__description {
        margin-left: auto;
        margin-right: auto;
    }
}

/* Stats */
.hero-search__stats {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
}

@media (min-width: 1024px) {
    .hero-search__stats {
        justify-content: flex-start;
    }
}

.hero-search__stat {
    text-align: center;
}

.hero-search__stat-value {
    font-size: 1.75rem;
    font-weight: 700;
    color: #fff;
    display: block;
}

.hero-search__stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Search Box (Right) */
.hero-search__box {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 1.25rem;
    padding: 1.75rem;
}

.hero-search__box-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-search__box-title svg {
    width: 20px;
    height: 20px;
    color: #2A9D8F;
}

.hero-search__box-subtitle {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
    margin: 0 0 1.25rem 0;
}

/* Search Input */
.hero-search__input-wrapper {
    position: relative;
    margin-bottom: 1rem;
}

.hero-search__input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.75rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.75rem;
    font-size: 0.9375rem;
    color: #fff;
    outline: none;
    transition: all 0.2s ease;
}

.hero-search__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.hero-search__input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(42, 157, 143, 0.6);
}

.hero-search__input-icon {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

/* Search Results Dropdown */
.hero-search__results {
    position: absolute;
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    background: #fff;
    border-radius: 0.75rem;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    max-height: 320px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.hero-search__results.is-open {
    display: block;
}

.hero-search__result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.875rem 1rem;
    text-decoration: none;
    color: #1A2B48;
    border-bottom: 1px solid #f1f5f9;
    transition: background 0.15s ease;
}

.hero-search__result:last-child {
    border-bottom: none;
}

.hero-search__result:hover,
.hero-search__result.is-active {
    background: #f8fafc;
}

.hero-search__result-info {
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
}

.hero-search__result-brand {
    font-size: 0.75rem;
    color: #64748b;
}

.hero-search__result-title {
    font-size: 0.9375rem;
    font-weight: 600;
    color: #1A2B48;
}

.hero-search__result-score {
    font-size: 0.875rem;
    font-weight: 700;
    padding: 0.25rem 0.5rem;
    border-radius: 0.375rem;
    color: #fff;
}

.hero-search__result-score.score--excellent {
    background: #22c55e;
}

.hero-search__result-score.score--good {
    background: #84cc16;
    color: #1a1a1a;
}

.hero-search__result-score.score--average {
    background: #eab308;
    color: #1a1a1a;
}

/* Filters Row */
.hero-search__filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.hero-search__filter {
    width: 100%;
    padding: 0.75rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0.625rem;
    font-size: 0.875rem;
    color: #fff;
    cursor: pointer;
    outline: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
}

.hero-search__filter option {
    background: #1A2B48;
    color: #fff;
}

.hero-search__filter:focus {
    border-color: rgba(42, 157, 143, 0.6);
}

/* Quick Tags */
.hero-search__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hero-search__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.5rem 0.875rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.85);
    cursor: pointer;
    transition: all 0.2s ease;
}

.hero-search__tag:hover {
    background: rgba(42, 157, 143, 0.3);
    border-color: rgba(42, 157, 143, 0.5);
    color: #fff;
}

.hero-search__tag-flag {
    width: 16px;
    height: 12px;
    border-radius: 2px;
    overflow: hidden;
}

.hero-search__tag-flag svg {
    width: 100%;
    height: 100%;
}

/* CTA Button */
.hero-search__cta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    margin-top: 1rem;
    padding: 0.875rem 1.5rem;
    background: linear-gradient(135deg, #2A9D8F, #1a7a6f);
    color: #fff;
    font-size: 0.9375rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 0.75rem;
    transition: all 0.2s ease;
}

.hero-search__cta:hover {
    background: linear-gradient(135deg, #238b7e, #156b60);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42, 157, 143, 0.3);
    color: #ffffff !important;
}

.hero-search__cta svg {
    width: 18px;
    height: 18px;
}

/* Trust Badges - Compact */
.hero-trust {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    padding: 1.25rem 0;
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 2rem;
}

@media (min-width: 1024px) {
    .hero-trust {
        justify-content: flex-start;
        margin-top: 0;
        padding: 1.25rem 0 0 0;
        background: none;
        border-top: none;
    }
}

.hero-trust__item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.6);
}

.hero-trust__item svg {
    width: 16px;
    height: 16px;
    color: #2A9D8F;
}