:root {
    --lighter-blue: #2b4466;
    --blue: #1D3759;
    --darker-blue: #162840;
    --very-dark-blue: #080e16;
    --greener-blue: #183f3a;
    --green: #005e49;
    --red: #FF3131;

    --white: #ffffff;
    --secondary-white: #f0f0f0;
    --black: #1e1e1e;
    --secondary-black: #202020;

    --bg: #080e16;
    --card-bg: rgba(15, 25, 40, 0.7);
    --border: rgba(40, 65, 100, 0.28);
    --border-hover: rgba(40, 65, 100, 0.6);
    --text: #dde6f0;
    --muted: rgba(180, 200, 220, 0.45);

    --fs-display: clamp(3.5rem, 9vw, 8.5rem);
    --fs-sub: clamp(1rem, 2vw, 1.2rem);
    --fs-label: 0.72rem;
}

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'DM Sans', 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

html, body {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.dashboard-body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    position: relative;

    --mx: 50%;
    --my: 50%;
}

.dashboard-body::before {
    content: '';
    position: fixed;
    top: -10vh;
    right: -8vw;
    width: 90vw;
    height: 130vh;
    background: radial-gradient(ellipse at top right, rgba(55, 115, 210, 0.13) 0%, rgba(35, 80, 160, 0.07) 25%, rgba(20, 50, 110, 0.03) 50%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.dashboard-body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle 240px at var(--mx) var(--my), rgba(90, 150, 255, 0.11) 0%, rgba(70, 130, 230, 0.06) 35%, rgba(50, 100, 180, 0.025) 55%, transparent 75%);
}

nav {
    position: relative;
    z-index: 10;
    background: rgba(6, 11, 18, 0.88);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    padding: 0.7rem 2.5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--text);
    text-decoration: none;
}

.nav-buttons {
    position: sticky; 
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.nav-bar {position: fixed;
width: 100%;       }

.vertical {
    width: 1px;
    height: 18px;
    background: var(--border);
    margin: 0 0.25rem;
}

.btn-outline, .btn-filled, .nav-buttons a {
    position: relative;
    overflow: hidden;
    padding: 0.36rem 0.85rem;
    border-radius: 7px;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none;
    color: var(--muted);
    border: 1px solid transparent;
    transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
    display: inline-block;
}

.btn-filled, .nav-buttons a.btn-filled {
    border-color: var(--border);
    color: var(--text);
    background: rgba(20, 38, 65, 0.4);
}

.btn-outline, .nav-buttons a.btn-outline {
    border-color: var(--border);
    color: var(--text);
    background: transparent;
}

.btn-outline::before, .btn-filled::before, .nav-buttons a::before {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 55%; height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(130, 180, 255, 0.15) 50%, transparent 70%);
    transform: skewX(-18deg);
    transition: left 0s;
    pointer-events: none;
}

.btn-outline:hover, .btn-filled:hover, .nav-buttons a:hover {
    color: var(--text);
    background: rgba(28, 52, 90, 0.55);
    border-color: rgba(55, 95, 155, 0.5);
    box-shadow: 0 0 12px rgba(40, 90, 200, 0.12), inset 0 1px 0 rgba(100, 160, 255, 0.07);
    transform: translateY(-1px);
}

.btn-outline:hover::before, .btn-filled:hover::before, .nav-buttons a:hover::before {
    left: 140%;
    transition: left 0.42s ease;
}

.btn-outline:active, .btn-filled:active, .nav-buttons a:active {
    transform: translateY(0px) scale(0.97);
}

section {
    position: relative;
    z-index: 1;
    width: 100%;
}

#home {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 7rem 5% 6rem;
}

.hero-content {
    max-width: 640px;
    position: relative;
    z-index: 1;
}

.hero-content h1 {
    font-size: clamp(2.4rem, 5.5vw, 4rem);
    font-weight: 700;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin-bottom: 1.1rem;

    background: linear-gradient(115deg, #9fb7d3 0%, #dcecff 20%, #ffffff 35%, #ffffff 50%, #dcecff 65%, #9fb7d3 100%);

    background-size: 220% auto;
    background-position: 0% center;

    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;

    animation: fadeUp 0.8s 0.1s cubic-bezier(0.22, 0.61, 0.36, 1) forwards, shine 10s linear infinite;

    opacity: 0;
    transform: translateY(22px);
}

@keyframes shine {
    from {
        background-position: 200% center;
    }

    to {
        background-position: -200% center;
    }
}

.hero-content p {
    font-size: 1rem;
    color: var(--muted);
    margin-bottom: 2rem;
    line-height: 1.7;
    opacity: 0;
    transform: translateY(18px);
    animation: fadeUp 0.8s 0.28s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hero-btn {
    display: inline-block;
    padding: 0.65rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--text);
    background: rgba(25, 50, 88, 0.5);
    border: 1px solid rgba(45, 80, 130, 0.45);
    box-shadow: inset 0 1px 0 rgba(100, 160, 255, 0.08);
    position: relative;
    overflow: hidden;
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
    opacity: 0;
    transform: translateY(14px);
    animation: fadeUp 0.8s 0.44s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

.hero-btn::before {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 55%; height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(130, 180, 255, 0.18) 50%, transparent 70%);
    transform: skewX(-18deg);
    transition: left 0s;
    pointer-events: none;
}

.hero-btn:hover {
    background: rgba(35, 65, 108, 0.65);
    border-color: rgba(65, 110, 175, 0.65);
    box-shadow: 0 4px 22px rgba(30, 70, 160, 0.2), inset 0 1px 0 rgba(120, 175, 255, 0.12);
    transform: translateY(-2px);
}

.hero-btn:hover::before {
    left: 140%;
    transition: left 0.48s ease;
}

.hero-btn:active {
    transform: translateY(-1px) scale(0.98);
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#about {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 5%;
}

#contributors {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 6rem 5%;
}

