/* ==========================================================================
   PORTAL PREMIUM - TESTE IPTV (SEO & HIGH CONVERSION CSS)
   Visual: Dark Futuristic, Premium Glassmorphism, Neon Accents, Ultra Responsive
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Color Palette (HSL Tailored) */
    --bg-dark: 224 25% 6%;
    --bg-card: 224 25% 10%;
    --bg-card-hover: 224 25% 14%;
    
    --primary: 263 90% 64%;      /* Neon Purple */
    --primary-glow: 263 90% 64% / 0.4;
    --secondary: 250 89% 65%;    /* Royal Indigo */
    
    --accent: 150 86% 43%;       /* Emerald Green (High Conversion) */
    --accent-glow: 150 86% 43% / 0.4;
    
    --text-pure: 0 0% 100%;
    --text-primary: 210 40% 98%;
    --text-muted: 215 15% 70%;
    --text-dark: 215 15% 15%;
    
    --border-color: 224 25% 16%;
    --border-glow: 263 90% 64% / 0.15;
    
    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Plus Jakarta Sans', sans-serif;
    
    /* Effects & Transitions */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    --shadow-premium: 0 20px 40px -15px rgba(0, 0, 0, 0.7);
    --glass-bg: rgba(13, 18, 30, 0.75);
    --glass-border: rgba(255, 255, 255, 0.05);
}

/* Base resets & global styles */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
}

body {
    background-color: hsl(var(--bg-dark));
    color: hsl(var(--text-primary));
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
    width: 100%;
    max-width: 100%;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: hsl(var(--bg-dark));
}
::-webkit-scrollbar-thumb {
    background: hsl(var(--border-color));
    border-radius: var(--radius-sm);
    border: 2px solid hsl(var(--bg-dark));
}
::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--primary));
}

/* Typography styles */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.25;
    color: hsl(var(--text-pure));
}

a {
    color: inherit;
    text-decoration: none;
    transition: var(--transition-smooth);
}

p {
    color: hsl(var(--text-muted));
}

/* Highlight / Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #FFF 20%, #A78BFA 60%, #8B5CF6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.neon-text-green {
    color: hsl(var(--accent));
    text-shadow: 0 0 15px rgba(16, 185, 129, 0.3);
}

/* Background Gradients & Glows (Atmospheric Design) */
.ambient-glow-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    top: -200px;
    left: -150px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.ambient-glow-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 600px;
    right: -100px;
    background: radial-gradient(circle, rgba(16, 185, 129, 0.08) 0%, rgba(16, 185, 129, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
}

/* Section Decorator */
section {
    padding: 100px 0;
    position: relative;
}

/* ==========================================================================
   NAVIGATION BAR
   ========================================================================== */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 15, 25, 0.7);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: var(--transition-smooth);
}

header.scrolled {
    padding: 10px 0;
    background: rgba(11, 15, 25, 0.95);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo span {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--secondary)) 100%);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px var(--primary-glow);
}

.logo-icon svg {
    width: 20px;
    height: 20px;
    fill: #fff;
}

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

.nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    color: hsl(var(--text-muted));
    position: relative;
    padding: 8px 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: hsl(var(--primary));
    transition: var(--transition-smooth);
    border-radius: var(--radius-sm);
}

.nav-link:hover, .nav-link.active {
    color: hsl(var(--text-pure));
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 16px;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: hsl(var(--text-pure));
    transition: var(--transition-smooth);
    border-radius: var(--radius-sm);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-smooth);
    border: 1px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, hsl(var(--primary)) 0%, hsl(var(--secondary)) 100%);
    color: hsl(var(--text-pure));
    box-shadow: 0 10px 25px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(139, 92, 246, 0.6);
}

