/**
 * Steganography & Digital Forensics Lab - Stylesheet
 * Space-themed dark UI for cybersecurity tools
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00d4ff;
    --secondary-color: #8b5cf6;
    --text-primary: #ffffff;
    --text-secondary: #b8c5d6;
    --border-color: rgba(0, 212, 255, 0.3);
}

body {
    font-family: 'Rajdhani', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #0a0e27 0%, #050814 50%, #1a0933 100%);
    color: var(--text-primary);
    overflow-x: hidden;
    min-height: 100vh;
    padding: 20px;
    position: relative;
}

/* Animated Background Elements */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.planets {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
    overflow: hidden;
}

.planet {
    position: absolute;
    border-radius: 50%;
    filter: blur(1px);
    opacity: 0.6;
}

@keyframes planetFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(20px, -30px) scale(1.05); }
    50% { transform: translate(-15px, -20px) scale(0.95); }
    75% { transform: translate(10px, 15px) scale(1.02); }
}

@keyframes planetRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.02); opacity: 0.95; }
}

@keyframes glow {
    0%, 100% { box-shadow: 0 0 20px rgba(0, 212, 255, 0.3); }
    50% { box-shadow: 0 0 40px rgba(0, 212, 255, 0.6); }
}

@keyframes meteorFall {
    0% {
        opacity: 1;
        transform: translateY(-100px) translateX(0);
    }
    100% {
        opacity: 0;
        transform: translateY(100vh) translateX(200px);
    }
}

@keyframes asteroidDrift {
    0% {
        transform: translate(0, 0) rotate(0deg);
        opacity: 0.4;
    }
    50% {
        opacity: 0.6;
    }
    100% {
        transform: translate(300px, 300px) rotate(360deg);
        opacity: 0.2;
    }
}

/* Main Container */
.main-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    animation: slideIn 0.8s ease-out;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 40px;
    padding: 20px;
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 48px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    margin-bottom: 15px;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
}

.subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    font-weight: 300;
}

/* Navigation Tabs */
.tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
    justify-content: center;
    padding: 0 20px;
}

.tab-btn {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    border-radius: 25px;
    color: var(--text-secondary);
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    border-color: rgba(0, 212, 255, 0.6);
    color: var(--text-primary);
    transform: translateY(-2px);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-color: rgba(0, 212, 255, 0.8);
    color: var(--text-primary);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

/* Content */
.content {
    padding: 0 20px;
}

.tab-content {
    display: none;
    animation: slideIn 0.5s ease-out;
}

.tab-content.active {
    display: block;
}

/* Cards */
.card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 212, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.card:hover {
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.card h2 {
    font-size: 28px;
    margin-bottom: 15px;
    background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.card h3 {
    font-size: 20px;
    margin: 25px 0 15px 0;
    color: #fff;
}

.help-text {
    color: #b8c5d6;
    margin-bottom: 20px;
    line-height: 1.6;
    font-size: 14px;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.feature-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.4);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.15);
}

.feature-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.feature-card h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
}

.feature-card p {
    color: #b8c5d6;
    font-size: 14px;
    line-height: 1.6;
}

/* Tips Panel */
.tips-panel {
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-top: 30px;
}

.tips-panel h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: #fff;
}

.tips-panel ul {
    list-style: none;
    padding-left: 0;
}

.tips-panel li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    color: #b8c5d6;
    line-height: 1.6;
}

.tips-panel li:last-child {
    border-bottom: none;
}

.tips-panel strong {
    color: #00d4ff;
}

/* Forms */
.upload-form {
    margin: 20px 0;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: 500;
    font-size: 14px;
}

.form-group input[type="file"],
.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="email"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 18px;
    font-size: 14px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    color: white;
    outline: none;
    transition: all 0.3s ease;
    font-family: inherit;
}

.form-group input[type="file"] {
    padding: 10px;
    cursor: pointer;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #b8c5d6;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: rgba(0, 212, 255, 0.8);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Buttons */
.btn-primary,
.btn-secondary {
    padding: 12px 30px;
    font-size: 16px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
    color: white;
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0, 212, 255, 0.5);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 2px solid rgba(0, 212, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 212, 255, 0.5);
}

/* Result Areas */
.result-area {
    margin-top: 25px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    min-height: 50px;
}

.result-area pre {
    color: #b8c5d6;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.6;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-x: auto;
}

.result-area table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 15px;
}

.result-area table th,
.result-area table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
}

.result-area table th {
    background: rgba(0, 212, 255, 0.2);
    color: #fff;
    font-weight: 600;
}

.result-area table td {
    color: #b8c5d6;
}

