@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@300;400;500;600;700;800;900&display=swap');

.hero-content-custom {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 70vh;
}

.hero-logo-img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    margin-bottom: 24px;
    border-radius: 0;
    box-shadow: none;
    background: none;
    animation: none;
}

.hero-title {
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 900;
    margin-bottom: 10px;
    letter-spacing: -0.04em;
    line-height: 1.05;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 18px;
    letter-spacing: 0.01em;
    text-shadow: 0 2px 16px rgba(139, 92, 246, 0.20);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo-img {
    width: 50px;
    height: 50px;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(139, 92, 246, 0.5));
    transition: transform 0.3s ease;
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(-5deg);
}

.logo h1 {
    font-size: 1.5rem;
    margin: 0;
    line-height: 1;
    color: #ffffff;
    /* Letra em branco */
}

.subtitle {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin: 5px 0 0 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-desc {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 36px;
    font-weight: 400;
    line-height: 1.7;
}

.hero-bg-animated {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: radial-gradient(circle at 60% 40%, rgba(139, 92, 246, 0.10) 0%, transparent 70%),
        radial-gradient(circle at 30% 70%, rgba(167, 139, 250, 0.08) 0%, transparent 70%);
    animation: heroBgMove 8s ease-in-out infinite alternate;
}

@keyframes heroBgMove {
    0% {
        background-position: 60% 40%, 30% 70%;
    }

    100% {
        background-position: 65% 45%, 35% 75%;
    }
}

/* Tutoriais Section */
.tutorials-section {
    padding: 120px 0;
    background: radial-gradient(circle at 50% 50%, rgba(139, 92, 246, 0.04) 0%, transparent 70%);
}

.tutorials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.tutorial-card {
    background: rgba(13, 13, 15, 0.7);
    border: 1px solid rgba(125, 66, 244, 0.08);
    border-radius: 18px;
    padding: 28px 20px 20px 20px;
    box-shadow: 0 8px 32px rgba(125, 66, 244, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    min-height: 340px;
}

.tutorial-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.tutorial-label {
    margin-top: 12px;
    font-size: 13px;
    color: var(--text-tertiary);
    background: var(--glass-bg);
    border-radius: 8px;
    padding: 4px 14px;
    font-weight: 600;
}

.tutorial-off {
    margin-top: 18px;
    color: #facc15;
    font-weight: 700;
    font-size: 15px;
    background: rgba(234, 179, 8, 0.08);
    border-radius: 8px;
    padding: 10px 12px;
    border: 1px solid #facc15;
}

:root {
    --bg-primary: #000000;
    --bg-secondary: #050505;
    --bg-tertiary: #08080a;
    --bg-elevated: #0c0c0e;
    --primary: #8B5CF6;
    --primary-dim: #7C3AED;
    --accent: #6D28D9;
    --gradient-pd: linear-gradient(135deg, #A78BFA, #8B5CF6, #6D28D9, #4C1D95);
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-tertiary: #71717a;
    --border-primary: rgba(125, 66, 244, 0.1);
    --border-hover: rgba(125, 66, 244, 0.3);
    --glass-bg: rgba(13, 13, 15, 0.75);
    --glass-border: rgba(255, 255, 255, 0.06);
    --glass-hover: rgba(125, 66, 244, 0.1);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 24px 64px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 25px rgba(125, 66, 244, 0.2);
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --font-family: 'Urbanist', -apple-system, sans-serif;
    --font-mono: 'JetBrains Mono', monospace;
    --radius-md: 12px;
    --radius-lg: 18px;
    --radius-xl: 24px;
    --transition-fast: 150ms cubic-bezier(0.23, 1, 0.32, 1);
    --transition-base: 400ms cubic-bezier(0.23, 1, 0.32, 1);
    --transition-slow: 600ms cubic-bezier(0.23, 1, 0.32, 1)
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

body {
    width: 100%;
    min-height: 100vh;
    --gap: 5em;
    --line: 1px;
    --grid-color: rgba(125, 66, 244, 0.12);
    background-color: #0a0a0c;
    background-image: linear-gradient(-90deg, transparent calc(var(--gap) - var(--line)), var(--grid-color) calc(var(--gap) - var(--line) + 1px), var(--grid-color) var(--gap)), linear-gradient(0deg, transparent calc(var(--gap) - var(--line)), var(--grid-color) calc(var(--gap) - var(--line) + 1px), var(--grid-color) var(--gap));
    background-size: var(--gap) var(--gap);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.6;
    overflow-x: hidden;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
    position: relative;
    padding-top: 80px;
    background-attachment: fixed;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Platform Destroyer - EDU SP UI Components */
.badge-edu {
    font-size: 10px;
    padding: 4px 10px;
    border-radius: 6px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.badge-edu.done {
    background: rgba(34, 197, 94, 0.15);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-edu.pending {
    background: rgba(245, 158, 11, 0.15);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.badge-edu.locked {
    background: rgba(255, 255, 255, 0.05);
    color: #71717a;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.spinner-edu {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(139, 92, 246, 0.1);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spinEdu .6s linear infinite;
}

@keyframes spinEdu {
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Activity List */
#activities-list::-webkit-scrollbar {
    width: 6px;
}

#activities-list::-webkit-scrollbar-track {
    background: transparent;
}

#activities-list::-webkit-scrollbar-thumb {
    background: rgba(139, 92, 246, 0.2);
    border-radius: 20px;
}

#activities-list::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Login Experience */
.section {
    padding: 100px 0 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.section h2 {
    font-size: clamp(2rem, 8vw, 3.5rem);
    font-weight: 900;
    text-align: center;
    background: var(--gradient-pd);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: -1px;
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.4));
}

.login-container {
    background: var(--glass-bg);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: var(--shadow-xl), var(--shadow-glow);
    animation: fadeInUp 0.8s ease-out;
    position: relative;
    overflow: hidden;
}

.login-container::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.credits {
    margin-top: 20px;
    font-size: 0.9rem;
    color: var(--text-tertiary);
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: lowercase;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.credits:hover {
    opacity: 1;
    color: var(--primary);
}

.login-container h2 {
    display: none;
    /* Agora o título está fora */
}

.input-group {
    margin-bottom: 24px;
}

.input-group label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 8px;
    margin-left: 4px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 14px 45px 14px 16px;
    /* Aumentado padding direito */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-family);
    font-size: 1rem;
    transition: all var(--transition-base);
}

.input-wrapper input:focus {
    outline: none;
    border-color: var(--primary);
    background: rgba(139, 92, 246, 0.05);
    box-shadow: 0 0 15px rgba(139, 92, 246, 0.1);
}

.toggle-btn,
.clear-btn {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    color: var(--text-tertiary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    padding: 0;
    width: 24px;
    height: 24px;
}

.toggle-btn:active {
    transform: scale(0.85);
    opacity: 0.7;
}

.toggle-btn svg,
.clear-btn svg {
    pointer-events: none;
}

.clear-btn {
    right: 36px;
}

#clearStudentId {
    right: 12px;
}

.toggle-btn:hover,
.clear-btn:hover {
    color: var(--primary);
}

.button-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 30px;
}

.button-group .btn {
    width: 100%;
    justify-content: center;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(15px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s ease;
}

.modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-content {
    background: var(--bg-elevated);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 30px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-content.large {
    max-width: 800px;
}

.modal:not(.hidden) .modal-content {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.modal-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #ef4444;
}

/* Activity Items (Cards) */
.activity-items {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin: 20px 0;
}

#startSelected {
    background: var(--gradient-pd);
    border: none;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

#startSelected:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

.activity-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    margin-bottom: 10px;
}

.activity-item:hover {
    background: rgba(139, 92, 246, 0.08);
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.activity-item input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
}

.activity-info {
    flex: 1;
}

.activity-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Study Settings */
.time-settings {
    background: rgba(255, 255, 255, 0.02);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 25px 0;
}

.time-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 15px;
}

.time-settings h3 {
    font-size: 1rem;
    margin-bottom: 15px;
    color: var(--text-secondary);
}

.time-inputs input {
    width: 100%;
    padding: 10px;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid var(--glass-border);
    border-radius: 6px;
    color: white;
}

/* Score Settings */
.score-dropdown select {
    width: 100%;
    padding: 12px;
    background: var(--bg-secondary);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
    color: white;
    cursor: pointer;
}

/* Progress Overlay */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 3000;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.progress-content {
    text-align: center;
    max-width: 500px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 4px solid rgba(139, 92, 246, 0.1);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 30px auto;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.footer {
    padding: 60px 20px;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--glass-border);
    color: var(--text-tertiary);
    font-size: 0.9rem;
    line-height: 2;
}

.footer a {
    color: var(--primary);
    font-weight: 600;
}

.footer a:hover {
    text-decoration: underline;
}

/* Utility */
.hidden {
    display: none !important;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    .login-container {
        padding: 30px 20px;
    }

    .time-inputs {
        grid-template-columns: 1fr;
    }
}

body>*:not(header) {
    position: relative;
    z-index: 1
}

body::before {
    content: '';
    position: fixed;
    top: -20%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(125, 66, 244, 0.15) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    will-change: transform
}

body::after {
    content: '';
    position: fixed;
    bottom: -20%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(74, 47, 207, 0.12) 0%, transparent 70%);
    z-index: -2;
    pointer-events: none;
    will-change: transform
}

@keyframes floatOrb1 {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(15vw, 20vh) scale(1.1)
    }

    66% {
        transform: translate(5vw, -10vh) scale(0.9)
    }
}

@keyframes floatOrb2 {

    0%,
    100% {
        transform: translate(0, 0) scale(1)
    }

    33% {
        transform: translate(-10vw, -15vh) scale(1.15)
    }

    66% {
        transform: translate(-5vw, 10vh) scale(0.85)
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-base)
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 1
}

.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0a0c;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease
}