.btn-accent {
    background: linear-gradient(135deg, hsl(var(--accent)) 0%, #059669 100%);
    color: hsl(var(--text-pure));
    box-shadow: 0 10px 25px var(--accent-glow);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(16, 185, 129, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    color: hsl(var(--text-primary));
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    color: hsl(var(--text-pure));
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 140px;
    padding-bottom: 80px;
    position: relative;
    background-image: radial-gradient(circle at 50% 30%, rgba(17, 24, 39, 0.8), hsl(var(--bg-dark)));
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 48px;
    align-items: center;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(139, 92, 246, 0.1);
    border: 1px solid rgba(139, 92, 246, 0.2);
    color: #C084FC;
    padding: 6px 16px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero-tag span {
    width: 6px;
    height: 6px;
    background-color: #A78BFA;
    border-radius: 50%;
    box-shadow: 0 0 10px #A78BFA;
    animation: pulse 2s infinite;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
}

.hero-title span.hl {
    background: linear-gradient(135deg, #10B981 0%, #34D399 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-desc {
    font-size: 1.125rem;
    margin-bottom: 36px;
    max-width: 580px;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid hsl(var(--border-color));
    padding-top: 32px;
}

.stat-item h4 {
    font-size: 1.75rem;
    margin-bottom: 4px;
}

.stat-item p {
    font-size: 0.85rem;
}

/* Floating Card / Mockup Area in Hero */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-card-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, var(--primary-glow) 0%, transparent 60%);
    filter: blur(40px);
    z-index: 1;
}

.hero-mockup {
    position: relative;
    z-index: 2;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    overflow: hidden;
    width: 100%;
    max-width: 460px;
    transition: var(--transition-smooth);
}

.hero-mockup:hover {
    transform: translateY(-8px) rotate(1deg);
    border-color: rgba(139, 92, 246, 0.2);
}

.mockup-header {
    background: rgba(255, 255, 255, 0.02);
    padding: 16px 20px;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.mockup-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
}

.mockup-dot:nth-child(1) { background: #FF5F56; }
.mockup-dot:nth-child(2) { background: #FFBD2E; }
.mockup-dot:nth-child(3) { background: #27C93F; }

.mockup-badge {
    background: rgba(16, 185, 129, 0.1);
    color: hsl(var(--accent));
    padding: 4px 10px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
}

.mockup-body {
    padding: 28px;
}

/* Interactive Simulator */
.simulator-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
    text-align: center;
}

.simulator-desc {
    font-size: 0.85rem;
    text-align: center;
    margin-bottom: 24px;
}

.sim-input-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    transition: var(--transition-smooth);
}

.sim-input-group:focus-within {
    border-color: hsl(var(--primary));
    box-shadow: 0 0 15px var(--primary-glow);
}

.sim-input-group svg {
    width: 20px;
    height: 20px;
    fill: hsl(var(--text-muted));
}

.sim-input-group input {
    background: none;
    border: none;
    color: hsl(var(--text-pure));
    font-family: var(--font-body);
    font-size: 0.95rem;
    width: 100%;
    outline: none;
}

.sim-btn {
    width: 100%;
    margin-bottom: 16px;
}

.sim-countdown {
    display: flex;
    justify-content: center;
    gap: 12px;
    font-size: 0.8rem;
    color: hsl(var(--text-muted));
}

.sim-countdown span {
    color: hsl(var(--text-pure));
    font-weight: 700;
}

/* Output screen */
.sim-success-screen {
    text-align: center;
    display: none;
    animation: fadeIn 0.5s ease forwards;
}

.sim-success-icon {
    width: 60px;
    height: 60px;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: hsl(var(--accent));
}

.sim-code-box {
    background: rgba(0, 0, 0, 0.3);
    border: 1px dashed var(--glass-border);
    border-radius: var(--radius-md);
    padding: 16px;
    font-family: monospace;
    font-size: 1.1rem;
    letter-spacing: 2px;
    color: hsl(var(--primary));
    margin-bottom: 24px;
    position: relative;
    overflow: hidden;
}

/* ==========================================================================
   FEATURES / BENEFITS SECTION
   ========================================================================== */
.section-header {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 60px;
}

.section-header .sub {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    color: hsl(var(--primary));
    letter-spacing: 2px;
    margin-bottom: 12px;
    display: inline-block;
}

.section-header h2 {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

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

.feature-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 40px;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 30px rgba(139, 92, 246, 0.05);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(139, 92, 246, 0.08);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 28px;
    color: hsl(var(--primary));
    transition: var(--transition-smooth);
}

.feature-card:hover .feature-icon {
    background: hsl(var(--primary));
    color: hsl(var(--text-pure));
    box-shadow: 0 0 20px var(--primary-glow);
}

.feature-card h3 {
    font-size: 1.35rem;
    margin-bottom: 16px;
}

/* ==========================================================================
   COMPARATIVE (SD vs 4K SLIDER)
   ========================================================================== */
.comparison {
    background: linear-gradient(180deg, hsl(var(--bg-dark)) 0%, rgba(13, 18, 30, 0.98) 50%, hsl(var(--bg-dark)) 100%);
}

.comparison-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.comparison-info h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.comparison-info p {
    font-size: 1.05rem;
    margin-bottom: 32px;
}

.comparison-checklist {
    list-style: none;
    display: grid;
    gap: 16px;
}

.comparison-checklist li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 500;
}

.comparison-checklist li svg {
    width: 20px;
    height: 20px;
    fill: hsl(var(--accent));
}

.comparison-media {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: var(--shadow-premium);
    border: 1px solid var(--glass-border);
}

.image-compare {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    user-select: none;
}

.image-compare img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-compare .img-before {
    z-index: 1;
    filter: blur(4px) contrast(0.85); /* Simulate SD low quality */
}

.image-compare .img-after {
    z-index: 2;
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
    /* Real crispy high-def representation */
}

.compare-handle {
    position: absolute;
    z-index: 3;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: hsl(var(--primary));
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--primary-glow);
}

.compare-handle::after {
    content: '↔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background-color: hsl(var(--primary));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    box-shadow: 0 0 15px var(--primary-glow);
}

.compare-label {
    position: absolute;
    bottom: 20px;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 4;
}

.compare-label.label-before {
    left: 20px;
    color: #EF4444;
}

.compare-label.label-after {
    right: 20px;
    color: hsl(var(--accent));
}

/* ==========================================================================
   PRICING PLANS
   ========================================================================== */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    align-items: center;
}

