/**
 * Yaraa AI Sales Agent - Enhanced Admin Styles.
 *
 * @package Yaraa_AI_Sales_Agent.
 */

/* Welcome Page Container. */
.yaraa-welcome-wrap {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
}

.yaraa-welcome-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 16px;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    padding: 50px 40px;
    position: relative;
    overflow: hidden;
}

.yaraa-welcome-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #2271b1, #00a32a);
}

/* Header with Logo. */
.yaraa-welcome-header {
    text-align: center;
    margin-bottom: 40px;
}

.yaraa-logo-wrapper {
    margin-bottom: 24px;
    animation: fadeInDown 0.6s ease;
}

.yaraa-main-logo {
    max-width: 200px;
    height: auto;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

.yaraa-main-title {
    font-size: 32px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 16px;
    animation: fadeInUp 0.6s ease 0.2s backwards;
}

.yaraa-tagline {
    font-size: 17px;
    color: #50575e;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
    animation: fadeInUp 0.6s ease 0.3s backwards;
}

/* Features Banner. */
.yaraa-features-banner {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 48px;
    padding: 24px;
    background: linear-gradient(135deg, #f0f6fc 0%, #e8f4f8 100%);
    border-radius: 12px;
    animation: fadeInUp 0.6s ease 0.4s backwards;
}

.yaraa-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #2c3338;
}

.yaraa-feature-item .dashicons {
    color: #2271b1;
    font-size: 20px;
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .yaraa-features-banner {
        flex-direction: column;
        gap: 16px;
    }
}

/* Options Grid. */
.yaraa-options-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 48px;
}

@media (max-width: 968px) {
    .yaraa-options-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
}

/* Option Cards. */
.yaraa-option-card {
    background: #ffffff;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    padding: 36px 28px;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    animation: fadeInUp 0.6s ease backwards;
}

.yaraa-card-connect {
    animation-delay: 0.5s;
}

.yaraa-card-signup {
    animation-delay: 0.6s;
}

.yaraa-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #2271b1, #1e5a8e);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.yaraa-option-card:hover::before {
    transform: scaleX(1);
}

.yaraa-option-card:hover {
    border-color: #2271b1;
    box-shadow: 0 12px 32px rgba(34, 113, 177, 0.15);
    transform: translateY(-4px);
}

.yaraa-card-signup::before {
    background: linear-gradient(90deg, #00a32a, #008a20);
}

.yaraa-card-signup:hover {
    border-color: #00a32a;
    box-shadow: 0 12px 32px rgba(0, 163, 42, 0.15);
}

/* Card Header. */
.yaraa-card-header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    position: relative;
}

.yaraa-card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #2271b1, #1e5a8e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(34, 113, 177, 0.3);
    transition: all 0.3s ease;
}

.yaraa-option-card:hover .yaraa-card-icon {
    transform: scale(1.1) rotate(5deg);
}

.yaraa-card-icon .dashicons {
    font-size: 36px;
    width: 36px;
    height: 36px;
    color: #fff;
}

.yaraa-card-icon.yaraa-icon-new {
    background: linear-gradient(135deg, #00a32a, #008a20);
    box-shadow: 0 4px 16px rgba(0, 163, 42, 0.3);
}

.yaraa-card-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #2271b1;
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 8px rgba(34, 113, 177, 0.3);
}

.yaraa-card-badge.yaraa-badge-new {
    background: #00a32a;
    box-shadow: 0 2px 8px rgba(0, 163, 42, 0.3);
}

/* Card Content. */
.yaraa-option-card h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1d2327;
    margin: 0 0 16px;
}

.yaraa-option-card p {
    font-size: 15px;
    color: #50575e;
    margin: 0 0 24px;
    line-height: 1.6;
}

/* Card Features. */
.yaraa-card-features {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 28px;
    text-align: left;
}

.yaraa-mini-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #2c3338;
}

.yaraa-mini-feature .dashicons {
    color: #00a32a;
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Buttons. */
.yaraa-btn {
    min-width: 180px;
    padding: 14px 32px !important;
    font-size: 15px !important;
    font-weight: 600 !important;
    border-radius: 8px !important;
    transition: all 0.3s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    text-decoration: none !important;
}

.yaraa-btn .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

.yaraa-btn:hover .dashicons {
    transform: translateX(4px);
}

.yaraa-btn-connect {
    background: linear-gradient(135deg, #2271b1, #1e5a8e) !important;
    border: none !important;
    box-shadow: 0 4px 12px rgba(34, 113, 177, 0.3) !important;
}

.yaraa-btn-connect:hover {
    box-shadow: 0 6px 20px rgba(34, 113, 177, 0.4) !important;
    transform: translateY(-2px) !important;
}

.yaraa-btn-signup {
    background: linear-gradient(135deg, #00a32a, #008a20) !important;
    border: none !important;
    color: #fff !important;
    box-shadow: 0 4px 12px rgba(0, 163, 42, 0.3) !important;
}

.yaraa-btn-signup:hover {
    box-shadow: 0 6px 20px rgba(0, 163, 42, 0.4) !important;
    transform: translateY(-2px) !important;
}

/* Trust Section. */
.yaraa-trust-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 40px;
    padding: 32px;
    background: #f6f7f7;
    border-radius: 12px;
    animation: fadeInUp 0.6s ease 0.7s backwards;
}

.yaraa-trust-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.yaraa-trust-item .dashicons {
    font-size: 32px;
    width: 32px;
    height: 32px;
    color: #2271b1;
    flex-shrink: 0;
}

.yaraa-trust-item strong {
    display: block;
    font-size: 15px;
    color: #1d2327;
    margin-bottom: 4px;
}

.yaraa-trust-item p {
    font-size: 13px;
    color: #646970;
    margin: 0;
}

@media (max-width: 968px) {
    .yaraa-trust-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* Footer. */
.yaraa-welcome-footer {
    text-align: center;
    padding-top: 32px;
    border-top: 2px solid #e5e7eb;
    animation: fadeInUp 0.6s ease 0.8s backwards;
}

.yaraa-welcome-footer p {
    font-size: 15px;
    color: #50575e;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
}

.yaraa-welcome-footer .dashicons {
    color: #2271b1;
}

.yaraa-welcome-footer a {
    color: #2271b1;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.yaraa-welcome-footer a:hover {
    color: #135e96;
    text-decoration: underline;
}

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

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

/* Responsive adjustments. */
@media (max-width: 768px) {
    .yaraa-welcome-container {
        padding: 30px 20px;
    }

    .yaraa-main-title {
        font-size: 26px;
    }

    .yaraa-tagline {
        font-size: 15px;
    }

    .yaraa-option-card {
        padding: 28px 20px;
    }

    .yaraa-card-header {
        flex-direction: column;
    }

    .yaraa-card-badge {
        position: static;
        margin-top: 12px;
    }

    .yaraa-welcome-footer p {
        flex-direction: column;
        gap: 4px;
    }
}