.loading-content {
    text-align: center
}

.loading-content svg {
    width: 48px;
    height: 48px;
    transform-origin: center;
    animation: rotate 1s linear infinite
}

.loading-content circle {
    fill: none;
    stroke: var(--primary);
    stroke-width: 3;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite
}

@keyframes rotate {
    100% {
        transform: rotate(360deg)
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0
    }

    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px
    }

    100% {
        stroke-dashoffset: -125px
    }
}

.loading p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-top: 16px;
    font-weight: 500;
    animation: pulse 2s ease-in-out infinite
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1
    }

    50% {
        opacity: 0.5
    }
}

.header {
    background: rgba(10, 10, 18, 0.95);
    padding: 18px 40px;
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-bottom: 1px solid rgba(125, 66, 244, 0.08);
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    box-sizing: border-box;
}

header.scrolled {
    background: rgba(10, 10, 18, 0.92);
    border-bottom: 1px solid rgba(125, 66, 244, 0.15) !important;
    box-shadow: 0 10px 40px rgba(125, 66, 244, 0.08);
    padding: 14px 0
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%
}

.logo {
    font-size: 20px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--text-primary);
    transition: all 0.3s ease;
    letter-spacing: -0.02em;
    text-decoration: none;
    z-index: 1001
}

.logo:hover {
    opacity: 0.85;
    transform: translateX(3px)
}

