/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f5f1eb 0%, #ede5d8 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c2c2c;
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 400px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 8px 16px rgba(0, 0, 0, 0.06);
    padding: 40px 30px;
    margin: 20px;
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.8), transparent);
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 50px;
}

.logo-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.logo-symbol {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 44, 44, 0.05);
    border-radius: 16px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.logo-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.logo-symbol:hover {
    transform: translateY(-2px);
    background: rgba(44, 44, 44, 0.08);
}

.brand-name {
    font-size: 24px;
    font-weight: 300;
    letter-spacing: 4px;
    color: #2c2c2c;
    margin: 0;
    text-transform: uppercase;
}

/* Grid Layout */
.grid-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr 1fr;
    gap: 16px;
    margin-bottom: 40px;
}

/* 5 item layout: 2-2-1 pattern */
.grid-container .category-card:nth-child(5) {
    grid-column: 1 / -1;
    justify-self: center;
    max-width: 180px;
}

/* Category Cards */
.category-card {
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(44, 44, 44, 0.08);
    border-radius: 16px;
    padding: 24px 16px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(44, 44, 44, 0.02) 0%, rgba(44, 44, 44, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 12px 24px rgba(0, 0, 0, 0.15),
        0 4px 8px rgba(0, 0, 0, 0.1);
    border-color: rgba(44, 44, 44, 0.12);
}

.category-card:hover::before {
    opacity: 1;
}

.category-card:active {
    transform: translateY(-2px);
}

.icon-container {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(44, 44, 44, 0.05);
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.category-card:hover .icon-container {
    background: rgba(44, 44, 44, 0.08);
    transform: scale(1.05);
}

.category-title {
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 1px;
    color: #2c2c2c;
    text-transform: uppercase;
    line-height: 1.3;
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: 20px;
}

.url-bar {
    background: rgba(44, 44, 44, 0.05);
    border-radius: 20px;
    padding: 12px 20px;
    display: inline-block;
    border: 1px solid rgba(44, 44, 44, 0.08);
}

.url {
    font-size: 14px;
    font-weight: 400;
    color: #2c2c2c;
    opacity: 0.8;
}

/* Responsive Design */
@media (max-width: 480px) {
    .container {
        margin: 10px;
        padding: 30px 20px;
        max-width: none;
        border-radius: 20px;
    }
    
    .logo-symbol {
        width: 60px;
        height: 60px;
    }
    
    .brand-name {
        font-size: 20px;
        letter-spacing: 3px;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(5, 1fr);
        gap: 12px;
    }
    
    .grid-container .category-card:nth-child(5) {
        grid-column: 1;
        justify-self: stretch;
        max-width: none;
    }
    
    .category-card {
        padding: 20px 12px;
        min-height: 100px;
    }
    
    .icon-container {
        width: 40px;
        height: 40px;
    }
    
    .icon-container svg {
        width: 28px;
        height: 28px;
    }
    
    .category-title {
        font-size: 11px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 25px 15px;
    }
    
    .logo-symbol {
        width: 50px;
        height: 50px;
    }
    
    .grid-container {
        gap: 10px;
    }
    
    .category-card {
        padding: 16px 8px;
        min-height: 85px;
        gap: 8px;
    }
    
    .category-title {
        font-size: 10px;
    }
}

/* Animation Classes */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.category-card {
    animation: fadeIn 0.6s ease-out;
}

.category-card:nth-child(1) { animation-delay: 0.1s; }
.category-card:nth-child(2) { animation-delay: 0.2s; }
.category-card:nth-child(3) { animation-delay: 0.3s; }
.category-card:nth-child(4) { animation-delay: 0.4s; }
.category-card:nth-child(5) { animation-delay: 0.5s; }

/* Hover Effects for Different Categories */
.category-card[data-category="website"]:hover {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.05) 0%, rgba(59, 130, 246, 0.1) 100%);
}

.category-card[data-category="whatsapp"]:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05) 0%, rgba(34, 197, 94, 0.1) 100%);
}


.category-card[data-category="instagram"]:hover {
    background: linear-gradient(135deg, rgba(236, 72, 153, 0.05) 0%, rgba(236, 72, 153, 0.1) 100%);
}

.category-card[data-category="showroom"]:hover {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.05) 0%, rgba(245, 158, 11, 0.1) 100%);
}

.category-card[data-category="telegram"]:hover {
    background: linear-gradient(135deg, rgba(14, 165, 233, 0.05) 0%, rgba(14, 165, 233, 0.1) 100%);
}

