/* Tool Pages Common Styles */

:root {
    --primary-color: #0066cc;
    --secondary-color: #0052a3;
    --danger-color: #ff4444;
    --warning-color: #ffaa00;
    --bg-dark: #1a2332;
    --bg-card: #0f1520;
    --border-color: rgba(0, 102, 204, 0.2);
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, #0f1520 0%, #1a2332 100%);
    color: #e0e0e0;
    line-height: 1.6;
    min-height: 100vh;
}

.tool-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.tool-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.tool-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #004080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.tool-header p {
    font-size: 1.1rem;
    opacity: 0.9;
    color: #ccc;
}

.tool-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 25px;
    margin-bottom: 20px;
}

.tool-panel {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 30px;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.tool-sidebar {
    background: var(--bg-card);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid var(--border-color);
    height: fit-content;
}

.tool-sidebar h3 {
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    font-size: 1.1rem;
    font-weight: 700;
}

.input-group {
    margin-bottom: 20px;
}

.input-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #ddd;
    font-size: 0.95rem;
}

.input-group input,
.input-group textarea,
.input-group select {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.input-group textarea {
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
}

.input-group input:focus,
.input-group textarea:focus,
.input-group select:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.btn-group {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.tool-btn {
    padding: 12px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    white-space: nowrap;
    flex: 1;
    min-width: 120px;
}

.btn-primary {
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #004080 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 163, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #003d7a 0%, #0052a3 50%, #002d5f 100%);
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-secondary {
    background: linear-gradient(135deg, #004080 0%, #0052a3 50%, #003366 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
    z-index: -1;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 64, 128, 0.4), 0 2px 8px rgba(0, 0, 0, 0.2);
    background: linear-gradient(135deg, #002d5f 0%, #003d7a 50%, #002447 100%);
}

.btn-secondary:hover::before {
    left: 100%;
}

.btn-danger {
    background: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 68, 68, 0.3);
}

.result-area {
    background: var(--bg-dark);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    display: none;
}

.result-area.active {
    display: block;
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-color);
}

.result-title {
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.copy-btn {
    background: none;
    border: 1px solid var(--border-color);
    color: #0066cc;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #004080 100%);
    color: white;
    border-color: transparent;
}

.result-content {
    background: var(--bg-card);
    padding: 15px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.4;
    word-break: break-word;
    overflow-x: auto;
}

.status-box {
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
    display: none;
}

.status-box.active {
    display: block;
}

.status-success {
    background: rgba(0, 102, 204, 0.15);
    border: 1px solid #0066cc;
    color: #0099ff;
}

.status-error {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
}

.status-warning {
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid var(--warning-color);
    color: var(--warning-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.info-card {
    background: var(--bg-dark);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.info-card .label {
    color: #888;
    font-size: 0.85rem;
    margin-bottom: 5px;
}

.info-card .value {
    font-size: 1.1rem;
    font-weight: 600;
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-all;
}

.loading-inline {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border-color);
    border-top: 3px solid #0066cc;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.tabs {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.tab-btn {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.tab-btn.active {
    color: #0099ff;
    border-bottom-color: #0066cc;
    font-weight: 700;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

@media (max-width: 1024px) {
    .tool-grid {
        grid-template-columns: 1fr;
    }

    .tool-sidebar {
        height: auto;
    }
}

@media (max-width: 768px) {
    .tool-header h1 {
        font-size: 1.8rem;
    }

    .tool-panel {
        padding: 20px;
    }

    .btn-group {
        flex-direction: column;
    }

    .tool-btn {
        flex: none;
        width: 100%;
    }

    .tabs {
        flex-wrap: wrap;
    }

    .info-grid {
        grid-template-columns: 1fr;
    }
}

/* Domain Checker Specific Styles */
.domain-checker-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 110px 20px 32px;
}

.checker-card {
    background: linear-gradient(135deg, rgba(15, 21, 32, 0.95) 0%, rgba(26, 35, 50, 0.95) 100%);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 6px 18px rgba(0, 59, 148, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.checker-card h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #004080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.checker-card .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.share-info {
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.3);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 25px;
    display: none;
}

.share-info.show {
    display: block;
}

.share-link {
    background: rgba(0, 0, 0, 0.3);
    padding: 10px;
    border-radius: 6px;
    margin: 10px 0;
    word-break: break-all;
    font-size: 0.9rem;
    color: #0099ff;
}

.domain-input {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
}

.domain-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.check-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #004080 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.check-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.check-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 163, 0.4);
    background: linear-gradient(135deg, #003d7a 0%, #0052a3 50%, #002d5f 100%);
}

.check-btn:hover::before {
    left: 100%;
}

.check-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.loading {
    text-align: center;
    padding: 40px;
    width: auto;
    height: auto;
    border: 0;
    border-radius: 0;
    animation: none;
    transform: none;
    display: none;
}

.loading p {
    color: white;
    font-size: 1rem;
    margin-top: 15px;
}

.spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(0, 102, 204, 0.15);
    border-top: 5px solid #0066cc;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto;
}

.error-message {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid var(--danger-color);
    color: var(--danger-color);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    display: none;
}

.results {
    display: none;
}

.score-card {
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 30px;
    box-shadow: 0 6px 18px rgba(0, 82, 163, 0.4);
}

.score-number {
    font-size: 4rem;
    font-weight: 700;
    color: white;
}

.score-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 10px;
}

.results h2 {
    text-align: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.results h2 span {
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.security-grid {
    display: grid;
    gap: 20px;
}

.security-item {
    background: var(--bg-dark);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.seo-item,
.network-item {
    background: var(--bg-dark);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 10px;
    padding: 20px;
    transition: all 0.3s ease;
}

.seo-item:hover,
.network-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 82, 163, 0.2);
}

.seo-item.good,
.network-item.good {
    border-left: 4px solid #10b981;
}

.seo-item.warning,
.network-item.warning {
    border-left: 4px solid #ffaa00;
}

.seo-item.error,
.network-item.error {
    border-left: 4px solid #ff4444;
}

.security-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 82, 163, 0.2);
}

.security-item.good {
    border-left: 4px solid #10b981;
}

.security-item.warning {
    border-left: 4px solid #ffaa00;
}

.security-item.error {
    border-left: 4px solid #ff4444;
}

.item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.item-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: white;
}

.item-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.85rem;
}

