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

body {
    font-family: 'Poppins', sans-serif;
    background: #0f2027;
    color: white;
    transition: 0.3s;
    overflow-x: hidden;
}

body.light {
    background: #f5f5f5;
    color: #111;
}

#particles-js {
    position: fixed;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.container {
    max-width: 1000px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}

.logo {
    width: 120px;
    margin-bottom: 15px;
}

.hero h2 {
    font-size: 38px;
    margin-bottom: 10px;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin: 40px 0;
}

.card {
    padding: 25px;
    border-radius: 20px;
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    transition: 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card.active {
    background: linear-gradient(45deg, #00f5ff, #9d4edd);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    padding: 30px;
    border-radius: 25px;
}

select, input {
    width: 100%;
    padding: 12px;
    margin: 10px 0;
    border-radius: 10px;
    border: none;
}

button {
    padding: 15px;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    background: linear-gradient(90deg, #00f5ff, #9d4edd);
    color: white;
    font-weight: bold;
    margin-top: 15px;
}

.preview {
    width: 100%;
    max-height: 200px;
    object-fit: contain;
    margin-top: 10px;
}

.toggle-mode {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 10px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
}