/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #333;
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    border-bottom: 1px solid #333;
}

.logo h1 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 5px;
}

.logo p {
    color: #888;
    font-size: 0.9rem;
    font-weight: 400;
}

.highlight {
    color: #00d4ff;
}

.security-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    padding: 10px 20px;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Main Content */
.main-content {
    padding: 60px 0;
}

/* Verification Section */
.verification-section {
    margin-bottom: 80px;
}

.form-container {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-header i {
    font-size: 3rem;
    color: #00d4ff;
    margin-bottom: 20px;
}

.form-header h2 {
    color: #fff;
    font-size: 2rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.form-header p {
    color: #ccc;
    font-size: 1.1rem;
}

/* Form Styles */
.verification-form {
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 25px;
}

.input-group label {
    display: block;
    color: #00d4ff;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 1rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    color: #888;
    font-size: 1.1rem;
    z-index: 2;
}

.input-wrapper input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #00d4ff;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

.input-wrapper input::placeholder {
    color: #888;
}

.help-text {
    color: #888;
    font-size: 0.85rem;
    margin-top: 5px;
    font-style: italic;
}

/* Verify Button */
.verify-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
}

.verify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.verify-btn:active {
    transform: translateY(0);
}

.verify-btn.loading {
    pointer-events: none;
}

.loading-spinner {
    display: none;
}

.verify-btn.loading .loading-spinner {
    display: block;
}

.verify-btn.loading span {
    opacity: 0.7;
}

/* Additional Info */
.additional-info {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 25px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: #ccc;
    font-size: 0.9rem;
}

.info-item i {
    color: #00d4ff;
    margin-top: 2px;
    min-width: 16px;
}

/* Result Section */
.result-section {
    margin-bottom: 80px;
}

.result-container {
    max-width: 700px;
    margin: 0 auto;
}

.result-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(10px);
    margin-bottom: 30px;
}

.result-card.success {
    border: 2px solid #00ff88;
    background: rgba(0, 255, 136, 0.1);
}

.result-card.error {
    border: 2px solid #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.result-header {
    text-align: center;
    margin-bottom: 30px;
}

.result-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

.success .result-icon {
    color: #00ff88;
}

.error .result-icon {
    color: #ff4444;
}

.result-header h3 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.result-header p {
    color: #ccc;
    font-size: 1.1rem;
}

/* Certificate Details */
.certificate-details {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 30px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-row .label {
    color: #888;
    font-weight: 500;
    min-width: 140px;
}

.detail-row .value {
    color: #fff;
    font-weight: 600;
    text-align: right;
    flex: 1;
}

.status-completed {
    color: #00ff88 !important;
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: flex-end;
}

/* Verification Meta */
.verification-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.verified-stamp {
    background: linear-gradient(135deg, #00ff88, #00cc66);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.verification-time {
    color: #888;
    font-size: 0.9rem;
}

/* Error Suggestions */
.error-suggestions {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 25px;
    margin-top: 20px;
}

.error-suggestions h4 {
    color: #fff;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.error-suggestions ul {
    list-style: none;
}

.error-suggestions li {
    color: #ccc;
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.error-suggestions li::before {
    content: "•";
    color: #ff4444;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Verify Another Button */
.verify-another-btn {
    width: 100%;
    padding: 15px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    color: #fff;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.verify-another-btn:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #00d4ff;
    transform: translateY(-2px);
}

/* How It Works Section */
.how-it-works {
    text-align: center;
    margin-bottom: 80px;
}

.how-it-works h2 {
    color: #fff;
    font-size: 2.2rem;
    margin-bottom: 50px;
    font-weight: 700;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.step-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 35px 25px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.step-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.2);
    border-color: #00d4ff;
}

.step-number {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #00d4ff, #0099cc);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0 auto 20px;
}

.step-content h3 {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.step-content p {
    color: #ccc;
    line-height: 1.6;
}

/* Footer */
.footer {
    border-top: 1px solid #333;
    padding: 50px 0 30px;
    margin-top: 100px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h4 {
    color: #00d4ff;
    font-size: 1.2rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.footer-section p {
    color: #ccc;
    line-height: 1.6;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.footer-bottom p {
    color: #888;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .header {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .form-container {
        padding: 30px 25px;
        margin: 0 15px;
    }
    
    .form-header h2 {
        font-size: 1.6rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .result-card {
        padding: 30px 25px;
        margin: 0 15px 30px;
    }
    
    .detail-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .detail-row .value {
        text-align: left;
    }
    
    .verification-meta {
        flex-direction: column;
        gap: 15px;
        align-items: flex-start;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .form-header i {
        font-size: 2.5rem;
    }
    
    .how-it-works h2 {
        font-size: 1.8rem;
    }
    
    .step-number {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
}