:root {
    --primary-color: #0ea5e9;
    /* Sky Blue */
    --primary-dark: #0284c7;
    --secondary-color: #10b981;
    /* Emerald */
    --accent-color: #6366f1;
    /* Indigo */
    --background-dark: #0f172a;
    /* Slate 900 */
    --background-card: rgba(30, 41, 59, 0.7);
    /* Slate 800 with opacity */
    --text-light: #f8fafc;
    --text-dim: #94a3b8;
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    --gradient-main: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-dark);
    background-image:
        radial-gradient(at 0% 0%, rgba(99, 102, 241, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(16, 185, 129, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(14, 165, 233, 0.15) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-light);
    min-height: 100vh;
    line-height: 1.6;
}

#app {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header */
.main-header {
    text-align: center;
    margin-bottom: 4rem;
    padding-top: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
}

.logo-icon {
    font-size: 2.5rem;
}

h1 {
    font-family: var(--font-heading);
}

/* Cards Section */
.section-title {
    font-family: var(--font-heading);
    text-align: center;
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--text-light);
}

.cards-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 1rem;
}

.role-card {
    background: var(--background-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 2rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.role-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 40px -10px rgba(14, 165, 233, 0.3);
}

.card-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.role-card h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-light);
}

.role-card p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
}

.btn-select {
    margin-top: auto;
    padding: 0.75rem 1.5rem;
    background: var(--gradient-main);
    border: none;
    border-radius: 0.75rem;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s;
    width: 100%;
}

.btn-select:hover {
    opacity: 0.9;
}

/* Animations */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Wizard Styles */
.wizard-container {
    background: var(--background-card);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1.5rem;
    padding: 3rem;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.input-field,
.input-area {
    width: 100%;
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    padding: 1rem;
    color: var(--text-light);
    font-family: var(--font-body);
    font-size: 1rem;
    margin-top: 0.5rem;
    transition: border-color 0.3s;
}

.input-field:focus,
.input-area:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    color: var(--text-dim);
    font-size: 0.9rem;
    font-weight: 500;
}

.tips-box {
    background: rgba(99, 102, 241, 0.1);
    border-left: 4px solid var(--accent-color);
    padding: 1rem;
    margin-bottom: 1.5rem;
    border-radius: 0.5rem;
}

.tips-box ul {
    margin-top: 0.5rem;
    margin-left: 1.5rem;
    color: var(--text-dim);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.skill-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: background 0.2s;
}

.skill-checkbox:hover {
    background: rgba(255, 255, 255, 0.08);
}

.btn-primary,
.btn-secondary {
    padding: 0.75rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    transition: all 0.2s;
}

.btn-primary {
    background: var(--gradient-main);
    color: white;
}

.btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--glass-border);
    color: var(--text-dim);
}

.btn-secondary:hover {
    border-color: var(--text-light);
    color: var(--text-light);
}

.hidden {
    display: none;
}

/* Footer */
.main-footer {
    margin-top: auto;
    text-align: center;
    padding-top: 3rem;
    color: var(--text-dim);
    font-size: 0.9rem;
}