body {
    font-family: 'Segoe UI', sans-serif;
    margin: 0;
    background: linear-gradient(135deg, #0f172a, #020617);
    color: white;
    text-align: center;
}

/* HEADER */
header {
    padding: 40px 20px;
}

header h1 {
    font-size: 30px;
    margin-bottom: 10px;
}

header p {
    opacity: 0.7;
}

/* NAV */
nav {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(10px);
    padding: 12px;
    display: flex;
    justify-content: center;
    gap: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
}

nav a:hover {
    color: #38bdf8;
}

/* SECTION */
section {
    padding: 60px 20px;
}

h2 {
    margin-bottom: 30px;
}

/* CARDS */
.card-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.card {
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.08);
    padding: 25px;
    width: 220px;
    border-radius: 14px;
    text-decoration: none;
    color: white;

    display: flex;
    flex-direction: column;
    align-items: center;

    transition: 0.3s ease;
}

/* HOVER ANIMATION */
.card:hover {
    transform: translateY(-6px) scale(1.03);
    border-color: #38bdf8;
    box-shadow: 0 10px 25px rgba(56, 189, 248, 0.2);
}

/* ICON */
.icon {
    font-size: 32px;
    margin-bottom: 10px;
}

/* BUTTON */
button {
    margin-top: 10px;
    padding: 8px 14px;
    border-radius: 8px;
    border: none;
    background: #38bdf8;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #0ea5e9;
}

/* INPUT */
input, textarea {
    border-radius: 8px;
    border: none;
    padding: 10px;
    width: 80%;
}

/* TOOL SECTION */
.tool-section {
    margin-top: 50px;
}

/* 🔥 TOAST */
.toast {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #38bdf8;
    color: black;
    padding: 10px 15px;
    border-radius: 8px;
    opacity: 0;
    transition: 0.4s;
}

.toast.show {
    opacity: 1;
}

/* 📱 MOBILE FIX */
@media (max-width: 768px) {

    nav {
        flex-wrap: wrap;
        gap: 15px;
    }

    .card {
        width: 90%;
    }

    input, textarea {
        width: 95%;
    }
}