/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f8fafc;
}

.bg-section {
    background: url('../images/secure.jpg') no-repeat center center;
    background-size: cover;
}

.bg-gradient-overlay {
    background: linear-gradient(90deg, rgba(27, 57, 106, 0.95), rgba(15, 130, 138, 0.95));
}

/* Form & Input Styles */
.form-shadow {
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.1);
}

.input-focus {
    transition: all 0.3s ease;
}

.input-focus:focus {
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

/* Preloader Styles */
.preloader {
    background-color: rgba(255, 255, 255, 0.98);
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 4px solid #e5e7eb;
    border-top: 4px solid #3b82f6;
    border-radius: 50%;
    animation: spin 1.2s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.stage-text {
    animation: fadePulse 2.5s infinite;
}

@keyframes fadePulse {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; }
}

/* Radio & Manual IP Styles */
.radio-input:checked + label {
    border-color: #3b82f6;
    background-color: #f0f9ff;
    box-shadow: 0 0 10px rgba(59, 130, 246, 0.1);
}

.manual-ip-option {
    border: 2px dashed #d1d5db;
    background-color: #f9fafb;
    transition: all 0.3s ease;
}

.manual-ip-option:hover {
    border-color: #3b82f6;
    background-color: #f0f9ff;
}

/* Button Styles */
.btn {
    background: linear-gradient(90deg, #1e40af, #0e7490);
    color: white;
    transition: all 0.3s ease;
}

.btn:hover {
    background: linear-gradient(90deg, #0e7490, #1e40af);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Logo Styles */
.logo-container {
    max-width: 180px;
    margin: 0 auto 2rem;
}

.logo-container img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Result Card Styles */
#resultCard {
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-in-out;
}

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

#resultCard .bg-green-600 {
    background: linear-gradient(90deg, #059669, #10b981);
}

#resultCard .bg-green-700 {
    background-color: #047857;
}

#resultCard .bg-gray-50 {
    background-color: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
}

/* FAQ Styles */
.faq-section {
    width: 100%;
    max-width: 800px;
    margin-top: 2rem;
}

.faq-header {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 2rem;
}

.faq-item {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 0.75rem;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.25rem 1.75rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question h3 {
    font-size: 1.15rem;
    font-weight: 600;
    color: #1f2937;
}

.faq-question .icon {
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    color: #4b5563;
}

.faq-question.active .icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.75rem 1.25rem 1.75rem;
    background-color: transparent;
    color: #374151;
    display: none;
    font-size: 1rem;
    line-height: 1.7;
}

.faq-answer p {
    margin: 0.5rem 0;
}

/* Responsive Adjustments */
@media (min-width: 1024px) {
    .faq-section {
        max-width: 850px;
    }
}

/* Domain Input Styles */
.domain-input {
    font-size: 1.1rem;
    padding: 1rem;
    transition: all 0.3s ease;
}

.domain-input:focus {
    background-color: #f0f9ff;
}