@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;600;700&display=swap');

:root {
    --primary: #004a99;
    --primary-dark: #003366;
    --accent: #d4af37;
    --bg-light: #f8fafc;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --white: #ffffff;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --radius: 12px;
}

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

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-light);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
}

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

/* Header */
header {
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 100;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
    color: var(--primary);
}

.logo img {
    height: 60px;
    width: auto;
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.1;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 40px;
    font-weight: 300;
}

/* Search Box */
.search-container {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    margin-top: -60px;
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.search-title {
    margin-bottom: 25px;
    color: var(--primary-dark);
    font-size: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    text-align: left;
}

.form-group label {
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-muted);
}

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

input[type="text"] {
    flex: 1;
    padding: 15px 20px;
    border: 2px solid #e2e8f0;
    border-radius: var(--radius);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

input[type="text"]:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 74, 153, 0.1);
}

.btn-search {
    background-color: var(--accent);
    color: var(--primary-dark);
    border: none;
    padding: 0 30px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Outfit', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-search:hover {
    background-color: #c5a02c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Info Section */
.info-section {
    padding-top: 100px;
    padding-bottom: 60px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.info-text h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.info-text p {
    color: var(--text-muted);
    margin-bottom: 30px;
}

.example-box {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-md);
    text-align: center;
}

.example-box img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    border: 1px solid #eee;
}

.table-responsive { 
    overflow-x: auto; 
    background: var(--white); 
    padding: 20px; 
    border-radius: var(--radius); 
    box-shadow: var(--shadow-md); 
    margin-top: 20px; 
}

table { 
    width: 100%; 
    border-collapse: collapse; 
}

th { 
    text-align: left; 
    background: var(--bg-light); 
    padding: 15px; 
    color: var(--primary-dark); 
    font-family: 'Outfit', sans-serif; 
    font-size: 0.9rem; 
    text-transform: uppercase; 
    border-bottom: 2px solid #eee; 
}

td { 
    padding: 15px; 
    border-bottom: 1px solid #eee; 
    font-size: 0.95rem; 
    color: var(--text-main); 
}

tr:last-child td { 
    border-bottom: none; 
}

/* Footer */
footer {
    background: var(--white);
    padding: 40px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: 80px;
    text-align: center;
}

.footer-content {
    color: var(--text-muted);
    font-size: 0.9rem;
}

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

/* Captcha Styling */
.captcha-container {
    margin-top: 25px;
    background: #f1f5f9;
    padding: 20px;
    border-radius: var(--radius);
    border: 1px solid #e2e8f0;
}

.captcha-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}

.captcha-row label {
    margin-bottom: 0;
    font-size: 1.1rem;
    color: var(--primary-dark);
    font-weight: 600;
    flex: 1;
}

.captcha-row input {
    width: 150px;
    height: 50px;
    font-size: 1.2rem;
    text-align: center;
    border: 2px solid #cbd5e1;
    border-radius: 8px;
    padding: 5px;
}

.btn-large {
    width: 100%;
    height: 60px;
    font-size: 1.3rem;
    border-radius: var(--radius);
    padding: 0 20px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-up {
    animation: fadeInUp 0.8s ease forwards;
}

/* Responsive */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    .info-grid {
        gap: 40px;
    }
    
    .table-responsive {
        padding: 0;
        background: transparent;
        box-shadow: none;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        background: white;
        margin-bottom: 20px;
        border-radius: var(--radius);
        box-shadow: var(--shadow-md);
        padding: 15px;
        border: 1px solid #e2e8f0;
        width: 100%;
        box-sizing: border-box;
    }

    td {
        border-bottom: 1px solid #f1f5f9;
        position: relative;
        padding-left: 45% !important;
        text-align: right !important;
        min-height: 45px;
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }

    td:last-child {
        border-bottom: none;
    }

    td:before {
        content: attr(data-label);
        position: absolute;
        left: 15px;
        width: 40%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 700;
        color: var(--primary-dark);
        font-family: 'Outfit', sans-serif;
        font-size: 0.85rem;
        text-transform: uppercase;
    }

    .status-badge {
        margin-left: auto;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    header .container {
        justify-content: center;
    }

    .logo {
        justify-content: center;
    }

    .hero {
        padding: 50px 0;
    }

    .hero h1 {
        font-size: 1.8rem;
        padding: 0 10px;
    }
    
    .hero p {
        font-size: 0.95rem;
        padding: 0 20px;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .search-container {
        padding: 20px;
        margin: -30px 0 0;
        width: 100%;
    }

    .captcha-row {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .captcha-row label {
        font-size: 1rem;
    }

    .captcha-row input {
        width: 100%;
        max-width: 200px;
    }

    .btn-large {
        font-size: 1.1rem;
        height: 55px;
    }

    .footer-content {
        padding: 0 20px;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 45px;
    }
    
    .hero h1 {
        font-size: 1.7rem;
    }

    .search-title {
        font-size: 1.3rem;
    }
}
