/* PurelyTools Main Stylesheet */
/* ============================= */

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.site-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2c3e50;
    font-weight: 700;
    font-size: 1.5rem;
}

.logo-icon {
    margin-right: 10px;
    font-size: 1.8rem;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #555;
    font-weight: 500;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
}

.nav-link:hover,
.nav-link.active {
    color: #667eea;
    background: rgba(102, 126, 234, 0.1);
}

.nav-link.active {
    font-weight: 600;
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #555;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.mobile-nav.active {
    display: block;
}

.mobile-nav .nav-link {
    display: block;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.mobile-nav .nav-link:last-child {
    border-bottom: none;
}

/* Main Content */
.main-content {
    background: #fff;
    margin: 20px auto;
    max-width: 1240px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
    position: relative;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 0;
    text-align: center;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 30px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Tools Section */
.tools-section {
    padding: 60px 0;
}

.category-section {
    margin-bottom: 50px;
}

.category-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.category-title::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    margin: 10px auto;
    border-radius: 2px;
}

.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Tool Cards */
.tool-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #f8f9fa;
    position: relative;
    overflow: hidden;
}

.tool-card:not(.coming-soon):hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    border-color: #667eea;
}

.tool-card.coming-soon {
    opacity: 0.6;
    background: #f8f9fa;
}

.tool-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.tool-title {
    font-size: 1.3rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.tool-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
}

.coming-soon-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: #e74c3c;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Features Section */
.features {
    background: #f8f9fa;
    padding: 60px 0;
}

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

.feature {
    text-align: center;
}

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

.feature h3 {
    font-size: 1.2rem;
    color: #2c3e50;
    margin-bottom: 15px;
    font-weight: 600;
}

.feature p {
    color: #7f8c8d;
    font-size: 0.95rem;
}

/* Tool-specific styles */
.tool-container {
    background: #fff;
    margin: 20px auto;
    max-width: 1240px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    overflow: hidden;
}

.tool-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 50px 0;
    text-align: center;
}

.tool-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.tool-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.tool-content {
    padding: 40px 0;
}

.tool-form-section {
    margin-bottom: 40px;
}

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

