* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #1f2937;
    line-height: 1.6;
}

header {
    background-color: #ffffff;
    padding: 20px 40px;
    border-bottom: 1px solid #eee;
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    justify-content: flex-start;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111827;
    margin-left: 24px;
}

.site-logo {
    display: block;
    max-height: 32px;
    width: auto;
}

.hero-section {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px 40px;
    background: linear-gradient(180deg, #fafafa 0%, #ffffff 100%);
}

.hero-container {
    max-width: 840px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-logo {
    max-height: 190px;
    width: auto;
    margin-bottom: 30px;
}

.logo-section {
    margin-bottom: 60px;
}

.main-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 30px;
    font-size: 80px;
    font-weight: 700;
    letter-spacing: -2px;
}

.main-logo-x {
    background-color: #20a39f;
    color: white;
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 70px;
    font-weight: bold;
    margin: 0 -5px;
}

h1 {
    font-size: 56px;
    font-weight: 400;
    color: #000;
    margin-bottom: 40px;
    line-height: 1.2;
}

.content-text {
    font-size: 18px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 60px;
    padding: 0 20px;
}

.contact-section {
    margin-bottom: 40px;
}

.contact-label {
    font-size: 16px;
    color: #111827;
    font-weight: 600;
    margin-bottom: 20px;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 16px;
    color: #4b5563;
    align-items: center;
}

.contact-email a {
    color: #0f766e;
    text-decoration: none;
    font-weight: 600;
}

.contact-email a:hover {
    text-decoration: underline;
}

.lookup-section {
    background-color: #f2f5f8;
    padding: 50px 20px;
    margin-bottom: 0;
}

.lookup-card {
    max-width: 980px;
    margin: 0 auto;
    padding: 36px 42px;
    background: white;
    border-radius: 28px;
    border: 1px solid #e5e9ee;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.lookup-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 32px;
    color: #111827;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    justify-content: center;
}

.title-info {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #d1f2ee;
    color: #0f766e;
    font-size: 14px;
    font-weight: 700;
}

.form-fields {
    display: grid;
    grid-template-columns: repeat(3, minmax(220px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    justify-items: center;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 280px;
}

.form-group label {
    width: 100%;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    color: #0f766e;
    text-transform: uppercase;
    margin-bottom: 10px;
    letter-spacing: 0.06em;
}

.form-group input {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #d1d5db;
    border-radius: 12px;
    font-size: 15px;
    font-family: inherit;
    color: #111827;
    background-color: #ffffff;
}

.form-group input:focus {
    outline: none;
    border-color: #20a39f;
    box-shadow: 0 0 0 3px rgba(32, 163, 159, 0.1);
}

.button-row {
    display: flex;
    justify-content: center;
    width: 100%;
}

.form-actions {
    margin-top: 10px;
}

.search-btn {
    padding: 14px 34px;
    background-color: #0f766e;
    color: white;
    border: none;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    text-transform: uppercase;
    transition: background-color 0.3s, transform 0.2s;
    justify-self: center;
    min-width: 155px;
}

.search-btn:hover {
    background-color: #115e59;
    transform: translateY(-1px);
}

.website-note {
    font-size: 16px;
    color: #475569;
    margin-top: 30px;
}

.website-note a {
    color: #20a39f;
    text-decoration: none;
    font-weight: 500;
}

.website-note a:hover {
    text-decoration: underline;
}

.popup-overlay {
    position: fixed;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(15, 23, 42, 0.55);
    padding: 24px;
    z-index: 200;
}

.popup-overlay.visible {
    display: flex;
}

.popup-card {
    max-width: 600px;
    width: 100%;
    background: #ffffff;
    border-radius: 28px;
    padding: 40px 36px;
    text-align: center;
    box-shadow: 0 30px 80px rgba(15, 23, 42, 0.18);
}

.popup-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 24px;
    border-radius: 50%;
    background: #f8d7da;
    color: #b91c1c;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.popup-card h3 {
    margin-bottom: 24px;
    font-size: 24px;
    letter-spacing: 0.05em;
}

.popup-card p {
    color: #475569;
    line-height: 1.8;
    margin-bottom: 30px;
}

.popup-card .primary-btn {
    min-width: 160px;
}

.result-section {
    background-color: #f8fafc;
    padding: 60px 20px 40px;
}

.result-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 36px 32px;
    background: white;
    border-radius: 28px;
    border: 1px solid #e5e9ee;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.06);
}

.result-card .section-title {
    margin-bottom: 20px;
    font-size: 16px;
    font-weight: 700;
    color: #0f766e;
}

.result-card .section-subtitle {
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 20px;
}

.info-row {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #4b5563;
}

.info-row strong {
    display: inline-block;
    min-width: 180px;
    color: #111827;
    font-weight: 600;
}

.info-row span {
    color: #111827;
    font-weight: 600;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: #ecfdf5;
    border: 1px solid #86efac;
    border-radius: 12px;
    color: #166534;
    font-weight: 700;
    font-size: 13px;
}

.badge-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    background-color: #22c55e;
    border-radius: 50%;
    color: white;
    font-size: 12px;
}

.result-divider {
    height: 1px;
    background: #e5e9ee;
    margin: 20px 0;
}

.log-data {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    align-items: center;
    font-size: 14px;
    color: #4b5563;
    margin-bottom: 20px;
}

.log-data .log-status {
    min-width: 220px;
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    flex-wrap: wrap;
}

.secondary-btn,
.primary-btn {
    padding: 14px 32px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.2s;
}

.secondary-btn {
    background: white;
    border: 1px solid #0f766e;
    color: #0f766e;
}

.secondary-btn:hover {
    background: rgba(15, 118, 110, 0.06);
}

.primary-btn {
    background-color: #0f766e;
    border: none;
    color: white;
}

.primary-btn:hover {
    background-color: #115e59;
}

@media (max-width: 768px) {
    .result-card {
        padding: 24px 20px;
    }

    .info-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}

footer {
    background-color: #f5f5f5;
    padding: 60px 40px;
    border-top: 1px solid #eee;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-logo {
    margin-bottom: 30px;
}

.footer-logo img {
    height: 40px;
}

.footer-sections {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-bottom: 40px;
}

.footer-section h3 {
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #20a39f;
    margin-bottom: 20px;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 12px;
}

.footer-section a {
    font-size: 14px;
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: #20a39f;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
    border-top: 1px solid #ddd;
    font-size: 14px;
    color: #666;
}

.footer-legal {
    display: flex;
    gap: 30px;
}

.footer-legal a {
    color: #666;
    text-decoration: none;
}

.footer-legal a:hover {
    color: #20a39f;
}

.social-links {
    display: flex;
    gap: 20px;
}

.social-links a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.social-links a:hover {
    color: #20a39f;
}

@media (max-width: 1024px) {
    .footer-sections {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 15px 20px;
    }

    .hero-section {
        padding: 30px 20px;
        min-height: auto;
    }

    .hero-logo {
        max-height: 140px;
    }

    h1 {
        font-size: 36px;
    }

    .content-text {
        font-size: 16px;
    }

    .lookup-card {
        padding: 30px 24px;
    }

    .form-fields {
        grid-template-columns: 1fr;
    }

    .footer-sections {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
}