.logo-img {
    height: 38px;
    width: auto;
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 12px rgba(125, 66, 244, 0.4))
}

.logo:hover .logo-img {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 0 20px rgba(125, 66, 244, 0.6))
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 4px;
    align-items: center;
    margin: 0;
    padding: 0
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 15px;
    padding: 10px 18px;
    border-radius: 8px;
    position: relative;
    transition: all 0.3s ease;
    cursor: pointer;
    letter-spacing: -0.01em;
    text-decoration: none;
    display: inline-block
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.05)
}

.nav-link.active {
    color: var(--primary);
    background: rgba(91, 63, 214, 0.1)
}

.nav-link span {
    position: relative;
    z-index: 1
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    z-index: 10000;
    position: relative;
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    justify-content: center;
    pointer-events: auto;
    align-items: center
}

.hamburger:hover {
    background: var(--glass-bg)
}

.hamburger span {
    width: 22px;
    height: 2px;
    background: var(--primary);
    border-radius: var(--radius-full);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: block
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px)
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px)
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px)
}

.hero {
    padding: 180px 0 120px;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 0
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(125, 66, 244, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

@keyframes heroGlow {

    0%,
    100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1)
    }

    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.2)
    }
}

.hero-content {
    flex: 1;
    max-width: 700px;
    z-index: 10;
    animation: fadeInUp 0.8s ease-out
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(125, 66, 244, 0.08);
    border: 1px solid rgba(125, 66, 244, 0.2);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 32px;
    backdrop-filter: blur(10px);
    letter-spacing: -0.01em;
    animation: slideInLeft 0.8s ease-out 0.2s both;
    position: relative;
    box-shadow: 0 0 15px rgba(125, 66, 244, 0.1)
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px)
    }

    to {
        opacity: 1;
        transform: translateX(0)
    }
}

.hero h1 {
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 800;
    margin-bottom: 24px;
    line-height: 1.1;
    letter-spacing: -0.04em;
    animation: fadeInUp 0.8s ease-out 0.3s both
}

.gradient-text {
    background: linear-gradient(135deg, #C4B5FD, #A78BFA, #8B5CF6, #7C3AED, #6D28D9, #8B5CF6, #C4B5FD);
    background-size: 400% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmerText 5s ease-in-out infinite;
    filter: drop-shadow(0 0 40px rgba(139, 92, 246, 0.5)) drop-shadow(0 0 80px rgba(139, 92, 246, 0.15));
    position: relative
}

@keyframes shimmerText {

    0%,
    100% {
        background-position: 0% 50%
    }

    50% {
        background-position: 100% 50%
    }
}

.hero h2 {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    animation: fadeInUp 0.8s ease-out 0.4s both
}

.hero p {
    color: var(--text-secondary);
    font-size: 18px;
    line-height: 1.7;
    margin-bottom: 48px;
    max-width: 600px;
    font-weight: 400;
    letter-spacing: -0.01em;
    animation: fadeInUp 0.8s ease-out 0.5s both
}

.hero-stats {
    display: flex;
    gap: 48px;
    margin-bottom: 48px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both
}

.stat {
    text-align: left;
    position: relative
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, rgb(86, 3, 173), #a166ff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
    animation: countUp 1s ease-out;
    position: relative;
    filter: drop-shadow(0 0 15px rgba(125, 66, 244, 0.3))
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.8)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.stat-label {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em
}

.cta-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.7s both
}

.btn {
    padding: 14px 28px;
    border-radius: var(--radius-lg);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition-base);
    border: none;
    cursor: pointer;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    font-family: var(--font-family);
    text-decoration: none;
    letter-spacing: -0.01em
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease
}

.btn:hover::before {
    left: 100%
}

