/* --- Variaveis Globais (Alinhadas com o Sistema Principal) --- */
:root {
    --bg-dark: #09090b;
    --bg-card: rgba(20, 20, 25, 0.6);
    --border-color: rgba(255, 255, 255, 0.08);
    --primary-color: #ff9f1c; /* Laranja Vibrante do OldBarber */
    --primary-hover: #ffb142;
    --primary-glow: rgba(255, 159, 28, 0.4);
    --text-white: #ffffff;
    --text-muted: #94a3b8; /* Slate gray moderno */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Reset & Base --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    /* Fundo de malha gradiente sutil para wow-factor */
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(255, 159, 28, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(255, 159, 28, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
}

/* --- Utilidades --- */
.glass {
    background: var(--bg-card);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
}

.accent-text {
    color: var(--primary-color);
}

.gradient-text {
    background: linear-gradient(135deg, #fff 30%, var(--primary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Botoes Premium --- */
.btn-primary {
    background-color: var(--primary-color);
    color: #000000;
    font-weight: 700;
    padding: 14px 28px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    text-align: center;
}

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

.btn-glow {
    box-shadow: 0 4px 20px var(--primary-glow);
}

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

.btn-secondary {
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 10px;
    border: 1px solid var(--border-color);
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    font-size: 0.9rem;
    text-align: center;
}

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

.btn-link {
    color: var(--text-white);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: var(--transition);
}

.btn-link i {
    transition: transform 0.2s ease;
}

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

.btn-link:hover i {
    transform: translateX(4px);
}

/* --- Cabeçalho (Navbar) --- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    border-radius: 0;
    border-top: none;
    border-left: none;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(9, 9, 11, 0.85);
    padding: 10px 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.35rem;
    letter-spacing: 0.5px;
}

.logo i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.95rem;
    transition: var(--transition);
}

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

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

/* --- Hero Section --- */
.hero {
    padding: 160px 24px 80px;
    position: relative;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.badge-trial {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 159, 28, 0.1);
    border: 1px solid rgba(255, 159, 28, 0.2);
    color: var(--primary-color);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 600;
    width: max-content;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.hero-content h1 {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 3.2rem;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.hero-content p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 500px;
}

.hero-ctas {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 10px;
}

.hero-trust {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
}

.trust-avatars {
    display: flex;
}

.trust-avatars img {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--bg-dark);
    margin-left: -10px;
}

.trust-avatars img:first-child {
    margin-left: 0;
}

.hero-trust span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* --- Mockup Premium --- */
.hero-mockup {
    perspective: 1000px;
}

.mockup-frame {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 
                0 0 40px rgba(255, 159, 28, 0.08);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: var(--transition);
}

.mockup-frame:hover {
    transform: rotateY(0deg) rotateX(0deg) scale(1.02);
}

.mockup-header {
    background: rgba(30, 30, 35, 0.9);
    padding: 12px 20px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid var(--border-color);
}

.mockup-dots {
    display: flex;
    gap: 6px;
}

.mockup-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.dot-red { background: #ff4757; }
.dot-yellow { background: #ffb142; }
.dot-green { background: #2ed573; }

.mockup-title {
    color: var(--text-muted);
    font-size: 0.75rem;
    margin: 0 auto;
    font-family: monospace;
}

.mockup-body {
    display: grid;
    grid-template-columns: 60px 1fr;
    background: #0d0d11;
    height: 320px;
}

.mockup-sidebar {
    background: #08080b;
    border-right: 1px solid rgba(255, 255, 255, 0.03);
    padding: 15px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.mockup-logo {
    color: var(--primary-color);
    font-size: 1.1rem;
}

.mockup-menu {
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: rgba(255, 255, 255, 0.2);
}

.mockup-menu span.active {
    color: var(--primary-color);
}

.mockup-content {
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.mockup-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 10px;
}

.mockup-title-text {
    font-weight: 600;
    font-size: 0.85rem;
}

.mockup-user {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
    color: #000;
}

.mockup-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.m-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.m-card-title {
    font-size: 0.65rem;
    color: var(--text-muted);
}

.m-card-val {
    font-size: 0.95rem;
    font-weight: 700;
}

.card-green .m-card-val { color: #2ed573; }
.card-blue .m-card-val { color: #54a0ff; }

.m-trend {
    font-size: 0.6rem;
    font-weight: 700;
}

.trend-up { color: #2ed573; }

.mockup-chart {
    flex: 1;
    background: rgba(255, 255, 255, 0.01);
    border: 1px solid rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    padding: 10px;
    display: flex;
    align-items: flex-end;
}

.chart-bar-wrap {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
}

.c-bar {
    flex: 1;
    background: linear-gradient(to top, rgba(255, 159, 28, 0.1), var(--primary-color));
    border-radius: 3px 3px 0 0;
    position: relative;
}

.c-bar span {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    color: rgba(255, 255, 255, 0.3);
}

/* --- Seções Genericas --- */
.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 50px;
    padding: 0 24px;
}

.section-header h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* --- Features Section --- */
.features {
    padding: 80px 24px;
}

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

.feature-card {
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255, 159, 28, 0.3);
    box-shadow: 0 10px 30px rgba(255, 159, 28, 0.05);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 159, 28, 0.1);
    color: var(--primary-color);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
}

.feature-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 700;
}

.feature-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- Pricing Section (Alta Fidelidade) --- */
.pricing {
    padding: 80px 24px;
    background: rgba(0, 0, 0, 0.2);
}

.pricing-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: stretch;
}

.pricing-card {
    padding: 45px 30px;
    display: flex;
    flex-direction: column;
    position: relative;
    border-radius: 16px;
    transition: var(--transition);
}

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

/* Planos sem destaque */
.pricing-card:not(.popular) {
    border: 1px solid var(--border-color);
}

/* Destaque do Plano Prata */
.pricing-card.popular {
    border: 2px solid var(--primary-color);
    box-shadow: 0 15px 40px rgba(255, 159, 28, 0.15);
}

.badge-popular {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--primary-color);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    letter-spacing: 1px;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
}

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

.pricing-header h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 20px;
}

.price-wrapper {
    display: flex;
    justify-content: center;
    align-items: baseline;
    color: var(--primary-color);
}

.price-wrapper .currency {
    font-size: 1.3rem;
    font-weight: 700;
    margin-right: 4px;
}

.price-wrapper .price {
    font-size: 3rem;
    font-weight: 800;
    font-family: var(--font-heading);
}

.price-wrapper .period {
    color: var(--text-muted);
    font-size: 0.95rem;
    font-weight: 500;
    margin-left: 2px;
}

.pricing-features {
    flex: 1;
    margin-bottom: 40px;
}

.pricing-features ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pricing-features li {
    font-size: 0.95rem;
    color: var(--text-white);
    display: flex;
    align-items: center;
    gap: 12px;
}

.pricing-features li i {
    color: var(--primary-color);
    font-size: 1rem;
}

.pricing-features li.lead-feature {
    font-weight: 700;
}

.pricing-footer {
    display: flex;
    flex-direction: column;
}

.btn-pricing-action {
    width: 100%;
    padding: 12px 20px;
}

/* --- FAQ Section --- */
.faq {
    padding: 80px 24px;
}

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

.faq-item {
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 24px 30px;
    color: var(--text-white);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition);
}

.faq-question:hover {
    color: var(--primary-color);
}

.faq-icon {
    font-size: 0.95rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
    color: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0, 1, 0, 1), opacity 0.3s ease;
    padding: 0 30px;
    color: var(--text-muted);
    font-size: 0.95rem;
    border-top: 1px solid transparent;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    opacity: 1;
    padding-bottom: 24px;
    border-top-color: rgba(255, 255, 255, 0.03);
}

/* --- Footer --- */
.footer {
    border-top: 1px solid var(--border-color);
    background: #050507;
    padding: 80px 24px 30px;
}

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

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-brand p {
    color: var(--text-muted);
    font-size: 0.95rem;
    max-width: 320px;
}

.footer-links, .footer-contact {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links h4, .footer-contact h4 {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    font-weight: 700;
}

.footer-links a, .footer-contact p {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.95rem;
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--primary-color);
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-contact p i {
    color: var(--primary-color);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    text-align: center;
}

.footer-bottom p {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.85rem;
}

/* --- Responsividade (Media Queries) --- */
@media (max-width: 992px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .badge-trial {
        margin: 0 auto;
    }
    
    .hero-content h1 {
        font-size: 2.8rem;
    }
    
    .hero-content p {
        margin: 0 auto;
    }
    
    .hero-ctas {
        justify-content: center;
    }
    
    .hero-trust {
        justify-content: center;
    }
    
    .hero-mockup {
        max-width: 500px;
        margin: 0 auto;
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 450px;
    }
    
    .pricing-card.popular {
        transform: none !important;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 76px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 76px);
        background: rgba(9, 9, 11, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 50px 24px;
        gap: 30px;
        transition: var(--transition);
        border-top: 1px solid rgba(255, 255, 255, 0.05);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-btn {
        width: 100%;
    }
}