.pricing-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px 40px;
    position: relative;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4);
}

.pricing-card.popular {
    border-color: hsl(var(--primary));
    background: radial-gradient(circle at 100% 0%, rgba(139, 92, 246, 0.08) 0%, var(--glass-bg) 60%);
    box-shadow: 0 15px 35px var(--primary-glow);
}

.pricing-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: hsl(var(--primary));
    color: hsl(var(--text-pure));
    font-size: 0.75rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 100px;
    box-shadow: 0 0 15px var(--primary-glow);
}

.pricing-card h3 {
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.pricing-desc {
    font-size: 0.875rem;
    margin-bottom: 28px;
}

.pricing-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 32px;
}

.pricing-price .currency {
    font-size: 1.5rem;
    font-weight: 700;
}

.pricing-price .amount {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1;
    color: hsl(var(--text-pure));
}

.pricing-price .decimals {
    font-size: 1.8rem;
    font-weight: 700;
    color: hsl(var(--text-pure));
    opacity: 0.9;
}

.pricing-price .period {
    color: hsl(var(--text-muted));
    font-size: 0.95rem;
}

.pricing-features {
    list-style: none;
    display: grid;
    gap: 16px;
    margin-bottom: 40px;
    border-top: 1px solid hsl(var(--border-color));
    padding-top: 32px;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
}

.pricing-features li svg {
    width: 18px;
    height: 18px;
    fill: hsl(var(--primary));
}

.pricing-card.popular .pricing-features li svg {
    fill: hsl(var(--accent));
}

.pricing-features li.disabled {
    color: rgba(255, 255, 255, 0.25);
    text-decoration: line-through;
}

