/* ===== RESET & VARIABLES ===== */
:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --primary-light: #3b82f6;
    --secondary: #64748b;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
    --info: #06b6d4;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f8fafc;
    --bg-dark: #0f172a;
    --bg-card: #ffffff;
    
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --text-light: #94a3b8;
    
    --border: #e2e8f0;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    
    --radius: 8px;
    --radius-lg: 16px;
    
    --transition: all 0.3s ease;
}

/* Tema Escuro */
[data-theme="dark"] {
    --bg-primary: #0f172a;
    --bg-secondary: #1e293b;
    --bg-dark: #020617;
    --bg-card: #1e293b;
    
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-light: #64748b;
    
    --border: #334155;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.3), 0 2px 4px -2px rgb(0 0 0 / 0.3);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.3), 0 4px 6px -4px rgb(0 0 0 / 0.3);
}

[data-theme="dark"] .navbar {
    background: rgba(15, 23, 42, 0.95);
    border-bottom-color: var(--border);
}

[data-theme="dark"] .nav-links {
    background: var(--bg-primary);
}

[data-theme="dark"] .code {
    background: #334155;
}

[data-theme="dark"] code {
    background: #334155;
}

[data-theme="dark"] .info-box {
    background: #1e3a5f;
}

[data-theme="dark"] .info-box.warning {
    background: #422006;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 0.75rem 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
}

.logo-img {
    height: 36px;
    width: auto;
}

.logo-icon {
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition);
    padding: 0.5rem 0;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ===== THEME TOGGLE ===== */
.theme-toggle {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 50px;
    padding: 0.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    transition: var(--transition);
    margin-left: 1rem;
}

.theme-toggle:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.theme-icon-light,
.theme-icon-dark {
    font-size: 1.2rem;
    line-height: 1;
}

.theme-icon-dark {
    display: none;
}

[data-theme="dark"] .theme-icon-light {
    display: none;
}

[data-theme="dark"] .theme-icon-dark {
    display: block;
}

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 6rem 1.5rem 4rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    flex: 1;
    max-width: 550px;
}

.pdv-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    border-radius: 100px;
    font-size: 0.9rem;
    color: #0369a1;
    margin-bottom: 1.5rem;
    border: 1px solid #7dd3fc;
}

.pdv-badge strong {
    color: #0c4a6e;
}

.pdv-icon {
    font-size: 1.1rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hero-subtitle strong {
    color: var(--primary);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border-radius: var(--radius);
    font-weight: 500;
    font-size: 0.9rem;
}

.hero-feature .icon {
    font-size: 1.25rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    flex: 1;
    max-width: 550px;
}

.app-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    box-shadow: 0 4px 14px rgba(37, 99, 235, 0.3);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: transparent;
    color: var(--primary);
    text-decoration: none;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid var(--primary);
}

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

