@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;700&display=swap');

:root {
    /* Color Palette - Premium Esports Dark Mode */
    --bg-dark: #050507;
    --bg-card: #0e1015;
    --bg-card-hover: #161922;

    --primary: #5200ff;
    /* Electric Purple */
    --primary-glow: rgba(82, 0, 255, 0.5);

    --accent: #00f0ff;
    /* Cyber Blue */
    --accent-glow: rgba(0, 240, 255, 0.4);

    --success: #00ff9d;
    --text-main: #ffffff;
    --text-muted: #8890a5;

    --gradient-main: linear-gradient(135deg, var(--primary) 0%, var(--accent) 100%);
    --gradient-dark: linear-gradient(180deg, rgba(5, 5, 7, 0) 0%, #050507 100%);

    /* Layout */
    --max-width: 1200px;
    --border-radius: 12px;
    --glass-border: 1px solid rgba(255, 255, 255, 0.08);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'Space Grotesk', sans-serif;
    color: #fff;
    line-height: 1.1;
}

/* Utilities */
.container {
    width: 90%;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}


.badge {
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.badge-blue {
    background: rgba(0, 240, 255, 0.1);
    color: var(--accent);
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.badge-purple {
    background: rgba(82, 0, 255, 0.1);
    color: #a476ff;
    border: 1px solid rgba(82, 0, 255, 0.2);
}

.badge-green {
    background: rgba(0, 255, 157, 0.1);
    color: var(--success);
    border: 1px solid rgba(0, 255, 157, 0.2);
}

/* Components */
.card {
    background: var(--bg-card);
    border: var(--glass-border);
    border-radius: var(--border-radius);
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.card:hover {
    transform: translateY(-5px);
    background: var(--bg-card-hover);
    border-color: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 40px -10px rgba(0, 0, 0, 0.5);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-main);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before {
    opacity: 1;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 32px;
    border-radius: 8px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    font-family: 'Space Grotesk', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: var(--primary);
    color: white;
    box-shadow: 0 0 20px rgba(82, 0, 255, 0.3);
    border: 1px solid transparent;
}

.btn-primary:hover {
    background: #4000cc;
    box-shadow: 0 0 30px rgba(82, 0, 255, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
header {
    padding: 6rem 0;
    position: relative;
    text-align: center;
}

header::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(82, 0, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

header p {
    font-size: 1.25rem;
    color: var(--text-muted);
    max-width: 600px;
    margin: 0 auto 2rem;
}

/* Current Scale Section */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 4rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    color: #fff;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-weight: 500;
}

/* Options Comparison */
.options-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
}

@media (max-width: 768px) {
    .options-container {
        grid-template-columns: 1fr;
    }
}

.option-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.option-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
}

.role-list {
    list-style: none;
}

.role-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.75rem;
    border-radius: 6px;
    background: rgba(255, 255, 255, 0.02);
}

.role-name {
    font-weight: 600;
    color: #fff;
}

.role-count {
    background: rgba(255, 255, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    color: var(--accent);
}

/* Hiring Plan Phase */
.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 4rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.1);
}

.phase-card {
    margin-left: 60px;
    margin-bottom: 2rem;
    position: relative;
}

.phase-marker {
    position: absolute;
    left: -50px;
    top: 0;
    width: 20px;
    height: 20px;
    background: var(--bg-dark);
    border: 2px solid var(--primary);
    border-radius: 50%;
    z-index: 1;
    box-shadow: 0 0 10px var(--primary-glow);
}

/* Salary Table */
.salary-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1rem;
}

.salary-table th {
    text-align: left;
    padding: 1rem;
    color: var(--text-muted);
    font-weight: 500;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.salary-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Alerts / Quotes */
.alert-box {
    background: rgba(0, 240, 255, 0.05);
    border: 1px solid rgba(0, 240, 255, 0.2);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.alert-icon {
    font-size: 1.5rem;
    color: var(--accent);
}

/* Footer Section */
footer {
    text-align: center;
    padding: 4rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    margin-top: 4rem;
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.8s ease forwards;
    opacity: 0;
}

.delay-100 {
    animation-delay: 0.1s;
}

.delay-200 {
    animation-delay: 0.2s;
}

.delay-300 {
    animation-delay: 0.3s;
}

/* Operational Flywheel */
.flywheel-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    margin: 4rem 0;
    flex-wrap: wrap;
    gap: 2rem;
}

.flywheel-step {
    flex: 1;
    min-width: 200px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.flywheel-step:hover {
    transform: translateY(-5px);
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.1);
}

.flywheel-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.arrow-connector {
    flex: 0 0 50px;
    height: 2px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.1), var(--accent), rgba(255, 255, 255, 0.1));
    position: relative;
}

.arrow-connector::after {
    content: '►';
    position: absolute;
    right: -5px;
    top: -8px;
    color: var(--accent);
    font-size: 12px;
}

@media (max-width: 768px) {
    .flywheel-container {
        flex-direction: column;
    }

    .arrow-connector {
        transform: rotate(90deg);
        width: 2px;
        height: 30px;
        margin: 10px 0;
    }
}

/* Detailed Role Cards */
.role-grid-detailed {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.role-detail-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.role-detail-card:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.kpi-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.75rem;
    border-radius: 6px;
    margin-top: 1rem;
    border-left: 2px solid var(--success);
    font-size: 0.9rem;
}

.task-list-detailed {
    margin-top: 1rem;
    padding-left: 1.2rem;
    font-size: 0.9rem;
    color: var(--text-muted);
}

.task-list-detailed li {
    margin-bottom: 0.5rem;
}