/* style.css - Responsive & Mobile Friendly */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&amp;display=swap');

:root {
    --primary: #3b82f6;       /* Professional Blue */
    --primary-dark: #2563eb;
    --bg-light: #f3f4f6;      /* Soft Light Grey Background */
    --card-bg: #ffffff;       /* Pure White Cards */
    --text-main: #1f2937;     /* Dark Grey Text */
    --text-muted: #64748b;    /* Muted Text */
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --radius: 16px;
}

body {
    margin: 0;
    font-family: 'Poppins', sans-serif;
    background: var(--bg-light);
    color: var(--text-main);
    padding: 15px; /* Mobile friendly padding */
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* --- TYPOGRAPHY --- */
.title {
    text-align: center;
    font-weight: 800;
    font-size: 1.8rem; /* Mobile first font size */
    color: var(--text-main);
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.subtitle {
    text-align: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

/* --- LAYOUTS --- */
.grid, .bot-grid {
    display: grid;
    /* Mobile: 1 Column automatically */
    grid-template-columns: 1fr; 
    gap: 15px;
    max-width: 1000px;
    margin: 0 auto 40px auto;
}

/* --- CARDS DESIGN --- */
.cat-box, .bot-card {
    background: var(--card-bg);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
    color: var(--text-main);
    text-decoration: none;
    box-shadow: var(--shadow);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
}

/* Hover effects (Desktop mostly) */
@media (hover: hover) {
    .cat-box:hover, .bot-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.1);
        border-color: var(--primary);
    }
}

/* --- ICONS & LOGOS --- */
.cat-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
    font-size: 1rem;
}

.cat-box i {
    font-size: 22px;
    color: var(--primary);
}

.app-logo-container {
    width: 60px;
    height: 60px;
    margin: 0 auto 10px auto;
    background: #eff6ff;
    border-radius: 14px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.app-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* --- TEXT DETAILS --- */
h3 { margin: 8px 0; font-size: 1.1rem; font-weight: 700; }

.info-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin: 5px 0;
}

.info-row i { color: var(--primary); }

.warning {
    font-size: 0.75rem;
    color: #b45309;
    background: #fffbeb;
    padding: 4px 10px;
    border-radius: 50px;
    display: inline-block;
    margin-top: 5px;
    border: 1px solid #fcd34d;
}

/* --- BUTTONS --- */
.download-btn {
    width: 100%;
    padding: 12px;
    margin-top: 15px;
    border: none;
    border-radius: 10px;
    background: #e2e8f0;
    color: #64748b;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: not-allowed;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: 0.3s;
}

.download-btn.active {
    background: var(--primary);
    color: white;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(59, 130, 246, 0.4);
}

/* --- NAVIGATION --- */
.top-nav { 
    display: flex; 
    gap: 10px;
    margin-bottom: 20px;
}

.nav-btn {
    flex: 1; /* Equal width buttons on mobile */
    text-align: center;
    padding: 10px;
    background: white;
    color: var(--text-main);
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.9rem;
    font-weight: 500;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

/* --- FOOTER --- */
footer {
    margin-top: auto;
    padding-top: 30px;
    padding-bottom: 10px;
    text-align: center;
}

.social-bar {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: var(--text-muted);
    text-decoration: none;
    box-shadow: var(--shadow);
}

.footer-text { font-size: 0.75rem; color: #94a3b8; }

/* =========================================
   DESKTOP & TABLET RESPONSIVENESS (MEDIA QUERIES)
   ========================================= */
@media (min-width: 600px) {
    /* Tablet & Desktop: Show grid with multiple columns */
    .grid, .bot-grid {
        grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
        gap: 25px;
    }

    /* Larger fonts for desktop */
    .title { font-size: 2.5rem; }
    .subtitle { font-size: 1rem; }
    
    body { padding: 30px; }

    .nav-btn { flex: none; width: auto; padding: 10px 25px; border-radius: 50px; }
    
    .cat-box { padding: 30px; flex-direction: column; font-size: 1.1rem; }
    .cat-box i { font-size: 32px; margin-bottom: 10px; }
}
