/*
 * Variáveis globais, fontes, botões e keyframes base foram movidos para gs-core.css
 */

body {
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.text-center {
    text-align: center;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary), var(--secondary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: gradientShift 5s ease infinite;
}

.text-light {
    color: var(--text-light);
}

.text-muted {
    color: var(--text-muted);
}

.text-large {
    font-size: 1.25rem;
}

.mb-3 {
    margin-bottom: 1rem;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

.mt-5 {
    margin-top: 3rem;
}

.ms-3 {
    margin-left: 1rem;
}

.d-flex {
    display: flex;
}

.align-items-center {
    align-items: center;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border-radius: 99px;
    background: var(--badge-bg);
    border: 1px solid var(--border-glass);
    font-size: 0.875rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
}

.badge-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* Glass Cards */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
}

.glass-card:hover {
    transform: translateY(-5px);
    background: var(--glass-bg-hover);
    border-color: var(--glass-border-hover);
    box-shadow: 0 20px 40px var(--glass-shadow);
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 1000;
    transition: var(--transition);
    background: transparent;
}

.navbar.scrolled {
    background: var(--bg-navbar);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 0.75rem 0;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    color: var(--primary);
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-weight: 500;
    color: var(--text-muted);
}

.nav-links a:hover {
    color: var(--primary);
}

/* Background Orbs */
.bg-gradient-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.4;
    animation: float 20s infinite alternate;
}

.orb-1 {
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 242, 254, 0.3) 0%, var(--bg-orb) 70%);
}

.orb-2 {
    bottom: -10%;
    left: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(124, 58, 237, 0.2) 0%, var(--bg-orb) 70%);
    animation-delay: -5s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 6rem;
    position: relative;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.hero-subtitle {
    font-size: clamp(1.1rem, 2vw, 1.25rem);
    color: var(--text-muted);
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.hero-graphic {
    margin-top: 4rem;
    width: 100%;
    max-width: 800px;
}

.code-window {
    padding: 0;
    overflow: hidden;
    text-align: left;
}

.window-header {
    background: var(--window-header-bg);
    padding: 1rem;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-glass);
}

.traffic-lights {
    display: flex;
    gap: 0.5rem;
}

