/* =========================================================
   CVEWORKS - PACKET ANALYZER
   Light / Red / White visual identity
========================================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family:
        Inter,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    background: #f7f7f8;
    color: #202124;
    line-height: 1.6;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
}

button {
    cursor: pointer;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e5e5e7;
}

.header-content {
    height: 72px;

    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.4px;
}

.logo-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 40px;
    height: 40px;

    background: #c90000;
    color: #ffffff;

    border-radius: 8px;

    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.logo-name {
    color: #202124;
}

.logo-name span {
    color: #c90000;
}

.navigation {
    display: flex;
    align-items: center;
    gap: 32px;
}

.navigation a {
    color: #5f6368;

    font-size: 14px;
    font-weight: 600;

    transition:
        color 0.2s ease;
}

.navigation a:hover {
    color: #c90000;
}


/* =========================================================
   AMAZON BANNER
========================================================= */

.amazon-banner {
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;

    margin: 0 auto;
    padding: 15px 0;

    overflow: hidden;

    background: #ffffff;
}

.amazon-banner.footer-banner {
    margin: 15px auto;
    padding: 0;
}

.amazon-banner a {
    display: block;
    width: min(1136px, calc(100% - 40px));
}

.amazon-banner img {
    display: block;

    width: 100%;
    max-width: 1136px;
    height: auto;

    margin: 0 auto;
}


/* =========================================================
   HERO
========================================================= */

.hero {
    position: relative;

    padding: 70px 0 55px;

    text-align: center;

    background: #f7f7f8;

    overflow: hidden;
}

.hero-glow {
    display: none;
}

.hero-content {
    position: relative;

    max-width: 900px;

    margin: 0 auto;
}

.hero-badge,
.section-label {
    display: inline-block;

    margin-bottom: 18px;
    padding: 9px 16px;

    color: #c90000;

    background: #ffffff;

    border: 1px solid #f3bcbc;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 1.2px;
    text-transform: uppercase;
}

.hero h1 {
    margin-bottom: 12px;

    color: #202124;

    font-size: clamp(38px, 5vw, 56px);
    line-height: 1.08;
    letter-spacing: -1.8px;
}

.hero h1 span {
    color: #d71920;
}

.hero-description {
    max-width: 700px;

    margin: 0 auto;

    color: #5f6368;

    font-size: 17px;
}


/* =========================================================
   ANALYZER
========================================================= */

.analyzer-section {
    padding: 55px 0 70px;

    background: #f7f7f8;
}

.analyzer-card {
    padding: 28px;

    background: #ffffff;

    border: 1px solid #e2e2e5;
    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.04);
}

.tool-header {
    width: 100%;

    margin-bottom: 28px;
    padding-bottom: 22px;

    background: transparent;

    border-bottom: 1px solid #eeeeef;

    text-align: center;
}

.tool-header h1 {
    margin-bottom: 7px;

    color: #202124;

    font-size: 25px;
    line-height: 1.25;

    letter-spacing: -0.5px;
}