.btn-primary {
    background: var(--gradient-pd);
    color: #ffffff;
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.12)
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 12px 40px rgba(139, 92, 246, 0.5), 0 0 60px rgba(139, 92, 246, 0.15)
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    backdrop-filter: blur(10px)
}

.btn-secondary:hover {
    background: var(--glass-hover);
    border-color: var(--border-hover);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-md)
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px
}

.features {
    padding: 120px 0;
    position: relative
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease-out
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    text-transform: uppercase;
    letter-spacing: 0.05em
}

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 24px;
    color: var(--primary);
    letter-spacing: -0.03em;
    line-height: 1.1
}

.section-description {
    color: var(--text-secondary);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
    font-weight: 400;
    letter-spacing: -0.01em
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px
}

.feature-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 32px;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both
}

.feature-card:nth-child(1) {
    animation-delay: 0.1s
}

.feature-card:nth-child(2) {
    animation-delay: 0.2s
}

.feature-card:nth-child(3) {
    animation-delay: 0.3s
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-base)
}

.feature-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease
}

.feature-card:hover::after {
    width: 300px;
    height: 300px
}

.feature-card:hover {
    border-color: rgba(125, 66, 244, 0.4);
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(125, 66, 244, 0.1);
    background: rgba(125, 66, 244, 0.06)
}

.feature-card:hover::before {
    opacity: 1
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    font-size: 24px;
    color: var(--primary);
    transition: all var(--transition-base);
    position: relative;
    z-index: 1
}

.feature-card:hover .feature-icon {
    background: var(--glass-hover);
    border-color: var(--primary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(74, 144, 226, 0.15)
}

.feature-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1
}

.feature-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 15px;
    position: relative;
    z-index: 1
}

.staff-section {
    padding: 120px 0;
    position: relative;
    background: radial-gradient(circle at 50% 50%, rgba(74, 144, 226, 0.05) 0%, transparent 70%)
}

.staff-group {
    margin-bottom: 80px
}

.staff-group:last-child {
    margin-bottom: 0
}

.group-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 40px;
    letter-spacing: -0.02em;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px
}

.group-title::before,
.group-title::after {
    content: '';
    height: 1px;
    width: 60px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent)
}

.staff-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto
}

.staff-member {
    background: rgba(10, 10, 20, 0.6);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    width: 320px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    cursor: pointer
}

.staff-member:hover {
    border-color: rgba(125, 66, 244, 0.5);
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 24px 60px rgba(139, 92, 246, 0.2), 0 0 50px rgba(139, 92, 246, 0.1), inset 0 1px 0 rgba(139, 92, 246, 0.15);
    background: rgba(20, 15, 45, 0.8)
}

.staff-member::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.05) 0%, transparent 70%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease
}

.staff-member:hover::after {
    opacity: 1
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1)
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto
}

.modal-card {
    background: #0d0d0f;
    border: 1px solid var(--border-primary);
    border-radius: 24px;
    width: 90%;
    max-width: 500px;
    padding: 48px 40px;
    position: relative;
    transform: translateY(30px);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-align: center;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(91, 63, 214, 0.1)
}

.modal-overlay.active .modal-card {
    transform: translateY(0)
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    color: var(--text-secondary);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    z-index: 100
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    transform: rotate(90deg)
}

.modal-name {
    font-size: 32px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: -0.02em
}

.modal-role {
    font-size: 14px;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    margin-bottom: 24px
}

.modal-bio {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 16px;
    margin-bottom: 32px
}

.modal-footer {
    display: flex;
    justify-content: center
}

.modal-github-btn {
    background: #24292e;
    color: #fff;
    padding: 14px 28px;
    border-radius: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1)
}

.modal-github-btn:hover {
    background: #2f363d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4)
}

.modal-no-github {
    color: var(--text-tertiary);
    font-size: 14px;
    font-style: italic
}

.modal-avatar {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    position: relative;
    z-index: 1;
    flex-shrink: 0
}

.modal-avatar::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: var(--gradient-pd);
    border-radius: 50%;
    z-index: -1
}

.modal-avatar-img {
    width: 120px !important;
    height: 120px !important;
    min-width: 120px;
    min-height: 120px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 4px solid #0d0d0f;
    background: #1a1a1c;
    overflow: hidden;
    flex-shrink: 0;
    color: transparent
}

.staff-avatar {
    width: 100px;
    height: 100px;
    min-width: 100px;
    min-height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin: 0 auto 24px;
    border: 3px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.5));
    display: block;
    background: #1a1a1c;
    flex-shrink: 0
}

.staff-member:hover .staff-avatar {
    border-color: var(--primary);
    transform: scale(1.1) rotate(3deg);
    box-shadow: 0 0 25px rgba(91, 63, 214, 0.4)
}

.staff-name {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.01em
}

.staff-badge {
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 16px;
    border-radius: 100px;
    display: inline-block;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    text-transform: capitalize
}

.staff-member:hover .staff-badge {
    background: var(--primary);
    color: var(--bg-primary);
    border-color: var(--primary)
}

