/* ==========================================================================
   PlataformaWeb - Modern CSS Framework (Custom)
   Foco em Tema Escuro (Dark Mode Premium) / Amarelo (Branding)
   ========================================================================== */

:root {
    /* Brand Colors #ffcc00*/
    --color-primary: #FEB914;
    /* Yellow Premium */
    --color-primary-hover: #e6b800;
    --color-secondary: #ff3333;

    /* Neutral & Dark Mode Backgrounds */
    --bg-base: #0a0a0a;
    --bg-surface: #141414;
    --bg-surface-elevated: #1e1e1e;
    --bg-glass: rgba(30, 30, 30, 0.6);
    --border-color: rgba(255, 204, 0, 0.15);

    /* Typography */
    --text-pure: #ffffff;
    --text-primary: #e0e0e0;
    --text-secondary: #a0a0a0;
    --text-dark: #121212;

    /* Fonts */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing Units */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;

    /* Effects */
    --shadow-sm: 0 4px 6px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 10px 20px rgba(0, 0, 0, 0.4);
    --shadow-glow: 0 0 20px rgba(255, 204, 0, 0.25);
    --transition-fast: 0.2s ease-in-out;
    --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --border-radius: 12px;
}

/* ==========================================================================
   CSS Reset & Base
   ========================================================================== */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--text-pure);
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--text-pure);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Container Utility */
.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

.pb-xl {
    padding-bottom: var(--spacing-xl);
}

.pt-sm {
    padding-top: var(--spacing-md);
}

.pt-md {
    padding-top: var(--spacing-lg);
}

.mt-sm {
    margin-top: var(--spacing-md);
}

.max-w-md {
    max-width: 800px;
}

.mx-auto {
    margin-inline: auto;
}

/* ==========================================================================
   Botões e Componentes UI
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all var(--transition-fast);
    text-align: center;
}

.btn-large {
    padding: 18px 36px;
    font-size: 1.15rem;
}

.text-xl {
    font-size: 1.25rem;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--text-dark);
}

.btn-primary:hover {
    background-color: var(--color-primary-hover);
    color: var(--text-dark);
    transform: translateY(-2px);
}

.btn-glow {
    box-shadow: 0 0 15px rgba(255, 204, 0, 0.4);
}

.btn-glow:hover {
    box-shadow: 0 0 25px rgba(255, 204, 0, 0.6);
}

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-pure);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.btn-outline-yellow {
    border: 2px solid var(--color-primary);
    background: transparent;
    color: var(--color-primary);
}

.btn-outline-yellow:hover {
    background: var(--color-primary);
    color: var(--bg-base);
}

.yellow-label {
    display: inline-block;
    background: rgba(255, 204, 0, 0.1);
    color: var(--color-primary);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: var(--spacing-sm);
}

.highlight-yellow {
    color: var(--color-primary);
}

/* ==========================================================================
   Header Navbar
   ========================================================================== */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 20px 0;
    transition: all var(--transition-fast);
    background: transparent;
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--border-color);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand-logo img {
    height: 45px;
    width: auto;
    border-radius: 4px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link {
    color: var(--text-primary);
    font-weight: 500;
    font-size: 0.95rem;
}

.nav-link:hover {
    color: var(--color-primary);
}

.nav-btn-login {
    background: transparent;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    padding: 8px 20px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background var(--transition-fast);
}

.nav-btn-login:hover {
    background: var(--color-primary);
    color: var(--text-dark);
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-pure);
    font-size: 1.5rem;
    cursor: pointer;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.super-hero {
    position: relative;
    padding-top: 150px;
    padding-bottom: 80px;
    min-height: 90vh;
    display: flex;
    align-items: center;
    background: radial-gradient(circle at 100% 20%, rgba(255, 204, 0, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 0% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 30%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: var(--spacing-lg);
    align-items: center;
}

.hero-content .badget {
    display: inline-block;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    margin-bottom: var(--spacing-sm);
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: var(--spacing-sm);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
    max-width: 90%;
}

.cta-actions {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Formulário de Login (Hero Panel) */
.hero-login-panel {
    background: var(--bg-surface);
    /*border: 1px solid var(--border-color);*/
    border-top: 4px solid var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    border-radius: 10px;
    padding: 32px;
    box-shadow: var(--shadow-glow);
    position: relative;
    overflow: hidden;
}

.login-header h3 {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.login-header p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 25px;
}

.form-group {
    margin-bottom: 16px;
}

.input-icon {
    position: relative;
}

.input-icon i {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-secondary);
}

.input-icon input,
.input-icon select {
    width: 100%;
    padding: 12px 14px 12px 40px;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: var(--text-pure);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border var(--transition-fast), background-color var(--transition-fast);
}

.input-icon select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23e0e0e0'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 24px;
    padding-right: 40px;
    cursor: pointer;
}

.input-icon input:focus,
.input-icon select:focus {
    outline: none;
    border-color: var(--color-primary);
    background-color: rgba(255, 255, 255, 0.08);
}

.input-icon select option {
    background-color: var(--bg-surface-elevated);
    color: var(--text-pure);
}

.custom-select {
    appearance: none;
    cursor: pointer;
}

.btn-login-submit {
    width: 100%;
    /*background-color: var(--text-pure);*/
    color: var(--text-dark);
    margin-top: 10px;
}

.btn-login-submit:hover {
    background-color: var(--color-primary);
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ==========================================================================
   Features / Funcionalidades
   ========================================================================== */
.features-section {
    padding: var(--spacing-xl) 0;
    position: relative;
}

.section-header {
    margin-bottom: var(--spacing-lg);
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
}

.grid-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: var(--spacing-lg);
}

.feature-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    transition: transform var(--transition-smooth), border-color var(--transition-fast);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-color);
}

