/* Mail page overrides */

.tab-btn {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.tab-btn.active {
    pointer-events: none;
}

.mail-intro {
    display: grid;
    gap: 24px;
    margin-top: 12px;
}

.mail-intro-title {
    font-size: clamp(1.4rem, 2vw, 1.8rem);
    margin-bottom: 8px;
}

.mail-intro-desc {
    color: rgba(255, 255, 255, 0.72);
    max-width: 720px;
}

.mail-seo-title {
    margin-top: 16px;
    font-size: 1.05rem;
    color: #FFD700;
    letter-spacing: 0.4px;
    text-shadow: 0 0 8px rgba(255, 215, 0, 0.35);
}

.mail-seo-text {
    color: rgba(255, 255, 255, 0.7);
    max-width: 720px;
    line-height: 1.6;
}

.mail-intro-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.mail-intro-card {
    padding: 16px 18px;
    border-radius: 16px;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mail-intro-card:hover {
    transform: translateY(-4px);
    border-color: var(--primary);
    box-shadow: 0 0 24px rgba(0, 240, 255, 0.25);
}

.mail-demo-grid {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}

.solution-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 15px;
    padding: 28px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    min-height: 260px;
    text-decoration: none;
    color: inherit;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.solution-card:hover::before {
    left: 100%;
}

.solution-card:hover {
    background: var(--glass-bg);
    border-color: var(--primary);
    box-shadow: 0 0 30px rgba(0, 240, 255, 0.3);
    transform: translateY(-5px);
}

.solution-card-icon {
    width: clamp(70px, 10vw, 110px);
    height: clamp(70px, 10vw, 110px);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 240, 255, 0.1), rgba(255, 0, 212, 0.08));
    border: 1px solid var(--glass-border);
    overflow: hidden;
}

.solution-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    display: block;
}

.solution-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
    text-align: center;
}

.solution-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin-bottom: 15px;
    flex-grow: 1;
    text-align: center;
}

.solution-card-footer {
    display: flex;
    align-items: center;
    color: var(--primary);
    font-weight: 500;
    transition: all 0.3s ease;
    margin-top: auto;
    justify-content: center;
}

.solution-card-footer::after {
    content: '→';
    margin-left: 10px;
    transition: margin-left 0.3s ease;
}

.solution-card:hover .solution-card-footer {
    margin-left: 5px;
}

.mail-plans {
    margin-top: 32px;
    display: grid;
    gap: 20px;
}

.mail-plan-table-wrapper {
    overflow-x: auto;
    border-radius: 18px;
    border: 1px solid var(--glass-border);
    background: linear-gradient(135deg, rgba(24, 24, 40, 0.95), rgba(0, 240, 255, 0.08));
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.mail-plan-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 720px;
}

.mail-plan-table th,
.mail-plan-table td {
    padding: 12px 14px;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.95rem;
}

.mail-plan-table th {
    background: rgba(255, 255, 255, 0.06);
    font-weight: 600;
}

.mail-plan-table tr:last-child td {
    border-bottom: none;
}

.mail-plan-features {
    background: var(--glass-bg);
    border-radius: 18px;
    padding: 18px;
    border: 1px solid var(--glass-border);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.mail-feature-list {
    display: grid;
    gap: 8px;
    margin: 14px 0 0;
    padding-left: 18px;
    color: rgba(255, 255, 255, 0.78);
}

.mail-plan-note {
    margin-top: 14px;
    color: rgba(255, 255, 255, 0.68);
}

@media (max-width: 860px) {
    .mail-demo-grid {
        grid-template-columns: 1fr;
    }
}