.search-section {
    padding: 60px 0;
    position: relative
}

.search-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    animation: fadeInUp 0.6s ease-out
}

.search-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    max-width: 600px;
    width: 100%
}

.search-icon {
    position: absolute;
    left: 20px;
    color: #666;
    font-size: 16px;
    pointer-events: none;
    z-index: 10
}

.search-input {
    font-family: var(--font-family);
    width: 100%;
    height: 56px;
    padding-left: 52px;
    padding-right: 20px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    background: #0d0d0f;
    outline: none;
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-size: 15px
}

.search-input:focus {
    border-color: var(--primary);
    background: #121215;
    box-shadow: 0 0 0 3px rgba(91, 63, 214, 0.1)
}

.group:focus-within .search-icon {
    color: var(--primary)
}

.apostilas-section {
    padding: 120px 0;
    position: relative
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 48px 0;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease-out
}

.filter-btn {
    padding: 12px 24px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-family);
    letter-spacing: -0.01em;
    position: relative;
    overflow: hidden
}

.filter-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(74, 144, 226, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease
}

.filter-btn:hover::before {
    width: 200px;
    height: 200px
}

.filter-btn:hover {
    border-color: var(--border-hover);
    background: var(--glass-hover);
    transform: translateY(-2px) scale(1.05)
}

.filter-btn.active {
    background: var(--primary);
    color: var(--bg-primary);
    border-color: var(--primary);
    box-shadow: var(--shadow-sm);
    position: relative;
    z-index: 1
}

.filter-btn.active:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md)
}

.series-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 32px
}

.serie-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-xl);
    padding: 24px;
    transition: all var(--transition-base);
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease-out both
}

.serie-card:nth-child(1) {
    animation-delay: 0.1s
}

.serie-card:nth-child(2) {
    animation-delay: 0.2s
}

.serie-card:nth-child(3) {
    animation-delay: 0.3s
}

.serie-card:nth-child(4) {
    animation-delay: 0.4s
}

.serie-card:nth-child(5) {
    animation-delay: 0.5s
}

.serie-card:nth-child(6) {
    animation-delay: 0.6s
}

.serie-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity var(--transition-base)
}

.serie-card::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.05), transparent);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease
}

.serie-card:hover::after {
    width: 400px;
    height: 400px
}

.serie-card:hover {
    border-color: var(--border-hover);
    transform: translateY(-6px) scale(1.02);
    box-shadow: var(--shadow-lg);
    background: var(--glass-hover)
}

.serie-card:hover::before {
    opacity: 1
}

.serie-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-primary);
    position: relative;
    z-index: 1
}

.serie-icon {
    width: 48px;
    height: 48px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: var(--primary);
    transition: all var(--transition-base)
}

.serie-card:hover .serie-icon {
    background: var(--glass-hover);
    border-color: var(--primary);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 15px rgba(74, 144, 226, 0.15)
}

.serie-info {
    flex: 1
}

.serie-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 4px 0;
    letter-spacing: -0.02em
}

.serie-count {
    font-size: 13px;
    color: var(--text-tertiary);
    font-weight: 500
}

.serie-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    z-index: 1
}

.volume-section {
    display: flex;
    flex-direction: column;
    gap: 12px
}

.volume-divider {
    color: var(--primary);
    font-weight: 600;
    font-size: 13px;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-primary);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em
}

.material-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    text-decoration: none;
    transition: all var(--transition-base);
    cursor: pointer;
    position: relative;
    overflow: hidden
}

.material-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--primary);
    transform: scaleY(0);
    transition: transform var(--transition-base)
}

.material-item:hover::before {
    transform: scaleY(1)
}

.material-item:hover {
    background: var(--glass-hover);
    border-color: var(--border-hover);
    transform: translateX(6px);
    box-shadow: var(--shadow-sm)
}

.material-item i:first-child {
    font-size: 16px;
    color: var(--primary);
    width: 20px;
    text-align: center;
    transition: transform var(--transition-base)
}

.material-item:hover i:first-child {
    transform: scale(1.2) rotate(10deg)
}

.material-name {
    flex: 1;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5
}

.material-link-icon {
    font-size: 12px;
    color: var(--text-tertiary);
    transition: all var(--transition-base)
}

.material-item:hover .material-link-icon {
    color: var(--primary);
    transform: translateX(4px)
}

.scripts-section,
.apostilas-section {
    padding: 60px 0 120px;
    position: relative;
    background: radial-gradient(circle at 50% 0%, rgba(91, 63, 214, 0.05) 0%, transparent 60%)
}

.scripts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-top: 30px
}

@media (max-width:1024px) {
    .scripts-grid {
        grid-template-columns: repeat(2, 1fr)
    }
}

@media (max-width:768px) {
    .scripts-grid {
        grid-template-columns: 1fr
    }
}

.script-card {
    background: rgba(13, 13, 15, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 32px;
    position: relative;
    transition: var(--transition-base);
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4)
}

.script-card::before {
    display: none
}