.pdv-info-section {
    background: linear-gradient(135deg, #1e3a5f 0%, #0f172a 100%);
    padding: 3rem 1.5rem;
}

.pdv-info-content {
    display: flex;
    align-items: center;
    gap: 2rem;
    max-width: 900px;
    margin: 0 auto;
}

.pdv-info-icon {
    flex-shrink: 0;
}

.pdv-logo {
    width: 80px;
    height: auto;
    filter: brightness(0) invert(1);
}

.pdv-info-text {
    color: white;
}

.pdv-info-text h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.pdv-info-text p {
    color: #94a3b8;
    font-size: 1rem;
}

.pdv-info-text strong {
    color: #60a5fa;
}

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

.dot.red { background: #ff5f57; }
.dot.yellow { background: #febc2e; }
.dot.green { background: #28c840; }

.preview-header .title {
    margin-left: auto;
    color: #94a3b8;
    font-size: 0.85rem;
}

.preview-body {
    display: flex;
    min-height: 300px;
}

.preview-sidebar {
    width: 140px;
    background: #1e293b;
    padding: 1rem 0.5rem;
}

.sidebar-item {
    padding: 0.5rem 0.75rem;
    color: #94a3b8;
    font-size: 0.8rem;
    border-radius: var(--radius);
    margin-bottom: 0.25rem;
    cursor: pointer;
}

.sidebar-item.active {
    background: var(--primary);
    color: white;
}

.preview-content {
    flex: 1;
    padding: 1rem;
}

.preview-table {
    background: #334155;
    border-radius: var(--radius);
    overflow: hidden;
}

.table-row {
    display: grid;
    grid-template-columns: 40px 1fr 60px;
    padding: 0.5rem 0.75rem;
    color: #e2e8f0;
    font-size: 0.8rem;
    border-bottom: 1px solid #475569;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row.header {
    background: #1e293b;
    font-weight: 600;
    color: #94a3b8;
}

/* ===== SECTIONS ===== */
.section {
    padding: 5rem 1.5rem;
}

.section-alt {
    background: var(--bg-secondary);
}

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

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

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

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.feature-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

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

/* ===== STEP LIST ===== */
.step-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.step {
    display: flex;
    gap: 1.25rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-content h4 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ===== INFO BOX ===== */
.info-box {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: #eff6ff;
    border-radius: var(--radius);
    border-left: 4px solid var(--primary);
    margin: 1.5rem 0;
}

.info-box.warning {
    background: #fef3c7;
    border-left-color: var(--warning);
}

.info-icon {
    font-size: 1.5rem;
}

.info-content h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.info-content p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== CODE ELEMENTS ===== */
.code {
    background: #e2e8f0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.9em;
}

code {
    background: #e2e8f0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-family: 'Consolas', monospace;
    font-size: 0.9em;
}

.code-block {
    background: var(--bg-dark);
    border-radius: var(--radius);
    overflow: hidden;
    margin: 1.5rem 0;
}

.code-header {
    background: #1e293b;
    color: #94a3b8;
    padding: 0.75rem 1rem;
    font-size: 0.85rem;
    font-weight: 500;
}

.code-block code {
    display: block;
    padding: 1rem;
    color: #e2e8f0;
    background: transparent;
    font-size: 0.9rem;
}

/* ===== SUBSECTIONS ===== */
.subsection {
    margin-top: 3rem;
}

.subsection h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

/* ===== BUTTON GRID ===== */
.button-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

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

.btn-example {
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    display: inline-block;
}

.btn-example.green {
    background: #dcfce7;
    color: #166534;
}

.btn-example.red {
    background: #fee2e2;
    color: #991b1b;
}

.btn-example.blue {
    background: #dbeafe;
    color: #1e40af;
}

.button-info p {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* ===== CONFIG OPTIONS ===== */
.config-options {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.config-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.config-item input[type="checkbox"] {
    margin-top: 0.25rem;
    width: 18px;
    height: 18px;
}

.config-item label {
    font-weight: 600;
    flex: 1;
}

.config-item p {
    width: 100%;
    margin-left: 1.75rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ===== TABS ===== */
.tabs-container {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border);
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    background: var(--bg-secondary);
}

.tab {
    flex: 1;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    color: var(--text-secondary);
    transition: var(--transition);
}

.tab:hover {
    color: var(--primary);
    background: rgba(37, 99, 235, 0.05);
}

.tab.active {
    color: var(--primary);
    background: var(--bg-card);
    border-bottom: 2px solid var(--primary);
}

.tab-content {
    display: none;
    padding: 2rem;
}

.tab-content.active {
    display: block;
}

/* ===== CONTENT COLUMNS ===== */
.content-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.numbered-list {
    padding-left: 1.25rem;
}

.numbered-list li {
    margin-bottom: 0.75rem;
    color: var(--text-secondary);
}

/* ===== BADGES ===== */
.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.badge.blue {
    background: #dbeafe;
    color: #1e40af;
}

.badge.red {
    background: #fee2e2;
    color: #991b1b;
}

/* ===== HIGHLIGHTS ===== */
.highlight-blue {
    background: #dbeafe;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    color: #1e40af;
}

.highlight-red {
    background: #fee2e2;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    color: #991b1b;
}

/* ===== PRINT PREVIEW ===== */
.print-preview {
    background: white;
    border: 2px dashed var(--border);
    padding: 1rem;
    border-radius: var(--radius);
    font-family: 'Consolas', monospace;
    margin-top: 1rem;
}

.print-line {
    text-align: center;
    margin: 0.25rem 0;
}

.print-line.big {
    font-size: 1.25rem;
    font-weight: bold;
}

.print-line.small {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

/* ===== FILTER OPTIONS ===== */
.filter-options {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-option ul {
    margin-top: 0.5rem;
    padding-left: 1.25rem;
}

.filter-option li {
    color: var(--text-secondary);
    margin-bottom: 0.25rem;
}

/* ===== EXAMPLE BLOCK ===== */
.example-block {
    background: var(--bg-secondary);
    padding: 1rem 1.5rem;
    border-radius: var(--radius);
    margin-top: 1rem;
}

.decode-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.decode-list .label {
    font-weight: 600;
    color: var(--primary);
}

/* ===== NETWORK SECTION ===== */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.network-card {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
}

.network-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.network-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
}

.network-card > p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.network-fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 0.25rem;
    color: var(--text-secondary);
}

.field input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    font-size: 0.95rem;
}

.dhcp-info {
    margin-bottom: 1.5rem;
}

.dhcp-info ul {
    list-style: none;
    margin-top: 0.75rem;
}

.dhcp-info li {
    padding: 0.25rem 0;
    color: var(--text-secondary);
}

.btn-network {
    width: 100%;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: var(--radius);
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--primary);
    color: white;
    transition: var(--transition);
}

.btn-network:hover {
    background: var(--primary-dark);
}

.btn-network.secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-network.secondary:hover {
    background: var(--border);
}

/* ===== AUTO DETECT LIST ===== */
.auto-detect-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.detect-item {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-card);
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.detect-icon {
    font-size: 1.5rem;
}

.detect-item strong {
    display: block;
    margin-bottom: 0.25rem;
}

.detect-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

/* ===== LOGS SECTION ===== */
.logs-demo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 2rem;
}

.logs-screenshot {
    width: 100%;
    height: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

/* ===== LOGS LEGEND ===== */
.logs-legend {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
}

.logs-legend h4 {
    margin-bottom: 1rem;
}

.legend-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.legend-icon {
    font-family: 'Consolas', monospace;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.85rem;
}

.legend-icon.success {
    background: #dcfce7;
    color: #166534;
}

.legend-icon.info {
    background: #e2e8f0;
    color: #475569;
}

.legend-icon.error {
    background: #fee2e2;
    color: #991b1b;
}

.legend-icon.save {
    background: #dbeafe;
    color: #1e40af;
}

/* ===== FILTER DEMO ===== */
.filter-demo {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: var(--radius);
}

/* ===== TRAY SECTION ===== */
.tray-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.tray-visual {
    display: flex;
    justify-content: center;
}

.taskbar {
    background: #1e293b;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    display: inline-flex;
}

.tray-icons {
    display: flex;
    gap: 1rem;
}

.tray-icon {
    font-size: 1.25rem;
    opacity: 0.7;
}

.tray-icon.highlight {
    opacity: 1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.tray-actions h4 {
    margin-bottom: 1rem;
}

.action-list {
    list-style: none;
}

.action-list > li {
    margin-bottom: 1rem;
}

.action-list strong {
    color: var(--primary);
}

.action-list p {
    color: var(--text-secondary);
    margin-top: 0.25rem;
}

.action-list ul {
    margin-top: 0.5rem;
    padding-left: 1rem;
}

.action-list ul li {
    color: var(--text-secondary);
    padding: 0.25rem 0;
}

/* ===== FAQ SECTION ===== */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    font-weight: 600;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-icon {
    font-size: 1.5rem;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem;
    color: var(--text-secondary);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer ul {
    margin-top: 0.75rem;
    padding-left: 1.25rem;
}

.faq-answer li {
    margin-bottom: 0.25rem;
}

/* ===== PLANS SECTION ===== */
.plans-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    align-items: stretch;
}

.plans-grid.single-plan {
    display: flex;
    justify-content: center;
}

.plans-grid.single-plan .plan-card {
    max-width: 450px;
    width: 100%;
}

.plan-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    padding: 2rem;
    border: 2px solid var(--border);
    transition: var(--transition);
    position: relative;
    display: flex;
    flex-direction: column;
}

.plan-card .plan-features {
    flex: 1;
}

.plan-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.plan-card.featured {
    border-color: var(--primary);
}

.plan-card.featured:hover {
    transform: translateY(-4px);
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    padding: 0.25rem 1rem;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 600;
}

.plan-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border);
}

.plan-header h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.plan-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 0.25rem;
}

.plan-price .currency {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.plan-price .amount {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-primary);
}

.plan-price .period {
    color: var(--text-secondary);
}

.plan-installments {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
    font-weight: 500;
}

.plan-features {
    margin-bottom: 2rem;
}

.plan-features ul {
    list-style: none;
}

.plan-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 0.75rem;
    min-height: 3rem;
}

.plan-features li.empty-feature {
    visibility: hidden;
}

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

.plan-features .check {
    color: var(--success);
    font-weight: bold;
}

.plan-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    text-decoration: none;
    text-align: center;
    display: block;
}