/* Auto-detect section */
.auto-detect-section {
    background: linear-gradient(135deg, #e8f4f8 0%, #f1f8e8 100%);
    border: 2px solid #d1ecf1;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
    text-align: center;
}

.auto-detect-title {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.auto-detect-content {
    margin-bottom: 20px;
}

.current-ip {
    font-size: 1.5rem;
    font-weight: 700;
    color: #667eea;
    font-family: 'Courier New', monospace;
    background: white;
    padding: 10px 20px;
    border-radius: 8px;
    display: inline-block;
    margin: 10px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.loading-ip {
    color: #6c757d;
    font-style: italic;
}

.auto-detect-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.auto-detect-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.auto-detect-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Form Elements */
.input-group {
    margin-bottom: 20px;
}

.input-label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 1rem;
}

.input-wrapper {
    display: flex;
    gap: 10px;
}

.form-input {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #667eea;
}

.lookup-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.lookup-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.lookup-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.quick-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
}

.quick-btn {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    padding: 10px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.quick-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

/* Messages */
.error-message {
    background: #fff5f5;
    border: 1px solid #fed7d7;
    color: #c53030;
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.success-message {
    background: #f0fff4;
    border: 1px solid #9ae6b4;
    color: #276749;
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

.info-message {
    background: #ebf8ff;
    border: 1px solid #90cdf4;
    color: #2c5282;
    padding: 12px 15px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
}

/* Results Section */
.results-section {
    margin: 40px 0;
}

.results-title {
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.results-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.result-card {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 25px;
    transition: all 0.3s ease;
}

.result-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.card-title {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.card-icon {
    font-size: 1.3rem;
}

.result-data {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.data-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #e9ecef;
}

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

.data-label {
    font-weight: 500;
    color: #6c757d;
}

.data-value {
    font-weight: 600;
    color: #2c3e50;
    text-align: right;
}

/* Status Colors */
.status-good {
    color: #28a745;
}

.status-bad {
    color: #dc3545;
}

.status-warning {
    color: #ffc107;
}

.status-low {
    color: #28a745;
}

.status-medium {
    color: #ffc107;
}

.status-high {
    color: #dc3545;
}

/* Actions Section */
.actions-section {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    background: white;
    border: 2px solid #667eea;
    color: #667eea;
    padding: 12px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.action-btn:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Info Section */
.info-section {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.info-title {
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.info-card {
    padding: 25px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
}

.info-card h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.info-card p {
    color: #6c757d;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Advertisement Placeholders */
.ad-banner, .sidebar-ad {
    margin: 30px 0;
}

.ad-placeholder {
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
    padding: 20px;
    text-align: center;
    color: #6c757d;
    border-radius: 8px;
    font-size: 0.9rem;
}

.ad-top .ad-placeholder {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sidebar-ad {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 160px;
    z-index: 100;
}

.ad-sidebar .ad-placeholder {
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    writing-mode: vertical-lr;
}

.ad-bottom .ad-placeholder {
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Footer Styles - Simplified */
.site-footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ecf0f1;
    margin-top: auto;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-simple {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 40px 0 30px;
    gap: 40px;
}

.footer-brand {
    flex: 1;
    max-width: 400px;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
}

.footer-logo .logo-icon {
    margin-right: 10px;
    font-size: 1.8rem;
}

.footer-description {
    color: #bdc3c7;
    line-height: 1.6;
    font-size: 0.95rem;
}

.footer-contact {
    flex-shrink: 0;
    text-align: right;
}

.footer-contact p {
    color: #bdc3c7;
    margin-bottom: 10px;
    font-size: 0.9rem;
}

.contact-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3498db;
    text-decoration: none;
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 6px;
    background: rgba(52, 152, 219, 0.1);
    transition: all 0.3s ease;
    margin-bottom: 10px;
}

.contact-link:hover {
    background: rgba(52, 152, 219, 0.2);
    transform: translateY(-1px);
}

.contact-alt {
    margin-top: 8px;
}

.contact-form-link {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.85rem;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.contact-form-link:hover {
    color: #ecf0f1;
    border-bottom-color: #95a5a6;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.copyright {
    color: #bdc3c7;
    font-size: 0.9rem;
}

.footer-links {
    display: flex;
    align-items: center;
    gap: 15px;
}

.footer-link {
    color: #95a5a6;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ecf0f1;
}

.separator {
    color: #7f8c8d;
    font-size: 0.8rem;
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #3498db;
    color: white;
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

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

.back-to-top:hover {
    background: #2980b9;
    transform: translateY(-2px);
}

/* Contact Form Styles */
.contact-success {
    text-align: center;
    padding: 60px 20px;
}

.success-message-large {
    max-width: 500px;
    margin: 0 auto;
    background: linear-gradient(135deg, #f0fff4 0%, #e8f8f5 100%);
    border: 2px solid #9ae6b4;
    border-radius: 15px;
    padding: 40px;
}

.success-icon-large {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success-message-large h2 {
    color: #276749;
    font-size: 1.8rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.success-message-large p {
    color: #2f855a;
    font-size: 1.1rem;
    margin-bottom: 30px;
    line-height: 1.6;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.contact-intro {
    margin-bottom: 40px;
}

.intro-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.intro-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.3s ease;
}

.intro-card:hover {
    transform: translateY(-3px);
}

.intro-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.intro-card h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.intro-card p {
    color: #6c757d;
    font-size: 0.9rem;
    line-height: 1.5;
}

.contact-form {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    border: 1px solid #e9ecef;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-select {
    appearance: none;
    background: white url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e") no-repeat right 0.75rem center/1.5em 1.5em;
    padding: 15px 50px 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #667eea;
}

.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    min-height: 120px;
    transition: border-color 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: #667eea;
}

.character-count {
    text-align: right;
    margin-top: 5px;
    font-size: 0.85rem;
    color: #7f8c8d;
}

.captcha-group {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
}

.captcha-input {
    width: 120px;
    text-align: center;
    font-weight: 600;
}

.captcha-help {
    display: block;
    color: #6c757d;
    font-size: 0.8rem;
    margin-top: 5px;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin: 30px 0 20px;
}

.submit-btn {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    min-width: 160px;
    justify-content: center;
}

.submit-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.submit-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.reset-btn {
    background: #f8f9fa;
    color: #6c757d;
    border: 1px solid #dee2e6;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.reset-btn:hover {
    background: #e9ecef;
    transform: translateY(-1px);
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.form-footer small {
    color: #6c757d;
    line-height: 1.4;
}

.contact-info-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e9ecef;
}

.section-title {
    font-size: 1.8rem;
    color: #2c3e50;
    text-align: center;
    margin-bottom: 30px;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.contact-method {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #f8f9fa;
    padding: 25px;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.method-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
}

.method-content h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.method-content p {
    color: #495057;
    margin-bottom: 3px;
    font-weight: 500;
}

.method-content p a {
    color: #667eea;
    text-decoration: none;
}

.method-content p a:hover {
    text-decoration: underline;
}

.method-content small {
    color: #6c757d;
    font-size: 0.85rem;
}

/* DNS Lookup Specific Styles */
.summary-card {
    background: linear-gradient(135deg, #e8f4f8 0%, #f1f8e8 100%);
    border: 2px solid #b3e5d1;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.summary-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 20px;
    margin-top: 15px;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 5px;
}

.stat-indicator {
    font-size: 1.5rem;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
}

.security-card {
    background: linear-gradient(135deg, #fff5f5 0%, #fef7f0 100%);
    border: 2px solid #fed7cc;
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 15px;
}

.security-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 8px;
}

.security-label {
    font-weight: 500;
    color: #495057;
}

.security-value {
    font-weight: 600;
}

.security-score {
    font-weight: 700;
    font-size: 1.1rem;
    color: #667eea;
}

.records-container {
    margin: 30px 0;
}

.record-type-section {
    margin-bottom: 30px;
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.record-type-title {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px;
    margin: 0;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.record-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.85rem;
}

.records-table {
    padding: 0;
}

.record-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    padding: 20px;
    border-bottom: 1px solid #f1f3f4;
}

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

.record-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.record-item.full-width {
    grid-column: 1 / -1;
}

.record-label {
    font-size: 0.85rem;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.record-value {
    font-weight: 600;
    color: #2c3e50;
    word-break: break-all;
}

.txt-record {
    background: #f8f9fa;
    padding: 8px 12px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    border-left: 3px solid #667eea;
}

/* Additional styles for badge */
.badge {
    background: #28a745;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    margin-left: 10px;
}

.badge-success {
    background: #28a745;
}

.current-ip-display {
    margin: 15px 0;
}

.auto-detect-btn[style] {
    pointer-events: none;
    cursor: default;
}

/* Cache indicator styling */
.info-message strong {
    color: #667eea;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

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

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 3rem; }

/* Loading States */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1400px) {
    .sidebar-ad {
        display: none;
    }
}

@media (max-width: 768px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .header-content {
        padding: 0 15px;
    }

    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .tools-grid {
        grid-template-columns: 1fr;
    }
    
    .main-content {
        margin: 10px;
        border-radius: 8px;
    }
    
    .container {
        padding: 0 15px;
    }

    .tool-title {
        font-size: 2rem;
    }
    
    .tool-subtitle {
        font-size: 1rem;
    }
    
    .input-wrapper {
        flex-direction: column;
    }
    
    .lookup-btn {
        width: 100%;
        justify-content: center;
    }
    
    .quick-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .quick-btn {
        width: 200px;
        justify-content: center;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-section {
        flex-direction: column;
        align-items: center;
    }
    
    .action-btn {
        width: 200px;
        justify-content: center;
    }
    
    .data-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .data-value {
        text-align: left;
    }

    /* DNS lookup responsive */
    .summary-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    .record-row {
        grid-template-columns: 1fr;
        gap: 10px;
        padding: 15px;
    }
    
    .record-item {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 8px 0;
        border-bottom: 1px solid #f8f9fa;
    }
    
    .record-item:last-child {
        border-bottom: none;
    }
    
    .record-item.full-width {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .record-value {
        text-align: right;
        max-width: 60%;
        word-break: break-word;
    }
    
    .record-item.full-width .record-value {
        text-align: left;
        max-width: 100%;
    }
    
    .txt-record {
        width: 100%;
        margin-top: 5px;
    }

    /* Contact form responsive */
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .contact-form {
        padding: 20px;
        margin: 0 10px;
    }
    
    .intro-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .submit-btn,
    .reset-btn {
        width: 200px;
        justify-content: center;
    }
    
    .success-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .success-actions .action-btn {
        width: 200px;
        justify-content: center;
    }
    
    .success-message-large {
        padding: 30px 20px;
    }
    
    .contact-method {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    /* Footer responsive */
    .footer-simple {
        flex-direction: column;
        text-align: center;
        gap: 30px;
        padding: 30px 0 20px;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .footer-content {
        padding: 0 15px;
    }

    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .footer-logo {
        justify-content: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-links {
        justify-content: center;
    }
}