.script-card:hover {
    transform: translateY(-8px);
    background: rgba(18, 18, 30, 0.85);
    border-color: rgba(125, 66, 244, 0.35);
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.5), 0 0 50px rgba(139, 92, 246, 0.12), inset 0 1px 0 rgba(139, 92, 246, 0.15)
}

.script-card>* {
    position: relative;
    z-index: 2
}

.script-title {
    font-size: 20px;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    gap: 12px
}

.script-card:hover::before {
    opacity: 1
}

.script-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
    gap: 16px
}

.script-title {
    font-size: 20px;
    font-weight: 800;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 12px;
    letter-spacing: -0.01em
}

.script-title i {
    color: #ffffff;
    font-size: 18px;
    opacity: 0.8
}

.script-card:hover .script-title i {
    transform: scale(1.1) rotate(5deg);
    color: var(--primary);
    opacity: 1
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #888;
    font-size: 13px;
    margin-bottom: 6px
}

.feature-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 8px
}

.page-header {
    padding: 160px 0 80px;
    background: radial-gradient(ellipse at 30% 0%, rgba(125, 66, 244, 0.15) 0%, transparent 50%), radial-gradient(ellipse at 70% 100%, rgba(74, 47, 207, 0.12) 0%, transparent 50%);
    position: relative;
    overflow: hidden;
    margin-bottom: 0
}

.page-header::before {
    display: none
}

.page-header-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    animation: fadeInUp 0.8s ease-out;
    display: flex;
    flex-direction: column;
    align-items: center
}

.page-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(125, 66, 244, 0.1);
    border: 1px solid rgba(125, 66, 244, 0.25);
    color: var(--primary);
    padding: 8px 16px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(125, 66, 244, 0.15);
    animation: fadeInUp 0.6s ease-out 0.1s both
}

.page-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 800;
    background: linear-gradient(135deg, #f8fafc, #C4B5FD, #8B5CF6, #6D28D9);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 5s ease-in-out infinite;
    margin-bottom: 16px;
    letter-spacing: -0.03em;
    line-height: 1.1;
    filter: drop-shadow(0 0 25px rgba(125, 66, 244, 0.3))
}

.page-description {
    font-size: 18px;
    color: var(--text-secondary);
    line-height: 1.6
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #a0a0a0;
    font-size: 13px;
    margin-bottom: 8px
}

.feature-item i {
    color: #ffffff;
    font-size: 10px;
    opacity: 0.8
}

.script-card:hover .feature-item i {
    color: var(--primary);
    opacity: 1
}

.script-card:hover .feature-item i {
    transform: scale(1.5) rotate(180deg)
}

.script-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 20px
}

.script-developer {
    font-size: 12px;
    color: #888
}

.script-button,
.copy-btn {
    background: #ffffff !important;
    color: #000000 !important;
    padding: 10px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer
}

.script-button:hover,
.copy-btn:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.15)
}

.script-button::after {
    content: '\f35d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900
}

.bookmark-action-block {
    margin: 25px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.02)
}

.bookmark-info {
    font-size: 13px;
    color: var(--text-tertiary);
    text-align: center;
    line-height: 1.5;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    max-width: 280px
}

.bookmark-info i {
    margin-top: 3px;
    color: var(--primary)
}

.copy-btn {
    width: 100%;
    justify-content: center;
    background: #ffffff !important;
    color: #000000 !important;
    font-weight: 800 !important;
    padding: 12px !important;
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1)
}

.copy-btn:hover {
    background: #f0f0f0 !important;
    transform: translateY(-2px)
}

.script-button:hover {
    transform: translateY(-3px) scale(1.05);
    background: #f0f0f0;
    box-shadow: 0 8px 20px rgba(255, 255, 255, 0.2)
}

.script-button::after {
    content: '\f35d';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    font-size: 12px
}

.script-button:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: var(--shadow-md)
}

.script-button i {
    transition: transform var(--transition-base)
}

.script-button:hover i {
    transform: translateX(3px)
}

.back-to-top {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 48px;
    height: 48px;
    background: var(--gradient-pd);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    z-index: 99;
    box-shadow: 0 4px 20px rgba(125, 66, 244, 0.4);
    font-size: 18px;
    animation: bounce 2s infinite
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0)
    }

    50% {
        transform: translateY(-5px)
    }
}

.back-to-top.show {
    opacity: 1;
    visibility: visible
}

.back-to-top:hover {
    transform: translateY(-6px) scale(1.1);
    box-shadow: var(--shadow-lg)
}

.serie-card.hidden,
.categoria-apostilas.hidden,
.apostila-card.hidden,
.script-card.hidden {
    display: none !important;
    animation: fadeOut 0.3s ease-out
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1)
    }

    to {
        opacity: 0;
        transform: scale(0.9)
    }
}

.serie-card.visible,
.categoria-apostilas.visible,
.apostila-card.visible,
.script-card.visible {
    display: block;
    animation: fadeIn 0.4s ease-out
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.95)
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1)
    }
}

.apostila-card.visible {
    display: flex
}

