﻿:root {
    --accent-cyan: #00ffff;
    --accent-magenta: #ff00ff;
    --text-color: #e0d8f5;
    --text-color-dark: #a094bd;
    --glass-bg: rgba(42, 15, 74, 0.25);
    --glass-border: rgba(255, 255, 255, 0.1);
    --bg-dark: #1a0a2e;
}
body, html {
    margin: 0; padding: 0; border: 0;
}
body {
    background: var(--bg-dark);
    color: var(--text-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.65;
}
.align-center { text-align: center; }
h1, h2, h3 { font-family: 'Signika', sans-serif; font-weight: 700; color: #ffffff; }
a { text-decoration: none; color: var(--accent-cyan); }
#header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 1em 2em; position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    background: rgba(26, 10, 46, 0.8); backdrop-filter: blur(10px);
}
#header h1 a { font-size: 1.5em; color: white; }
.btn-login {
    color: white !important;
    border: 2px solid var(--glass-border);
    padding: 0.5em 1.25em;
    border-radius: 8px;
    font-weight: 600;
    transition: all 0.3s ease;
}
.btn-login:hover {
    background-color: var(--accent-cyan);
    border-color: var(--accent-cyan);
    color: var(--bg-dark) !important;
}
#banner {
    display: flex; align-items: center; justify-content: center;
    text-align: center; height: 100vh;
    padding: 2em;
    position: relative;
    background-image: url(../../assets/images/banner.jpg);
    background-size: cover; background-position: center;
}
#banner::before {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(rgba(26, 10, 46, 0.6), rgba(26, 10, 46, 0.9));
    z-index: 1;
}
#banner .inner { position: relative; z-index: 2; }
#banner h1 { font-size: 3.5rem; }
#banner p { font-size: 1.25rem; color: var(--text-color); max-width: 650px; margin: 0 auto; }
.button.big.alt.scrolly {
    color: white; border: 2px solid white; padding: 0.75em 1.5em;
    border-radius: 8px; margin-top: 1.5em; display: inline-block; font-weight: 600;
    transition: all 0.3s ease;
}
.button.big.alt.scrolly:hover {
    background: white; color: var(--bg-dark);
}

@keyframes animated-flow {
  0% {
    background-position: 0 0, 0 0, 0 0;
  }
  100% {
    background-position: 500px 0, -500px 0, 0 0;
  }
}

#main { 
    position: relative; 
    overflow: hidden; 
    background: #110421;
}
#main::before {
    content: ''; 
    position: absolute; 
    top: 0; left: 0; right: 0; bottom: 0;

    background-size: 150px 150px, 130px 130px, 250px 250px;
    background-repeat: repeat, repeat, repeat;
    
    z-index: 0;
    opacity: 0.15;

    animation: animated-flow 10s linear infinite;
}

