@font-face {
    font-family: 'Font Awesome 6 Free';
    font-style: normal;
    font-weight: 900;
    font-display: block;
    src: url("/assets/fonts/fontawesome/webfonts/fa-solid-900.woff2") format("woff2"), url("/assets/fonts/fontawesome/webfonts/fa-solid-900.woff") format("woff")
}

@font-face {
    font-family: 'Font Awesome 6 Brands';
    font-style: normal;
    font-weight: 400;
    font-display: block;
    src: url("/assets/fonts/fontawesome/webfonts/fa-brands-400.woff2") format("woff2"), url("/assets/fonts/fontawesome/webfonts/fa-brands-400.woff") format("woff")
}

.fa-solid,
.fas {
    font-family: 'Font Awesome 6 Free';
    font-weight: 900
}

.fa-brands,
.fab {
    font-family: 'Font Awesome 6 Brands';
    font-weight: 400
}

:root {
    --primary: #4361ee;
    --secondary: #3f37c9;
    --accent: #4895ef;
    --light: #f8f9fa;
    --dark: #212529;
    --success: #4cc9f0;
    --warning: #f8961e;
    --danger: #f72585;
    --gray: #6c757d;
    --light-gray: #e9ecef
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

body {
    background-color: #f5f7ff;
    color: var(--dark);
    line-height: 1.6
}

/* New Navigation Styles */
.main-nav {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 10px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    height: 100%;
}

.logo img {
    max-height: 40px;
    height: auto;
    width: auto;
    display: block;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 20px;
}

.nav-menu li {
    position: relative;
}

.nav-menu li a {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s ease, transform 0.2s ease;
    display: block;
}

.nav-menu li a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
}

.dropdown-toggle::after {
    content: '▼';
    font-size: 0.8rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(180deg);
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--secondary);
    min-width: 200px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 5px;
    z-index: 1000;
    padding: 10px 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    width: 100%;
}

.dropdown-menu li a {
    padding: 10px 20px;
    font-size: 0.95rem;
    color: #fff;
}

.dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.menu-toggle {
    display: none;
    color: #fff;
    font-size: 1.5rem;
    cursor: pointer;
}

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

header {
    text-align: center;
    padding: 40px 0;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: #fff;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: 0 4px 20px rgba(67, 97, 238, .3)
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 10px
}

.tagline {
    font-size: 1.1rem;
    opacity: .9;
    margin-bottom: 20px
}

.search-box {
    max-width: 700px;
    margin: 0 auto;
    position: relative
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, .1);
    transition: all .3s ease
}

.search-box input:focus {
    outline: none;
    box-shadow: 0 4px 20px rgba(67, 97, 238, .3)
}

.search-box button {
    position: absolute;
    right: 5px;
    top: 5px;
    background: var(--accent);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: all .3s ease
}

.search-box button:hover {
    background: var(--secondary)
}

.results-container {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .05);
    padding: 30px;
    margin-bottom: 30px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeInUp .5s forwards
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0)
    }
}

.domain-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid var(--light-gray)
}

.domain-title {
    font-size: 1.8rem;
    color: var(--primary)
}

.action-buttons {
    display: flex;
    gap: 10px;
    flex-wrap: nowrap
}

.share-link {
    background: var(--light-gray);
    padding: 8px;
    border-radius: 5px;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    cursor: pointer;
    position: relative;
    transition: all .3s ease;
    user-select: none
}

.share-link:hover {
    background: var(--accent);
    color: #fff
}

.copy-notice {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: .8rem;
    opacity: 0;
    transition: opacity .3s ease;
    pointer-events: none;
    white-space: nowrap
}

.copy-notice::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid var(--primary)
}

.test-section {
    margin-bottom: 30px
}

.test-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--secondary);
    display: flex;
    align-items: center;
    gap: 10px
}

.test-result {
    background: var(--light);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px
}

.result-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0, 0, 0, .05)
}

.result-item:last-child {
    border-bottom: none
}

.result-label {
    font-weight: 600;
    color: var(--gray)
}

.result-value {
    text-align: right;
    max-width: 70%;
    word-break: break-word
}

.status {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: .85rem;
    font-weight: 600
}

.status-success {
    background: rgba(76, 201, 240, .1);
    color: var(--success)
}

.status-warning {
    background: rgba(248, 150, 30, .1);
    color: var(--warning)
}

.status-danger {
    background: rgba(247, 37, 133, .1);
    color: var(--danger)
}

.suggestions {
    background: #f8f9ff;
    border-left: 4px solid var(--accent);
    padding: 15px;
    margin-top: 15px;
    border-radius: 0 8px 8px 0;
    position: relative
}

.suggestion-title {
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px
}

.suggestion-title i {
    transition: transform 0.3s ease
}

.suggestion-content {
    transition: max-height .3s ease;
    overflow: hidden
}

.loading {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px
}

.spinner {
    width: 50px;
    height: 50px;
    border: 5px solid rgba(67, 97, 238, .2);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s linear infinite
}

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

.error-message {
    background: rgba(247, 37, 133, .1);
    color: var(--danger);
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    text-align: center
}

.report-source {
    text-align: center;
    padding: 15px;
    color: var(--gray);
    font-size: 0.9rem;
    border-top: 1px solid var(--light-gray);
    margin-top: 20px
}

@media (max-width: 768px) {
    h1 {
        font-size: 2rem
    }

    .domain-title {
        font-size: 1.4rem
    }

    .search-box input {
        padding: 12px 15px;
        font-size: 1rem
    }

    .search-box button {
        padding: 8px 15px;
        font-size: .9rem
    }

    .results-container {
        padding: 20px
    }

    .domain-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px
    }

    .action-buttons {
        width: 100%;
        justify-content: flex-end
    }

    .share-link {
        width: 35px;
        height: 35px
    }

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

    .result-value {
        text-align: left;
        max-width: 100%
    }

    /* Responsive Navigation */
    .nav-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: var(--secondary);
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    }

    .nav-menu.active {
        display: flex;
    }

    .nav-menu li {
        width: 100%;
    }

    .nav-menu li a {
        padding: 10px;
        font-size: 1.1rem;
    }

    .dropdown-menu {
        display: none;
        position: static;
        background: var(--secondary);
        padding-left: 20px;
        box-shadow: none;
        list-style: none;
    }

    .dropdown.active .dropdown-menu {
        display: block;
    }

    .dropdown-toggle {
        position: relative;
    }

    .dropdown-toggle::after {
        content: '▼';
        font-size: 0.8rem;
        margin-left: 5px;
        transition: transform 0.3s ease;
    }

    .dropdown.active .dropdown-toggle::after {
        transform: rotate(180deg);
    }

    .menu-toggle {
        display: block;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .footer-links,
    .footer-contact {
        margin-top: 20px;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Footer Styles */
footer {
    background: linear-gradient(135deg, var(--secondary), var(--primary));
    color: #fff;
    padding: 40px 0 20px;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.footer-logo img {
    max-height: 40px;
    margin-bottom: 15px;
}

.footer-logo p {
    font-size: 0.95rem;
    opacity: 0.9;
    line-height: 1.6;
}

.footer-links h3,
.footer-contact h3 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h3::after,
.footer-contact h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: rgba(255, 255, 255, 0.5);
}

.footer-links ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-contact li {
    margin-bottom: 10px;
}

.footer-links a {
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s;
    font-size: 0.95rem;
}

.footer-links a:hover {
    opacity: 0.8;
}

.footer-contact i {
    margin-right: 10px;
    width: 20px;
    text-align: center;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 10px;
}