.pricing-features li.disabled svg {
    fill: rgba(255, 255, 255, 0.2);
}

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

/* ==========================================================================
   FAQ SECTION (ACCORDION)
   ========================================================================== */
.faq-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-header {
    width: 100%;
    padding: 24px 32px;
    background: none;
    border: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    cursor: pointer;
    gap: 20px;
}

.faq-header h3 {
    font-size: 1.125rem;
    font-weight: 600;
}

.faq-icon {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    color: hsl(var(--text-pure));
}

.faq-icon svg {
    width: 12px;
    height: 12px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

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

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content-inner {
    padding: 0 32px 24px;
    color: hsl(var(--text-muted));
    font-size: 0.95rem;
}

/* ==========================================================================
   BLOG / HUB SECTIONS
   ========================================================================== */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
}

.post-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.post-card:hover {
    transform: translateY(-8px);
    border-color: rgba(139, 92, 246, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.post-img {
    aspect-ratio: 16/9;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.post-img::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 40%, rgba(11, 15, 25, 0.8) 100%);
}

.post-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(139, 92, 246, 0.9);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 4px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    z-index: 2;
}

.post-body {
    padding: 32px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.post-date {
    font-size: 0.8rem;
    margin-bottom: 12px;
    display: block;
}

.post-title {
    font-size: 1.35rem;
    line-height: 1.3;
    margin-bottom: 16px;
    transition: var(--transition-smooth);
}

.post-card:hover .post-title {
    color: #C084FC;
}

.post-excerpt {
    font-size: 0.9rem;
    margin-bottom: 24px;
    flex-grow: 1;
}

.post-readmore {
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: hsl(var(--primary));
}

.post-readmore svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
    transition: var(--transition-smooth);
}

.post-card:hover .post-readmore svg {
    transform: translateX(4px);
}

/* ==========================================================================
   ARTICLE PAGE / DETAILED BLOG POST
   ========================================================================== */
.article-header {
    padding-top: 160px;
    padding-bottom: 60px;
    background-image: radial-gradient(circle at 50% 20%, rgba(139, 92, 246, 0.08) 0%, transparent 60%);
    text-align: center;
}

.article-header h1 {
    font-size: 3rem;
    max-width: 900px;
    margin: 0 auto 24px;
}

.article-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-layout {
    display: grid;
    grid-template-columns: 2.8fr 1.2fr;
    gap: 48px;
    padding-bottom: 100px;
}

.article-content {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 48px;
    font-size: 1.05rem;
    color: hsl(var(--text-primary));
}

.article-banner {
    width: 100%;
    aspect-ratio: 2/1;
    background-size: cover;
    background-position: center;
    border-radius: var(--radius-md);
    margin-bottom: 40px;
}

.article-content h2 {
    font-size: 1.85rem;
    margin: 40px 0 20px;
}

.article-content h3 {
    font-size: 1.35rem;
    margin: 28px 0 16px;
}

.article-content p {
    margin-bottom: 24px;
    line-height: 1.75;
    color: #D1D5DB;
}

.article-content ul, .article-content ol {
    margin-bottom: 28px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 12px;
}

.article-content blockquote {
    background: rgba(139, 92, 246, 0.05);
    border-left: 4px solid hsl(var(--primary));
    padding: 24px;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    margin: 32px 0;
    font-style: italic;
}

.article-content blockquote p {
    margin-bottom: 0;
    color: hsl(var(--text-pure));
}

