:root {
    --tool-bg: #2b2b2b;
    --tool-text: #e0e0e0;
    --tool-primary: #ff5722; /* Tool Red/Orange */
    --tool-secondary: #3c3f41;
    --tool-accent: #03a9f4; /* Tech Blue */
    --tool-border: #555555;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body {
    background-color: var(--tool-bg); color: var(--tool-text);
    font-family: 'Consolas', 'Courier New', monospace; /* Monospace for tool feel */
    line-height: 1.6; overflow-x: hidden;
}

.tool-container { max-width: 1000px; margin: 0 auto; padding: 0 20px;}

/* Header */
.tool-header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 20px 0; margin-bottom: 40px; border-bottom: 2px solid var(--tool-border);
}
.tool-brand {
    font-size: 22px; font-weight: bold; color: var(--tool-primary);
    display: flex; align-items: center; gap: 10px; text-transform: uppercase;
}
.tool-brand::before {
    content: '🔧'; font-size: 24px;
}
.tool-nav { display: flex; gap: 20px; }
.tool-nav a {
    font-size: 14px; color: #aaa; text-decoration: none;
    padding: 5px 10px; background: var(--tool-secondary); border: 1px solid var(--tool-border);
    transition: all 0.2s;
}
.tool-nav a:hover, .tool-nav a.active { 
    background: var(--tool-primary); color: #fff; border-color: var(--tool-primary);
}

/* Hero */
.tool-hero {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 60px; padding: 40px; background: var(--tool-secondary);
    border: 1px solid var(--tool-border); border-left: 5px solid var(--tool-primary);
}
.tool-hero-text { flex: 1; }
.tool-hero h1 {
    font-size: 36px; color: #fff; margin-bottom: 20px; font-weight: normal;
}
.tool-hero p { font-size: 16px; color: #bbb; margin-bottom: 30px;}

.tool-hero-visual {
    flex: 1; height: 250px; background: #1e1e1e; border: 1px solid var(--tool-border);
    padding: 20px; font-size: 14px; color: var(--tool-accent); overflow: hidden;
    position: relative;
}
.tool-hero-visual::after {
    content: '> init connection...\n> establishing secure tunnel...\n> routing table updated.\n> STATUS: CONNECTED';
    white-space: pre-wrap; display: block; animation: typing 4s steps(40, end) infinite;
}
@keyframes typing { 0% { opacity: 0; } 10%, 100% { opacity: 1; } }

.btn-tool {
    display: inline-block; padding: 12px 25px; font-size: 16px; font-weight: bold;
    color: #fff; background: var(--tool-primary); border: none;
    text-decoration: none; transition: background 0.2s; text-transform: uppercase;
}
.btn-tool:hover { background: #e64a19; }

/* Stats */
.tool-stats {
    display: flex; justify-content: space-between; margin-bottom: 60px; gap: 15px;
}
.ts-item {
    flex: 1; background: var(--tool-secondary); padding: 20px; text-align: center;
    border: 1px solid var(--tool-border);
}
.ts-val { font-size: 28px; font-weight: bold; color: var(--tool-accent); margin-bottom: 5px;}
.ts-lbl { font-size: 12px; color: #aaa; text-transform: uppercase;}

/* Features */
.tool-features { margin-bottom: 60px; }
.tool-features h2 { font-size: 24px; margin-bottom: 30px; color: #fff; border-bottom: 1px solid var(--tool-border); padding-bottom: 10px;}
.tf-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.tf-card {
    background: var(--tool-secondary); padding: 25px; border: 1px solid var(--tool-border);
}
.tf-card h3 { font-size: 18px; color: var(--tool-primary); margin-bottom: 15px;}
.tf-card p { font-size: 14px; color: #ccc;}

/* Nodes */
.tool-nodes { margin-bottom: 60px; }
.tool-nodes h2 { font-size: 24px; margin-bottom: 30px; color: #fff; border-bottom: 1px solid var(--tool-border); padding-bottom: 10px;}
.tn-list { display: flex; flex-direction: column; gap: 5px; }
.tn-item {
    background: #1e1e1e; padding: 10px 15px; border: 1px solid var(--tool-border);
    display: flex; justify-content: space-between; font-size: 14px;
}
.tn-status { color: var(--tool-accent); }

/* FAQ */
.tool-faq { margin-bottom: 80px; }
.tool-faq h2 { font-size: 24px; margin-bottom: 30px; color: #fff; border-bottom: 1px solid var(--tool-border); padding-bottom: 10px;}
.t-faq-item {
    background: var(--tool-secondary); padding: 20px; margin-bottom: 15px; border: 1px solid var(--tool-border);
}
.t-fq { font-size: 16px; color: var(--tool-primary); margin-bottom: 10px; font-weight: bold;}
.t-fa { font-size: 14px; color: #ccc;}

footer {
    text-align: center; padding: 20px 0; color: #777; font-size: 12px;
    border-top: 2px solid var(--tool-border);
}

@media (max-width: 768px) {
    .tool-header { flex-direction: column; gap: 15px; }
    .tool-hero { flex-direction: column; }
    .tool-hero-visual { display: none; }
    .tf-grid { grid-template-columns: 1fr; }
    .tool-stats { flex-direction: column; }
}