/* ---------- RESET & GLOBAL ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, sans-serif;
    background: #ffffff;
    color: #1a1e2b;
    line-height: 1.5;
    scroll-behavior: smooth;
}

/* orange/pink/blue theme variables */
:root {
    --orange: #f97316;
    --orange-dark: #ea580c;
    --pink: #f43f5e;
    --pink-soft: #ffe4e8;
    --blue: #3b82f6;
    --blue-light: #eff6ff;
    --gray-light: #f8fafc;
    --shadow-sm: 0 8px 20px rgba(0, 0, 0, 0.03), 0 2px 6px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 12px 28px rgba(0, 0, 0, 0.08), 0 0 0 1px rgba(0, 0, 0, 0.02);
    --shadow-hover: 0 20px 30px -12px rgba(249, 115, 22, 0.2), 0 0 0 1px rgba(249, 115, 22, 0.1);
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1.8rem;
}

/* HEADER */
.hero {
    padding: 3rem 0 2rem 0;
    background: linear-gradient(135deg, #fff9f5 0%, #ffffff 100%);
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(95deg, var(--orange), var(--pink), var(--blue));
    border-image-slice: 1;
}

.brand {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.logo h1 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(125deg, var(--orange), var(--pink), var(--blue));
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.02em;
}

.logo p {
    color: #475569;
    font-weight: 500;
    margin-top: 0.25rem;
    font-size: 0.95rem;
}

.tagline-badge {
    background: var(--blue-light);
    padding: 0.4rem 1.2rem;
    border-radius: 40px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--blue);
    border: 1px solid rgba(59,130,246,0.2);
}

/* SEARCH BOX */
.search-container {
    max-width: 720px;
    margin: 1.2rem 0 0.8rem 0;
}

.search-box {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 80px;
    padding: 0.3rem 0.3rem 0.3rem 1.6rem;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(249, 115, 22, 0.25);
    transition: all 0.2s ease;
}

.search-box:focus-within {
    border-color: var(--orange);
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.2), var(--shadow-sm);
}

.search-box i {
    color: var(--pink);
    font-size: 1.2rem;
}

.search-box input {
    flex: 1;
    border: none;
    padding: 0.9rem 0.8rem;
    font-size: 1rem;
    background: transparent;
    outline: none;
    font-weight: 500;
    color: #0f172a;
}

.search-box input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.search-box button {
    background: linear-gradient(110deg, var(--orange), var(--pink));
    border: none;
    padding: 0.7rem 1.7rem;
    border-radius: 40px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    font-size: 0.9rem;
    transition: 0.2s;
    display: flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.search-box button:hover {
    background: linear-gradient(110deg, var(--orange-dark), #e11d48);
    transform: scale(0.97);
}

.result-meta {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    margin: 1.8rem 0 1.2rem 0;
    border-left: 4px solid var(--orange);
    padding-left: 1rem;
}

.result-count {
    font-weight: 600;
    background: #fff1f0;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.85rem;
    color: var(--orange-dark);
}

.reset-tip {
    font-size: 0.8rem;
    color: #5b6e8c;
}

/* CARDS GRID */
.websites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin: 2rem 0 4rem;
}

.chat-card {
    background: #ffffff;
    border-radius: 1.5rem;
    transition: all 0.25s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.03);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.chat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(249, 115, 22, 0.3);
}

.card-accent {
    height: 6px;
    background: linear-gradient(90deg, var(--orange), var(--pink), var(--blue));
}

.card-content {
    padding: 1.6rem 1.5rem 1.8rem;
    flex: 1;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 1rem;
}

.card-header i {
    font-size: 2rem;
    color: var(--orange);
    background: #fff2e8;
    padding: 8px;
    border-radius: 18px;
}

.card-header h3 {
    font-size: 1.45rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: #0c1b33;
}

.description {
    color: #334155;
    margin: 0.8rem 0 1.2rem;
    font-size: 0.95rem;
    line-height: 1.45;
}

.keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin: 0.8rem 0 1.4rem;
}

.keyword-chip {
    background: #f1f5f9;
    padding: 0.2rem 0.85rem;
    border-radius: 30px;
    font-size: 0.7rem;
    font-weight: 600;
    color: #1e293b;
    border-left: 2px solid var(--pink);
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    border: 1.5px solid var(--blue);
    color: var(--blue);
    padding: 0.55rem 1.4rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    text-decoration: none;
    transition: all 0.2s;
    margin-top: 0.5rem;
}

.card-link i {
    font-size: 0.8rem;
    transition: transform 0.2s;
}

.card-link:hover {
    background: var(--blue);
    color: white;
    border-color: var(--blue);
}

.card-link:hover i {
    transform: translateX(4px);
}

/* no results */
.no-results {
    text-align: center;
    padding: 3rem;
    background: #fff9fb;
    border-radius: 2rem;
    margin: 2rem 0;
    border: 1px dashed var(--pink);
}

.no-results i {
    font-size: 3rem;
    color: var(--orange);
    opacity: 0.7;
    margin-bottom: 1rem;
}

/* footer */
.footer-note {
    text-align: center;
    padding: 2rem 0 2rem;
    border-top: 1px solid rgba(243, 244, 246, 1);
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #5b6e8c;
}

/* responsive */
@media (max-width: 700px) {
    .container {
        padding: 0 1.2rem;
    }
    .logo h1 {
        font-size: 1.9rem;
    }
    .search-box {
        padding: 0.2rem 0.2rem 0.2rem 1rem;
    }
    .search-box button span {
        display: none;
    }
    .search-box button i {
        margin: 0;
    }
    .search-box button {
        padding: 0.7rem 1.2rem;
    }
    .websites-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }
    .brand {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .card-content {
        padding: 1.2rem;
    }
}

.chat-card {
    animation: fadeInUp 0.3s ease-out;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}