.status-good {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.status-warning {
    background: rgba(255, 170, 0, 0.15);
    color: #ffaa00;
}

.status-error {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
}

.item-details {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.item-details p {
    margin-bottom: 10px;
}

.dns-records {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-family: var(--font-mono);
    font-size: 0.85rem;
    word-break: break-all;
    line-height: 1.6;
}

.recommendation {
    background: rgba(0, 102, 204, 0.1);
    border-left: 3px solid #0066cc;
    padding: 12px;
    margin-top: 15px;
    border-radius: 4px;
    font-size: 0.9rem;
}

.details-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 15px;
    border-radius: 6px;
    margin: 15px 0;
    font-size: 0.9rem;
    line-height: 1.6;
    word-break: break-word;
}

.risk-level {
    margin-top: 10px;
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
}

.risk-low,
.risk-lav {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
}

.risk-medium {
    background: rgba(255, 170, 0, 0.15);
    color: #ffaa00;
}

.risk-high,
.risk-høj {
    background: rgba(255, 68, 68, 0.15);
    color: #ff4444;
}

.risk-ukendt {
    background: rgba(148, 163, 184, 0.18);
    color: #cbd5e1;
}

.score-card.good {
    background: linear-gradient(135deg, #047857 0%, #10b981 100%);
}

.score-card.warning {
    background: linear-gradient(135deg, #b45309 0%, #f59e0b 100%);
}

.provider-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    margin-left: 5px;
}

.provider-google {
    background: rgba(66, 133, 244, 0.2);
    color: #4285f4;
}

.provider-microsoft {
    background: rgba(0, 120, 215, 0.2);
    color: #0078d7;
}

.provider-other {
    background: rgba(100, 116, 139, 0.2);
    color: #94a3b8;
}

.dkim-selector-list {
    margin-top: 10px;
}

.dkim-selector-item {
    padding: 4px 0;
    font-size: 0.85rem;
}

.info-box {
    background: rgba(0, 102, 204, 0.1);
    border: 1px solid rgba(0, 102, 204, 0.3);
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
}

.info-box h3 {
    color: #0099ff;
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.info-box p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
}

.email-report-section {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    padding: 25px;
    border-radius: 12px;
    margin-top: 30px;
}

.email-report-section h3 {
    color: #3b82f6;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.email-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.email-input {
    padding: 12px 15px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 8px;
    background: rgba(15, 23, 42, 0.8);
    color: white;
    font-size: 1rem;
    transition: border-color 0.3s, background-color 0.3s;
}

.email-input:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.95);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.send-report-btn {
    padding: 14px 24px;
    background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 8px;
}

.send-report-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.send-report-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.email-status {
    margin-top: 12px;
    padding: 10px;
    border-radius: 6px;
    font-size: 0.95rem;
    text-align: center;
}

@media (max-width: 768px) {
    .email-report-section {
        padding: 20px;
    }
    
    .email-input {
        font-size: 16px; /* Prevents zoom on iOS */
    }
}


.seo-container,
.network-container,
.security-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 110px 20px 32px;
}