/* Sidebar Widgets */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.widget {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.widget-title {
    font-size: 1.25rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
    border-bottom: 1px solid hsl(var(--border-color));
}

.widget-cta {
    background: radial-gradient(circle at 100% 0%, rgba(16, 185, 129, 0.1) 0%, var(--glass-bg) 60%);
    border-color: rgba(16, 185, 129, 0.2);
    text-align: center;
}

.widget-cta h3 {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.widget-cta p {
    font-size: 0.9rem;
    margin-bottom: 24px;
}

.widget-cta .btn {
    width: 100%;
}

.recent-posts-list {
    list-style: none;
    display: grid;
    gap: 20px;
}

.recent-post-item {
    display: flex;
    gap: 16px;
    align-items: center;
}

.recent-post-thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    background-size: cover;
    background-position: center;
    flex-shrink: 0;
}

.recent-post-info h4 {
    font-size: 0.95rem;
    line-height: 1.3;
    margin-bottom: 4px;
    font-weight: 600;
}

.recent-post-info h4 a:hover {
    color: #C084FC;
}

.recent-post-info span {
    font-size: 0.75rem;
    color: hsl(var(--text-muted));
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
    background-color: #080C14;
    border-top: 1px solid hsl(var(--border-color));
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 60px;
}

.footer-about p {
    margin: 20px 0 28px;
    max-width: 320px;
    font-size: 0.9rem;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: hsl(var(--text-muted));
}

.social-link:hover {
    background: hsl(var(--primary));
    color: hsl(var(--text-pure));
    border-color: hsl(var(--primary));
    box-shadow: 0 0 15px var(--primary-glow);
    transform: translateY(-2px);
}

.footer-nav h4 {
    font-size: 1.1rem;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
    display: grid;
    gap: 12px;
    font-size: 0.9rem;
    color: hsl(var(--text-muted));
}

.footer-links a:hover {
    color: hsl(var(--text-pure));
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid hsl(var(--border-color));
    padding-top: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: hsl(var(--text-muted));
    flex-wrap: wrap;
    gap: 20px;
}

.footer-copy p {
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 24px;
}

.footer-bottom-links a:hover {
    color: hsl(var(--text-pure));
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    background-color: #25D366;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5);
    z-index: 999;
    transition: var(--transition-smooth);
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-4px);
    background-color: #20BA5A;
    box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

/* ==========================================================================
   ANIMATIONS & KEYFRAMES
   ========================================================================== */
@keyframes pulse {
    0% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(167, 139, 250, 0.7); }
    70% { transform: scale(1); opacity: 0.8; box-shadow: 0 0 0 10px rgba(167, 139, 250, 0); }
    100% { transform: scale(1); opacity: 1; box-shadow: 0 0 0 0 rgba(167, 139, 250, 0); }
}

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

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 60px;
        text-align: center;
    }
    
    .hero-tag {
        justify-content: center;
    }

    .hero-desc {
        margin: 0 auto 36px;
    }
    
    .hero-actions {
        justify-content: center;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }
    
    .comparison-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .article-layout {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .sidebar {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 15px;
    }

    section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: -1px;
    }

    .section-header h2 {
        font-size: 2.0rem;
    }

    .article-header h1 {
        font-size: 2.2rem;
    }

    .article-content h2 {
        font-size: 1.6rem;
    }

    .menu-toggle {
        display: flex;
        z-index: 1001;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background: hsl(var(--bg-dark));
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 40px;
        transition: var(--transition-smooth);
        z-index: 998;
        border-top: 1px solid var(--glass-border);
    }

    .nav-menu.active {
        left: 0;
    }

    /* Otimização de conversão no mobile: mantém o botão principal de WhatsApp compacto visível no topo */
    .nav-cta {
        display: flex;
        align-items: center;
        gap: 8px;
        margin-right: 15px;
    }

    .nav-cta .btn-secondary {
        display: none; /* Oculta o Gerar Código secundário */
    }

    .nav-cta .btn-primary {
        padding: 10px 18px;
        font-size: 0.85rem;
        border-radius: var(--radius-md);
        box-shadow: 0 4px 15px var(--accent-glow);
    }

    /* Redução de paddings intermediários para tablets/telas médias */
    .pricing-card {
        padding: 40px 32px;
    }

    .feature-card {
        padding: 32px 24px;
    }

    .article-content {
        padding: 36px 28px;
    }

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