.plan-btn:hover:not(:disabled) {
    background: var(--primary);
    color: white;
}

.plan-btn.featured {
    background: var(--primary);
    color: white;
}

.plan-btn.featured:hover:not(:disabled) {
    background: var(--primary-dark);
}

.plan-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.plans-info {
    max-width: 700px;
    margin: 0 auto;
}

/* ===== FOOTER ===== */
.footer {
    background: var(--bg-dark);
    color: #e2e8f0;
    padding: 3rem 1.5rem;
    text-align: center;
}

.footer-content {
    max-width: 600px;
    margin: 0 auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer p {
    color: #94a3b8;
    margin-bottom: 0.5rem;
}

.footer p strong {
    color: #60a5fa;
}

.version {
    font-size: 0.85rem;
    color: #64748b;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 48px;
    height: 48px;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 50%;
    font-size: 1.25rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--primary-dark);
    transform: translateY(-4px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
        gap: 3rem;
    }
    
    .hero-content {
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-features {
        grid-template-columns: repeat(2, 1fr);
        justify-items: center;
    }
    
    .pdv-info-content {
        flex-direction: column;
        text-align: center;
    }
    
    .content-columns {
        grid-template-columns: 1fr;
    }
    
    .tray-info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .plan-card.featured {
        transform: scale(1);
    }
    
    .plan-card.featured:hover {
        transform: translateY(-4px);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        border-bottom: 1px solid var(--border);
        box-shadow: var(--shadow);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        padding: 0.75rem 1rem;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
        min-height: auto;
        text-align: center;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero h1 {
        font-size: 2rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        width: 100%;
    }
    
    .hero-feature {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
        justify-content: center;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }
    
    .hero-image {
        max-width: 100%;
        width: 100%;
    }
    
    .app-screenshot {
        max-width: 100%;
    }
    
    .tabs {
        flex-wrap: wrap;
    }
    
    .tab {
        flex: 1 1 auto;
        min-width: 120px;
    }
    
    .network-grid {
        grid-template-columns: 1fr;
    }
    
    .plans-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .plan-card {
        padding: 1.5rem;
    }
    
    .plan-price .amount {
        font-size: 2rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
    
    .container {
        padding: 0 1rem;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.75rem;
        text-align: center;
    }
    
    .section-subtitle {
        font-size: 1rem;
        text-align: center;
    }
    
    .pdv-info-section {
        padding: 2rem 1rem;
    }
    
    .pdv-logo {
        width: 60px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .content-block {
        padding: 1.5rem;
    }
    
    .step-list .step {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-content {
        text-align: center;
    }
    
    .info-box {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
        align-items: center;
    }
    
    .info-content {
        text-align: center;
    }
    
    .footer-content {
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .plan-features ul {
        text-align: left;
    }
    
    .pdv-info-content {
        flex-direction: column;
        align-items: center;
    }
    
    .pdv-info-text {
        text-align: center;
    }
    
    .pdv-info-text h3,
    .pdv-info-text p {
        text-align: center;
    }
    
    .pdv-badge {
        align-self: center;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 4rem 1rem 2rem;
        text-align: center;
        align-items: center;
    }
    
    .hero-content {
        width: 100%;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero h1 {
        font-size: 1.75rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        text-align: center;
        width: 100%;
    }
    
    .hero-features {
        grid-template-columns: 1fr;
        width: 100%;
    }
    
    .hero-feature {
        justify-content: center;
    }
    
    .pdv-badge {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        align-self: center;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        justify-content: center;
        padding: 0.875rem 1.5rem;
    }
    
    .feature-card {
        padding: 1.25rem;
        text-align: center;
    }
    
    .feature-card h3,
    .feature-card p {
        text-align: center;
    }
    
    .feature-icon {
        font-size: 2rem;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        border-bottom: 1px solid var(--border);
    }
    
    .tab.active {
        border-bottom-color: var(--primary);
    }
    
    .section-title {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .section-subtitle {
        text-align: center;
    }
    
    .plan-header h3 {
        font-size: 1.25rem;
    }
    
    .plan-price .amount {
        font-size: 1.75rem;
    }
    
    .plan-features li {
        font-size: 0.9rem;
        padding: 0.5rem 0;
    }
    
    .info-box {
        padding: 1rem;
        text-align: center;
        align-items: center;
    }
    
    .info-content {
        text-align: center;
    }
    
    .info-icon {
        font-size: 2rem;
    }
    
    .logo-text {
        font-size: 1rem;
    }
    
    .logo-img {
        height: 28px;
    }
    
    .step {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .step-content {
        text-align: center;
    }
    
    .step-content h4,
    .step-content p {
        text-align: center;
    }
    
    .content-block {
        padding: 1rem;
    }
    
    .subsection h3 {
        text-align: center;
    }
    
    .container {
        padding: 0 1rem;
        width: 100%;
    }

}

/* ===== PLAN BUTTONS STYLES ===== */
.plan-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-top: auto;
}

.plan-btn {
    width: 100%;
    padding: 1rem;
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-align: center;
    text-decoration: none;
    display: block;
}

.download-btn {
    background: var(--bg-secondary);
    color: var(--text-secondary);
    border: 2px solid var(--border);
}

.download-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.whatsapp-btn {
    background: #25D366;
    color: white;
    border: 2px solid #25D366;
}

.whatsapp-btn:hover {
    background: #1da851;
    border-color: #1da851;
}

.whatsapp-btn.featured {
    background: var(--primary);
    border-color: var(--primary);
}

.whatsapp-btn.featured:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

/* Make sure plan cards display buttons properly */
.plan-card {
    display: flex;
    flex-direction: column;
}

.plan-features {
    flex: 1;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .plan-buttons {
        gap: 0.5rem;
    }
    
    .plan-btn {
        padding: 0.875rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .plan-buttons {
        flex-direction: column;
    }
}
/* ===== NEW BADGES ===== */
.badge.cyan {
    background: #00d4ff;
    color: #000;
}

.badge.green {
    background: #22c55e;
    color: white;
}

.badge.purple {
    background: #8a2be2;
    color: white;
}

/* ===== BTN EXAMPLE PURPLE ===== */
.btn-example.purple {
    background: #8a2be2;
}

/* ===== HIGHLIGHT COLORS ===== */
.highlight-blue {
    background-color: #ADD8E6;
    padding: 2px 6px;
    border-radius: 3px;
    color: #1e40af;
}

.highlight-red {
    background-color: #F08080;
    padding: 2px 6px;
    border-radius: 3px;
    color: #991b1b;
}

/* ===== COLOR LEGEND ===== */
.color-legend {
    background: var(--bg-secondary);
    padding: 15px;
    border-radius: var(--radius);
}

/* ===== ADDITIONAL TABS ===== */
.tab[data-tab="teste"],
.tab[data-tab="ativacao"],
.tab[data-tab="configuracoes"],
.tab[data-tab="planos-tab"],
.tab[data-tab="visualizacao"] {
    cursor: pointer;
}

/* ===== INFO BOX GRADIENT ===== */
.info-box[style*="linear-gradient"] {
    border-radius: var(--radius-lg);
}