.traffic-lights span {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.traffic-lights span:nth-child(1) {
    background: #ff5f56;
}

.traffic-lights span:nth-child(2) {
    background: #ffbd2e;
}

.traffic-lights span:nth-child(3) {
    background: #27c93f;
}

.window-title {
    flex: 1;
    text-align: center;
    color: var(--text-muted);
    font-family: inherit;
    font-size: 0.9rem;
}

.code-content {
    padding: 1.5rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.95rem;
    line-height: 1.5;
    background: var(--bg-code);
}

.code-content .keyword {
    color: #ff7b72;
}

.code-content .method {
    color: #d2a8ff;
}

.code-content .comment {
    color: #8b949e;
    font-style: italic;
}

/* Sections Common */
.section {
    padding: 6rem 0;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Grid System */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    padding-top: 2rem;
}

/* Feature Cards */
.feature-card h3 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

.card-icon {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: var(--icon-bg);
}

.error-icon {
    color: var(--danger);
    background: rgba(239, 68, 68, 0.1);
}

.accent-icon {
    color: var(--primary);
    background: rgba(0, 242, 254, 0.1);
}

/* Apex Section */
.apex-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.checklist {
    margin-top: 2rem;
}

.check-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.check-item i {
    color: var(--success);
    font-size: 1.5rem;
}

.apex-visual {
    position: relative;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-ring {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

.central-node {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 10;
    gap: 0.5rem;
    background: linear-gradient(135deg, rgba(0, 242, 254, 0.1), rgba(124, 58, 237, 0.1));
    border-color: var(--primary);
    box-shadow: 0 0 30px var(--primary-glow);
}

.central-node i {
    font-size: 2.5rem;
    color: var(--primary);
}

.central-node span {
    font-weight: 600;
    font-size: 0.9rem;
}

.floating-node {
    position: absolute;
    padding: 0.75rem 1.5rem;
    border-radius: 99px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    animation: float-node 6s infinite ease-in-out;
}

.floating-node i {
    font-size: 1.25rem;
    color: var(--secondary);
}

.node-1 {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.node-2 {
    top: 20%;
    right: 5%;
    animation-delay: 1s;
}

.node-3 {
    bottom: 20%;
    left: 5%;
    animation-delay: 2s;
}

.node-4 {
    bottom: 10%;
    right: 10%;
    animation-delay: 3s;
}

/* Complex Features */
.complex-feature-card {
    border-left: 4px solid var(--primary);
}

/* Creator Section */
.creator-section {
    position: relative;
}

.creator-card {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    background: linear-gradient(180deg, var(--creator-bg1) 0%, var(--creator-bg2) 100%);
}

.creator-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    border-top: 1px solid var(--border-glass);
    padding-top: 2rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.stat-number {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
}

.stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-glass);
    background: var(--footer-bg);
}

.footer-title {
    font-size: 2rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Animations move to gs-core.css */

@keyframes float-node {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(0.8);
        opacity: 1;
    }

    100% {
        transform: scale(2);
        opacity: 0;
    }
}

/* Intersection Observer Animations */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s forwards cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
    animation-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
    animation-delay: 0.4s;
}

.delay-3 {
    transition-delay: 0.6s;
    animation-delay: 0.6s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .apex-container {
        grid-template-columns: 1fr;
    }

    .apex-visual {
        margin-top: 2rem;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hero-actions {
        flex-direction: column;
    }

    .creator-stats {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* Clickable Cards */
.clickable-card {
    cursor: pointer;
    position: relative;
    padding-bottom: 3.5rem;
}

.clickable-card:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 242, 254, 0.15);
}

.clickable-card:focus {
    outline: 2px solid var(--primary);
    outline-offset: 2px;
}

.read-more {
    position: absolute;
    bottom: 1.5rem;
    left: 2rem;
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    opacity: 0.8;
    transition: var(--transition);
}

.clickable-card:hover .read-more {
    opacity: 1;
    transform: translateX(5px);
}

/* Modals */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-modal-overlay);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 1.5rem;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 700px;
    max-height: 90vh;
    overflow-y: auto;
    background: var(--bg-modal-content);
    border: 1px solid rgba(0, 242, 254, 0.3);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 242, 254, 0.1);
    transform: translateY(20px) scale(0.95);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 20px;
    padding: 2.5rem;
}

.modal-overlay.active .modal-content {
    transform: translateY(0) scale(1);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
}

.modal-close:hover {
    background: rgba(239, 68, 68, 0.2);
    color: var(--danger);
    transform: rotate(90deg);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-glass);
}

.modal-header .card-icon {
    width: 50px;
    height: 50px;
    font-size: 1.5rem;
}

.modal-title {
    font-size: 1.5rem;
    color: var(--text-light);
    margin: 0;
}

.modal-body {
    font-size: 1.05rem;
    color: var(--text-muted);
}

.modal-body p {
    margin-bottom: 1rem;
}

.modal-body strong {
    color: var(--text-light);
}

.modal-body em {
    color: var(--text-light);
}

.modal-list {
    margin: 1rem 0 1.5rem 1.5rem;
}

.modal-list li {
    margin-bottom: 0.75rem;
}

.modal-highlight {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--primary);
    padding: 1.5rem;
    border-radius: 0 12px 12px 0;
}

.success-highlight {
    border-left-color: var(--success);
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.1) 0%, transparent 100%);
}

.success-highlight h4 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--success);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.success-highlight p {
    margin-bottom: 0;
    color: var(--text-light);
    font-size: 1rem;
}

/* Custom Scrollbar for Modal */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
}

.modal-content::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.modal-content::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}