/* ============================================================
   INDEX.PHP - LANDING PAGE STYLES
   ============================================================ */

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #12121a;
    --bg-card-hover: #151520;
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --accent: #6c5ce7;
    --accent-hover: #5a4bd1;
    --border-color: #1a1a25;
    --shadow-color: rgba(108, 92, 231, 0.15);
}

/* PAGINAS INSTITUCIONAIS */
.page-content {
    min-height: calc(var(--vh, 1vh) * 100);
    padding: 120px 24px 60px;
    background: #0a0a0f;
}

.page-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-container h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 12px;
}

.page-container h2 {
    font-family: 'Poppins', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin-top: 48px;
    margin-bottom: 16px;
}

.page-subtitle {
    font-size: 20px;
    color: #a0a0b0;
    margin-bottom: 48px;
}

.page-body {
    font-size: 16px;
    color: #a0a0b0;
    line-height: 1.8;
}

.page-body p {
    margin-bottom: 20px;
}

.page-body ul {
    margin: 20px 0;
    padding-left: 24px;
}

.page-body ul li {
    margin-bottom: 12px;
}

.page-body strong {
    color: #ffffff;
}

.page-cta {
    margin-top: 48px;
    padding-top: 48px;
    border-top: 1px solid #1a1a25;
}

@media (max-width: 768px) {
    .page-content {
        padding: 80px 20px 40px;
    }

    .page-container h1 {
        font-size: 36px;
    }

    .page-container h2 {
        font-size: 24px;
    }
}

/* HERO SECTION */
.hero {
    min-height: calc(var(--vh, 1vh) * 100);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
}

.hero-bg-animation {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-bg-animation .circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(108, 92, 231, 0.1);
    animation: float 6s ease-in-out infinite;
}

.hero-bg-animation .circle:nth-child(1) {
    width: 300px;
    height: 300px;
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.hero-bg-animation .circle:nth-child(2) {
    width: 200px;
    height: 200px;
    top: 60%;
    right: 15%;
    animation-delay: 2s;
    background: rgba(255, 107, 107, 0.08);
}

.hero-bg-animation .circle:nth-child(3) {
    width: 150px;
    height: 150px;
    bottom: 20%;
    left: 20%;
    animation-delay: 4s;
    background: rgba(46, 204, 113, 0.08);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 40px 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(108, 92, 231, 0.15);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: 50px;
    color: #a78bfa;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 32px;
    animation: fadeInDown 0.8s ease;
}

.hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    color: #ffffff;
    line-height: 1.1;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-title .gradient-text {
    background: linear-gradient(135deg, #6c5ce7, #a78bfa, #6c5ce7);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientMove 3s ease infinite;
}

.hero-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: #a0a0b0;
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 48px;
    margin-top: 64px;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.hero-stat {
    text-align: center;
}

.hero-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: #ffffff;
    display: block;
}

.hero-stat-label {
    font-size: 14px;
    color: #666680;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* NAVBAR */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 100;
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    padding: 16px 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
}

.navbar-logo svg {
    width: 32px;
    height: 32px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.navbar-menu a {
    color: #a0a0b0;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.navbar-menu a:hover {
    color: #ffffff;
}

.navbar-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: #6c5ce7;
    transition: width 0.3s ease;
}

.navbar-menu a:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.mobile-menu-btn {
    display: none;
    width: 40px;
    height: 40px;
    border: none;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
}

/* FEATURES SECTION */
.features {
    padding: 120px 40px;
    background: #0a0a0f;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 64px;
}

.section-label {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(108, 92, 231, 0.15);
    border-radius: 50px;
    color: #a78bfa;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.section-description {
    font-size: 18px;
    color: #666680;
    line-height: 1.6;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    max-width: 1200px;
    margin: 0 auto;
}

.feature-card {
    padding: 40px;
    background: #12121a;
    border: 1px solid #1e1e2e;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: #6c5ce7;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(108, 92, 231, 0.15);
}

.feature-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(108, 92, 231, 0.1);
    border-radius: 16px;
    margin-bottom: 24px;
    color: #6c5ce7;
}

.feature-icon svg {
    width: 32px;
    height: 32px;
}

.feature-title {
    font-family: 'Poppins', sans-serif;
    font-size: 22px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 12px;
}

.feature-description {
    font-size: 15px;
    color: #666680;
    line-height: 1.6;
}

/* THEMES SECTION */
.themes-showcase {
    padding: 120px 40px;
    background: linear-gradient(180deg, #0a0a0f 0%, #12121a 100%);
}

.themes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    max-width: 1400px;
    margin: 0 auto;
}

.theme-preview-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.theme-preview-card:hover {
    transform: scale(1.03);
}

.theme-preview-image {
    width: 100%;
    height: 400px;
    object-fit: cover;
}

.theme-preview-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 32px 24px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
}

.theme-preview-name {
    font-family: 'Poppins', sans-serif;
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
}

.theme-preview-label {
    font-size: 14px;
    color: #a0a0b0;
}

/* CTA SECTION */
.cta {
    padding: 120px 40px;
    background: linear-gradient(135deg, #6c5ce7 0%, #a78bfa 100%);
    text-align: center;
}

.cta-title {
    font-family: 'Poppins', sans-serif;
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.cta-description {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 40px;
}

.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-white {
    background: #ffffff;
    color: #6c5ce7;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-ghost-white {
    background: transparent;
    color: #ffffff;
    padding: 16px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-ghost-white:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
}

/* FOOTER */
.footer {
    padding: 64px 40px 32px;
    background: #0a0a0f;
    border-top: 1px solid #1e1e2e;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 48px;
}

.footer-brand {
    max-width: 300px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Poppins', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 15px;
    color: #666680;
    line-height: 1.6;
    margin-bottom: 24px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.footer-social a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #12121a;
    border: 1px solid #1e1e2e;
    border-radius: 10px;
    color: #a0a0b0;
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background: #6c5ce7;
    border-color: #6c5ce7;
    color: #ffffff;
}

.footer-column h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: #666680;
    font-size: 15px;
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: #a78bfa;
}

.footer-bottom {
    padding-top: 32px;
    border-top: 1px solid #1e1e2e;
    text-align: center;
    color: #666680;
    font-size: 14px;
}

/* RESPONSIVE */
@media (max-width: 1024px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 16px 20px;
    }

    .navbar-menu {
        display: none;
    }

    .navbar-actions {
        flex-wrap: wrap;
        justify-content: flex-end;
        gap: 12px;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-stats {
        gap: 24px;
        flex-wrap: wrap;
    }

    .features, .themes-showcase, .cta {
        padding: 80px 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

/* MOBILE MENU */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: calc(var(--vh, 1vh) * 100);
    background: #12121a;
    z-index: 200;
    padding: 80px 32px 32px;
    transition: right 0.3s ease;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 40px;
    height: 40px;
    border: none;
    background: #1e1e2e;
    border-radius: 10px;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 8px;
}

.mobile-menu ul li a {
    display: block;
    padding: 16px;
    color: #a0a0b0;
    font-size: 18px;
    font-weight: 500;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.mobile-menu ul li a:hover {
    background: #1e1e2e;
    color: #ffffff;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}