.no-results {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-secondary);
    font-size: 16px;
    grid-column: 1 / -1;
    animation: fadeInUp 0.6s ease-out
}

.no-results i {
    font-size: 48px;
    margin-bottom: 20px;
    color: var(--primary);
    display: block
}

.no-results h3 {
    font-size: 24px;
    margin-bottom: 12px;
    color: var(--primary);
    font-weight: 700;
    letter-spacing: -0.02em
}

.no-results p {
    font-size: 15px;
    color: var(--text-tertiary)
}

@media (max-width:968px) {
    .hamburger {
        display: flex !important
    }

    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(10, 10, 26, 0.98);
        backdrop-filter: blur(40px) saturate(180%);
        -webkit-backdrop-filter: blur(40px) saturate(180%);
        flex-direction: column;
        padding: 100px 24px 40px;
        transform: translateX(100%);
        opacity: 0;
        visibility: hidden;
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        border: none;
        gap: 12px;
        box-shadow: none;
        z-index: 9999;
        overflow-y: auto;
        justify-content: flex-start;
        align-items: stretch;
        pointer-events: auto
    }

    .nav-links.active {
        transform: translateX(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto
    }

    .nav-links li {
        width: 100%;
        list-style: none
    }

    .nav-link {
        width: 100%;
        display: block;
        text-align: left;
        padding: 16px 20px;
        border-radius: 12px;
        font-size: 16px;
        background: rgba(74, 144, 226, 0.05);
        border: 1px solid rgba(74, 144, 226, 0.1);
        position: relative;
        z-index: 1;
        pointer-events: auto;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
        user-select: none
    }

    .nav-link::after {
        display: none
    }

    .nav-link span {
        pointer-events: none;
        position: relative;
        z-index: 1
    }

    .nav-link:hover,
    .nav-link.active,
    .nav-link:active {
        background: rgba(74, 144, 226, 0.15);
        border-color: rgba(74, 144, 226, 0.25);
        transform: translateX(4px);
        pointer-events: auto
    }

    .series-grid {
        grid-template-columns: 1fr;
        gap: 20px
    }

    .staff-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr))
    }

    .filter-buttons {
        flex-direction: column;
        gap: 12px
    }

    .filter-btn {
        width: 100%;
        justify-content: center
    }

    .serie-card {
        padding: 20px
    }

    .section-header {
        margin-bottom: 48px
    }

    .section-title {
        font-size: 2.5rem
    }
}

@media (max-width:768px) {
    .hero {
        padding: 140px 0 80px;
        text-align: center
    }

    .hero-stats {
        justify-content: center;
        gap: 32px
    }

    .cta-buttons {
        justify-content: center;
        flex-direction: column
    }

    .features-grid {
        grid-template-columns: 1fr
    }

    .script-footer {
        flex-direction: column;
        gap: 16px;
        align-items: flex-start
    }

    .script-button {
        width: 100%;
        justify-content: center
    }

    .staff-grid {
        grid-template-columns: 1fr;
        gap: 24px
    }
}

@media (max-width:480px) {
    .hero h1 {
        font-size: 2.5rem
    }

    .hero p {
        font-size: 16px
    }

    .btn {
        padding: 12px 24px;
        width: 100%;
        justify-content: center
    }

    .hero-stats {
        gap: 24px
    }

    .stat-number {
        font-size: 2rem
    }

    .container {
        padding: 0 16px
    }

    .script-card {
        padding: 24px
    }

    .series-grid {
        grid-template-columns: 1fr
    }

    .staff-member {
        padding: 24px
    }

    .apostilas-section {
        padding: 80px 0
    }
}

footer {
    background: rgba(5, 5, 12, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(125, 66, 244, 0.12);
    padding: 80px 0 40px;
    position: relative;
    z-index: 10
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(139, 92, 246, 0.6), rgba(167, 139, 250, 0.4), rgba(139, 92, 246, 0.6), transparent)
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    margin-bottom: 60px
}

.footer-info {
    flex: 1;
    max-width: 420px
}

.footer-info .logo {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    font-size: 24px;
    font-weight: 800;
    letter-spacing: -0.02em
}

.footer-info .logo .logo-img {
    height: 44px;
    filter: drop-shadow(0 0 15px rgba(125, 66, 244, 0.5))
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 15px
}

.footer-links {
    display: flex;
    gap: 80px
}

.footer-column h4 {
    color: var(--primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 24px;
    letter-spacing: 0.05em;
    text-transform: uppercase
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.footer-column ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease
}

.footer-column ul li a:hover {
    color: var(--primary);
    padding-left: 8px;
    text-shadow: 0 0 10px rgba(125, 66, 244, 0.3)
}

.footer-bottom {
    padding-top: 40px;
    border-top: 1px solid rgba(125, 66, 244, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-tertiary);
    font-size: 14px
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px
}

.footer-logo-small {
    height: 20px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s ease
}

.footer-brand:hover .footer-logo-small {
    opacity: 1
}

@media (max-width:768px) {
    .footer-content {
        flex-direction: column;
        gap: 40px
    }

    .footer-links {
        gap: 40px;
        flex-wrap: wrap
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center
    }
}

.category-header {
    margin: 40px 0 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05)
}

