/* --- RESET E VARIÁVEIS --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
}

:root {
    --bg-color: #0b0c10;      
    --card-bg: #14161f;       
    --text-main: #f3f4f6;     
    --text-muted: #9ca3af;    
    --accent-neon: #00ffcc;   
    --accent-purple: #7000ff; 
    --accent-gold: #ffc107; 
    --accent-blue: #0077ff;
    --gradient-primary: linear-gradient(135deg, #00ffcc 0%, #7000ff 100%);
    --gradient-premium: linear-gradient(135deg, #ffc107 0%, #ff8c00 100%);
    --gradient-basic: linear-gradient(135deg, #0077ff 0%, #00ffcc 100%);
}

body {
    background-color: var(--bg-color);
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
    background-size: 40px 40px;
    color: var(--text-main);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; width: 100%; }

/* --- CABEÇALHO --- */
.site-header, header {
    height: 80px;
    width: 100%;
    border-bottom: 1px solid #1e293b;
    background-color: rgba(5, 7, 11, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container, header .container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.brand-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
    transition: transform 0.2s ease;
}
.brand-box:hover {
    transform: translateY(-1px);
}
.logo-rs {
    font-size: 1.85rem;
    font-weight: 800;
    letter-spacing: -2px;
    display: flex;
    gap: 0px;
}
.logo-rs span {
    background: linear-gradient(135deg, #00ffcc 0%, #7000ff 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    display: inline-block;
}
.logo-rs span.mirrored { transform: scaleX(-1); }
.logo-sub {
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffffff;
    margin-top: 2px;
}

.header-actions { display: flex; align-items: center; gap: 24px; margin-left: auto; }

.btn-voltar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    padding: 9px 18px;
    border-radius: 8px;
    cursor: pointer;
    background: rgba(0, 255, 204, 0.08);
    color: #00ffcc;
    border: 1px solid rgba(0, 255, 204, 0.35);
    transition: all 0.2s ease;
    text-decoration: none;
}
.btn-voltar:hover {
    background: #00ffcc;
    color: #05070b;
    box-shadow: 0 0 18px rgba(0, 255, 204, 0.4);
    transform: translateY(-1px);
}

/* --- CONTROLES DE PREÇO (TOGGLES) --- */
main { flex: 1; padding: 60px 0 100px 0; }

.pricing-header { text-align: center; margin-bottom: 40px; }
.pricing-header h1 { font-size: 3rem; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.pricing-header p { color: var(--text-muted); font-size: 1.15rem; max-width: 650px; margin: 0 auto; }

.controls-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 50px;
}

.toggle-group {
    display: inline-flex;
    background: rgba(20, 22, 31, 0.8);
    border: 1px solid #1f222f;
    border-radius: 30px;
    padding: 4px;
    position: relative;
}

.toggle-btn {
    padding: 10px 24px;
    border-radius: 26px;
    cursor: pointer;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: none;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toggle-btn:hover {
    color: var(--text-main);
}

.toggle-btn.active {
    color: #fff;
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(0, 255, 204, 0.2);
}

.toggle-btn.active-gold {
    background: var(--gradient-premium);
    color: #000;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.2);
}

.discount-badge {
    font-size: 0.7rem;
    background: #fff;
    color: #000;
    padding: 2px 8px;
    border-radius: 10px;
    margin-left: 4px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.toggle-btn.active-gold .discount-badge {
    background: #000;
    color: var(--accent-gold);
}

/* --- GRADE DE PLANOS --- */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
    max-width: 1100px;
    margin: 0 auto;
    align-items: stretch;
    padding: 20px 0; 
}

.plan-card {
    background-color: var(--card-bg);
    border: 1px solid #1f222f;
    border-radius: 16px;
    padding: 40px 30px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    position: relative;
}

.plan-card:hover { transform: translateY(-8px); border-color: #31354b; }

.plan-card.basic {
    background: linear-gradient(to bottom, rgba(20, 22, 31, 1) 0%, rgba(0, 119, 255, 0.05) 100%);
    border: 1px solid rgba(0, 119, 255, 0.3);
}
.plan-card.basic:hover { border-color: var(--accent-blue); transform: translateY(-8px); }

.plan-card.premium {
    background: linear-gradient(to bottom, rgba(20, 22, 31, 1) 0%, rgba(255, 193, 7, 0.08) 100%);
    border: 2px solid var(--accent-gold); 
    box-shadow: 0 0 30px rgba(255, 193, 7, 0.15); 
    z-index: 10;
}

.plan-card.premium:hover { box-shadow: 0 0 40px rgba(255, 193, 7, 0.3); transform: translateY(-8px); }

.badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    white-space: nowrap;
}

.badge.highlight { 
    background: var(--gradient-basic); 
    color: #fff; 
    box-shadow: 0 4px 10px rgba(0, 119, 255, 0.4); 
    border: 1px solid rgba(0, 255, 204, 0.3);
}

.badge.premium { background: var(--gradient-premium); color: #000; box-shadow: 0 4px 10px rgba(255,193,7,0.4); }

.plan-icon { font-size: 2.2rem; margin-bottom: 16px; }
.icon-free { color: var(--text-muted); }
.icon-basic { color: var(--accent-neon); }
.icon-premium { color: var(--accent-gold); }

.plan-name { font-size: 1.4rem; font-weight: 700; margin-bottom: 8px; }
.plan-desc { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 24px; height: 60px; }

.plan-price { 
    display: flex; align-items: baseline; gap: 4px; margin-bottom: 30px; 
    padding-bottom: 20px; border-bottom: 1px solid #1f222f; 
    transition: all 0.3s ease;
}
/* Animação simples quando o preço muda */
.price-amount { font-size: 3rem; font-weight: 800; line-height: 1; transition: opacity 0.3s; }
.price-currency { font-size: 1.2rem; font-weight: 600; color: var(--text-muted); transition: opacity 0.3s; }
.price-period { color: var(--text-muted); font-weight: 500; font-size: 0.9rem; transition: opacity 0.3s; }

.premium .price-amount { color: var(--accent-gold); }

.feature-list { list-style: none; margin-bottom: 30px; flex: 1; }

.feature-list li { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 14px; font-size: 0.9rem; color: var(--text-main); }
.feature-list li i { font-size: 1.1rem; flex-shrink: 0; margin-top: 2px; }
.feature-list li i.ph-check-circle { color: var(--accent-neon); }

.feature-list li span { flex: 1; line-height: 1.5; text-align: justify; }

.basic .feature-list li i.ph-check-circle { color: var(--accent-blue); }
.premium .feature-list li i.ph-check-circle { color: var(--accent-gold); }

.feature-list li.disabled { color: #4b5563; }
.feature-list li.disabled i { color: #31354b; }

.feature-list li strong { color: #fff; font-weight: 700; }
.premium .feature-list li strong { color: var(--accent-gold); }

.btn-plan {
    display: inline-flex; justify-content: center; align-items: center; gap: 8px;
    width: 100%; padding: 12px; border-radius: 8px;
    font-size: 0.95rem; font-weight: 700; transition: all 0.2s; cursor: pointer;
    margin-top: auto; 
}

.btn-free { background: transparent; border: 1px solid #31354b; color: var(--text-main); }
.btn-free:hover { background: rgba(255,255,255,0.05); border-color: var(--text-muted); }

.btn-basic { background: var(--gradient-basic); border: none; color: #fff; }
.btn-basic:hover { opacity: 0.9; box-shadow: 0 4px 15px rgba(0,119,255,0.3); }

.btn-premium { background: var(--gradient-premium); border: none; color: #000; font-size: 1.05rem; padding: 14px; }
.btn-premium:hover { opacity: 0.9; box-shadow: 0 4px 15px rgba(255,193,7,0.4); }

.plan-card.current-plan {
    border: 2px solid var(--accent-neon);
    box-shadow: 0 0 32px rgba(0, 255, 204, 0.22);
}

.plan-card.current-plan > .badge {
    display: none;
}

.plan-card.current-plan .current-plan-pill {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00ffcc 0%, #0077ff 100%);
    color: #090b10;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    white-space: nowrap;
    box-shadow: 0 4px 14px rgba(0, 255, 204, 0.35);
    z-index: 20;
}

.btn-plan.is-current-plan {
    background: rgba(0, 255, 204, 0.12) !important;
    color: var(--accent-neon) !important;
    border: 1.5px solid rgba(0, 255, 204, 0.55) !important;
    cursor: default;
    box-shadow: none !important;
}

/* --- RODAPÉ --- */
footer { border-top: 1px solid #1f222f; background-color: #0b0c10; padding: 60px 0 30px 0; margin-top: auto; }
.footer-content { display: flex; flex-direction: column; align-items: center; gap: 30px; }
.footer-links { display: flex; gap: 30px; flex-wrap: wrap; justify-content: center; }
.footer-links a { color: var(--text-muted); font-size: 0.95rem; font-weight: 600; transition: color 0.2s; }
.footer-links a:hover { color: var(--text-main); }
.social-icons { display: flex; gap: 20px; }
.social-icons a { width: 40px; height: 40px; border-radius: 50%; background: #14161f; border: 1px solid #1f222f; display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 1.2rem; transition: all 0.2s; }
.social-icons a:hover { color: var(--bg-color); background: var(--accent-neon); }
.footer-bottom { text-align: center; color: #4b5563; font-size: 0.85rem; margin-top: 40px; padding-top: 20px; border-top: 1px solid #1f222f; width: 100%; }