.tool-header p {
    color: #5f6368;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   UPLOAD
========================================================= */

.upload {
    display: block;

    width: 100%;

    padding: 45px 20px;

    text-align: center;

    background: #fffafa;

    border: 2px dashed #e7b0b0;
    border-radius: 10px;

    cursor: pointer;

    transition:
        border-color 0.2s ease,
        background 0.2s ease;
}

.upload:hover,
.upload.dragover {
    background: #fff6f6;
    border-color: #c90000;
}

.upload strong {
    display: block;

    margin-bottom: 8px;

    color: #202124;

    font-size: 18px;
}

.upload span {
    color: #777b80;

    font-size: 13px;
}

input[type="file"] {
    display: none;
}


/* =========================================================
   STATUS / PROGRESS
========================================================= */

.status {
    min-height: 18px;

    margin-top: 12px;

    color: #777b80;

    font-size: 13px;
}

.error {
    color: #b00000;
}

.success {
    color: #26703d;
}

.progress-container {
    display: none;

    width: 100%;
    height: 6px;

    margin-top: 12px;

    background: #eeeeef;

    border-radius: 5px;

    overflow: hidden;
}

.progress-bar {
    width: 0%;
    height: 100%;

    background: #c90000;

    transition: width 0.1s;
}

.info-box {
    display: none;

    margin-top: 15px;
    padding: 12px 15px;

    background: #fffafa;

    border: 1px solid #e7b0b0;
    border-radius: 8px;

    color: #5f6368;

    font-size: 13px;
}


/* =========================================================
   STATISTICS
========================================================= */

.stats {
    display: grid;

    grid-template-columns:
        repeat(7, minmax(0, 1fr));

    gap: 12px;

    margin: 20px 0;
}

.stat {
    padding: 15px;

    background: #ffffff;

    border: 1px solid #e2e2e5;
    border-radius: 9px;
}

.stat-label {
    margin-bottom: 6px;

    color: #777b80;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 0.5px;
}

.stat-value {
    color: #202124;

    font-size: 20px;
    font-weight: 800;
}


/* =========================================================
   FILTER TOOLBAR
========================================================= */

.toolbar {
    display: flex;

    gap: 10px;

    margin-bottom: 12px;
}

.toolbar input {
    flex: 1;

    min-width: 0;
    height: 45px;

    padding: 0 13px;

    background: #ffffff;

    border: 1px solid #cfd1d4;
    border-radius: 8px;

    color: #202124;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.toolbar input:focus {
    border-color: #c90000;

    box-shadow:
        0 0 0 3px rgba(201, 0, 0, 0.09);
}

.toolbar button {
    min-height: 44px;

    padding: 0 18px;

    background: #c90000;
    color: #ffffff;

    border: 1px solid #c90000;
    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        border-color 0.2s ease;
}

.toolbar button:hover {
    background: #a90000;
    border-color: #a90000;
}

.toolbar button.export {
    background: #26703d;
    border-color: #26703d;
}

.toolbar button.export:hover {
    background: #205e34;
    border-color: #205e34;
}

.toolbar button:disabled {
    cursor: not-allowed;

    opacity: 0.45;
}

.filter-status {
    display: none;

    margin-bottom: 12px;
    padding: 10px 12px;

    background: #fffafa;

    border: 1px solid #e7b0b0;
    border-radius: 8px;

    color: #5f6368;

    font-size: 13px;
}

.filter-status.filter-error {
    color: #b00000;
}


/* =========================================================
   PACKET SELECTION
========================================================= */

.packet-selection-toolbar {
    display: flex;
    align-items: stretch;

    gap: 10px;

    margin: 12px 0 10px;
}

.packet-selection-help {
    flex: 1;

    margin: 0;
    padding: 10px 12px;

    background: #f8f8f9;

    border: 1px solid #e4e4e6;
    border-radius: 7px;

    color: #666a6e;

    font-size: 11px;
    line-height: 1.55;
}

.packet-selection-help strong {
    color: #202124;
}

.packet-selection-help.active {
    background: #fff7f7;

    border-color: #c90000;

    color: #55595d;
}

.selection-clear {
    min-width: 130px;
    height: 38px;

    padding: 0 14px;

    background: #ffffff;

    border: 1px solid #cfd1d4;
    border-radius: 7px;

    color: #3c4043;

    font-size: 12px;
    font-weight: 700;

    white-space: nowrap;
}

.selection-clear:hover {
    border-color: #c90000;
    color: #c90000;
}

.selection-clear:disabled {
    cursor: not-allowed;

    opacity: 0.45;
}

.packet-selection-count {
    color: #c90000;

    font-weight: 800;
}

.analysis-source-note {
    margin-bottom: 12px;
    padding: 9px 11px;

    background: #fafafa;

    border-left: 3px solid #c90000;

    color: #666a6e;

    font-size: 11px;
}


/* =========================================================
   PACKET TABLE
========================================================= */

.table-container {
    width: 100%;

    background: #ffffff;

    border: 1px solid #e2e2e5;
    border-radius: 10px;

    overflow: hidden;
}

.table-header {
    width: 100%;

    overflow: hidden;
}

.table-header table,
.virtual-table {
    width: 100%;

    border-collapse: collapse;

    table-layout: fixed;
}

th {
    padding: 11px;

    background: #202124;
    color: #ffffff;

    border-bottom: 1px solid #333333;

    text-align: left;

    font-size: 11px;
    font-weight: 800;
}

.col-number {
    width: 70px;
}

.col-time {
    width: 130px;
}

.col-source {
    width: 190px;
}

.col-destination {
    width: 190px;
}

.col-protocol {
    width: 100px;
}

.col-length {
    width: 100px;
}

.virtual-scroll {
    position: relative;

    width: 100%;
    height: 520px;

    overflow-y: auto;
    overflow-x: hidden;
}

.virtual-content {
    position: relative;

    width: 100%;
}

.virtual-table {
    position: absolute;

    top: 0;
    left: 0;
}

.virtual-table td {
    height: 36px;

    padding: 8px 11px;

    border-bottom: 1px solid #eeeeef;

    font-size: 13px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.packet-row {
    cursor: pointer;

    user-select: none;
    -webkit-user-select: none;
}

.packet-row:hover {
    background: #fffafa;
}

.packet-row.selected {
    background: #fff1f1;
}

.packet-row.analysis-selected td {
    background: #fff1f2 !important;

    color: inherit;

    box-shadow:
        inset 3px 0 0 #c90000;
}

.packet-row.analysis-selected:hover td {
    background: #ffe5e7 !important;
}

.packet-row.analysis-selected .col-number {
    color: #c90000;

    font-weight: 900;
}

.packet-row.analysis-selected.selected td {
    background: #ffe5e7 !important;

    box-shadow:
        inset 4px 0 0 #a90000;
}

.packet-row.selected td {
    outline: 2px solid rgba(201, 0, 0, 0.22);
    outline-offset: -2px;
}


/* =========================================================
   PROTOCOL COLORS
========================================================= */

.protocol-TCP {
    color: #7c3aed;
}

.protocol-UDP {
    color: #26703d;
}

.protocol-DNS {
    color: #0284c7;
}

.protocol-ICMP {
    color: #b45309;
}

.protocol-ARP {
    color: #be123c;
}

.protocol-HTTP {
    color: #c2410c;
}

.protocol-TLS {
    color: #0f766e;
}


/* =========================================================
   PACKET DETAILS
========================================================= */

.details {
    margin-top: 20px;

    background: #ffffff;

    border: 1px solid #e2e2e5;
    border-radius: 10px;

    overflow: hidden;
}

.details-header {
    padding: 15px 18px;

    background: #202124;
    color: #ffffff;

    font-weight: 800;
}

.details-content {
    max-height: 750px;

    padding: 18px;

    overflow: auto;
}

.layer {
    margin-bottom: 10px;

    border: 1px solid #e2e2e5;
    border-radius: 7px;

    overflow: hidden;
}

.layer-title {
    padding: 10px 12px;

    background: #fff1f1;

    color: #202124;

    font-weight: 800;
}

.layer-body {
    padding: 10px 12px;
}

.field {
    display: grid;

    grid-template-columns:
        250px 1fr;

    padding: 6px 0;

    border-bottom: 1px solid #eeeeef;
}

.field:last-child {
    border-bottom: 0;
}

.field-name {
    color: #777b80;
}

.hex {
    margin-top: 15px;
    padding: 12px;

    overflow-x: auto;

    background: #202124;
    color: #ffffff;

    border: 1px solid #333333;
    border-radius: 7px;

    white-space: pre;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size: 12px;
}

.empty {
    padding: 50px;

    text-align: center;

    color: #999999;
}

.footer-info {
    margin-top: 15px;

    color: #777b80;

    font-size: 12px;
}


/* =========================================================
   NETWORK ANALYSIS
========================================================= */

.network-analysis-section {
    padding: 0 0 20px;

    background: #f7f7f8;
}

.network-analysis {
    margin-top: 28px;

    background: #ffffff;

    border: 1px solid #e2e2e5;
    border-radius: 10px;

    overflow: hidden;
}

.network-analysis:first-child {
    margin-top: 0;
}

.network-analysis-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding: 20px;

    border-bottom: 1px solid #eeeeef;
}

.network-analysis-header .section-label {
    margin-bottom: 10px;
}

.network-analysis-header h2 {
    color: #202124;

    font-size: 24px;
    line-height: 1.2;
}

.network-analysis-header p {
    margin-top: 7px;

    color: #5f6368;

    font-size: 13px;
}

.network-analysis-actions {
    display: flex;
    flex-wrap: wrap;

    flex-shrink: 0;

    gap: 8px;
}

.network-analysis-actions button {
    min-height: 42px;

    padding: 0 15px;

    background: #c90000;
    color: #ffffff;

    border: 1px solid #c90000;
    border-radius: 7px;

    font-size: 13px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        border-color 0.2s ease,
        color 0.2s ease;
}

.network-analysis-actions button:hover {
    background: #a90000;
    border-color: #a90000;
}

.network-analysis-actions button.secondary {
    background: #202124;
    border-color: #202124;
}

.network-analysis-actions button.secondary:hover {
    background: #000000;
    border-color: #000000;
}

.network-analysis-actions button.download {
    background: #ffffff;
    color: #3c4043;

    border-color: #cfd1d4;
}

.network-analysis-actions button.download:hover {
    background: #ffffff;

    border-color: #c90000;

    color: #c90000;
}

.network-analysis-actions button:disabled {
    cursor: not-allowed;

    opacity: 0.4;
}


/* =========================================================
   FLOW OPTIONS
========================================================= */

.flow-options {
    display: flex;
    align-items: center;

    gap: 20px;

    padding: 15px 20px;

    background: #fafafa;

    border-bottom: 1px solid #eeeeef;
}

.flow-options label {
    display: flex;
    align-items: center;

    gap: 8px;

    color: #666a6e;

    font-size: 12px;
    font-weight: 700;
}

.flow-options select {
    height: 34px;

    padding: 0 10px;

    background: #ffffff;

    border: 1px solid #cfd1d4;
    border-radius: 7px;

    color: #202124;
}


/* =========================================================
   FLOW GRAPH
========================================================= */

.flow-graph-container {
    width: 100%;
    min-height: 260px;

    padding: 20px;

    overflow: auto;
}

.flow-summary {
    display: flex;
    flex-wrap: wrap;

    gap: 8px;

    margin-bottom: 15px;
}

.flow-summary-item {
    padding: 7px 10px;

    background: #fafafa;

    border: 1px solid #e2e2e5;
    border-radius: 7px;

    color: #666a6e;

    font-size: 11px;
}

.flow-summary-item strong {
    color: #202124;
}

.flow-summary-item.active {
    background: #fff7f7;

    border-color: #c90000;
}

.flow-graph {
    min-width: 760px;
}

.flow-conversation {
    margin-bottom: 18px;

    background: #ffffff;

    border: 1px solid #e5e5e7;
    border-radius: 9px;

    overflow: hidden;
}

.flow-conversation-header {
    display: flex;
    justify-content: space-between;

    gap: 15px;

    padding: 10px 12px;

    background: #fafafa;

    border-bottom: 1px solid #eeeeef;

    color: #666a6e;

    font-size: 11px;
}

.flow-conversation-header strong {
    color: #202124;

    font-family:
        Consolas,
        Monaco,
        monospace;
}

.flow-row {
    display: grid;
    align-items: center;

    grid-template-columns:
        220px minmax(300px, 1fr) 220px;

    min-height: 58px;

    border-bottom: 1px solid #eeeeef;
}

.flow-row:last-child {
    border-bottom: 0;
}

.flow-endpoint {
    padding: 8px 12px;

    background: #fafafa;

    border: 1px solid #e1e2e4;
    border-radius: 7px;

    color: #202124;

    font-family:
        Consolas,
        Monaco,
        monospace;

    font-size: 12px;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.flow-endpoint.source {
    margin-left: 10px;

    text-align: right;
}

.flow-endpoint.destination {
    margin-right: 10px;

    text-align: left;
}

.flow-middle {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 52px;

    padding: 5px 15px;
}

/* =========================================================
   FLOW LINE / ARROWS
========================================================= */

/* =========================================================
   FLOW LINE / ARROWS
   Forward = Blue
   Reverse = Red
========================================================= */

.flow-line {
    position: absolute;

    left: 15px;
    right: 15px;
    top: 50%;

    height: 0;

    border-top: 2px solid #202124;

    transform: translateY(-50%);
}


/* remove as antigas setas pequenas */
.flow-arrow {
    display: none;
}


/* base da ponta da seta */
.flow-line::before,
.flow-line::after {
    content: "";

    position: absolute;
    top: 50%;

    width: 10px;
    height: 10px;

    display: none;
}


/* =========================================================
   FORWARD
   ESQUERDA -> DIREITA
   AZUL
========================================================= */

.flow-middle:has(.flow-arrow.forward) .flow-line {
    border-top-color: #2563eb;
}

.flow-middle:has(.flow-arrow.forward) .flow-line::after {
    display: block;

    right: -1px;

    border-top: 2px solid #2563eb;
    border-right: 2px solid #2563eb;

    transform:
        translateY(-50%)
        rotate(45deg);
}


/* =========================================================
   REVERSE
   DIREITA -> ESQUERDA
   VERMELHO
========================================================= */

.flow-middle:has(.flow-arrow.reverse) .flow-line {
    border-top-color: #c90000;
}

.flow-middle:has(.flow-arrow.reverse) .flow-line::before {
    display: block;

    left: -1px;

    border-top: 2px solid #c90000;
    border-right: 2px solid #c90000;

    transform:
        translateY(-50%)
        rotate(-135deg);
}

/* =========================================================
   FLOW GRAPH CLICKABLE PACKETS
========================================================= */

.flow-packet {
    cursor: pointer;

    user-select: none;
    -webkit-user-select: none;

    transition:
        border-color 0.15s ease,
        box-shadow 0.15s ease,
        transform 0.15s ease;
}

.flow-packet:hover {
    border-color: #c90000 !important;

    box-shadow:
        0 0 0 2px rgba(201, 0, 0, 0.08);

    transform: translateY(-1px);
}

.flow-packet:focus {
    outline: 2px solid rgba(201, 0, 0, 0.35);
    outline-offset: 2px;
}

.flow-packet.flow-packet-selected {
    background: #fff1f1 !important;

    border-color: #c90000 !important;

    box-shadow:
        0 0 0 2px rgba(201, 0, 0, 0.14),
        inset 3px 0 0 #c90000;
}


/* =========================================================
   CONVERSATION SUMMARY
========================================================= */

.conversation-container {
    padding: 20px;

    overflow-x: auto;
}

.conversation-table {
    width: 100%;
    min-width: 960px;

    border-collapse: collapse;
}

.conversation-table th {
    padding: 11px;

    background: #202124;
    color: #ffffff;

    text-align: left;

    font-size: 11px;

    white-space: nowrap;
}

.conversation-table td {
    padding: 10px 11px;

    border-bottom: 1px solid #eeeeef;

    color: #44484c;

    font-size: 12px;

    white-space: nowrap;
}

.conversation-table tbody tr:hover {
    background: #fffafa;
}

.conversation-endpoint {
    color: #202124;

    font-family:
        Consolas,
        Monaco,
        monospace;
}

.conversation-protocol {
    font-weight: 800;
}

.conversation-count {
    color: #202124;

    font-weight: 800;
}

.conversation-duration {
    color: #666a6e;

    font-family:
        Consolas,
        Monaco,
        monospace;
}

.conversation-action {
    height: 30px;

    padding: 0 9px;

    background: #ffffff;

    border: 1px solid #dedfe1;
    border-radius: 6px;

    color: #55595d;

    font-size: 11px;
    font-weight: 700;
}

.conversation-action:hover {
    border-color: #c90000;
    color: #c90000;
}


/* =========================================================
   TOP TALKERS
========================================================= */

.top-talkers-container {
    padding: 20px;

    overflow-x: auto;
}

.top-talkers-grid {
    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 20px;

    min-width: 700px;
}

.top-talkers-card {
    background: #ffffff;

    border: 1px solid #e5e5e7;
    border-radius: 9px;

    overflow: hidden;
}

.top-talkers-card h3 {
    margin: 0;
    padding: 12px 14px;

    background: #fafafa;

    border-bottom: 1px solid #eeeeef;

    color: #202124;

    font-size: 13px;
}

.top-talkers-table {
    width: 100%;

    border-collapse: collapse;
}

.top-talkers-table th {
    padding: 9px 10px;

    background: #fafafa;
    color: #666a6e;

    text-align: left;

    font-size: 10px;
}

.top-talkers-table td {
    padding: 9px 10px;

    border-top: 1px solid #eeeeef;

    font-size: 11px;
}

.top-talkers-address {
    color: #202124;

    font-family:
        Consolas,
        Monaco,
        monospace;
}

.top-talkers-number {
    font-weight: 800;
}


/* =========================================================
   DOWNLOAD NOTES
========================================================= */

.analysis-download-note {
    margin-top: 10px;

    color: #777b80;

    font-size: 11px;
}


/* =========================================================
   SEO / INFORMATION
========================================================= */

.info-section {
    padding: 70px 0 80px;

    background: #ffffff;

    border-top: 1px solid #e6e6e8;
}

.info-content {
    max-width: 850px;

    margin: 0 auto;
    padding: 34px;

    background: #ffffff;

    border: 1px solid #e2e2e5;
    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.04);
}

.info-content .section-label {
    margin-bottom: 18px;
}

.info-content h2 {
    margin-bottom: 12px;

    color: #202124;

    font-size: 28px;
    line-height: 1.2;

    letter-spacing: -0.5px;
}

.info-content p {
    margin-top: 12px;

    color: #5f6368;

    font-size: 14px;
    line-height: 1.7;
}


/* =========================================================
   HACKERDNA AFFILIATE
========================================================= */

.affiliate-section {
    padding: 64px 0;

    background: #f7f7f8;
}

.affiliate-box {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 38px 42px;

    background: #ffffff;

    border: 1px solid #e2e2e5;
    border-radius: 12px;

    box-shadow:
        0 5px 20px rgba(0, 0, 0, 0.04);

    overflow: hidden;
}

.affiliate-box::after {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    top: -130px;
    right: -120px;

    background: #c90000;

    border-radius: 50%;

    opacity: 0.035;

    pointer-events: none;
}

.affiliate-content {
    position: relative;
    z-index: 1;

    max-width: 760px;
}

.affiliate-content .section-label {
    margin-bottom: 12px;
}

.affiliate-box h2 {
    color: #202124;

    font-size: 28px;
    line-height: 1.2;
}

.affiliate-box p {
    margin-top: 8px;

    color: #5f6368;

    font-size: 14px;
    line-height: 1.7;
}

.affiliate-button {
    position: relative;
    z-index: 1;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    gap: 12px;

    min-height: 46px;

    padding: 0 20px;

    background: #c90000;
    color: #ffffff;

    border-radius: 7px;

    font-size: 14px;
    font-weight: 700;

    transition:
        background 0.2s ease,
        transform 0.15s ease;
}

.affiliate-button:hover {
    background: #a90000;

    transform: translateY(-1px);
}

.affiliate-button span {
    font-size: 18px;
}


/* =========================================================
   FOOTER
========================================================= */

.site-footer {
    background: #ffffff;

    border-top: 1px solid #e4e4e6;
}

.copyright {
    color: #92969a;

    font-size: 11px;
}

.copyright .container {
    min-height: 55px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 20px;

    padding-top: 18px;
    padding-bottom: 18px;
}

.copyright-left {
    text-align: left;
}

.copyright-right {
    text-align: right;
}

.copyright a {
    color: #c90000;
}

.copyright a:hover {
    text-decoration: underline;
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1100px) {

    .stats {
        grid-template-columns:
            repeat(4, minmax(0, 1fr));
    }

}


@media (max-width: 900px) {

    .affiliate-box {
        align-items: flex-start;
        flex-direction: column;
    }

}


@media (max-width: 800px) {

    .stats {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
    }

    .field {
        grid-template-columns: 1fr;

        gap: 4px;
    }

    .table-container {
        overflow-x: auto;
    }

    .table-header table,
    .virtual-table {
        min-width: 900px;
    }

    .virtual-scroll {
        overflow-x: auto;
    }

    .network-analysis-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .network-analysis-actions {
        width: 100%;
    }

    .network-analysis-actions button {
        flex: 1;
    }

    .flow-options {
        align-items: flex-start;
        flex-direction: column;
    }

    .flow-row {
        grid-template-columns:
            150px 260px 150px;
    }

    .top-talkers-grid {
        grid-template-columns: 1fr;

        min-width: 0;
    }

    .packet-selection-toolbar {
        align-items: stretch;
        flex-direction: column;
    }

    .selection-clear {
        width: 100%;
    }

}


@media (max-width: 700px) {

    .container {
        width: min(
            100% - 28px,
            1180px
        );
    }

    .header-content {
        height: 64px;
    }

    .navigation {
        gap: 16px;
    }

    .hero {
        padding: 48px 0 40px;
    }

    .hero h1 {
        font-size: 38px;
    }

    .hero-description {
        font-size: 15px;
    }

    .analyzer-section {
        padding: 45px 0 55px;
    }

    .analyzer-card {
        padding: 20px;
    }

    .toolbar {
        flex-direction: column;
    }

    .toolbar button {
        width: 100%;
    }

    .network-analysis-actions {
        flex-direction: column;
    }

    .network-analysis-actions button {
        width: 100%;
    }

    .affiliate-section {
        padding: 52px 0;
    }

    .affiliate-box {
        padding: 28px 24px;
    }

    .affiliate-button {
        width: 100%;
    }

    .info-section {
        padding: 55px 0;
    }

    .info-content {
        padding: 24px;
    }

    .copyright .container {
        min-height: auto;

        align-items: flex-start;
        flex-direction: column;

        gap: 4px;

        padding-top: 16px;
        padding-bottom: 16px;
    }

    .copyright-left,
    .copyright-right {
        text-align: left;
    }

}


@media (max-width: 480px) {

    .navigation a {
        font-size: 12px;
    }

    .logo-name {
        font-size: 18px;
    }

    .logo-mark {
        width: 36px;
        height: 36px;
    }

    .stats {
        grid-template-columns:
            1fr 1fr;
    }

    .upload {
        padding: 35px 15px;
    }

    .copyright .container {
        align-items: center;

        text-align: center;
    }

    .copyright-left,
    .copyright-right {
        text-align: center;
    }

}