.icon-circle {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.icon-yellow {
    background: rgba(255, 204, 0, 0.1);
    color: var(--color-primary);
}

.feature-card h3 {
    font-size: 1.25rem;
    margin-bottom: 15px;
}

.feature-list {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.feature-list li {
    margin-bottom: 10px;
}

.feature-list li i {
    color: var(--color-primary);
    margin-right: 8px;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 15px;
}

/* ==========================================================================
   Integradores e Sites (Showcase)
   ========================================================================== */
.dark-stripe {
    background-color: var(--bg-surface-elevated);
    padding: var(--spacing-xl) 0;
    border-top: 1px solid rgba(255, 255, 255, 0.02);
    border-bottom: 1px solid rgba(255, 255, 255, 0.02);
}

.items-center {
    align-items: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

.text-col {
    flex: 1;
    min-width: 300px;
}

.logos-col {
    flex: 1;
    min-width: 300px;
}

.grid-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.logo-box {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 20px 10px;
    text-align: center;
    color: var(--text-secondary);
    font-weight: 600;
    font-family: var(--font-heading);
    transition: all 0.3s ease;
}

.logo-box:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    background: rgba(255, 204, 0, 0.05);
}

/* Showcase Sites */
.sites-section {
    padding: var(--spacing-xl) 0;
}

.grid-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.showcase-card {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: transform var(--transition-smooth);
}

.showcase-card img {
    width: 100%;
    transition: transform 0.5s ease;
}

.showcase-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    padding: 30px 20px 20px;
    pointer-events: none;
}

.overlay h3 {
    margin: 0;
    font-size: 1.1rem;
}

/* ==========================================================================
   Video Demo
   ========================================================================== */
.video-section {
    padding: var(--spacing-lg) 0 var(--spacing-xl);
}

.video-container {
    max-width: 900px;
    margin: 0 auto;
}

.embed-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 16px;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.embed-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
    background-color: var(--bg-base);
    padding: var(--spacing-lg) 0 var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: var(--spacing-md);
}

.footer-brand img {
    height: 45px;
    width: auto;
    margin-bottom: 20px;
    opacity: 0.8;
}

.footer-brand p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 250px;
}

.footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
}

.link-col h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--text-pure);
}

.link-col ul li {
    margin-bottom: 10px;
}

.link-col ul li a {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.link-col ul li a:hover {
    color: var(--color-primary);
}

.contact-ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ==========================================================================
   WhatsApp Float Button
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: white;
    border-radius: 50%;
    font-size: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    z-index: 9999;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    color: white;
}