.password-share-container,
.password-reveal-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 110px 20px 32px;
}

.upload-meta {
    margin: 12px 0 18px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.upload-input {
    width: 100%;
    padding: 12px;
    background: var(--bg-dark);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 8px;
    color: white;
    margin-bottom: 16px;
}

.upload-progress {
    width: 100%;
    height: 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
    margin-top: 16px;
}

.upload-progress[aria-hidden="true"] {
    display: none;
}

.upload-progress-bar {
    height: 100%;
    width: 0;
    background: linear-gradient(135deg, #10b981, #34d399);
    transition: width 0.2s ease;
}

.upload-status {
    margin-top: 12px;
    font-weight: 600;
}

.upload-status-success {
    color: #10b981;
}

.upload-status-error {
    color: #ff4444;
}

.upload-status-info {
    color: #38bdf8;
}

.upload-result {
    margin-top: 12px;
    display: grid;
    gap: 8px;
}

.upload-file {
    padding: 10px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    border: 1px solid rgba(0, 102, 204, 0.2);
    color: #e2e8f0;
    font-size: 0.9rem;
    word-break: break-word;
}

.domain-checker-container h1,
.domain-checker-container h2,
.domain-checker-container h3,
.seo-container h1,
.seo-container h2,
.seo-container h3,
.network-container h1,
.network-container h2,
.network-container h3,
.security-container h1,
.security-container h2,
.security-container h3 {
    letter-spacing: 0;
    text-transform: none;
    line-height: 1.2;
}

.domain-checker-container h2,
.seo-container h2,
.network-container h2,
.security-container h2 {
    color: #ffffff;
    font-size: clamp(1.35rem, 2.4vw, 1.9rem);
    margin: 0 0 22px;
}

.domain-checker-container h3,
.seo-container h3,
.network-container h3,
.security-container h3 {
    color: #dbeafe;
    font-size: clamp(1.05rem, 1.7vw, 1.2rem);
    margin: 0 0 10px;
}

.analyzer-card,
.tester-card {
    background: linear-gradient(135deg, rgba(15, 21, 32, 0.95) 0%, rgba(26, 35, 50, 0.95) 100%);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 6px 18px rgba(0, 59, 148, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-card,
.reveal-card {
    background: linear-gradient(135deg, rgba(15, 21, 32, 0.95) 0%, rgba(26, 35, 50, 0.95) 100%);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(0, 102, 204, 0.2);
    box-shadow: 0 6px 18px rgba(0, 59, 148, 0.2), 0 2px 8px rgba(0, 0, 0, 0.15);
}

.share-card h1,
.reveal-card h1 {
    font-size: clamp(1.9rem, 4.2vw, 2.5rem);
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #004080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.share-input {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    margin-bottom: 10px;
}

.share-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 16px;
}

.share-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #004080 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.share-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.share-result {
    margin-top: 24px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(0, 102, 204, 0.25);
    border-radius: 10px;
    padding: 20px;
}

.share-link-row {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 10px;
}

.share-link-input {
    flex: 1;
    min-width: 240px;
    padding: 12px;
    border-radius: 8px;
    border: 1px solid rgba(0, 102, 204, 0.2);
    background: var(--bg-dark);
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 0.95rem;
}

.share-meta {
    margin-top: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.secret-box {
    margin-top: 16px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 102, 204, 0.25);
    border-radius: 10px;
    padding: 18px;
    color: #e2e8f0;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    word-break: break-word;
}

.reveal-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 16px;
}

.reveal-timer {
    margin-top: 10px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.analyzer-card h1,
.tester-card h1 {
    font-size: clamp(1.9rem, 4.2vw, 2.5rem);
    margin-bottom: 10px;
    text-align: center;
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #004080 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

.analyzer-card .subtitle,
.tester-card .subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 30px;
}

.url-input,
.host-input,
.target-input {
    width: 100%;
    padding: 15px;
    background: var(--bg-dark);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1rem;
    margin-bottom: 15px;
}

.url-input:focus,
.host-input:focus,
.target-input:focus {
    outline: none;
    border-color: #0066cc;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.15);
}

.analyze-btn,
.test-btn {
    width: 100%;
    padding: 15px 30px;
    background: linear-gradient(135deg, #0052a3 0%, #0066cc 50%, #004080 100%);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.analyze-btn::before,
.test-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.analyze-btn:hover,
.test-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 82, 163, 0.4);
    background: linear-gradient(135deg, #003d7a 0%, #0052a3 50%, #002d5f 100%);
}

.analyze-btn:hover::before,
.test-btn:hover::before {
    left: 100%;
}

.analyze-btn:disabled,
.test-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.seo-grid,
.network-grid {
    display: grid;
    gap: 20px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.metric-card {
    background: var(--bg-dark);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 10px;
    padding: 16px;
    text-align: center;
}

.metric-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: #0099ff;
}

.metric-label {
    margin-top: 6px;
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.9rem;
}

.port-scanner {
    background: rgba(0, 102, 204, 0.08);
    border: 1px solid rgba(0, 102, 204, 0.25);
    border-radius: 10px;
    padding: 20px;
    margin-top: 24px;
}

.port-scanner h3 {
    margin-bottom: 10px;
    color: #0099ff;
}

.port-results {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(96px, 1fr));
    gap: 10px;
    margin-top: 12px;
}

.port {
    background: rgba(15, 21, 32, 0.85);
    border: 1px solid rgba(0, 102, 204, 0.2);
    border-radius: 8px;
    padding: 10px 8px;
    text-align: center;
    font-weight: 700;
    color: #e5e7eb;
}

.port small {
    font-weight: 500;
    opacity: 0.85;
}

.port.open {
    border-color: rgba(16, 185, 129, 0.45);
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
}

.port.filtered {
    border-color: rgba(255, 170, 0, 0.45);
    background: rgba(255, 170, 0, 0.12);
    color: #fbbf24;
}

.port.closed {
    border-color: rgba(255, 68, 68, 0.45);
    background: rgba(255, 68, 68, 0.12);
    color: #f87171;
}

@media (max-width: 768px) {
    .domain-checker-container,
    .seo-container,
    .network-container,
    .security-container {
        padding: 92px 12px 24px;
    }

    .checker-card,
    .analyzer-card,
    .tester-card {
        padding: 20px;
    }

    .checker-card h1,
    .analyzer-card h1,
    .tester-card h1 {
        font-size: 1.9rem;
    }
}