.wrapper { position: relative; z-index: 1; padding: 4em 0; }
.wrapper .inner { max-width: 1100px; margin: 0 auto; padding: 0 2em; }
.section-title { text-align: center; font-size: 2.5rem; margin-bottom: 50px; color: #ffffff; }
.features, .protocols { padding-top: 2em; }
.glass-card {
    background: var(--glass-bg); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border-radius: 15px; border: 1px solid var(--glass-border);
    padding: 25px; box-shadow: 0 8px 32px 0 rgba(12, 0, 31, 0.37);
}
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.feature-card { transition: all 0.6s ease-out; }
.feature-card.hidden { opacity: 0; transform: perspective(1000px) rotateY(-90deg); transform-origin: left center; }
.feature-card.visible { opacity: 1; transform: perspective(1000px) rotateY(0deg); }
.feature-card:nth-child(2) { transition-delay: 0.2s; }
.feature-card:nth-child(3) { transition-delay: 0.4s; }
.feature-card h3 { margin-top: 20px; margin-bottom: 10px; font-size: 1.5rem; }
.feature-card p { color: var(--text-color-dark); }
.icon-placeholder { width: 50px; height: 50px; border-radius: 50%; box-shadow: 0 0 20px; }
.icon-placeholder.magenta { background-color: var(--accent-magenta); }
.icon-placeholder.cyan { background-color: var(--accent-cyan); }
.protocols-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; }
.protocol-card { text-align: center; transition: transform 0.3s ease; padding: 15px; }
.protocol-card:hover { transform: scale(1.05); }
.protocol-card img { height: 50px; max-width: 100%; object-fit: contain; filter: grayscale(100%) brightness(1.5); transition: all 0.4s ease; }
.protocol-card:hover img { filter: grayscale(0%) brightness(1); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.member-card {
    background: rgba(255, 255, 255, 0.075); border-radius: 12px; padding: 2em; text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: transform 0.1s ease-out;
    transform-style: preserve-3d;
}
.member-photo, .member-info { transform: translateZ(35px); }
.member-photo { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255, 255, 255, 0.15); margin-bottom: 1.5em; }
.member-info h3 { margin-bottom: 0.25em; font-size: 1.5em; }
.member-role { color: #c0c2c4; font-style: italic; margin-bottom: 1.5em; }
.social-links { list-style: none; padding: 0; }
.social-links .icon { display: inline-block; font-size: 1.75em; color: #c0c2c4; margin: 0 0.5em; transition: all 0.2s ease-in-out; }
.social-links .icon:hover { color: var(--accent-cyan); transform: scale(1.1); }
.social-links .label { display: none; }
.hidden { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease-out, transform 0.6s ease-out; }
.visible { opacity: 1; transform: translateY(0); }
.extension-section {
    padding: 4em 0;
}
.extension-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4em;
    align-items: center;
    margin-top: 2em;
}
.extension-text {
    padding-right: 2em;
}
.extension-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1.5em;
    color: #ffffff;
    text-align: left;
}
.extension-text p {
    color: var(--text-color);
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1.5em;
}
.extension-features {
    list-style: none;
    padding: 0;
    margin: 2em 0;
}
.extension-features li {
    color: var(--text-color);
    font-size: 1.1rem;
    margin-bottom: 0.8em;
    display: flex;
    align-items: center;
    gap: 0.8em;
}
.extension-features i {
    color: var(--accent-cyan);
    font-size: 1rem;
}
.extension-card {
    max-width: 400px;
    text-align: center;
    transition: all 0.3s ease;
    justify-self: center;
}
.extension-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px 0 rgba(12, 0, 31, 0.5);
}
.extension-icon {
    margin-bottom: 1.5em;
}
.extension-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1em;
    color: #ffffff;
}
.extension-card p {
    color: var(--text-color-dark);
    margin-bottom: 2em;
    font-size: 1.1rem;
    line-height: 1.6;
}
.extension-btn {
    background: linear-gradient(45deg, var(--accent-cyan), var(--accent-magenta));
    color: white !important;
    border: none;
    padding: 1em 2em;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5em;
}
.extension-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 255, 255, 0.3);
    background: linear-gradient(45deg, #00e6e6, #e600e6);
}
.extension-btn i {
    font-size: 1.2rem;
}
@media (max-width: 968px) {
    .extension-content {
        grid-template-columns: 1fr;
        gap: 3em;
        text-align: center;
    }
    .extension-text {
        padding-right: 0;
    }
    .extension-text h2 {
        text-align: center;
        font-size: 2.2rem;
    }
    .extension-features {
        justify-content: center;
        max-width: 400px;
        margin: 2em auto;
    }
}
@media (max-width: 768px) {
    .extension-card {
        max-width: 100%;
        margin: 0 1em;
    }
    .extension-btn {
        padding: 0.8em 1.5em;
        font-size: 1rem;
    }
    .extension-card h3 {
        font-size: 1.5rem;
    }
    .extension-card p {
        font-size: 1rem;
    }
    .extension-text h2 {
        font-size: 2rem;
    }
    .extension-text p {
        font-size: 1.1rem;
    }
}
#footer { text-align: center; padding: 4em 2em 2em 2em; }
#footer .copyright .icons { margin-top: 2em; padding: 0; list-style: none; }
#footer .copyright .icons li { display: inline-block; margin: 0 0.5em; }
#footer .copyright .icons .icon { font-size: 1.5em; color: var(--text-color-dark); transition: color 0.3s ease; }
#footer .copyright .icons .icon:hover { color: var(--accent-cyan); }
.team-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}