.result-area .success {
    color: #48bb78;
    padding: 15px;
    background: rgba(72, 187, 120, 0.1);
    border: 2px solid rgba(72, 187, 120, 0.3);
    border-radius: 10px;
    margin-bottom: 15px;
}

.result-area .error {
    color: #f56565;
    padding: 15px;
    background: rgba(245, 101, 101, 0.1);
    border: 2px solid rgba(245, 101, 101, 0.3);
    border-radius: 10px;
    margin-bottom: 15px;
}

.result-area .warning {
    color: #ed8936;
    padding: 15px;
    background: rgba(237, 137, 54, 0.1);
    border: 2px solid rgba(237, 137, 54, 0.3);
    border-radius: 10px;
    margin-bottom: 15px;
}

.result-area .info {
    color: #4299e1;
    padding: 15px;
    background: rgba(66, 153, 225, 0.1);
    border: 2px solid rgba(66, 153, 225, 0.3);
    border-radius: 10px;
    margin-bottom: 15px;
}

/* Hex Viewer */
.hex-viewer {
    font-family: 'Courier New', monospace;
    font-size: 12px;
    max-height: 600px;
    overflow-y: auto;
}

.hex-viewer .hex-line {
    display: flex;
    padding: 5px 0;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
}

.hex-viewer .hex-offset {
    color: #00d4ff;
    width: 80px;
    margin-right: 15px;
    font-weight: 600;
}

.hex-viewer .hex-bytes {
    flex: 1;
    margin-right: 15px;
}

.hex-viewer .hex-byte {
    display: inline-block;
    width: 30px;
    text-align: center;
    color: #b8c5d6;
}

.hex-viewer .hex-byte.highlight {
    background: rgba(0, 212, 255, 0.5);
    color: #fff;
    border-radius: 3px;
}

.hex-viewer .hex-ascii {
    width: 200px;
    color: #48bb78;
    font-family: 'Courier New', monospace;
}

/* Strings Output */
.strings-output {
    max-height: 500px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 13px;
}

.strings-output .string-item {
    padding: 8px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    color: #b8c5d6;
}

.strings-output .string-item.highlight {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
}

/* Loading Spinner */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00d4ff;
    animation: spin 1s ease-in-out infinite;
    margin-right: 10px;
    vertical-align: middle;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Tool Section */
.tool-section {
    margin: 30px 0;
    padding: 25px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.1);
}

.tool-section:first-child {
    margin-top: 0;
}

/* Image Preview */
.image-preview {
    margin: 20px 0;
    text-align: center;
}

