* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f5f5f5;
    min-height: 100vh;
    color: #1a1a1a;
    padding: 20px;
}

header {
    display: flex;
    justify-content: center;
    padding: 20px 0 40px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    color: #1a1a1a;
}

.logo-icon {
    width: 28px;
    height: 28px;
    object-fit: contain;
    border-radius: 6px;
}

main {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.main-title {
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 12px;
    color: #0f6148;
}

.subtitle {
    color: #666;
    font-size: 16px;
    margin-bottom: 50px;
}

.grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 20px 0;
}

.grid-item {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 20px;
    padding: 30px 20px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.grid-item:hover {
    border-color: #0f6148;
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}

.device-image {
    width: 100%;
    max-width: 200px;
    height: auto;
    margin-bottom: 20px;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.15));
}

.device-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1a1a1a;
}

.device-desc {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.select-button {
    background: #0f6148;
    color: #fff;
    border: none;
    padding: 14px 40px;
    border-radius: 50px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.select-button:hover {
    background: #0d5540;
    transform: scale(1.05);
}

.back-link {
    display: block;
    text-align: center;
    color: #888;
    text-decoration: none;
    margin-top: 40px;
    font-size: 14px;
    transition: color 0.2s;
}

.back-link:hover {
    color: #0f6148;
}

@media (max-width: 768px) {
    .main-title {
        font-size: 24px;
    }
    
    .grid-container {
        grid-template-columns: 1fr;
    }
    
    .grid-item {
        padding: 25px 15px;
    }
}