* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1a2a6c, #b21f1f, #1a2a6c);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

header {
    background: linear-gradient(to right, #1a2a6c, #b21f1f);
    color: white;
    padding: 30px 40px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

header::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 70%);
    transform: rotate(30deg);
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    position: relative;
    z-index: 2;
}

header p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.main-content {
    display: flex;
    padding: 40px;
    gap: 40px;
}

.verification-section {
    flex: 3;
}

.company-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.5rem;
    color: #1a2a6c;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #1a2a6c;
    display: flex;
    align-items: center;
    gap: 10px;
}

.input-group {
    margin-bottom: 25px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1a2a6c;
}

.serial-input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 50px;
    font-size: 1.1rem;
    transition: all 0.3s;
    outline: none;
}

.serial-input:focus {
    border-color: #1a2a6c;
    box-shadow: 0 0 0 3px rgba(26, 42, 108, 0.2);
}

.btn-verify {
    background: linear-gradient(to right, #1a2a6c, #b21f1f);
    color: white;
    border: none;
    border-radius: 50px;
    padding: 15px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.btn-verify:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.btn-verify:active:not(:disabled) {
    transform: translateY(1px);
}

.btn-verify:disabled {
    background: #6c757d;
    cursor: not-allowed;
    opacity: 0.8;
}

.btn-verify:disabled::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
            90deg,
            transparent,
            rgba(255, 255, 255, 0.3),
            transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    100% {
        left: 100%;
    }
}

.result-container {
    margin-top: 30px;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: all 0.5s;
    background: #f8f9fa;
    border: 2px dashed #dee2e6;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    transition: all 0.5s;
}

.result-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.result-details {
    font-size: 1.1rem;
    max-width: 80%;
}

.verification-warning {
    margin-top: 15px;
    padding: 12px;
    background: #fff8e6;
    border-radius: 8px;
    border-left: 4px solid #ffc107;
    font-size: 0.95rem;
    color: #856404;
    text-align: left;
}

.valid {
    color: #28a745;
    border-color: #28a745;
    background: rgba(40, 167, 69, 0.05);
    animation: pulse 1.5s infinite;
}

.invalid {
    color: #dc3545;
    border-color: #dc3545;
    background: rgba(220, 53, 69, 0.05);
}

.verifying {
    border-color: #1a2a6c;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.4); }
    70% { box-shadow: 0 0 0 10px rgba(40, 167, 69, 0); }
    100% { box-shadow: 0 0 0 0 rgba(40, 167, 69, 0); }
}

/* Company section styles */
.company-logo {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: linear-gradient(45deg, #1a2a6c, #b21f1f);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.company-logo img {
    width: 80%;
    height: auto;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.5));
}

.company-name {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1a2a6c;
    margin-bottom: 10px;
    text-align: center;
}

.company-website {
    font-size: 1.2rem;
    color: #b21f1f;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
}

.company-website:hover {
    color: #1a2a6c;
    text-decoration: underline;
}

.company-info {
    margin-top: 25px;
    text-align: center;
    font-size: 0.95rem;
    color: #555;
}

/* Tips section styles */
.tips-section {
    background: linear-gradient(to right, #1a2a6c, #b21f1f);
    color: white;
    padding: 30px 40px;
    text-align: center;
}

.tips-section h2 {
    margin-bottom: 30px;
    font-size: 1.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.tips-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.tip-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px 20px;
    border-radius: 15px;
    width: 220px;
    transition: all 0.3s;
    backdrop-filter: blur(5px);
}

.tip-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.tip-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    color: #ffd700;
}

.tip-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
}

.tip-content {
    font-size: 1rem;
}

footer {
    background: #1a1a2e;
    color: #aaa;
    text-align: center;
    padding: 20px;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .main-content {
        flex-direction: column;
    }

    .company-section {
        margin-top: 20px;
    }
}

@media (max-width: 768px) {
    header h1 {
        font-size: 2rem;
    }

    .main-content {
        padding: 25px;
    }

    .tips-container {
        flex-direction: column;
        align-items: center;
    }
}