.section-header, .about-header, .contributors-header {
    text-align: center;
    max-width: 540px;
    margin-bottom: 2.75rem;
}

.section-header h2, .about-header h1, .contributors-header h1 {
    font-size: 1.85rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 0.55rem;
    background: linear-gradient(128deg, #b8cfe8 0%, #d8e8f5 30%, #f0f6ff 44%, #ccddef 60%, #a8c0d8 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-header p, .about-header p, .contributors-header p {
    color: var(--muted);
    font-size: 0.93rem;
    line-height: 1.65;
}

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s cubic-bezier(0.22, 0.61, 0.36, 1), transform 0.65s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.1rem;
    width: 100%;
    max-width: 860px;
}

.feature-card {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 13px;
    padding: 1.6rem 1.5rem;
    text-align: center;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.feature-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 180px at var(--mx, -200px) var(--my, -200px), rgba(100, 160, 255, 0.1) 0%, rgba(70, 130, 230, 0.04) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(60, 100, 180, 0.28), transparent);
    pointer-events: none;
    z-index: 2;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px rgba(10, 20, 40, 0.5);
    transform: translateY(-3px);
}

.feature-card h3 {
    font-size: 0.97rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text);
    position: relative;
    z-index: 3;
}

.feature-card p {
    font-size: 0.86rem;
    color: var(--muted);
    line-height: 1.65;
    position: relative;
    z-index: 3;
}

.contributors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 1.1rem;
    width: 100%;
    max-width: 1000px;
}

.contributor-card {
    position: relative;
    overflow: hidden;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 13px;
    padding: 1.5rem 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.5rem;
    border: 1px solid var(--border);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
    will-change: transform;
}

.contributor-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 180px at var(--mx, -200px) var(--my, -200px), rgba(100, 160, 255, 0.1) 0%, rgba(70, 130, 230, 0.04) 40%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
}

.contributor-card::after {
    content: '';
    position: absolute;
    top: 0; left: 15%; right: 15%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(60, 100, 180, 0.25), transparent);
    pointer-events: none;
    z-index: 2;
}

.contributor-card:hover::before {
    opacity: 1;
}

.contributor-card:hover {
    border-color: var(--border-hover);
    box-shadow: 0 8px 32px rgba(10, 20, 40, 0.5);
    transform: translateY(-3px);
}

.contributor-avatar {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
    border: 1px solid var(--border);
    transition: border-color 0.3s ease;
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--card-bg);
}

.contributor-avatar img {
    width: 68px;
    height: 68px;
    border-radius: 50%;
    object-fit: cover;
}

.contributor-card:hover .contributor-avatar {
    border-color: var(--border-hover);
}

.contributor-card h3 {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text);
    margin: 0;
    position: relative;
    z-index: 3;
}

.contributor-card .role {
    font-size: 0.78rem;
    color: var(--muted);
    margin: 0;
    position: relative;
    z-index: 3;
}

.contributor-card p {
    font-size: 0.86rem;
    color: var(--muted);
    margin: 0;
    line-height: 1.55;
    position: relative;
    z-index: 3;
}

.contributor-links {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 0.25rem;
    position: relative;
    z-index: 3;
}

.contributor-links a {
    position: relative;
    overflow: hidden;
    font-size: 0.75rem;
    text-decoration: none;
    padding: 0.22rem 0.7rem;
    border-radius: 999px;
    border: 1px solid var(--border);
    color: var(--muted);
    transition: color 0.2s, border-color 0.22s, box-shadow 0.22s, transform 0.18s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.contributor-links a::before {
    content: '';
    position: absolute;
    top: 0; left: -80%;
    width: 55%; height: 100%;
    background: linear-gradient(105deg, transparent 30%, rgba(130, 180, 255, 0.18) 50%, transparent 70%);
    transform: skewX(-18deg);
    transition: left 0s;
    pointer-events: none;
}

.contributor-links a:hover {
    color: var(--text);
    border-color: rgba(55, 95, 155, 0.55);
    box-shadow: 0 0 10px rgba(40, 90, 200, 0.1);
    transform: translateY(-1px);
}

.contributor-links a:hover::before {
    left: 140%;
    transition: left 0.38s ease;
}

.contributor-links a:active {
    transform: scale(0.96);
}

.contributors-text {
    margin-top: 1.75rem;
    font-size: 0.85rem;
    color: var(--muted);
    text-align: center;
}

footer {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 1.1rem;
    font-size: 0.78rem;
    color: rgba(180, 200, 220, 0.25);
    background: rgba(5, 9, 14, 0.95);
    border-top: 1px solid var(--border);
}

.about-main {
    flex: 1;
    padding: 5rem 5%;
    max-width: 1000px;
    margin: 0 auto;
}

.back-link {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    display: flex;
    justify-content: center;
    opacity: 0.7;
    transition: opacity 0.2s;
}

.back-link:hover {
    opacity: 1;
}