@media (max-width: 480px) {
    section {
        padding: 48px 0;
    }

    .nav-wrapper {
        height: 70px;
        padding: 0 12px;
        width: 100%;
        max-width: 100%;
    }

    .nav-menu {
        top: 70px;
        height: calc(100vh - 70px);
        gap: 28px;
    }

    .nav-cta {
        margin-right: 6px;
        gap: 4px;
    }

    .nav-cta .btn-primary {
        padding: 6px 12px;
        font-size: 0.72rem;
        letter-spacing: -0.2px;
        border-radius: 10px;
    }

    .logo {
        font-size: 1.12rem;
        gap: 6px;
    }

    .logo-icon {
        width: 28px;
        height: 28px;
        box-shadow: 0 0 10px var(--primary-glow);
    }

    .logo-icon svg {
        width: 14px;
        height: 14px;
    }

    .hero {
        padding-top: 110px;
        padding-bottom: 48px;
    }

    .hero-tag {
        font-size: 0.75rem;
        padding: 4px 12px;
        margin-bottom: 16px;
    }

    .hero-title {
        font-size: 1.95rem;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }

    .hero-desc {
        font-size: 1rem;
        margin-bottom: 24px;
    }

    .btn {
        width: 100%;
        padding: 12px 24px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        gap: 12px;
        margin-bottom: 32px;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
        padding-top: 24px;
    }

    .stat-item h4 {
        font-size: 1.5rem;
    }

    .hero-mockup {
        border-radius: var(--radius-md);
    }

    .mockup-header {
        padding: 12px 16px;
    }

    .mockup-body {
        padding: 20px;
    }

    .simulator-title {
        font-size: 1.15rem;
    }

    .simulator-desc {
        font-size: 0.8rem;
        margin-bottom: 16px;
    }

    .sim-input-group {
        padding: 6px 10px;
        margin-bottom: 14px;
    }

    /* Grids empilhados perfeitamente para evitar overflow horizontal */
    .pricing-grid, .features-grid, .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Ajuste fino dos paddings para não estrangular textos */
    .pricing-card {
        padding: 28px 20px;
    }

    .pricing-card.popular {
        border-width: 2px;
    }

    .feature-card {
        padding: 24px 20px;
    }

    .feature-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 16px;
    }

    .feature-card h3 {
        font-size: 1.2rem;
    }

    .article-header {
        padding-top: 120px;
        padding-bottom: 32px;
    }

    .article-header h1 {
        font-size: 1.7rem;
        line-height: 1.25;
    }

    .article-meta {
        flex-direction: column;
        align-items: center;
        gap: 8px;
        font-size: 0.8rem;
    }

    .article-content {
        padding: 24px 16px;
        font-size: 0.95rem;
    }

    .article-banner {
        aspect-ratio: 1.6/1;
        margin-bottom: 24px;
        border-radius: var(--radius-sm);
    }

    .article-content h2 {
        font-size: 1.4rem;
        margin: 28px 0 16px;
    }

    .article-content h3 {
        font-size: 1.2rem;
        margin: 20px 0 12px;
    }

    .article-content blockquote {
        padding: 16px;
        margin: 20px 0;
    }

    .widget {
        padding: 24px 20px;
    }

    /* Estabilidade do Slider de Comparação no mobile */
    .comparison-info h2 {
        font-size: 1.95rem;
    }

    .comparison-info p {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }

    .comparison-checklist li {
        font-size: 0.9rem;
    }

    .comparison-media {
        aspect-ratio: auto;
        height: 220px;
    }

    .compare-label {
        font-size: 0.65rem;
        padding: 4px 8px;
        bottom: 12px;
    }

    .compare-label.label-before {
        left: 12px;
    }

    .compare-label.label-after {
        right: 12px;
    }

    .compare-handle::after {
        width: 32px;
        height: 32px;
        font-size: 0.85rem;
    }

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

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 12px;
        padding-top: 24px;
    }

    .footer-bottom-links {
        justify-content: center;
        gap: 16px;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    }

    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}
