/* General Body Styles */
body {
    background-color: #050505; 
    color: white;
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* HERO SECTION */
header {
    padding: 80px 20px;
    background: radial-gradient(circle at center, #111 0%, #000 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.typewriter {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 10px;
    background: linear-gradient(to right, #fff, #a5b4fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
    border-right: 4px solid #38bdf8;
    animation: blink 0.7s infinite;
}

@keyframes blink { 50% { border-color: transparent; } }

p { color: #94a3b8; margin-bottom: 30px; }

/* Search & Filters */
.search-box { width: 100%; display: flex; justify-content: center; margin-bottom: 20px; }
input {
    padding: 16px 25px; width: 100%; max-width: 500px;
    border-radius: 50px; border: 1px solid #333;
    background-color: #111; color: white; outline: none;
}
input:focus { border-color: #38bdf8; }

.filter-buttons { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-bottom: 25px; }
.filter-btn {
    background: #1e1e1e; border: 1px solid #333; color: #ccc;
    padding: 8px 16px; border-radius: 20px; cursor: pointer;
}
.filter-btn:hover { background: #333; color: white; }

.share-btn-small {
    background: transparent; border: 1px solid #38bdf8; color: #38bdf8;
    padding: 8px 15px; border-radius: 8px; cursor: pointer; margin-top: 10px;
}

/* CARD GRID */
.container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    padding: 40px 5%;
    max-width: 1400px;
    margin: 0 auto;
}

/* CARD DESIGN */
.card {
    background-color: #0f1016;
    padding: 20px;
    border-radius: 12px;
    border: 1px solid #222;
    transition: transform 0.2s;
    text-align: left;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
}
.card:hover { transform: translateY(-5px); border-color: #444; }

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.card h3 { margin: 0; font-size: 1.1rem; color: #fff; font-weight: 600; }

.usage-badge {
    font-size: 0.7rem; font-weight: bold;
    color: #4ade80; background-color: rgba(74, 222, 128, 0.1);
    padding: 4px 8px; border-radius: 6px;
    border: 1px solid rgba(74, 222, 128, 0.2);
    white-space: nowrap;
}

.card p {
    font-size: 0.9rem; line-height: 1.5; color: #9ca3af;
    margin-bottom: 20px; flex-grow: 1;
}

.card-footer {
    display: flex; justify-content: space-between; align-items: center;
    border-top: 1px solid #222; padding-top: 15px;
}

.category-tag {
    font-size: 0.75rem; color: #64748b; background: #1e293b;
    padding: 4px 10px; border-radius: 20px;
}

.card a {
    text-decoration: none; color: #38bdf8; font-size: 0.9rem; font-weight: bold;
}
.card a:hover { text-decoration: underline; }

/* ✅ FOOTER & EMAIL STYLES */
footer {
    padding: 40px; color: #555; font-size: 0.9rem; border-top: 1px solid #111;
    display: flex; flex-direction: column; align-items: center; gap: 10px;
}

.contact-box {
    background: #111;
    padding: 15px 25px;
    border-radius: 50px;
    border: 1px solid #333;
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
}

.email-link {
    color: #4ade80; /* Nice Green Color */
    font-weight: bold;
    text-decoration: none;
}
.email-link:hover { text-decoration: underline; color: #fff; }