/* ========== RESET ========== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: linear-gradient(135deg, #0f0c29, #302b63, #24243e);
    color: white;
    min-height: 100vh;
}

/* ========== NAVBAR ========== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
}

.logo {
    font-weight: bold;
    font-size: 1.4rem;
    background: linear-gradient(90deg, #00f5a0, #00d9f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logout {
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: bold;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transition: 0.3s;
}

.logout:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========== CONTAINER ========== */
.container {
    padding: 60px 40px;
    max-width: 1200px;
    margin: auto;
}

/* ========== HEADINGS ========== */
h1 {
    font-size: clamp(2rem, 5vw, 2.8rem);
    margin-bottom: 15px;
}

.subtitle {
    opacity: 0.8;
    margin-bottom: 40px;
}

/* ========== BUTTONS ========== */
.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: bold;
    text-decoration: none;
    transition: 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: linear-gradient(90deg, #00f5a0, #00d9f5);
    color: black;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
}

.btn-outline {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* ========== CARDS ========== */
.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    padding: 40px 25px;
    border-radius: 20px;
    transition: 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, 0.15);
}

.card h3 {
    margin-bottom: 15px;
}

/* ========== FORMS ========== */
form {
    max-width: 400px;
    margin: auto;
}

input {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border-radius: 10px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
}

button {
    width: 100%;
}

/* ========== FOOTER ========== */
.footer {
    text-align: center;
    margin-top: 60px;
    opacity: 0.4;
    font-size: 0.9rem;
}

/* ========== HERO CENTERED (Index) ========== */
.hero {
    text-align: center;
    padding: 100px 20px;
}

.hero h1 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    background: linear-gradient(90deg, #00f5a0, #00d9f5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.hero .subtitle {
    font-size: 1.2rem;
    margin-bottom: 50px;
}