.pulse-anim {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* ==========================================================================
   Login Overlay
   ========================================================================== */
.login-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity var(--transition-fast), visibility var(--transition-fast);
}

.login-overlay.active {
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.login-modal {
    background: var(--bg-surface);
    border-top: 4px solid var(--color-primary);
    border-bottom: 1px solid var(--color-primary);
    border-radius: 10px;
    padding: 40px;
    width: 100%;
    max-width: 420px;
    position: relative;
    box-shadow: var(--shadow-glow);
    transform: translateY(20px);
    transition: transform var(--transition-smooth);
}

.login-overlay.active .login-modal {
    transform: translateY(0);
}

.close-login {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: color var(--transition-fast);
}

.close-login:hover {
    color: var(--color-primary);
}

.login-header {
    text-align: center;
    margin-bottom: 30px;
}

.login-footer {
    text-align: center;
    margin-top: 20px;
    font-size: 0.9rem;
}

/* ==========================================================================
   Pricing Cards
   ========================================================================== */
.grid-pricing {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: var(--spacing-lg);
    padding: 0 15px;
}

.pricing-card {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    transition: transform var(--transition-smooth), border-color var(--transition-fast);
    position: relative;
    display: flex;
    flex-direction: column;
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: var(--color-primary);
    box-shadow: 0 10px 30px rgba(255, 204, 0, 0.1);
}

.pricing-card.popular {
    border-color: rgba(255, 204, 0, 0.5);
    transform: scale(1.05);
    z-index: 2;
}

.pricing-card.popular:hover {
    transform: scale(1.05) translateY(-8px);
}

.popular-badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--color-primary);
    color: var(--text-dark);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pricing-header {
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.pricing-header h3 {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.price {
    font-size: 1.5rem;
    color: var(--text-pure);
    font-weight: 700;
}

.price span {
    font-size: 3rem;
    color: var(--color-primary);
}

.price .period {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 400;
}

.pricing-features {
    list-style: none;
    margin-bottom: 30px;
    flex-grow: 1;
}

.pricing-features li {
    display: flex;
    flex-direction: column;
    padding: 12px 0;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.05);
    font-size: 0.95rem;
    text-align: center;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-features li span {
    color: var(--text-secondary);
    margin-bottom: 4px;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.pricing-features li strong {
    color: var(--text-pure);
}

.pricing-card .btn {
    width: 100%;
}

/* ==========================================================================
   FAQ Section
   ========================================================================== */
.faq-section {
    padding: var(--spacing-xl) 0;
}

.faq-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.faq-item:hover {
    border-color: var(--border-color);
}

.faq-item[open] {
    border-color: var(--color-primary);
    box-shadow: 0 5px 15px rgba(255, 204, 0, 0.05);
}

.faq-question {
    padding: 20px 25px;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-pure);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
    /* Hide default arrow */
    user-select: none;
    transition: background var(--transition-fast);
}

.faq-question::-webkit-details-marker {
    display: none;
    /* Hide default arrow in webkit */
}

.faq-question:hover {
    background: rgba(255, 255, 255, 0.02);
}

.faq-question i {
    color: var(--color-primary);
    transition: transform 0.3s ease;
}

.faq-item[open] .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 25px 25px 25px;
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

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

/* ==========================================================================
   Responsive / Breakpoints
   ========================================================================== */
@media (max-width: 900px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        margin: 0 auto var(--spacing-md);
    }

    .cta-actions {
        justify-content: center;
        margin-bottom: var(--spacing-lg);
    }

    .pricing-card.popular {
        transform: none;
    }

    .pricing-card.popular:hover {
        transform: translateY(-8px);
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-brand img {
        margin: 0 auto 20px;
        display: block;
    }

    .footer-brand p {
        margin: 0 auto;
    }

    .footer-links {
        justify-content: center;
        flex-direction: column;
    }

    .contact-ul li a {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: var(--bg-surface-elevated);
        padding: 20px 0;
        border-bottom: 2px solid var(--color-primary);
    }

    .nav-links.open {
        display: flex;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .grid-features {
        grid-template-columns: 1fr;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 28px;
    }
}