.image-preview img {
    max-width: 100%;
    max-height: 400px;
    border-radius: 10px;
    border: 2px solid rgba(0, 212, 255, 0.3);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

/* Download Link */
.download-link {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #00d4ff 0%, #8b5cf6 100%);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.download-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 32px;
    }

    .subtitle {
        font-size: 16px;
    }

    .tabs {
        gap: 8px;
    }

    .tab-btn {
        padding: 10px 16px;
        font-size: 12px;
    }

    .card {
        padding: 20px;
    }

    .card h2 {
        font-size: 24px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .logo svg {
        width: 150px;
    }
}

@media (max-width: 480px) {
    body {
        padding: 10px;
    }

    .main-title {
        font-size: 24px;
    }

    .tab-btn {
        padding: 8px 12px;
        font-size: 11px;
    }

    .card {
        padding: 15px;
    }
}

/* Advanced UI Components */

/* Progress Bars */
.progress-bar {
    width: 100%;
    height: 20px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    margin: 10px 0;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00d4ff 0%, #8b5cf6 100%);
    transition: width 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

/* Tooltips */
.tooltip {
    position: relative;
    display: inline-block;
}

.tooltip .tooltip-text {
    visibility: hidden;
    background-color: rgba(0, 0, 0, 0.9);
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 8px 12px;
    position: absolute;
    z-index: 1000;
    bottom: 125%;
    left: 50%;
    transform: translateX(-50%);
    opacity: 0;
    transition: opacity 0.3s;
    font-size: 12px;
    white-space: nowrap;
}

.tooltip:hover .tooltip-text {
    visibility: visible;
    opacity: 1;
}

/* Badges */
.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-success {
    background: rgba(72, 187, 120, 0.3);
    color: #48bb78;
    border: 1px solid rgba(72, 187, 120, 0.5);
}

.badge-warning {
    background: rgba(237, 137, 54, 0.3);
    color: #ed8936;
    border: 1px solid rgba(237, 137, 54, 0.5);
}

.badge-error {
    background: rgba(245, 101, 101, 0.3);
    color: #f56565;
    border: 1px solid rgba(245, 101, 101, 0.5);
}

.badge-info {
    background: rgba(0, 212, 255, 0.3);
    color: #00d4ff;
    border: 1px solid rgba(0, 212, 255, 0.5);
}

/* Cards with hover effects */
.card-hover {
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    border-color: rgba(0, 212, 255, 0.6);
}

/* Loading Spinners */
.spinner {
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top: 3px solid #00d4ff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.spinner-small {
    width: 20px;
    height: 20px;
    border-width: 2px;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    background: linear-gradient(135deg, #1a1f3a 0%, #0f1629 100%);
    margin: 5% auto;
    padding: 30px;
    border: 2px solid rgba(0, 212, 255, 0.5);
    border-radius: 20px;
    width: 90%;
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #f56565;
}

/* Tabs Enhanced */
.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Code Blocks */
.code-block {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    padding: 15px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    overflow-x: auto;
    margin: 15px 0;
    position: relative;
}

.code-block::before {
    content: 'Code';
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Alert Boxes */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin: 15px 0;
    border-left: 4px solid;
    animation: slideInLeft 0.3s ease;
}

@keyframes slideInLeft {
    from {
        transform: translateX(-20px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background: rgba(72, 187, 120, 0.2);
    border-color: #48bb78;
    color: #48bb78;
}

.alert-warning {
    background: rgba(237, 137, 54, 0.2);
    border-color: #ed8936;
    color: #ed8936;
}

.alert-error {
    background: rgba(245, 101, 101, 0.2);
    border-color: #f56565;
    color: #f56565;
}

.alert-info {
    background: rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
    color: #00d4ff;
}

/* Data Tables Enhanced */
.data-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 10px;
    overflow: hidden;
}

.data-table th {
    background: rgba(0, 212, 255, 0.3);
    color: #fff;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 1px;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    color: #b8c5d6;
}

.data-table tr:hover {
    background: rgba(0, 212, 255, 0.1);
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* Hex Viewer Styles */
.hex-viewer {
    font-family: 'Courier New', monospace;
    font-size: 13px;
    line-height: 1.8;
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 8px;
    overflow-x: auto;
}

.hex-line {
    display: flex;
    padding: 2px 0;
    transition: background 0.2s;
}

.hex-line:hover {
    background: rgba(0, 212, 255, 0.1);
}

.hex-offset {
    color: #00d4ff;
    margin-right: 15px;
    min-width: 80px;
}

.hex-bytes {
    color: #fff;
    margin-right: 20px;
    font-weight: 500;
    letter-spacing: 1px;
}

.hex-ascii {
    color: #b8c5d6;
    font-family: 'Courier New', monospace;
}

/* String Output Styles */
.strings-output {
    max-height: 500px;
    overflow-y: auto;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
}

.string-item {
    padding: 8px 12px;
    margin: 5px 0;
    background: rgba(0, 212, 255, 0.1);
    border-left: 3px solid rgba(0, 212, 255, 0.5);
    border-radius: 5px;
    font-family: 'Courier New', monospace;
    font-size: 13px;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 10px;
}

.string-item:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateX(5px);
}

.string-offset {
    color: #00d4ff;
    font-weight: 600;
    min-width: 80px;
}

.string-content {
    flex: 1;
    color: #fff;
    word-break: break-all;
}

/* Chart Containers */
.chart-container {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 20px;
    margin: 20px 0;
}

.chart-title {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
    text-align: center;
}

/* File Upload Enhanced */
.file-upload-area {
    border: 2px dashed rgba(0, 212, 255, 0.5);
    border-radius: 15px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s;
    background: rgba(0, 212, 255, 0.05);
}

.file-upload-area:hover {
    border-color: rgba(0, 212, 255, 0.8);
    background: rgba(0, 212, 255, 0.1);
}

.file-upload-area.dragover {
    border-color: #00d4ff;
    background: rgba(0, 212, 255, 0.2);
    transform: scale(1.02);
}

/* Search Box Enhanced */
.search-box {
    position: relative;
    margin: 20px 0;
}

.search-box input {
    width: 100%;
    padding: 12px 45px 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 25px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
}

.search-box input:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.search-box::after {
    content: '🔍';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
}

/* Statistics Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.stat-card {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 20px;
    text-align: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #00d4ff;
    margin: 10px 0;
}

.stat-label {
    font-size: 12px;
    color: #b8c5d6;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Timeline Component */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(0, 212, 255, 0.3);
}

.timeline-item {
    position: relative;
    padding-left: 50px;
    margin-bottom: 30px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 12px;
    top: 5px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #00d4ff;
    border: 3px solid rgba(0, 212, 255, 0.3);
}

.timeline-content {
    background: rgba(0, 212, 255, 0.1);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid #00d4ff;
}

/* Feature Cards Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.feature-card {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    text-align: center;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
    border-color: rgba(0, 212, 255, 0.6);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 15px;
    display: block;
}

.feature-card h3 {
    color: #fff;
    margin: 15px 0 10px;
    font-size: 20px;
}

.feature-card p {
    color: #b8c5d6;
    line-height: 1.6;
    font-size: 14px;
}

/* Tips Panel */
.tips-panel {
    background: rgba(237, 137, 54, 0.1);
    border: 2px solid rgba(237, 137, 54, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin: 30px 0;
}

.tips-panel h3 {
    color: #ed8936;
    margin-bottom: 15px;
    font-size: 22px;
}

.tips-panel ul {
    list-style: none;
    padding: 0;
}

.tips-panel li {
    padding: 12px 0;
    border-bottom: 1px solid rgba(237, 137, 54, 0.2);
    color: #fff;
    line-height: 1.7;
}

.tips-panel li:last-child {
    border-bottom: none;
}

.tips-panel li strong {
    color: #ed8936;
    display: block;
    margin-bottom: 5px;
}

/* Result Items */
.result-item {
    background: rgba(0, 212, 255, 0.1);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    padding: 15px;
    margin: 15px 0;
    transition: all 0.3s;
}

.result-item:hover {
    background: rgba(0, 212, 255, 0.2);
    transform: translateX(5px);
}

/* Button Variants */
.btn-secondary {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #fff;
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    margin: 5px;
}

.btn-secondary:hover {
    background: rgba(0, 212, 255, 0.4);
    transform: translateY(-2px);
}

/* Form Enhancements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    color: #fff;
    margin-bottom: 8px;
    font-weight: 600;
    font-size: 14px;
}

.form-group input[type="text"],
.form-group input[type="number"],
.form-group input[type="file"],
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 10px;
    color: #fff;
    font-size: 14px;
    transition: all 0.3s;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.3);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

/* Help Text */
.help-text {
    color: #b8c5d6;
    font-size: 13px;
    font-style: italic;
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(0, 212, 255, 0.05);
    border-left: 3px solid rgba(0, 212, 255, 0.5);
    border-radius: 5px;
}

/* Tool Section */
.tool-section {
    margin: 30px 0;
    padding: 25px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 15px;
    border: 1px solid rgba(0, 212, 255, 0.2);
}

.tool-section h3 {
    color: #00d4ff;
    margin-bottom: 15px;
    font-size: 20px;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    padding-bottom: 10px;
}

/* Result Area */
.result-area {
    margin-top: 20px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    min-height: 50px;
}

.result-area .success {
    background: rgba(72, 187, 120, 0.2);
    border: 1px solid rgba(72, 187, 120, 0.5);
    color: #48bb78;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
}

.result-area .error {
    background: rgba(245, 101, 101, 0.2);
    border: 1px solid rgba(245, 101, 101, 0.5);
    color: #f56565;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
    font-weight: 600;
}

.result-area .info {
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid rgba(0, 212, 255, 0.5);
    color: #00d4ff;
    padding: 12px 15px;
    border-radius: 8px;
    margin-bottom: 15px;
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(0, 212, 255, 0.3);
    border-top: 3px solid #00d4ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-right: 10px;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.5);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.7);
}

/* Selection Styling */
::selection {
    background: rgba(0, 212, 255, 0.5);
    color: #fff;
}

/* Focus Visible */
*:focus-visible {
    outline: 2px solid rgba(0, 212, 255, 0.6);
    outline-offset: 2px;
}

/* ============================================
   NAVBAR STYLES
   ============================================ */
.navbar-custom {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(0, 212, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.navbar-custom.scrolled {
    background: rgba(10, 14, 39, 0.98);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

.nav-logo:hover {
    transform: translateY(-2px);
}

.logo-img {
    height: 50px;
    width: auto;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: all 0.3s ease;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.main-wrapper-steg {
    padding-top: 100px;
}

/* ============================================
   FOOTER STYLES
   ============================================ */
.footer-custom {
    background: rgba(10, 14, 39, 0.95);
    backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 212, 255, 0.1);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
    position: relative;
    z-index: 100;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: #0a0e27;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.4);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 0;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* ============================================
   RESPONSIVE - NAVBAR & FOOTER
   ============================================ */
@media (max-width: 768px) {
    .navbar-custom {
        height: 70px;
    }

    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(10, 14, 39, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        border-bottom: 2px solid rgba(0, 212, 255, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .main-wrapper-steg {
        padding-top: 90px;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* Print Styles */
@media print {
    .sidebar, .tabs, .btn-primary, .btn-secondary {
        display: none;
    }
    
    .main-content {
        margin: 0;
        width: 100%;
    }
    
    body {
        background: white;
        color: black;
    }
}