.category-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 12px
}

.category-header h2 i {
    color: var(--primary)
}

.status-badge {
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 10px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1)
}

.status-online {
    background: rgba(34, 197, 94, 0.1);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2)
}

.status-offline {
    background: rgba(255, 255, 255, 0.05);
    color: #a0a0a0;
    border: 1px solid rgba(255, 255, 255, 0.1)
}

.status-unstable {
    background: rgba(234, 179, 8, 0.1);
    color: #facc15;
    border: 1px solid rgba(234, 179, 8, 0.2)
}

.toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000;
    display: flex;
    flex-direction: column;
    gap: 12px
}

.toast {
    background: rgba(15, 15, 25, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--primary);
    border-radius: 20px;
    padding: 22px 32px;
    color: white;
    display: flex;
    align-items: center;
    gap: 18px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 30px rgba(91, 63, 214, 0.25);
    transform: translateX(140%);
    transition: all 0.7s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-width: 450px
}

.toast.active {
    transform: translateX(0)
}

.toast i {
    color: var(--primary);
    font-size: 28px;
    filter: drop-shadow(0 0 12px rgba(91, 63, 214, 0.8));
    animation: bounceIn 0.5s ease
}

@keyframes bounceIn {
    0% {
        transform: scale(0)
    }

    70% {
        transform: scale(1.2)
    }

    100% {
        transform: scale(1)
    }
}

.copy-btn {
    cursor: pointer;
    background: var(--gradient-pd);
    border: none;
    color: white;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    margin-top: 15px;
    box-shadow: 0 4px 15px rgba(91, 63, 214, 0.3)
}

.copy-btn:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 12px 25px rgba(91, 63, 214, 0.4)
}

.copy-btn:active {
    transform: translateY(-1px)
}

::selection {
    background: rgba(139, 92, 246, 0.3);
    color: #fff
}

::-webkit-scrollbar {
    width: 6px
}

::-webkit-scrollbar-track {
    background: #05050a
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.4), rgba(109, 40, 217, 0.3));
    border-radius: 10px
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(139, 92, 246, 0.6), rgba(109, 40, 217, 0.5))
}

.section-title {
    filter: drop-shadow(0 0 20px rgba(139, 92, 246, 0.2))
}

.staff-member:hover .staff-avatar {
    box-shadow: 0 0 30px rgba(139, 92, 246, 0.5), 0 0 60px rgba(139, 92, 246, 0.15)
}

.modal-card {
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.9), 0 0 40px rgba(139, 92, 246, 0.12)
}

.back-to-top {
    box-shadow: 0 4px 24px rgba(139, 92, 246, 0.4), 0 0 30px rgba(139, 92, 246, 0.1)
}

.search-input:focus {
    border-color: rgba(139, 92, 246, 0.4);
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.1), 0 0 20px rgba(139, 92, 246, 0.08)
}

.filter-btn.active {
    box-shadow: 0 4px 20px rgba(139, 92, 246, 0.3)
}

/* Tabela de Cursos */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--glass-border);
}

.courses-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    color: var(--text-primary);
}

.courses-table th,
.courses-table td {
    padding: 15px;
    border-bottom: 1px solid var(--glass-border);
}

.courses-table th {
    background: rgba(139, 92, 246, 0.1);
    color: var(--primary);
    font-weight: 700;
}

.courses-table tbody tr {
    transition: background var(--transition-base);
}

.courses-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.courses-table tbody tr:last-child td {
    border-bottom: none;
}

.btn-primary {
    background: var(--gradient-pd);
    border: none;
    color: white;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 25px rgba(139, 92, 246, 0.6);
}

/* --- Sistema de Notificações PD --- */
#notif-container {
    position: fixed;
    bottom: 24px;
    right: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 99999;
    width: auto;
    pointer-events: none;
}

.notif {
    width: 280px;
    /* Largura fixa para evitar ocupar a tela toda */
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    pointer-events: all;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border-left: 4px solid var(--primary);
    font-size: 13px;
    line-height: 1.4;
    color: #fff;
    animation: notifIn .3s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    position: relative;
    overflow: hidden;
}

@keyframes notifIn {
    from {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translateX(0) scale(1);
    }
}

@keyframes notifOut {
    to {
        opacity: 0;
        transform: translateX(50px) scale(0.9);
    }
}

.notif.out {
    animation: notifOut .2s ease-in forwards;
}

.notif.success {
    border-left-color: #22c55e;
}

.notif.error {
    border-left-color: #ef4444;
}

.notif.warning {
    border-left-color: #f59e0b;
}

.notif.info {
    border-left-color: #3b82f6;
}

.notif.loading {
    border-left-color: var(--primary);
}

.notif-close {
    margin-left: auto;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    font-size: 18px;
    padding: 0;
    line-height: 1;
    transition: color 0.2s;
}

.notif-close:hover {
    color: #fff;
}